OpenActive Developers
Data ValidatorDataset DashboardW3C Community Group
  • Welcome to our community
  • Publishing Data
    • Data Feeds
      • How an RPDE data feed works
      • Types of RDPE feed
      • Implementing RPDE
      • Testing RPDE feeds
      • Scaling RPDE feeds
    • Activity list references
    • Including geo coordinates
    • Schedules
    • Dataset Sites
    • Virtual Events
    • On-Demand Events
    • Opening Hours
    • Data Quality
  • Using data
    • Harvesting opportunity data
      • Large Integers in JavaScript
    • Tutorial: Consuming an RPDE feed
    • Attribution
  • Open Booking API
    • Key Decisions
    • Implementing booking
    • Testing booking
      • Configuring Test Suite
      • Implementing the Test Interface
        • Test Interface Actions
        • Create Opportunity Endpoint
      • Random Mode: Generating Test Opportunity Data
      • Running Test Suite
      • Generating the Conformance Certificate
  • Data Model
    • Data Model Overview
    • @context and JSON-LD
    • Types Reference
      • Action
      • AudioObject
      • BabyChanging
      • Barcode
      • BookingService
      • BooleanFormFieldSpecification
      • Brand
      • ChangingFacilities
      • ConceptScheme
      • Concept
      • CourseInstance
      • Course
      • Creche
      • CustomerAccount
      • DataCatalog
      • DataDownload
      • Dataset
      • DropdownFormFieldSpecification
      • DynamicPayment
      • Entitlement
      • EventSeries
      • Event
      • FacilityUse
      • FileUploadFormFieldSpecification
      • GeoCoordinates
      • HeadlineEvent
      • ImageObject
      • IndividualFacilityUse
      • InternalApplicationError
      • InternalLibraryConfigurationError
      • InternalLibraryError
      • Lease
      • LocationFeatureSpecification
      • Lockers
      • MediaObject
      • OfferOverride
      • Offer
      • OnDemandEvent
      • OpenBookingError
      • OpeningHoursSpecification
      • OrderItem
      • OrderProposal
      • OrderQuote
      • Order
      • Organization
      • ParagraphFormFieldSpecification
      • Parking
      • PartialSchedule
      • Payment
      • Person
      • Place
      • PostalAddress
      • PriceSpecification
      • PrivacyPolicy
      • PropertyValueSpecification
      • PropertyValue
      • QuantitativeValue
      • Schedule
      • ScheduledSession
      • SessionSeries
      • ShortAnswerFormFieldSpecification
      • Showers
      • Slot
      • SportsActivityLocation
      • TaxChargeSpecification
      • TermsOfUse
      • Terms
      • Toilets
      • Towels
      • VideoObject
      • VirtualLocation
      • WebAPI
  • Specifications
    • Specifications Overview
  • Useful links
    • Data Visualiser
    • Data Validator
    • Dataset Dashboard
    • Non-technical Guidance
  • OpenActive on GitHub
    • Overview
    • Activity List
    • Community
    • Controlled Vocabularies
    • Dataset Publication
    • Documentation
    • Implementation Support
    • Programmes
    • RPDE
    • SKOS
    • Specifications
    • Validators
Powered by GitBook
On this page
  • Properties
  • Required properties
  • Recommended properties
  • Optional properties
  • Beta Extension properties
Edit on GitHub
  1. Data Model
  2. Types Reference

SportsActivityLocation

This page describes the SportsActivityLocation type.

PreviousSlotNextTaxChargeSpecification

Last updated 11 months ago

This type is derived from , 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

Must always be present and set to "@type": "SportsActivityLocation"

name

The name of the SportsActivityLocation

Example

"name": "Basketball Hall"

Recommended properties

Property
Expected Type
Description

@id

A unique URI-based identifier for the record.

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

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.

  • It features a purpose-built hall with 3 courts developed to FIBA standards for international competition and a multi-sports hall with a further 2 basketball courts.The NBPC show court, which has basketball lines only, also features FIBA scoreboards, 24 second cubes, red LED fitted backboards and Olympic standard portable baskets.

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

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

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

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

A specific identifiable facility (SportsActivityLocation) or place (Place) that exist within this place

Example

"containsPlace": [ { "@type": "SportsActivityLocation", "@id": "https://api.example.com/places/1402CBP20150217/sports-activity-locations/3", "url": "https://www.better.org.uk/leisure-centre/manchester/belle-vue-sports-village/facilities", "name": "Studio", "description": "We have a great range of Fitness Classes at Belle Vue Leisure Centre including Group Cycle, Zumba, Pilates and much much more.", "image": [ { "@type": "ImageObject", "url": "https://res-1.cloudinary.com/gll/image/upload/c_fit,f_auto,h_169,w_384/v1592158966/production/0065/7/66/PHOTO-2020-06-09-14-25-53_3.jpg" } ], "specialOpeningHoursSpecification": [ { "@type": "OpeningHoursSpecification", "opens": "00:00", "closes": "00:00", "validFrom": "2022-01-01", "validThrough": "2022-12-31" } ] } ]

email

General enquiries e-mail address for the Place.

Example

"email": "info@example.com"

identifier

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

The telephone number for the Place

Example

"telephone": "01253 473934"

Beta Extension properties

Property
Expected Type
Description

beta:formattedDescription

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

beta:serviceOperator

The organization responsible for the operation of the Place.

beta:video

A related video object.

@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 .

Array of

Array of

- or - @id reference

Array of

- or - - or - Array of - or -

Array of

Array of

These properties are defined in the . 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.

Array of

The type of Place. See .

Array of

Except as otherwise noted, the content of this page is licensed under the , and code samples are licensed under the , for anyone to access, use and share; using attribution "".

https://schema.org/SportsActivityLocation
OpenActive Beta Extension
Creative Commons Attribution License (CC-BY V4.0)
MIT License
OpenActive
Text
Text
URL
RFC3986
Text
ImageObject
URL
LocationFeatureSpecification
Place
Place
Text
Text
PropertyValue
PropertyValue
Integer
OpeningHoursSpecification
OpeningHoursSpecification
Text
Text
Proposal #276
Concept
Proposal #1
https://openactive.io/place-types/
Organization
Proposal #307
VideoObject
Proposal #88