Links

SportsActivityLocation

This page describes the SportsActivityLocation type.
This type is derived from https://schema.org/SportsActivityLocation, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

Property
Expected Type
Description
@type
Text
Must always be present and set to "@type": "SportsActivityLocation"
name
Text
The name of the SportsActivityLocation
Example
"name": "Basketball Hall"
Property
Expected Type
Description
@id
URL
A unique URI-based identifier for the record.
@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.
The primary purpose of the URI format in this context is to provide natural namespacing for the identifier. Hence, the URI itself may not resolve to a valid endpoint, but must use a domain name controlled by the resource owner (the organisation responsible for the OpenActive open data feed).
Example
"@id": "https://id.bookingsystem.example.com/places/12345/sports-activity-locations/1"
description
Text
A plain text description of the SportsActivityLocation, which must not include HTML or other markup.
Example
"description": "The National Basketball Performance Centre (NBPC) is part of Belle Vue Sports Village.
To book a court at the National Basketball Performance Centre, please use the link below or drop in to one of our Pay & Play sessions."
image
Array of ImageObject
An image or photo that depicts the specific SportsActivityLocation.
Example
"image": [ { "thumbnail": "http://example.com/static/image/speedball_thumbnail.jpg", "@type": "ImageObject", "url": "http://example.com/static/image/speedball_large.jpg" } ]
url
URL
A website URL that describes the SportsActivityLocation
Example
"url": "https://www.better.org.uk/leisure-centre/manchester/belle-vue-sports-village/facilities"

Optional properties

Property
Expected Type
Description
amenityFeature
An array listing the Amenities of the Place.
Example
"amenityFeature": [ { "name": "Changing Facilities", "value": true, "@type": "ChangingFacilities" }, { "name": "Showers", "value": false, "@type": "Showers" }, { "name": "Lockers", "value": true, "@type": "Lockers" }, { "name": "Towels", "value": false, "@type": "Towels" }, { "name": "Creche", "value": false, "@type": "Creche" }, { "name": "Parking", "value": true, "@type": "Parking" } ]
containedInPlace
Place - or - @id reference
The place within which this Place exists
Example
"containedInPlace": { "@type": "Place", "url": "https://www.everyoneactive.com/centres/Middlesbrough-Sports-Village", "name": "Middlesbrough Sports Village" }
containsPlace
Array of Place
Places that exist within this place
Example
"containsPlace": { "@type": "Place", "url": "https://www.everyoneactive.com/centres/Center-Parcs-Sports-Plaza", "name": "Center Parcs Sports Plaza" }
email
Text
General enquiries e-mail address for the Place.
Example
identifier
Text - or - PropertyValue - or - Array of PropertyValue - or - Integer
A local non-URI identifier for the resource
Example
"identifier": "SB1234"
openingHoursSpecification
The times the SportsActivityLocation is open
specialOpeningHoursSpecification
Explicitly override general opening hours brought in scope by schema:openingHoursSpecification.
telephone
Text
The telephone number for the Place
Example
"telephone": "01253 473934"

Beta Extension properties

These properties are defined in the OpenActive Beta Extension. The OpenActive Beta Extension is defined as a convenience to help document properties that are in active testing and review by the community. Publishers should not assume that properties in the beta namespace will either be added to the core specification or be included in the namespace over the long term.
Property
Expected Type
Description
beta:formattedDescription
Text
Sometimes a description is stored with formatting (e.g. href, bold, italics, embedded YouTube videos). This formatting can be useful for data consumers. This property must contain HTML.
beta:placeType
Array of Concept
The type of Place. See https://openactive.io/place-types/.
beta:serviceOperator
The organization responsible for the operation of the Place.
beta:video
Array of VideoObject
A related video object.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".