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

Add missing fields to schema

parent 3977e23d
No related branches found
No related tags found
1 merge request!268Merge fork for interoperability of KoMa solver
......@@ -3,9 +3,9 @@
"$id": "/schema/solver-input.schema.json",
"type": "object",
"properties": {
"aks": {"type": "array", "items": {"$ref": "/schema/ak.schema.json"}},
"rooms": {"type": "array", "items": {"$ref": "/schema/room.schema.json"}},
"participants": {"type": "array", "items": {"$ref": "/schema/participant.schema.json"}},
"aks": {"type": "array", "items": {"$ref": "/schema/ak.schema.json"}, "uniqueItems": true},
"rooms": {"type": "array", "items": {"$ref": "/schema/room.schema.json"}, "uniqueItems": true},
"participants": {"type": "array", "items": {"$ref": "/schema/participant.schema.json"}, "uniqueItems": true},
"timeslots": {"$ref": "/schema/timeslot.schema.json"},
"info": {
"type": "object",
......@@ -14,7 +14,10 @@
"slug": {"type": "string"},
"place": {"type": "string"},
"contact_email": {"type": "string"}
},
"additionalProperties": false
}
}
}
},
"required": ["aks", "rooms", "participants", "timeslots", "info"],
"additionalProperties": false
}
......@@ -2,6 +2,8 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "/schema/solver-output.schema.json",
"type": "object",
"additionalProperties": false,
"required": ["input", "scheduled_aks"],
"properties": {
"input": {"$ref": "/schema/solver-input.schema.json"},
"scheduled_aks": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment