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/
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

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/Event
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 specific age range. If only a single age is specified then this is assumed to be a minimum age. Age ranges can be specified as follows: 18-30

rdfs:subPropertyOf
http://schema.org/typicalAgeRange
rdfs:domain
http://schema.org/Event
genderRestriction genderRestriction

Indicates that an event is restricted to male, female or a mixed audience. If a gender restriction isn't specified then applications should assume that an event is suitable for a mixed audience

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

Term Definitions

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

@vocab
http://schema.org/
ActivityOpportunity
oa:ActivityOpportunity
Schedule
pending:Schedule
accessibilityInformation
oa:accessibilityInformation
accessibilitySupport
oa:accessibilitySupport
activity
oa:activity
ageRange
oa:ageRange
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
genderRestriction
oa:genderRestriction
id
@id
inScheme
skos:inScheme
isCoached
oa:isCoached
leader
oa:leader with string values interpreted as @id
level
oa:level
license
dc:license
meetingPoint
oa:meetingPoint
narrower
skos:narrower
notation
skos:notation
oa
http://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#
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.