This is an array of values which will be used to hold station logos. The existing API-20141201 uses a fixed "logo" element which can only hold the information for one logo, which isn't scalable.
In API-"Next", the "logo" element will be removed; only the "stationLogo" array will exist. (And it may contain only a single logo element.)
The updated JSON will look like the following:
- Code: Select all
{
"stationID": "53409",
"name": "1-2-3.tv",
"callsign": "123TVGR",
"broadcastLanguage": [
"de"
],
"descriptionLanguage": [
"de"
],
"logo": {
"URL": "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s53409_h3_aa.png",
"height": 270,
"width": 360,
"md5": "19648f055c2b3961f4d2d6"
},
"stationLogo": [
{
"URL": "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s53409_h3_aa.png",
"height": 270,
"width": 360,
"md5": "19648f055c2b3961f4d2d6",
"source": "Gracenote"
},
{
"URL": "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s53409_h3_ba.png",
"height": 270,
"width": 360,
"md5": "938ac9c97c5c91cb34548a",
"source": "Gracenote"
}
]
}
Logos may include variations such as color and texture; if the default logo is invisible because it is blending into the background of your theme, one of the other logos in the stationLogo array may be better suited.
Request for Comment period ends on 2017-02-20, at which time I will begin updating the JSON for the stations and the API documentation.