Skip to content

Instantly share code, notes, and snippets.

@kaleem-elahi
Created February 19, 2020 06:39
Show Gist options
  • Save kaleem-elahi/4eaf5b913397a31e8ece78f789c68d55 to your computer and use it in GitHub Desktop.
Save kaleem-elahi/4eaf5b913397a31e8ece78f789c68d55 to your computer and use it in GitHub Desktop.
{
"chart": {
"id": 1,
"name": "Yapsody Theatre",
"row_chair_spacing": 4,
"row_spacing": 8,
"section_floors": [{
"focal_points": {
"x": 1067.5,
"y": 1915
},
"backbground_image": {
"url": "",
"x": 1067.5,
"y": 1915
},
"sections": [{
"id": "1",
"label": "Gold",
"label_horizontal_offset": 0,
"label_rotation_angle": 0,
"label_shown": true,
"label_vertical_offset": 0,
"focal_points": {
"x": 9835.61,
"y": 9835.6
},
"type": "table",
"sub_section": [{
"id": 1,
"label": "A",
"x": 9700,
"y": 9700,
"radius": 100,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"x": 9800,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9800,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 5,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 6,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 7,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 8,
"label": "AA",
"restricated_view": false,
"x": 9600,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 9,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9661.731656763492,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 10,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 11,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 12,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9600,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 13,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 14,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 15,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9661.731656763492,
"radius": 10
}
]
},
{
"id": 2,
"label": "A",
"x": 9700,
"y": 9700,
"radius": 100,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"x": 9800,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9800,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 5,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 6,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 7,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 8,
"label": "AA",
"restricated_view": false,
"x": 9600,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 9,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9661.731656763492,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 10,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 11,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 12,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9600,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 13,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 14,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 15,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9661.731656763492,
"radius": 10
}
]
}
]
},
{
"id": "1",
"label": "Gold",
"label_horizontal_offset": 0,
"label_rotation_angle": 0,
"label_shown": true,
"label_vertical_offset": 0,
"focal_points": {
"x": 9835.61,
"y": 9835.6
},
"type": "table",
"sub_section": [{
"id": 1,
"label": "A",
"x": 9700,
"y": 9700,
"radius": 100,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"x": 9800,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9800,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 5,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 6,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 7,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 8,
"label": "AA",
"restricated_view": false,
"x": 9600,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 9,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9661.731656763492,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 10,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 11,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 12,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9600,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 13,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 14,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 15,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9661.731656763492,
"radius": 10
}
]
},
{
"id": 2,
"label": "A",
"x": 9700,
"y": 9700,
"radius": 100,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"x": 9800,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9800,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 5,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9792.38795325113,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 6,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9770.710678118654,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 7,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9738.268343236508,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 8,
"label": "AA",
"restricated_view": false,
"x": 9600,
"y": 9700,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 9,
"label": "AA",
"restricated_view": false,
"x": 9607.61204674887,
"y": 9661.731656763492,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 10,
"label": "AA",
"restricated_view": false,
"x": 9629.289321881346,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 11,
"label": "AA",
"restricated_view": false,
"x": 9661.731656763492,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 12,
"label": "AA",
"restricated_view": false,
"x": 9700,
"y": 9600,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 13,
"label": "AA",
"restricated_view": false,
"x": 9738.268343236508,
"y": 9607.61204674887,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 14,
"label": "AA",
"restricated_view": false,
"x": 9770.710678118654,
"y": 9629.289321881346,
"radius": 10
},
{
"is_booked": false,
"hold": false,
"id": 15,
"label": "AA",
"restricated_view": false,
"x": 9792.38795325113,
"y": 9661.731656763492,
"radius": 10
}
]
}
]
},
{
"id": 2,
"label": "PLATINUM",
"label_horizontal_offset": 0,
"label_rotation_angle": 0,
"label_shown": true,
"label_vertical_offset": 0,
"focal_points": {
"x": 9835.61,
"y": 9835.6
},
"type": "section",
"sub_section": [{
"id": 0,
"label": "A",
"y": 9835,
"x": 9700,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"y": 9835,
"x": 9735,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"y": 9835,
"x": 9770,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"y": 9835,
"x": 9805,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"y": 9835,
"x": 9840,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"y": 9835,
"x": 9875,
"radius": 12
}
]
},
{
"id": 1,
"label": "A",
"y": 9870,
"x": 9700,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"y": 9870,
"x": 9735,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"y": 9870,
"x": 9770,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"y": 9870,
"x": 9805,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"y": 9870,
"x": 9840,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"y": 9870,
"x": 9875,
"radius": 12
}
]
},
{
"id": 2,
"label": "A",
"y": 9905,
"x": 9700,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"y": 9905,
"x": 9735,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"y": 9905,
"x": 9770,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"y": 9905,
"x": 9805,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"y": 9905,
"x": 9840,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"y": 9905,
"x": 9875,
"radius": 12
}
]
},
{
"id": 3,
"label": "A",
"y": 9940,
"x": 9700,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"y": 9940,
"x": 9735,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"y": 9940,
"x": 9770,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"y": 9940,
"x": 9805,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"y": 9940,
"x": 9840,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"y": 9940,
"x": 9875,
"radius": 12
}
]
},
{
"id": 4,
"label": "A",
"y": 9975,
"x": 9700,
"seats": [{
"is_booked": false,
"hold": false,
"id": 0,
"label": "AA",
"restricated_view": false,
"y": 9975,
"x": 9735,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 1,
"label": "AA",
"restricated_view": false,
"y": 9975,
"x": 9770,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 2,
"label": "AA",
"restricated_view": false,
"y": 9975,
"x": 9805,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 3,
"label": "AA",
"restricated_view": false,
"y": 9975,
"x": 9840,
"radius": 12
},
{
"is_booked": false,
"hold": false,
"id": 4,
"label": "AA",
"restricated_view": false,
"y": 9975,
"x": 9875,
"radius": 12
}
]
}
]
}
]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment