Common Models
These models are referenced by multiple API endpoints across venues, productions, and showtimes.
PageInfo
Section titled “PageInfo”Pagination metadata included in list responses.
PageInfo { page: Int, pageSize: Int, totalPages: Int}| Field | Type | Description |
|---|---|---|
page | Int | Current page number |
pageSize | Int | Number of items per page |
totalPages | Int | Total number of pages available |
LatLonPair
Section titled “LatLonPair”Geographic coordinates used for location-based queries.
LatLonPair { lat: Double, lon: Double}| Field | Type | Description |
|---|---|---|
lat | Double | Latitude |
lon | Double | Longitude |
ISODateBounds
Section titled “ISODateBounds”Date range using ISO 8601 formatted dates with timezone.
ISODateBounds { isoStartDate: String, // ISO8601 formatted date without milliseconds isoEndDate: String // ISO8601 formatted date without milliseconds}| Field | Type | Description |
|---|---|---|
isoStartDate | String | Start date in ISO 8601 format (e.g., 2024-01-15T07:00:00Z) |
isoEndDate | String | End date in ISO 8601 format (e.g., 2024-01-16T07:00:00Z) |
LocalDateBounds
Section titled “LocalDateBounds”Date range using local dates without timezone information.
LocalDateBounds { localStartDate: String, // YYYY-MM-DDTHH:MM:SS (no timezone) localEndDate: String // YYYY-MM-DDTHH:MM:SS (no timezone)}| Field | Type | Description |
|---|---|---|
localStartDate | String | Start date in local format (e.g., 2024-01-15T00:00:00) |
localEndDate | String | End date in local format (e.g., 2024-01-16T00:00:00) |