< Return to Summary | File Generated: Thu May 09 2024 14:51:01 GMT+0000 (Coordinated Universal Time)
Booking Flow:
Opportunity Type:
Feature: Core / Dataset Site (Implemented)
Test: Dataset Site JSON-LD valid
Validates the JSON-LD within the dataset site, using the microservice as a caching proxy. If you make changes to the dataset site, you must restart the microservice.
npm start -- --runInBand test/features/core/dataset-site/implemented/dataset-site-jsonld-valid-test.js
The OpenActive Reference Implementation test result for this test can be used as a reference to help with debugging.
✅ 4 passed with 0 failures, 0 warnings and 0 suggestions
GET http://localhost:3000/dataset-site
Response status code: 200 OK. Responded in 82.426262ms.
{
"@context": [
"https://schema.org/",
"https://openactive.io/"
],
"@type": "Dataset",
"@id": "https://localhost:5001/openactive/",
"name": "OpenActive Reference Implementation Sessions and Facilities",
"description": "Near real-time availability and rich descriptions relating to the sessions and facilities available from OpenActive Reference Implementation",
"accessService": {
"@type": "WebAPI",
"name": "Open Booking API",
"description": "API that allows for seamless booking experiences to be created for sessions and facilities available from OpenActive Reference Implementation",
"authenticationAuthority": "https://localhost:5003",
"conformsTo": [
"https://openactive.io/open-booking-api/EditorsDraft/"
],
"documentation": "https://permalink.openactive.io/dataset-site/open-booking-api-documentation",
"endpointDescription": "https://www.openactive.io/open-booking-api/EditorsDraft/swagger.json",
"endpointUrl": "https://localhost:5001/api/openbooking",
"landingPage": "https://example.com/api-landing-page",
"termsOfService": "https://example.com/api-terms-page"
},
"backgroundImage": {
"@type": "ImageObject",
"url": "https://localhost:5001/images/placeholder-dataset-site-background.jpg"
},
"bookingService": {
"@type": "BookingService",
"name": "OpenActive Reference Implementation",
"hasCredential": "https://certificates.reference-implementation.openactive.io/examples/all-features/controlled/",
"softwareVersion": "1.0",
"url": "https://tutorials.openactive.io/open-booking-sdk/"
},
"dateModified": "2024-05-09T14:28:19+00:00",
"datePublished": "2019-01-14T00:00:00+00:00",
"discussionUrl": "https://github.com/openactive/OpenActive.Server.NET/issues",
"distribution": [
{
"@type": "DataDownload",
"identifier": "ScheduledSession",
"name": "ScheduledSession",
"additionalType": "https://openactive.io/ScheduledSession",
"contentUrl": "https://localhost:5001/feeds/scheduled-sessions",
"encodingFormat": "application/vnd.openactive.rpde+json; version=1"
},
{
"@type": "DataDownload",
"identifier": "SessionSeries",
"name": "SessionSeries",
"additionalType": "https://openactive.io/SessionSeries",
"contentUrl": "https://localhost:5001/feeds/session-series",
"encodingFormat": "application/vnd.openactive.rpde+json; version=1"
},
{
"@type": "DataDownload",
"identifier": "FacilityUse",
"name": "FacilityUse",
"additionalType": "https://openactive.io/FacilityUse",
"contentUrl": "https://localhost:5001/feeds/facility-uses",
"encodingFormat": "application/vnd.openactive.rpde+json; version=1"
},
{
"@type": "DataDownload",
"identifier": "IndividualFacilityUseSlot",
"name": "Slot for IndividualFacilityUse",
"additionalType": "https://openactive.io/Slot",
"contentUrl": "https://localhost:5001/feeds/individual-facility-use-slots",
"encodingFormat": "application/vnd.openactive.rpde+json; version=1"
}
],
"documentation": "https://developer.openactive.io/",
"inLanguage": [
"en-GB"
],
"keywords": [
"Sessions",
"Facilities",
"Activities",
"Sports",
"Physical Activity",
"OpenActive"
],
"license": "https://creativecommons.org/licenses/by/4.0/",
"publisher": {
"@type": "Organization",
"name": "OpenActive Reference Implementation",
"description": "The Reference Implementation provides an example of an full conformant implementation of the OpenActive specifications.",
"email": "[email protected]",
"legalName": "OpenActive Reference Implementation",
"logo": {
"@type": "ImageObject",
"url": "https://localhost:5001/images/placeholder-logo.png"
},
"url": "https://www.example.com/"
},
"schemaVersion": "https://openactive.io/modelling-opportunity-data/2.0/",
"url": "https://localhost:5001/openactive/"
}