mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
Add new fields to seating plan schema
This commit is contained in:
@@ -40,6 +40,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the zone"
|
"description": "Name of the zone"
|
||||||
},
|
},
|
||||||
|
"zone_id": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Internal ID of the zone. Currently not used in any way during plan rendering, but only to auto-generate seat GUIDs. May be missing since previous versions of the schema did not include this, in which case a fallback to the name is expected."
|
||||||
|
},
|
||||||
|
"uuid": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique ID of this object. May not under any circumstances be duplicate, not even between different object types. Should be an UUID-4. May be missing since previous versions of the schema did not include this."
|
||||||
|
},
|
||||||
"position": { "$ref": "#/definitions/position" },
|
"position": { "$ref": "#/definitions/position" },
|
||||||
"rows": {
|
"rows": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -71,6 +79,10 @@
|
|||||||
"type": ["string", "null"],
|
"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."
|
"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."
|
||||||
},
|
},
|
||||||
|
"uuid": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique ID of this object. May not under any circumstances be duplicate, not even between different object types. Should be an UUID-4. May be missing since previous versions of the schema did not include this."
|
||||||
|
},
|
||||||
"seats": {
|
"seats": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of seats in this row",
|
"description": "List of seats in this row",
|
||||||
@@ -100,6 +112,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Human-readable seat number."
|
"description": "Human-readable seat number."
|
||||||
},
|
},
|
||||||
|
"uuid": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique ID of this object. May not under any circumstances be duplicate, not even between different object types. Should be an UUID-4. May be missing since previous versions of the schema did not include this."
|
||||||
|
},
|
||||||
"start_direction": {
|
"start_direction": {
|
||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"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 '<>'."
|
||||||
@@ -130,6 +146,10 @@
|
|||||||
"position": {
|
"position": {
|
||||||
"$ref": "#/definitions/position"
|
"$ref": "#/definitions/position"
|
||||||
},
|
},
|
||||||
|
"uuid": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique ID of this object. May not under any circumstances be duplicate, not even between different object types. Should be an UUID-4. May be missing since previous versions of the schema did not include this."
|
||||||
|
},
|
||||||
"shape": {
|
"shape": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["polygon", "rectangle", "ellipse", "circle", "text"]
|
"enum": ["polygon", "rectangle", "ellipse", "circle", "text"]
|
||||||
|
|||||||
Reference in New Issue
Block a user