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 manifest is the single JSON document in which a Radio 2.0 station describes itself. It says who the station is, how to hear it, where its live events and schedule are, how to reach it and how to support it. Players and directories read it instead of keeping their own copies of the station's details.

Defined in Specification section 2
Media type application/radio-manifest+json (provisional, not yet registered); consumers must also accept application/json
Well-known path /.well-known/radio-manifest.json
Schema https://radio2.org/schema/v0.2/manifest.schema.json
Required members specVersion, guid, manifestUrl, name, homepage, language, streams
Size limit 256 KiB, UTF-8
Status Draft, "specVersion": "0.2"

Format rules

A manifest must be one JSON object in UTF-8, valid against the JSON Schema (draft 2020-12) and no larger than 256 KiB. Times are RFC 3339 strings and URLs are absolute. Text fields are plain text, and consumers must not interpret them as HTML. Publishers should serve the media type application/radio-manifest+json; the type is provisional (see Open questions).

Validators are strict, consumers are lenient. The schemas allow no members beyond those defined, except inside extensions. A validator must report an unknown member as an error so that publishers find typos. A consumer that reads the file to use it must ignore members it does not know, so a manifest of a later minor version still works. The same split applies to events and schedules.

Every country code must be an officially assigned ISO 3166-1 alpha-2 code, or XK for Kosovo. UK fails and should be written GB; EU is not a country.

Root members

Member Required Meaning
specVersion yes "0.2"
guid yes Permanent identity; see GUID
manifestUrl yes Canonical address of this manifest
locked no Asks directories never to move the station automatically
name yes 1 to 120 characters
tagline, description no Up to 160 and 4000 characters; description is recommended
homepage yes The station's own web page, the anchor of ownership
language yes BCP 47 tag, und when unknown
country, location, genres no Country, city and region, up to 10 genre tags
branding recommended Images and colour, below
streams yes 1 to 32 audio streams; see Streams
broadcast no Over-the-air services; see Streams
events no Live event addresses; see Live events
schedule no See Schedule
contact no See Contact
value no See Value for value
videoStreams no See Visual radio
extensions no Publisher-specific members under a reverse domain name or a URL the publisher controls

Branding

branding holds logo (square, at least 512 by 512, PNG, JPEG, WebP or SVG; recommended), icon (square, 32 to 64 pixels), banner (16:9, at least 1280 by 720) and themeColor (#RRGGBB). All are optional and images are absolute URLs. Publishing the originals here is what stops logos degrading as they are copied between directories.

Smallest valid manifest

{
  "specVersion": "0.2",
  "guid": "9b2f6c1e-4d3a-5b8e-9f10-2a6c7d8e9f01",
  "manifestUrl": "https://radio.example.org/.well-known/radio-manifest.json",
  "name": "Example Community Radio",
  "homepage": "https://radio.example.org/",
  "language": "en",
  "streams": [
    {
      "id": "main",
      "url": "https://radio.example.org/live.mp3",
      "mimeType": "audio/mpeg",
      "protocol": "icecast",
      "bitrate": 128,
      "default": true
    }
  ]
}

The guid above is for documentation only. A real station must create its own.

Normalisation

A consumer that stores or passes on a manifest should normalise it: exactly one default stream, exactly one default video stream, and events.pollInterval written as 15 when absent. Nothing else changes.

Common mistakes

  • Copying a guid from an example. The reference validator warns.
  • Adding a member the schema does not define. A validator reports it.
  • Using http for manifestUrl or homepage in production.
  • Describing two programmes in one manifest; see Streams.

See also

References

Clone this wiki locally