Schedule
This page describes the Schedule type.
Last updated
This page describes the Schedule type.
Last updated
This type is derived from https://pending.schema.org/Schedule, 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.
Property | Expected Type | Description |
---|---|---|
While these properties are marked as optional, a data publisher must provide either a byDay
, byMonth
, byMonthDay
or repeatFrequency
for a schedule.
Property | Expected Type | Description |
---|---|---|
Property | Expected Type | Description |
---|---|---|
These properties are defined in the OpenActive Beta Extension. The OpenActive Beta Extension is defined as a convenience to help document properties that are in active testing and review by the community. Publishers should not assume that properties in the beta namespace will either be added to the core specification or be included in the namespace over the long term.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".
Property | Expected Type | Description |
---|---|---|
Property | Expected Type | Description |
---|---|---|
@type
Must always be present and set to "@type": "Schedule"
endTime
The end time of the event.
Example
"endTime": "12:00:00"
scheduleTimezone
Indicates the timezone for which the time(s) indicated in the Schedule are given. The value provided should be among those listed in the IANA Time Zone Database.
Example
"scheduleTimezone": "Europe/London"
scheduledEventType
The type of event this schedule related to.
Example
"scheduledEventType": "Event"
startTime
The start time of the event.
Example
"startTime": "12:00:00"
byDay
Defines the day of the week upon which the Event takes place.
When using string values, this MUST conform to iCal BYDAY rule.
Example
"byDay": [
"https://schema.org/Monday"
]
byMonth
Array of Integer
Defines the months of the year on which the Event takes place. Specified as an integer between 1 and 12, with 1 representing January.
Example
"byMonth": [
2
]
byMonthDay
Array of Integer
Defines the days of the month on which the Event takes place. Specified as an integer between 1 and 31
Example
"byMonthDay": [
28
]
repeatFrequency
Defines the frequency at which Events will occur according to a Schedule. The intervals between events should be defined as a Duration of time.
Example
"repeatFrequency": "P1D"
duration
The duration of the event given in [ISO8601] format.
Example
"duration": "PT1H"
endDate
The end date of the schedule.
Example
"endDate": "2018-01-27"
idTemplate
An RFC6570 compliant URI template that can be used to generate a unique identifier (@id
) for every event described by the schedule. This property is required if the data provider is supporting third-party booking via the Open Booking API, or providing complimentary individual subEvent
s.
Example
"idTemplate": "https://api.example.org/session-series/123/{startDate}"
startDate
The start date of the event.
Example
"startDate": "2018-01-27"
urlTemplate
An RFC6570 compliant URI template that can be used to generate a unique url
for every event described by the schedule. This property is required if the data provider wants to provide participants with a unique URL to book to attend an event.
Example
"urlTemplate": "https://example.org/session-series/123/{startDate}"
exceptDate
Exception dates where the schedule should not generate an event.
Example
"exceptDate": [
"2016-04-13T17:10:00Z",
"2016-09-14T17:10:00Z",
"2016-12-14T18:10:00Z",
"2016-12-21T18:10:00Z",
"2016-12-28T18:10:00Z",
"2017-01-04T18:10:00Z"
]
repeatCount
Defines the number of times a recurring Event will take place.
Example
"repeatCount": 3
beta:timeZone
DEPRECATED: Please use scheduleTimezone
instead.
The time zone used to generate occurrences, same as iCal TZID. E.g. 'Europe/London'.