Update to seating plan schema

This commit is contained in:
Raphael Michel
2020-11-10 19:38:02 +01:00
parent e5a77dc482
commit 8c63f2159c

View File

@@ -50,12 +50,6 @@
"type": "array", "type": "array",
"description": "List of areas", "description": "List of areas",
"items": { "$ref": "#/definitions/area" } "items": { "$ref": "#/definitions/area" }
},
"row_number_position": {
"type": ["string", "null"],
"enum": ["left", "right", null],
"description": "Should the row numbers be hidden?",
"$comment": "Currently not implemented."
} }
}, },
"required": ["position", "rows"], "required": ["position", "rows"],
@@ -71,7 +65,7 @@
}, },
"row_label": { "row_label": {
"type": ["string", "null"], "type": ["string", "null"],
"description": "Human-readable name for the row. May include %s as a placeholder for the row_number value. Not used for rendering the plan, but for describing the seats in text." "description": "Human-readable name for the row. Not used for rendering the plan, but for describing the seats in text."
}, },
"seat_label": { "seat_label": {
"type": ["string", "null"], "type": ["string", "null"],
@@ -82,14 +76,10 @@
"description": "List of seats in this row", "description": "List of seats in this row",
"items": { "$ref": "#/definitions/seat" } "items": { "$ref": "#/definitions/seat" }
}, },
"seats_spacing": {
"type": "integer",
"description": "How far apart should the seats be positioned? This value is ignored for rendering, it is just useful to keep to modify the row later."
},
"row_number_position": { "row_number_position": {
"type": ["string", "null"], "type": ["string", "null"],
"enum": ["left", "right", null], "enum": ["start", "end", "both", null],
"description": "Should the row numbers be hidden? (Overrides the zone setting)" "description": "Should the row numbers be shown?"
}, },
"position": { "position": {
"$ref": "#/definitions/position" "$ref": "#/definitions/position"