Seating: Support custom row and seat labels

This commit is contained in:
Raphael Michel
2020-02-17 13:15:49 +01:00
parent 2bbbc88a9c
commit 8957c2f106
4 changed files with 61 additions and 4 deletions

View File

@@ -29,7 +29,7 @@
"additionalProperties": false
}
},
"required": ["zones", "name", "categories"],
"required": ["zones", "name", "categories", "size"],
"additionalProperties": false,
"definitions": {
"zone": {
@@ -69,6 +69,14 @@
"type": "string",
"description": "Row number or name by which it can be identified"
},
"row_label": {
"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."
},
"seat_label": {
"type": ["string", "null"],
"description": "Human-readable name for the seats in this. May include %s as a placeholder for the seat_number values. Not used for rendering the plan, but for describing the seats in text."
},
"seats": {
"type": "array",
"description": "List of seats in this row",