Radio Browser · Schema

Station

A radio station entry in the Radio Browser directory.

MusicRadioStreamingOpen SourceOpen DataCommunityPublic APIsAGPL

Properties

Name Type Description
changeuuid string
stationuuid string
serveruuid stringnull
name string
url string
url_resolved string
homepage string
favicon string
tags string Comma-separated list of tag keywords.
country string
countrycode string
iso_3166_2 string
state string
language string
languagecodes string
votes integer
lastchangetime string
lastchangetime_iso8601 string
codec string
bitrate integer
hls integer
lastcheckok integer
lastchecktime string
lastchecktime_iso8601 string
lastcheckoktime string
lastcheckoktime_iso8601 string
lastlocalchecktime string
lastlocalchecktime_iso8601 string
clicktimestamp string
clicktimestamp_iso8601 stringnull
clickcount integer
clicktrend integer
ssl_error integer
geo_lat numbernull
geo_long numbernull
geo_distance numbernull
has_extended_info boolean
View JSON Schema on GitHub

JSON Schema

radio-browser-station-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.radio-browser.info/schemas/station.json",
  "title": "Station",
  "description": "A radio station entry in the Radio Browser directory.",
  "type": "object",
  "required": ["stationuuid", "name", "url"],
  "properties": {
    "changeuuid": {"type": "string", "format": "uuid"},
    "stationuuid": {"type": "string", "format": "uuid"},
    "serveruuid": {"type": ["string", "null"], "format": "uuid"},
    "name": {"type": "string"},
    "url": {"type": "string", "format": "uri"},
    "url_resolved": {"type": "string", "format": "uri"},
    "homepage": {"type": "string", "format": "uri"},
    "favicon": {"type": "string", "format": "uri"},
    "tags": {"type": "string", "description": "Comma-separated list of tag keywords."},
    "country": {"type": "string"},
    "countrycode": {"type": "string", "pattern": "^[A-Z]{2}$"},
    "iso_3166_2": {"type": "string"},
    "state": {"type": "string"},
    "language": {"type": "string"},
    "languagecodes": {"type": "string"},
    "votes": {"type": "integer", "minimum": 0},
    "lastchangetime": {"type": "string"},
    "lastchangetime_iso8601": {"type": "string", "format": "date-time"},
    "codec": {"type": "string"},
    "bitrate": {"type": "integer", "minimum": 0},
    "hls": {"type": "integer", "enum": [0, 1]},
    "lastcheckok": {"type": "integer", "enum": [0, 1]},
    "lastchecktime": {"type": "string"},
    "lastchecktime_iso8601": {"type": "string", "format": "date-time"},
    "lastcheckoktime": {"type": "string"},
    "lastcheckoktime_iso8601": {"type": "string", "format": "date-time"},
    "lastlocalchecktime": {"type": "string"},
    "lastlocalchecktime_iso8601": {"type": "string", "format": "date-time"},
    "clicktimestamp": {"type": "string"},
    "clicktimestamp_iso8601": {"type": ["string", "null"], "format": "date-time"},
    "clickcount": {"type": "integer", "minimum": 0},
    "clicktrend": {"type": "integer"},
    "ssl_error": {"type": "integer", "enum": [0, 1]},
    "geo_lat": {"type": ["number", "null"]},
    "geo_long": {"type": ["number", "null"]},
    "geo_distance": {"type": ["number", "null"]},
    "has_extended_info": {"type": "boolean"}
  }
}