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
  • EARLY RELEASE NOTICE
  • Properties
  • Required properties
  • Recommended properties
  • Optional properties
Edit on GitHub
  1. Data Model
  2. Types Reference

Dataset

This page describes the Dataset type.

PreviousDataDownloadNextDropdownFormFieldSpecification

Last updated 11 months ago

EARLY RELEASE NOTICE

This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. It is mostly stable, as it based almost entirely on schema.org. HOWEVER, IT IS STILL SUBJECT TO CHANGE, as the evolves.

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": "Dataset"

@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://opendata.fusion-lifestyle.com/OpenActive/"

description

A plain text description of the Dataset, which must not include HTML or other markup.

Example

"description": "Near real-time availability and rich descriptions relating to the sessions and facilities available from {OrganisationName}, published using the OpenActive Modelling Specification 2.0."

discussionUrl

A URL that can be used to raise issues related to the Dataset via a public forum.

Example

"discussionUrl": "https://github.com/gladstonemrm/FusionLifestyle/issues"

distribution

An array of feeds within the dataset

Example

"distribution": [ { "@type": "DataDownload", "name": "FacilityUse", "additionalType": "https://openactive.io/FacilityUse", "encodingFormat": "application/vnd.openactive.rpde+json; version=1", "contentUrl": "https://opendata.leisurecloud.live/api/feeds/fusion-lifestyle-fl-live-facility-uses" } ]

documentation

A link to documentation related to the Dataset, or a link to the OpenActive developer documentation using https://permalink.openactive.io/dataset-site/open-data-documentation if no Dataset-specific documentation is available.

Example

"documentation": "https://permalink.openactive.io/dataset-site/open-data-documentation"

inLanguage

An array of languages included in the Dataset's content. Please use one of the language codes from the IETF BCP 47 standard.

Example

"inLanguage": [ "en-GB" ]

keywords

Keywords for search engine optimisation

Example

"keywords": [ "Sessions", "Facilities", "Activities", "Sports", "Physical Activity", "OpenActive" ]

license

Must always be present and set to "license": "https://creativecommons.org/licenses/by/4.0/"

name

The name of the Dataset

Example

"name": "Acme Leisure Sessions and Facilities"

publisher

The organization ultimately responsible for this Dataset.

Example

"publisher": { "@type": "Organization", "name": "Central Speedball Association", "url": "http://www.speedball-world.com" }

schemaVersion

Indicates the version of OpenActive Modelling Opportunity Data Specification with which this Dataset conforms, by specifying its URL.

Example

"schemaVersion": "https://openactive.io/modelling-opportunity-data/2.0/"

url

The URL of the dataset site.

Example

"url": "https://opendata.fusion-lifestyle.com/OpenActive/"

Recommended properties

Property
Expected Type
Description

backgroundImage

A background image for the Dataset.

Example

"backgroundImage": { "@type": "ImageObject", "url": "http://example.com/static/image/speedball_large.jpg" }

dateModified

The date this Dataset was last updated. For RPDE feeds this may simply be the date and time that the Dataset Site was rendered, which may be cached.

Example

"dateModified": "2018-01-27T12:00:00Z"

datePublished

The date this Dataset was first published. Can be specified as a schema:Date or schema:DateTime.

Example

"datePublished": "2018-01-27T12:00:00Z"

Optional properties

Property
Expected Type
Description

accessService

Information about the Open Booking API. Note this property is in EARLY RELEASE AND IS SUBJECT TO CHANGE.

bookingService

Information about the Booking System or publishing platform

@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

Array of

- or -

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

Dataset API Discovery specification
https://schema.org/Dataset
Creative Commons Attribution License (CC-BY V4.0)
MIT License
OpenActive
Text
URL
RFC3986
Text
URL
DataDownload
URL
Text
Text
URL
Text
Organization
URL
URL
ImageObject
DateTime
DateTime
Date
WebAPI
BookingService