This repository holds the data and documentation for the OpenActive list of physical activities.
A Physical Activity is an exercise, sport or other form of bodily movement that involves physical effort. Physical activities include not just sports, but also a variety of forms of exercise and fitness classes. An Activity List defines a list of physical activities.
A standardised activity list, that provides unique identifiers, labels and descriptions for physical activities can:
- support integration of data published by multiple activity providers
- improve user experience across applications through use of a standard set of activity names and definitions
- enable better discovery and recommendation tools to enable participants to find more opportunities to be active
The list is publicaly available at https://www.openactive.io/activity-list/.
Alternative formats of the list are available as
View the open data certificate for this dataset.
The dataset is structured according to the SKOS standard for publishing controlled vocabularies.
It consists of:
- a list of terms with an identifier (a URI) and a preferred label (
skos:prefLabel
) - relationships between terms (
skos:broader
andskos:narrower
) - alternative labels (synonyms,
skos:altLabel
)
Terms in the list have been assigned a UUID to generate a unique identifier. The URIs for each terms are Patterned URIs that combine these UUIDs with a common prefix:
E.g. Fencing has been assigned a UUID of 92808e60-820c-4ee2-89ec-ea8d99d3f528
. It's URI is http://openactive.io/activity-list/#92808e60-820c-4ee2-89ec-ea8d99d3f528
The JSON-LD version of the list provides a simple JSON version of the list that conforms to the JSON-LD specification.
The CSV version of the list provides a simple tabular CSV format for working with the activity list.
The columns of the CSV file are:
ID
of the term being defined- Preferred Label of the broader term being defined
- Preferred Label of the narrower term being defined
- Synonyms for the term
- Definition of the term
If a broader term is being defined then only columns 1, 2, 4, and 5 may be populated. If a narrower term is being defined then all columns are relevant. The labels of the broader term is repeated on each row to make it easier to read and understand the structure of the list in a spreadsheet application.
- Changes are made to the CSV file by the editors
- Updated CSV file is checked into the repository
- Ruby
ruby mk_list.rb
to generate the Turtle, JSON-LD and HTML+RDFa versions of the specification - Commit and push to master which will trigger github pages to deploy the new version
Run bundle
to install the erubis
gem used to generate the HTML.
The documentation and data in this repository is published under the Creative Commons CC-BY 4.0 license.
The Ruby code and templates are placed into the public domain under the Unlicense waiver.