Skip to content

Common Models

These models are referenced by multiple API endpoints across venues, productions, and showtimes.

Pagination metadata included in list responses.

PageInfo {
page: Int,
pageSize: Int,
totalPages: Int
}
FieldTypeDescription
pageIntCurrent page number
pageSizeIntNumber of items per page
totalPagesIntTotal number of pages available

Geographic coordinates used for location-based queries.

LatLonPair {
lat: Double,
lon: Double
}
FieldTypeDescription
latDoubleLatitude
lonDoubleLongitude

Date range using ISO 8601 formatted dates with timezone.

ISODateBounds {
isoStartDate: String, // ISO8601 formatted date without milliseconds
isoEndDate: String // ISO8601 formatted date without milliseconds
}
FieldTypeDescription
isoStartDateStringStart date in ISO 8601 format (e.g., 2024-01-15T07:00:00Z)
isoEndDateStringEnd date in ISO 8601 format (e.g., 2024-01-16T07:00:00Z)

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)
}
FieldTypeDescription
localStartDateStringStart date in local format (e.g., 2024-01-15T00:00:00)
localEndDateStringEnd date in local format (e.g., 2024-01-16T00:00:00)