Repository navigation
Contact
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 contact object lets a Radio 2.0 station publish the ways listeners can reach it: email, phone, a requests page, a postal address and social links. Every member is optional and opt-in. A publisher publishes only what the station chose to make public.
| Defined in | Specification section 7 |
| Manifest member | contact |
| Members |
email, phone, whatsapp, requestsUrl, address, social
|
| Required | None |
| Status | Draft |
All members are opt-in. A publisher must not fill them from account or billing data. The point, recorded in the changes for 0.2.0, is that no personal data appears by default. In the Create a manifest tool, contact details are included only after a station ticks a box.
email-
phone: E.164 format recommended. whatsapp-
requestsUrl: a page for song requests or shout-outs. -
address: a postal address. -
social: a list of links.
address may have label (up to 60 characters, for example "Studio"), street (up to 300 characters, lines separated by \n), locality, region, postalCode and country (ISO 3166-1 alpha-2). At least one of street, locality or country is required. The address is for display and contact only. Consumers must not use it to rank stations by location or to verify them. The places a station serves are the area of its transmissions; its home is location. See Streams.
social lists up to 30 pages as {platform, label, url}; only url is required. platform is a lower-case token of 1 to 30 letters, digits or underscores. The specification recommends 20 tokens: facebook, instagram, x, threads, tiktok, youtube, bluesky, mastodon, linkedin, snapchat, telegram, whatsapp_channel, discord, twitch, spotify, apple_podcasts, soundcloud, mixcloud, website and other. Other tokens are allowed so that new platforms need no new version.
Players and directories should show a platform's own name and icon when they know the token. Otherwise they show label, and without one the host of the URL.
{
"email": "studio@dune.example.com",
"requestsUrl": "https://dune.example.com/request",
"address": {
"label": "Studio",
"locality": "Fairport Harbor",
"region": "OH",
"country": "US"
},
"social": [
{ "platform": "mastodon", "label": "Fediverse", "url": "https://social.example.net/@dunefm" },
{ "platform": "instagram", "url": "https://www.instagram.com/dunefm.example" }
]
}- Giving an empty
addressobject. At least one of street, locality or country is needed (manifest--address-empty.json). - A platform token with upper case letters (
manifest--social-platform-bad.json). - Using
UKas a country; useGB.
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