prefLabelof at least one activity from the OpenActive Activity List must be included with each opportunity, along with an
"https://openactive.io/activity-list", as shown below:
"https://openactive.io/activity-list/activity-list.jsonld"which does not require a specific
Acceptheader, and is cached via CDN.
wwwin the URL.
@idof an OpenActive Activity List
Conceptagainst each opportunity in your database, as the
prefLabeland other properties are likely to change over time.
@idat the point of the associating an OpenActive Activity List
Conceptwith an opportunity, to remove the need to reference the activity list while outputting open data. It is the responsibility of the data user to use the latest
prefLabelwhen rendering the open data it receives.
@idsimply find the relevant activity in the OpenActive Activity List, then scroll down to the bottom the page to view a full example JSON-LD snippet for that specific activity, such as the screenshot below. This can be included in your open data feed.
altLabelbe appended to the
prefLabel, using the separator
" / ". This logic does not apply to the
prefLabelincluded in the open data feed.
"https://openactive.io/activity-list", to produce an initial list of top-level Concepts.
narrower(child) Concept IDs.
@idto set the dropdown to an existing value.
prefLabel, which can then be stored in your database and later used within your open data feed(s).
definitionthat may be displayed to the user for disambiguation.
@id. This will take the user to a page specific to the activity where they can make suggestions about the activity, including updating the definition of an activity.