Update seating plan schema to support float-sized areas

This commit is contained in:
Raphael Michel
2020-11-12 09:26:25 +01:00
parent b287f870b1
commit c52bf0be8c

View File

@@ -121,7 +121,7 @@
"description": "Declares this seat as a start point for ordered booking in its row. Can contain '<', '>' or '<>'." "description": "Declares this seat as a start point for ordered booking in its row. Can contain '<', '>' or '<>'."
}, },
"radius": { "radius": {
"type": "integer", "type": "number",
"description": "Defaults to 10" "description": "Defaults to 10"
}, },
"position": { "$ref": "#/definitions/position" }, "position": { "$ref": "#/definitions/position" },
@@ -169,10 +169,10 @@
"type": "object", "type": "object",
"properties": { "properties": {
"width": { "width": {
"type": "integer" "type": "number"
}, },
"height": { "height": {
"type": "integer" "type": "number"
} }
}, },
"required": ["width", "height"], "required": ["width", "height"],
@@ -190,7 +190,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"radius": { "radius": {
"type": "integer" "type": "number"
} }
}, },
"required": ["radius"], "required": ["radius"],
@@ -202,7 +202,7 @@
"text": { "type": "string" }, "text": { "type": "string" },
"color": { "type": "string" }, "color": { "type": "string" },
"size": { "size": {
"type": "integer", "type": "number",
"description": "Defaults to 16" "description": "Defaults to 16"
}, },
"position": { "position": {