LogicalPlan
The logical plan describes the structure and layout of seats in a zone.
Fields
Field | Description |
---|---|
id int (required) | The ID of the zone Example value:2 |
name string (required) | The name of the zone Example value:"Upper Balcony" |
rows | The rows layout Example value:[ { "name": "A", "coord": 1, "seats": [ { "id": "s002001001", "name": "1", "center": [ 312.000000, 834.500000 ], "coord": 1, "priority": 85, "rowname": "A", "seatrankid": 1, "size": [ 12.000000, 12.000000 ] }, { "id": "s002001002", "name": "2", "center": [ 330.000000, 834.500000 ], "coord": 1, "priority": 85, "rowname": "A", "seatrankid": 1, "size": [ 12.000000, 12.000000 ] } ] }, { "name": "B", "coord": 2, "seats": [ { "id": "s002002001", "name": "2", "center": [ 312.000000, 854.500000 ], "coord": 2, "priority": 15, "rowname": "B", "seatrankid": 3, "size": [ 12.000000, 12.000000 ] }, { "id": "s002001002", "name": "2", "center": [ 330.000000, 854.500000 ], "coord": 2, "priority": 15, "rowname": "B", "seatrankid": 3, "size": [ 12.000000, 12.000000 ] } ] } ] |
Example
1{
2 "id": 2,
3 "name": "Upper Balcony",
4 "rows": [
5 {
6 "name": "A",
7 "coord": 1,
8 "seats": [
9 {
10 "id": "s002001001",
11 "name": "1",
12 "center": [ 312.000000, 834.500000 ],
13 "coord": 1,
14 "priority": 85,
15 "rowname": "A",
16 "seatrankid": 1,
17 "size": [ 12.000000, 12.000000 ]
18 },
19 {
20 "id": "s002001002",
21 "name": "2",
22 "center": [ 330.000000, 834.500000 ],
23 "coord": 1,
24 "priority": 85,
25 "rowname": "A",
26 "seatrankid": 1,
27 "size": [ 12.000000, 12.000000 ]
28 }
29 ]
30 },
31 {
32 "name": "B",
33 "coord": 2,
34 "seats": [
35 {
36 "id": "s002002001",
37 "name": "2",
38 "center": [ 312.000000, 854.500000 ],
39 "coord": 2,
40 "priority": 15,
41 "rowname": "B",
42 "seatrankid": 3,
43 "size": [ 12.000000, 12.000000 ]
44 },
45 {
46 "id": "s002001002",
47 "name": "2",
48 "center": [ 330.000000, 854.500000 ],
49 "coord": 2,
50 "priority": 15,
51 "rowname": "B",
52 "seatrankid": 3,
53 "size": [ 12.000000, 12.000000 ]
54 }
55 ]
56 }
57 ]
58}