-Места с координатами:
{
"id": 1,
"type": "rowBlock",
"x": 0, "y": 0,
"name": "Амфитеатр",
"rows": [
{
"id": 32,
"name": "1",
"seats": [
{
"id": 2,
"name": "1",
"position": {"x": 410, "y": 832}
}
]
}
]
}
-Места без координат:
{
"id": 21,
"type": "rowBlock",
"x": 130, "y": 450,
"name": "ПАРТЕР",
"rows": [
{
"name": "1",
"seats": [
{"name": "x", "type": "noseat", "id": 33}
]
}
]
}
}
Версия 3:
{
"id": 9816362,
"type": "rowBlock",
"name": "Премиум бокс",
"x": 0, "y": 0,
"rows": [
{
"id": 63573666,
"name": "1",
"seats": [
{
"id": 761331934,
"name": "13",
"position": {"x": 1251, "y": 831}
}
]
}
]
}
{
"name": "Входные",
"type": "entranceBlock",
"color": "#fff",
"x": 295,
"y": 120,
"shape": "polygon",
"points": "0,0 150,0 150,50 0,50",
"label": {
"visible": false,
"fontSize": "30px",
"color": "white"
}
}
{
"type": "pathBlock",
"color": "#dadada",
"x": 630,
"y": 315,
"rotation": 0,
"points": "M110.42,122.17c0.04,0.13,0.05,0.31,0.05,0.44v1.01c0,0.17-0.01,0.31-0.05,0.46c-0.19,0.79-0.84,1.26-1.55,1.26 c-1.14,0-1.72-0.97-1.72-2.15c0-1.28,0.65-2.24,1.74-2.24C109.69,120.94,110.26,121.5,110.42,122.17z M356,0v287H0V0H356z",
"fill": {
"color": "#dadada",
"opacity": 1
}
}
{
"type": "textBlock",
"color": "#423F3F",
"text": "Партер",
"fontSize": "20px",
"rotation": 0,
"x": 370,
"y": -10,
"id": 604
}
{
"type": "scene",
"color": "#423F3F",
"x": 230,
"y": 320,
"rotation": 0,
"points": "",
"shape": "rect",
"width": 330,
"height": 60
}
{
"name": "Сектор D",
"id": 1224,
"type": "sectorBlock",
"color": "#F4A460",
"x": 495,
"y": 320и ,
"points": "0,0 150,0 150,50 0,50",
"shape": "polygon",
"entities": []
}
{
"id": 14,
"type": "tableBlock",
"name": "Название стола",
"x": 470,
"y": 200,
"seats": [
{
"id": 15,
"name": "1"
},
{
"id": 16,
"name": "2"
},
{
"id": 17,
"name": "3"
}
]
}