Current section
Files
Jump to
Current section
Files
priv/schema/CITM.schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"areaNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"audienceSubCategoryNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"blockNames": {
"type": "object"
},
"events": {
"additionalProperties": {
"properties": {
"description": {
"type": "null"
},
"id": {
"type": "integer"
},
"logo": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"subTopicIds": {
"items": {
"type": "integer"
},
"type": "array"
},
"subjectCode": {
"type": "null"
},
"subtitle": {
"type": "null"
},
"topicIds": {
"items": {
"type": "integer"
},
"type": "array"
}
},
"required": [
"description",
"id",
"logo",
"name",
"subTopicIds",
"subjectCode",
"subtitle",
"topicIds"
],
"type": "object"
},
"type": "object"
},
"performances": {
"items": {
"properties": {
"eventId": {
"type": "integer"
},
"id": {
"type": "integer"
},
"logo": {
"type": [
"string",
"null"
]
},
"name": {
"type": "null"
},
"prices": {
"items": {
"properties": {
"amount": {
"type": "integer"
},
"audienceSubCategoryId": {
"type": "integer"
},
"seatCategoryId": {
"type": "integer"
}
},
"required": [
"amount",
"audienceSubCategoryId",
"seatCategoryId"
],
"type": "object"
},
"type": "array"
},
"seatCategories": {
"items": {
"properties": {
"areas": {
"items": {
"properties": {
"areaId": {
"type": "integer"
},
"blockIds": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"areaId",
"blockIds"
],
"type": "object"
},
"type": "array"
},
"seatCategoryId": {
"type": "integer"
}
},
"required": [
"areas",
"seatCategoryId"
],
"type": "object"
},
"type": "array"
},
"seatMapImage": {
"type": "null"
},
"start": {
"type": "integer"
},
"venueCode": {
"type": "string"
}
},
"required": [
"eventId",
"name",
"logo",
"id",
"seatMapImage",
"venueCode",
"prices",
"seatCategories",
"start"
],
"type": "object"
},
"type": "array"
},
"seatCategoryNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"subTopicNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"subjectNames": {
"type": "object"
},
"topicNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"topicSubTopics": {
"additionalProperties": {
"items": {
"type": "integer"
},
"type": "array"
},
"type": "object"
},
"venueNames": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"areaNames",
"audienceSubCategoryNames",
"blockNames",
"events",
"performances",
"seatCategoryNames",
"subTopicNames",
"subjectNames",
"topicNames",
"topicSubTopics",
"venueNames"
],
"type": "object"
}