Skip to main content

Read the schema alongside the examples

Response samples use realistic fictional values, such as "radio-rivier", 25, true, and arrays of published records. Types still matter: a quoted number is a string, a JSON boolean is not a string, and null is not an empty string. Required and nullable are independent. A required nullable property must exist, but its value can be null. An optional property can be omitted. For example, a track includes album even when its value is null, while artworkUrl may be missing entirely. Do not manufacture empty strings or zeroes for unknown values.

Common field formats

Published content fields

Station administrators define content types. First read …/schemas, then match a record’s type and schemaVersion to the definition. Use field keys to look up values and field labels for display. An illustrative schema field:
The corresponding published values can mix types:
These are examples of custom fields, not universal RadioTools fields. The values object is intentionally flexible; the station’s published schema determines its keys and semantics. The editorial document is a separate ordered block structure. Its blocks include text, headings, quotes, images, galleries, audio, video, embeds, and related records. Use each block’s discriminator type; the operation schema describes its exact fields. Private and system metadata are excluded from listener delivery.

Empty and unavailable states

Reported tracks come from external automation. A fresh observation indicates recent metadata, not a guarantee that audio is audible. elapsedSeconds and endsAt are derived at response time; both are null when duration is unknown or the observation is not playing.

Weather and traffic units

Weather temperatures use degrees Celsius, wind speeds use kilometers per hour, wind direction uses degrees, and precipitation amounts use millimeters. precipitationChance is a fraction from 0 to 1: 0.2 means 20%, not 0.2%. Traffic incidents can report a cause, such as accident or roadworks, and a closure, such as road, exit, or lane; both are null when unknown or not applicable. Traffic distances (lengthMeters, jamDistanceMeters) use meters; delays and freshness ages use seconds. A nullable incident length or delay means unknown, not zero. Country codes in weather coverage use lowercase values such as "nl". See Requests and response handling for conditional reads and pagination, or select an HTTP operation to inspect the complete request and response examples.