forked from CGM_Public/pretix_original
Update seating plan schema to support float-sized areas
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user