@id
properties are used as identifiers for compatibility with JSON-LD. The value of such a property must always be an absolute URI that provides a stable globally unique identifier for the resource, as described in RFC3986."@id": "https://api.example.com/individual-facility-uses/12345"
"location": {
"@type": "Place",
"address": {
"addressLocality": "New Malden",
"addressRegion": "London",
"postalCode": "NW5 3DU",
"streetAddress": "Raynes Park High School, 46A West Barnes Lane",
"@type": "PostalAddress"
},
"description": "Raynes Park High School in London",
"geo": {
"latitude": 51.4034423828125,
"longitude": -0.2369088977575302,
"@type": "GeoCoordinates"
},
"@id": "https://example.com/locations/1234ABCD",
"identifier": "1234ABCD",
"name": "Raynes Park High School",
"telephone": "01253 473934"
}
"provider": {
"@type": "Organization",
"name": "Central Speedball Association",
"url": "http://www.speedball-world.com"
}
"url": "https://example.com/facility-use/1234"
facilityType
property has been added to tooling and documentation ahead of inclusion in the next point release of the OpenActive Modelling Opportunity Data specification, as agreed on the W3C call 2021-06-02. On this basis of this discussion, following the next point release, only facilityType
will be required."facilityType": [
{
"@type": "Concept",
"@id": "https://openactive.io/facility-types#bba8ae59-d152-40bc-85cc-88c5375696d4",
"prefLabel": "Tennis Court",
"inScheme": "https://openactive.io/facility-types"
}
]
facilityType
instead of activity
within FacilityUse
and IndividualFacilityUse
, as the facilityType
controlled vocabulary has been designed specifically for facilities."activity": [
{
"@type": "Concept",
"@id": "https://openactive.io/activity-list#c0360db0-a817-4bae-9167-40f89b49fc9e",
"prefLabel": "Badminton",
"inScheme": "https://openactive.io/activity-list"
}
]
"description": "An fast paced game that incorporates netball, handball and football."
"image": [
{
"thumbnail": "http://example.com/static/image/speedball_thumbnail.jpg",
"@type": "ImageObject",
"url": "http://example.com/static/image/speedball_large.jpg"
}
]
"accessibilityInformation": "This route has been British Cycling assessed as an accessible route, meaning it is suitable for the majority of adaptive bikes. The route will have no or low levels of traffic, there will be plenty of space and will have a good surface throughout. If you have any questions about using this route on an adaptive bike on this ride, please use visit https://www.letsride.co.uk/accessibility or call 0123 456 7000 and ask for the Recreation team."
"accessibilitySupport": [
{
"@type": "Concept",
"@id": "https://openactive.io/accessibility-support#1393f2dc-3fcc-4be9-a99f-f1e51f5ad277",
"prefLabel": "Visual impairment",
"inScheme": "https://openactive.io/accessibility-support"
}
]
oa:ageRestriction
or oa:genderRestriction
."additionalAdmissionRestriction": [
"Participants younger than 12 must be accompanied by an adult",
"Participants must be comfortable standing for long periods of time"
]
"attendeeInstructions": "The tennis court is locked with a keycode, so please ensure you book online in advance to gain access."
"category": [
{
"@type": "Concept",
"@id": "https://example.com/reference/categories#Top%20Club%20Level",
"inScheme": "https://example.com/reference/categories",
"prefLabel": "Top Club Level"
}
]
"customerAccountBookingRestriction": [
"Gold members only",
"Gym induction required"
]
"event": [
{
"@type": "Slot",
"@id": "http://www.example.org/api/individual-facility-uses/432#/event/2018-03-01T10:00:00Z",
"startDate": "2018-03-01T11:00:00Z",
"endDate": "2018-03-01T11:30:00Z",
"duration": "PT30M",
"remainingUses": 0,
"maximumUses": 1
}
]
"identifier": "SB1234"
"isOpenBookingWithCustomerAccountAllowed": "true"
"offers": {
"@type": "Offer",
"identifier": "OX-AD",
"name": "Adult",
"price": 7.5,
"priceCurrency": "GBP",
"url": "https://profile.everyoneactive.com/booking?Site=0140&Activities=1402CBP20150217&Culture=en-GB"
}
facilityType
instead.