JSON-LD (schema.org)
Ask for schema.org JSON-LD instead of JSON, and what is emitted.
/events, /showtimes, /event-series, /festivals, /locations, /artists, /works, /genres and /regions, lists and single records, also answer as schema.org JSON-LD (not /genres/grouped, /regions/types, the GeoJSON layers /regions/geojson and /locations/geojson…, and the LeisureIndex figures). Ask for it with ?format=jsonld, or with an Accept header that prefers application/ld+json over application/json (for example Accept: application/ld+json). format=json forces the JSON shape. Without either, you get JSON. The answer is Content-Type: application/ld+json; charset=utf-8; it costs the same credits and has its own ETag. Errors stay application/problem+json.
What is emitted:
| Endpoint | schema.org type |
|---|---|
/events | Event per day, with startDate/endDate in local time with offset, eventStatus (EventScheduled, EventCancelled, EventRescheduled with previousStartDate), eventAttendanceMode, location (a Place), offers, performer, workPerformed, superEvent (the EventSeries and the Festival), image, inLanguage, typicalAgeRange, isAccessibleForFree, keywords (genre names). |
/showtimes | Event for the showtime; a run carries eventSchedule with its opening hours. |
/event-series | EventSeries. |
/festivals | Festival. |
/locations | Place, or a subtype from the venue's category (PerformingArtsTheater, MusicVenue, Museum, …), with address, geo, openingHoursSpecification, specialOpeningHoursSpecification, amenityFeature (wheelchair access), sameAs (Wikidata) where known. |
/artists | Person (with givenName, familyName), MusicGroup, DanceGroup, TheaterGroup or PerformingGroup once the artist's type has been determined; until then a plain Thing. With description and image. |
/works | CreativeWork with alternateName, description, dateCreated (the year), timeRequired, creator (only creators whose type is known), image. |
/genres | DefinedTerm with termCode (the slug), in a DefinedTermSet: its parent group, or for a parent group the set of all genres. |
/regions | Country, State, City or AdministrativeArea, with containedInPlace (the parent region's @id) and image. |
| Lists | ItemList with ListItems, and a Hydra PartialCollectionView with hydra:next/hydra:previous; the same links are in the Link header (rel="next", rel="prev"). numberOfItems is set where the list counts its total. A list without paging (the region lists) is one page without hydra:next. |
Every node has a stable @id such as https://api.cixtra.app/api/v1/events/<id>#event and identifier entries (cixtra:occurrence, cixtra:showtime, cixtra:eventSeries, cixtra:location, cixtra:festival, cixtra:artist, cixtra:work, cixtra:genre, cixtra:region) with the ids of the JSON answer. Images become ImageObjects with creditText, copyrightNotice, license and isBasedOn (the source page); AI images carry digitalSourceType.
An event, shortened to its main properties:
{
"@context": ["https://schema.org", { "@language": "en" }],
"@type": "Event",
"@id": "https://api.cixtra.app/api/v1/events/0b6c2f0e-5a7e-4d3b-9a51-2f0c1d7e4a10#event",
"identifier": [
{ "@type": "PropertyValue", "propertyID": "cixtra:occurrence", "value": "0b6c2f0e-5a7e-4d3b-9a51-2f0c1d7e4a10" },
{ "@type": "PropertyValue", "propertyID": "cixtra:showtime", "value": "7f1d2c3b-1111-4a2b-9c3d-5e6f7a8b9c0d" },
{ "@type": "PropertyValue", "propertyID": "cixtra:eventSeries", "value": "3a2b1c0d-2222-4e5f-8a9b-0c1d2e3f4a5b" }
],
"name": "Winter Serenades",
"alternateName": "Mozart and Haydn by candlelight",
"description": "A string quartet plays Mozart and Haydn in the library hall.",
"startDate": "2026-12-04T19:30:00+01:00",
"endDate": "2026-12-04T21:30:00+01:00",
"duration": "PT120M",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"offers": [
{ "@type": "Offer", "price": 35, "priceCurrency": "EUR", "category": "standard", "url": "https://house.example.org/tickets/winter-serenades" },
{ "@type": "Offer", "price": 18, "priceCurrency": "EUR", "category": "student", "url": "https://house.example.org/tickets/winter-serenades" }
],
"typicalAgeRange": "6-",
"superEvent": {
"@type": "EventSeries",
"@id": "https://api.cixtra.app/api/v1/event-series/3a2b1c0d-2222-4e5f-8a9b-0c1d2e3f4a5b#series",
"name": "Winter Serenades"
},
"url": "https://house.example.org/winter-serenades",
"keywords": "Chamber music"
}@language is stated only when the text is in the language you asked for; a record that fell back to another language carries no language claim.
What is deliberately left out:
- Unknown values. A property we do not hold is omitted, never sent empty or guessed. A wheelchair status of "unknown" is not turned into "no".
- Performers whose type is not yet known. schema.org needs a person or a group type; an artist whose type has not been determined yet is left out of
performerandcreatorrather than typed by guess. They are still in the JSON answer; on/artistssuch an artist is aThing. - Estimated end times and the end of a date whose start time is unknown (then
startDateis the plain day). - Availability other than
SoldOut; we never claim tickets are in stock. - Price lines without an amount (donation, on request). A ticket link without prices becomes an
Offerwith only aurl. - Images that may only be credited, not shown (
creditLinkOnly). - Work types: works are plain
CreativeWorks. Their AI-estimated era, style and themes are not emitted. - Population and area of a region: schema.org has no property for them.
- A festival's venues: they are on its events, so a festival has no
subEvent. - Scores and ranking, and any field without a schema.org counterpart.