OpenActive Data Catalogs provide a mechanism for registering OpenActive Datasite Sites so that they can be discovered and harvested by data users.
The JSON-LD OpenActive Data Catalog Collection contains a list of JSON-LD Data Catalogs, which each contain a list of HTML Dataset Sites. Each HTML Dataset Site references OpenActive feed URLs within its JSON-LD metadata.
-
Download the OpenActive Data Catalog Collection JSON-LD file using a GET request to the canonical URL
https://openactive.io/data-catalogs/data-catalog-collection.jsonld
. -
Download each Data Catalog JSON-LD file referenced by the
hasPart
array in the OpenActive Data Catalog Collection (Data Catalog example data). -
Download each Dataset Site HTML page referenced by the
dataset
array in each Data Catalog (Dataset Site example). -
Extract the JSON-LD metadata from inside the HTML page of the Dataset Site (example extraction library).
-
The feed URLs are located in the
distribution
property of the JSON-LD metadata within the Dataset Site.
To support the OpenActive Data Catalogs infrastructure, the following two data files are hosted from within this central repository. They should be accessed via the canonical URLs below:
A JSON-LD collection of all Data Catalogs recognised as compliant by OpenActive.
https://openactive.io/data-catalogs/data-catalog-collection.jsonld
A JSON-LD Data Catalog for singular datasets that are not included in other Data Catalogs. This data catalog is included in the OpenActive Data Catalog Collection.
https://openactive.io/data-catalogs/singular.jsonld
If you have created a new Dataset Site, simply create a Pull Request for the OpenActive Data Catalog for Singular Datasets and add your Dataset Site's production URL to the dataset
array.
If you have created a new Data Catalog, simply create a Pull Request for the OpenActive Data Catalog Collection and add your Data Catalog's production URL to the hasPart
array.
The Dataset Site JSON-LD metadata format, Data Catalog format, and Data Catalog Collection format are planned to be standardised as part of the Dataset API Discovery specification.