Repository navigation
Schedule
This article explains part of Radio 2.0 in plain words. It is not normative: where it differs from the specification, the specification is right.
The schedule is an optional Radio 2.0 document that lists a station's programmes, earliest first, so players and directories can show what is on later. A manifest points to it, or to an iCalendar feed, from its schedule member. Like events, it lists programmes and never individual songs.
| Defined in | Specification section 6 |
| Manifest member |
schedule with timeZone, json, ical
|
| Schema | https://radio2.org/schema/v0.2/schedule.schema.json |
| Required |
timeZone, and at least one of json or ical
|
| Status | Draft |
When schedule is present, timeZone is required and must be an IANA zone name, for example America/New_York. At least one source is also required:
-
json: the address of a schedule document, described below. -
ical: an iCalendar feed (RFC 5545).
A manifest with schedule but no source fails validation (manifest--schedule-without-source.json), as does a bad zone name (manifest--schedule-bad-timezone.json).
It is a JSON object valid against the schedule schema, with a timeZone and an items list. Each item has title, startsAt and endsAt as required members and optional id, description, presenters, live, url and artwork. It should cover at least the next 7 days.
- Each item must end after it starts.
- Items must be listed by
startsAt, earliest first. - Gaps are allowed and mean nothing is announced for that time.
- Items should not overlap. Where they do, the item that starts later takes precedence for the overlapping time.
The reference test files schedule--end-before-start.json and schedule--items-out-of-order.json fail for the first two rules.
{
"timeZone": "America/New_York",
"items": [
{
"id": "evening-2026-12-01",
"title": "The Chillout Lounge",
"presenters": ["Alex Vance"],
"live": true,
"startsAt": "2026-12-01T19:00:00-05:00",
"endsAt": "2026-12-01T21:00:00-05:00"
},
{
"title": "Night Rotation",
"live": false,
"startsAt": "2026-12-01T21:00:00-05:00",
"endsAt": "2026-12-02T06:00:00-05:00"
}
]
}The schedule document must be served with an ETag and should carry Cache-Control: max-age=300. When it changes, the station can send a schedule_change event (see Event types). A consumer that shows the schedule should fetch it again on that event.
Radio 2.0 is an open standard, MIT licensed. Documentation: radio2.org. Questions: Discussions.
Overview
The manifest
Discovery and identity
Live data
Money
Implementations and tools
- Implementations
- Reference implementation
- radio2 command line tool
- Create a manifest
- Conformance
- Stations
- Brand and badges
Project
Documentation
Community