Skip to content
Snippets Groups Projects
Commit fbe047e4 authored by Felix Blanke's avatar Felix Blanke
Browse files

Change URIs

parent b858233e
No related branches found
No related tags found
1 merge request!25Feature: Use JSON schema
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/ak.schema.json", "$id": "/schema/ak.schema.json",
"title": "AK", "title": "AK",
"type": "object", "type": "object",
"properties": { "properties": {
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/participant.schema.json", "$id": "/schema/participant.schema.json",
"title": "Participant", "title": "Participant",
"type": "object", "type": "object",
"properties": { "properties": {
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/room.schema.json", "$id": "/schema/room.schema.json",
"title": "Room", "title": "Room",
"type": "object", "type": "object",
"properties": { "properties": {
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/solver-input.schema.json", "$id": "/schema/solver-input.schema.json",
"type": "object", "type": "object",
"properties": { "properties": {
"aks": {"$ref": "schema/ak.schema.json"}, "aks": {"$ref": "/schema/ak.schema.json"},
"rooms": {"$ref": "schema/room.schema.json"}, "rooms": {"$ref": "/schema/room.schema.json"},
"participants": {"$ref": "schema/participant.schema.json"}, "participants": {"$ref": "/schema/participant.schema.json"},
"timeslots": {"$ref": "schema/timeslot.schema.json"}, "timeslots": {"$ref": "/schema/timeslot.schema.json"},
"info": { "info": {
"type": "object", "type": "object",
"properties": { "properties": {
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/solver-output.schema.json", "$id": "/schema/solver-output.schema.json",
"type": "object", "type": "object",
"properties": { "properties": {
"input": {"$ref": "schema/solver-input.schema.json"}, "input": {"$ref": "/schema/solver-input.schema.json"},
"scheduled_aks": { "scheduled_aks": {
"type": "array", "type": "array",
"items": { "items": {
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schema/timeslot.schema.json", "$id": "/schema/timeslot.schema.json",
"title": "Timeslot", "title": "Timeslot",
"type": "object", "type": "object",
"required": ["info", "blocks"], "required": ["info", "blocks"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment