Skip to content
Wilkin Santana edited this page Nov 29, 2026 · 1 revision

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

What the manifest says

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).

The schedule document

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.

Order and overlap rules

  • 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.

Example

{
  "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"
    }
  ]
}

Caching and change signals

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.

See also

References

Clone this wiki locally