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

Rule out 0 capacity

parent 03bd6271
No related branches found
No related tags found
1 merge request!25Feature: Use JSON schema
......@@ -11,7 +11,9 @@
"capacity": {
"description": "The maximum number of total participants. Unbounded capacity is represented by -1",
"type": "integer",
"minimum": -1
"anyOf": [
{"minimum": 1}, {"const": -1}
]
},
"fulfilled_room_constraints": {
"$ref": "/schema/common/constraints.schema.json",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment