UNPKG

@openactive/data-models

Version:

Data models used to drive that OpenActive validator, developer documentation, and model libraries

112 lines 2.4 kB
{ "type": "EventSeries", "hasId": true, "subClassOf": "#Event", "derivedFrom": "https://pending.schema.org/EventSeries", "sampleId": "https://api.example.com/event-series/12345", "requiredFields": [ "type", "name", "activity", "organizer" ], "requiredOptions": [ { "description": [ "An `id` and/or `identifier` must be provided in order to allow data users to group `EventSeries` together consistently." ], "options": [ "id", "identifier" ] } ], "recommendedFields": [ "id", "ageRange", "description", "genderRestriction", "image", "isCoached", "level", "programme" ], "shallNotInclude": [ "eventSchedule" ], "validationMode": { "C1Response": "response", "C1ResponseOrderItemError": "response", "C2Response": "response", "C2ResponseOrderItemError": "response", "PResponse": "response", "PResponseOrderItemError": "response", "BResponse": "response", "BResponseOrderItemError": "response", "OrdersFeed": "response", "OrderProposalsFeed": "response", "OrderStatus": "response" }, "imperativeConfigurationWithContext": {}, "imperativeConfiguration": { "response": { "requiredFields": [ "type", "name", "activity" ] } }, "inSpec": [ "id", "type", "identifier", "url", "name", "description", "image", "startDate", "endDate", "duration", "location", "organizer", "contributor", "maximumAttendeeCapacity", "maximumVirtualAttendeeCapacity", "remainingAttendeeCapacity", "eventStatus", "subEvent", "superEvent", "activity", "category", "ageRange", "genderRestriction", "ageRestriction", "additionalAdmissionRestriction", "customerAccountBookingRestriction", "isOpenBookingWithCustomerAccountAllowed", "programme", "attendeeInstructions", "leader", "accessibilitySupport", "accessibilityInformation", "isCoached", "level", "meetingPoint", "isAccessibleForFree", "offers", "schedulingNote", "eventAttendanceMode" ], "notInSpec": [ "startDate", "endDate" ], "fields": { "type": { "fieldName": "type", "requiredType": "https://schema.org/Text", "requiredContent": "EventSeries" } } }