Skip to content

Schedule

A Schedule says when something repeats: the days of the week or month, how often (repeatFrequency, an ISO 8601 duration such as P1W), the start and end times in a time zone, the first and last dates, and the dates it skips. A weekly class is one Event with an eventSchedule; a course run's sessions are its courseSchedule; a staff member's working hours are an EmployeeRole's workSchedule.

Modeled on schema.org/Schedule ยท JSON Schema

Example

{
  "byDay": [
    "https://schema.org/Tuesday"
  ],
  "repeatFrequency": "P1W",
  "startTime": "18:30:00",
  "endTime": "19:30:00",
  "scheduleTimezone": "Europe/Berlin",
  "startDate": "2027-01-05",
  "exceptDate": [
    "2027-12-28"
  ]
}

Fields

Field Type Required Description
at_type Schedule JSON-LD @type, the object's type name.
byDay list of DayOfWeek The days of the week it happens on
byMonth list of integer The months it happens in, 1 for January
byMonthDay list of integer The days of the month it happens on, 1 to 31
byMonthWeek list of integer The weeks of the month it happens in, 1 for the first, -1 for the last
repeatFrequency string How often it repeats, an ISO 8601 duration, e.g. P1W for weekly
repeatCount integer How many times it happens in all
startDate date The first date it happens
endDate date The last date it may happen
startTime string The time each occurrence starts, e.g. 18:30:00
endTime string The time each occurrence ends, e.g. 19:30:00
duration string How long each occurrence lasts, an ISO 8601 duration
exceptDate list of date Dates it doesn't happen on, such as holidays
scheduleTimezone string The IANA time zone of startTime and endTime, e.g. Europe/Berlin