-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Proposer
ODI
Use Case
When the event is free there needs to be a consistent way to describe how to access such an event.
Why is this not covered by existing properties?
Ways to describe free events with type Offer are currently ambiguous.
Proposal
Bookable free Offers
To allow free opportunities to be booked through the same mechanism as paid opportunities, the following format must be used for a free bookable Offer. Note the “price” is set to the string “0”.
{
"@context": "https://www.openactive.io/ns/oa.jsonld",
"type": "Event",
"offers": [
{
"type": "Offer",
"url": "https://www.letsride.co.uk/rides/mayor-of-londons-sky-ride/book",
"price": "0"
}
]
}Free Events
For universally free events (distinct from those that have one or more free Offers as well as paid Offers) that require booking in advance, but are accessible for free to anyone, the following property must also be set:
{
"@context": "https://www.openactive.io/ns/oa.jsonld",
"type": "Event",
"isAccessibleForFree": true
}Events that do not require booking in advance / Just turn up and pay
For events that may or may not be bookable, but are accessible without necessarily requiring booking in advance (i.e. “just turn up and pay”), the following property should also be set.
{
"@context": "https://www.openactive.io/ns/oa.jsonld",
"type": "Event",
"publicAccess": true
}Just turn up for free
For events where no booking is required (though it may be available via an Offer) and the participant can “just turn up for free”, the above two properties can be used in combination:
{
"@context": "https://www.openactive.io/ns/oa.jsonld",
"type": "Event",
"isAccessibleForFree": true,
"publicAccess": true
}Beta use
These properties are all present in schema.org, and can be used freely during beta.