WebAPI

This page describes the WebAPI type.

EARLY RELEASE NOTICE

This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. IT IS SUBJECT TO CHANGE, as the Dataset API Discovery specificationarrow-up-right evolves.

This type is derived from https://pending.schema.org/WebAPIarrow-up-right, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

Property
Expected Type
Description

@type

Must always be present and set to "@type": "WebAPI"

conformsTo

Indicates the version and profiles of OpenActive Open Booking Specification with which this WebAPI conforms, by specifying these as URLs.

Example

"conformsTo": [ "https://openactive.io/open-booking-api/1.0/#core" ]

endpointDescription

The Open API document associated with this version of the Open Booking API

Example

"endpointDescription": "https://openactive.io/open-booking-api/1.0/swagger.json"

endpointUrl

The Base URI of this implementation of the Open Booking API

Example

"endpointUrl": "https://example.bookingsystem.com/api/openbooking"

landingPage

The URL of a web page that the Broker may use to obtain access to the API, e.g. via a web form.

Example

"landingPage": "https://exampleforms.com/get-me-an-api-access-key"

name

The name of the WebAPI

Example

"name": "Acme Leisure Sessions and Facilities"

Property
Expected Type
Description

documentation

A link to documentation related to how to use the Open Booking API, or a link to the OpenActive developer documentation using https://permalink.openactive.io/dataset-site/open-booking-api-documentation if no system-specific documentation is available.

Example

"documentation": "https://permalink.openactive.io/dataset-site/open-booking-api-documentation"

termsOfService

A link to terms of service related to the use of this API.

Example

"termsOfService": "https://example.bookingsystem.com/terms"

Optional properties

Property
Expected Type
Description

authenticationAuthority

The location of the OpenID Provider that must be used to access the API.

Example

"authenticationAuthority": "https://auth.bookingsystem.com"

description

A plain text description of the Dataset, which must not include HTML or other markup.

Example

"description": "Near real-time availability and rich descriptions relating to the sessions and facilities available from {OrganisationName}, published using the OpenActive Modelling Specification 2.0."

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0)arrow-up-right, and code samples are licensed under the MIT Licensearrow-up-right, for anyone to access, use and share; using attribution "OpenActivearrow-up-right".

Last updated