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

Fix unevaluated properties

parent e2ae0531
No related branches found
No related tags found
1 merge request!25Feature: Use JSON schema
Pipeline #275690 passed
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schemas/ak-export.schema.json", "$id": "schemas/ak-export.schema.json",
"properties": { "properties": {
"info": {"unevaluatedProperties": false} "info": {
"$ref": "ak.schema.json#/properties/info",
"unevaluatedProperties": false
}
} }
} }
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
} }
} }
}, },
"info": {"unevaluatedProperties": false} "info": {
"$ref": "participant.schema.json#/properties/info",
"unevaluatedProperties": false
}
} }
} }
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schemas/room-export.schema.json", "$id": "schemas/room-export.schema.json",
"properties": { "properties": {
"info": {"unevaluatedProperties": false} "info": {
"$ref": "room.schema.json#/properties/info",
"unevaluatedProperties": false
}
} }
} }
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
"rooms": {"items": {"$ref": "room-export.schema.json"}}, "rooms": {"items": {"$ref": "room-export.schema.json"}},
"timeslots": {"items": {"$ref": "timeslot-export.schema.json"}}, "timeslots": {"items": {"$ref": "timeslot-export.schema.json"}},
"aks": {"items": {"$ref": "ak-export.schema.json"}}, "aks": {"items": {"$ref": "ak-export.schema.json"}},
"info": {"unevaluatedProperties": false} "info": {
"$ref": "solver-input.schema.json#/properties/info",
"unevaluatedProperties": false
}
} }
} }
\ No newline at end of file
...@@ -2,11 +2,17 @@ ...@@ -2,11 +2,17 @@
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schemas/timeslot-export.schema.json", "$id": "schemas/timeslot-export.schema.json",
"properties": { "properties": {
"info": {"unevaluatedProperties": false}, "info": {
"$ref": "timeslot.schema.json#/properties/info",
"unevaluatedProperties": false
},
"blocks": { "blocks": {
"items": { "items": {
"items": { "items": {
"info": {"unevaluatedProperties": false} "info": {
"$ref": "timeslot.schema.json#/properties/blocks/items/items/info",
"unevaluatedProperties": false
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment