diff --git a/schemas/room.schema.json b/schemas/room.schema.json index 3d921c1c6587d14d6f46542ddd4f35b7fb2427dd..a4ab82df9e157cc2d368ec1813ea601c1f96cbe4 100644 --- a/schemas/room.schema.json +++ b/schemas/room.schema.json @@ -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",