The OpenActive Namespace Vocabulary Terms provides both the RDFS [[RDF-SCHEMA]] vocabulary definitions for terms defined in [[Modelling-Opportunity-Data]] and a description of the JSON-LD context definition for use when publishing opportunity data.

Alternate versions of the vocabulary definition exist in Turtle and JSON-LD, which also includes the @context required for metadata descriptions.

This document is an output of the [[OpenActive-Community-Group]]. The community group was established with the objective of facilitating the sharing and use of physical activity data.

The [[OpenActive-Community-Group]] has produced a specification ([[Modelling-Opportunity-Data]]) that describes how to publish open data about opportunities to take part in physical activities. That specification introduces a number of new types and properties which are described in this document.

Introduction

This document describes the vocabulary used in the Modelling Opportunity Data specification.

This specification makes use of the following namespaces:

dc:
http://purl.org/dc/terms/
oa:
https://www.openactive.io/ns#
rdf:
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs:
http://www.w3.org/2000/01/rdf-schema#
schema:
http://schema.org/
skos:
http://www.w3.org/2004/02/skos/core#
xsd:
http://www.w3.org/2001/XMLSchema#

Class Definitions

The following are class definitions in the oa namespace:

ActivityOpportunity ActivityOpportunity

An opportunity to carry out an activity at a location, at a time of the participants choosing.

rdfs:subClassOf
http://schema.org/Thing
GenderRestrictionType GenderRestrictionType

Enumerated types for gender restrictions that are applied to Events

Male Male

Enumerated value for specifying gender restrictions

rdfs:subClassOf
oa:GenderRestrictionType
Female Female

Enumerated value for specifying gender restrictions

rdfs:subClassOf
oa:GenderRestrictionType
None None

Enumerated value for specifying gender restrictions

rdfs:subClassOf
oa:GenderRestrictionType
FacilityUse FacilityUse

An opportunity to use a facility

rdfs:subClassOf
schema:Product
ChangingRooms ChangingRooms

Changing Rooms.

rdfs:subClassOf
schema:LocationFeatureSpecification
Showers Showers

Showers

rdfs:subClassOf
schema:LocationFeatureSpecification
PublicToilets PublicToilets

Public Toilets

rdfs:subClassOf
schema:LocationFeatureSpecification
Lockers Lockers

Lockers

rdfs:subClassOf
schema:LocationFeatureSpecification
Towels Towels

Towels

rdfs:subClassOf
schema:LocationFeatureSpecification
Creche Creche

Creche

rdfs:subClassOf
schema:LocationFeatureSpecification
Parking Parking

Parking

rdfs:subClassOf
schema:LocationFeatureSpecification
BabyChanging BabyChanging

BabyChanging

rdfs:subClassOf
schema:LocationFeatureSpecification
Slot Slot

A Slot is an opportunity to use a facility at a specific time and for a specified duration. A Slot is therefore a specific type of Event, although it has a more constrained set of properties.

rdfs:subClassOf
schema:Event
IndividualFacilityUse FacilityUse

An opportunity to use a specific facility

rdfs:subClassOf
oa:FacilityUse

Property Definitions

The following are property definitions in the oa namespace:

activity activity

Specifies the physical activity or activities that will take place during an event

rdfs:domain
http://schema.org/Thing
category category

Associate one or more tags to an Event to further categorise and describe it event, e.g. its intensity, purpose, setting, membership requirements, etc.

rdfs:domain
http://schema.org/Event
ageRange ageRange

Indicates that an event is suitable for a specified age range, or that an Offer applies only to people of a specific age

rdfs:range
http://schema.org/QuantitativeValue
rdfs:domain
http://schema.org/Thing
genderRestriction genderRestriction

Indicates that an event is restricted to male, female or a mixed audience. Values should be one of the gender types specified in this vocabulary. If a gender restriction isn't specified then applications should assume that an event is suitable for a mixed audience

rdfs:range
oa:GenderRestrictionType
rdfs:domain
http://schema.org/Event
programme programme

Indicates that an event will be organised according to a specific Programme

rdfs:domain
http://schema.org/Event
attendeeInstructions

Provides additional notes and instructions for event attendees. This information is targetted at attendees rather than potential participants. The instructions might include information on what to bring, what to wear, how to find the event, etc.

rdfs:domain
http://schema.org/Event
leader

The person who will be leading an event. E.g. a coach. This is a more specific role than an organiser or a contributor

rdfs:range
http://schema.org/Person
rdfs:domain
http://schema.org/Event
accessibilityInformation

Intended to capture further notes for attendees about support for disabilities or other conditions at the event

rdfs:domain
http://schema.org/Event
accessibilitySupport

What types of disabilities or conditions are accommodated at the event

rdfs:domain
http://schema.org/Event
isCoached

A boolean property that indicates whether an Event will be coached. This flag allows an Event to be marked as being coached without having to specify a named individual as a coach. This addresses both privacy concerns and also scenarios where the actual coach may only be decided on the day.

rdfs:domain
http://schema.org/Event
level

A general purpose property for specifying the suitability of an event for different participant levels. E.g. beginner/intermediate/advanced. Or in the case of martial arts, specific belt requirements. Values should ideally draw from a controlled vocabulary

rdfs:subPropertyOf
http://openactive.org/ns#category
rdfs:domain
http://schema.org/Event
meetingPoint

Instructions for the attendees of an Event about where they should meet the organizer or leader at the start of the event. Some larger locations may have several possible meeting points, so this property provides additional more specific directions.

rdfs:subPropertyOf
http://openactive.org/ns#attendeeInstructions
rdfs:domain
http://schema.org/Event
facilityUse facilityUse

Associates a Slot with a FacilityUse

rdfs:range
oa:FacilityUse
rdfs:domain
oa:Slot
remainingUses

Remaining opportunities to use a Slot

rdfs:domain
oa:Slot
maximumUses

Maximum opportunities to use a Slot

rdfs:domain
oa:Slot
individualFacilityUse

Provides a list of more specific opportunities to use facilities at a location, e.g. opportunities for individual courts or pitches

rdfs:domain
oa:FacilityUse

Term Definitions

The following terms are all defined in the OpenActive Vocabulary JSON-LD Context.

@vocab
http://schema.org/
ActivityOpportunity
oa:ActivityOpportunity
BabyChanging
oa:BabyChanging
ChangingRooms
oa:ChangingRooms
Creche
oa:Creche
FacilityUse
oa:FacilityUse
Female
oa:Female
GenderRestrictionType
oa:GenderRestrictionType
IndividualFacilityUse
oa:IndividualFacilityUse
Lockers
oa:Lockers
Male
oa:Male
None
oa:None
Parking
oa:Parking
PublicToilets
oa:PublicToilets
Schedule
pending:Schedule
Showers
oa:Showers
Slot
oa:Slot
Towels
oa:Towels
accessibilityInformation
oa:accessibilityInformation
accessibilitySupport
oa:accessibilitySupport
activity
oa:activity
ageRange
oa:ageRange with string values interpreted as @id
altLabel
skos:altLabel
attendeeInstructions
oa:attendeeInstructions
broader
skos:broader
byDay
pending:byDay
byMonth
pending:byMonth
byMonthDay
pending:byMonthDay
category
oa:category
concepts
reverse of skos:inScheme
dc
http://purl.org/dc/terms/
eventSchedule
pending:eventSchedule
exceptDate
pending:exceptDate
facilityUse
oa:facilityUse with string values interpreted as @id
genderRestriction
oa:genderRestriction with string values interpreted as @id
id
@id
inScheme
skos:inScheme
individualFacilityUse
oa:individualFacilityUse
isCoached
oa:isCoached
leader
oa:leader with string values interpreted as @id
level
oa:level
license
dc:license
maximumUses
oa:maximumUses
meetingPoint
oa:meetingPoint
narrower
skos:narrower
notation
skos:notation
oa
https://www.openactive.org/ns#
owl
http://www.w3.org/2002/07/owl#
pending
http://pending.schema.org/
prefLabel
skos:prefLabel
programme
oa:programme
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfa
http://www.w3.org/ns/rdfa#
rdfs
http://www.w3.org/2000/01/rdf-schema#
remainingUses
oa:remainingUses
repeatCount
pending:repeatCount
repeatFrequency
pending:repeatFrequency
schema
http://schema.org/
skos
http://www.w3.org/2004/02/skos/core#
title
dc:title
topConceptOf
skos:topConceptOf
type
@type
xsd
http://www.w3.org/2001/XMLSchema#

Acknowledgements

The editors would like to thank all members of the OpenActive Community Group for their support and contributions.