The above documentation doesn't mention that sometimes a schedule's videoProperties member might be a JSON object instead of a JSON array.I ran into the below JSON result today. Is this a bug in the emitted JSON or an oversight in the documentation? If the emitted JSON is correct, can you please expand the documentation to mention this and define what the "1" is?

I just ran into this videoProperties problem too. I suspect it is a bug introduced with the new HD qualifiers that were just introduced yesterday.

Instead of an array, an object is being printed. In javascript, objects are basically hash arrays with key/value pairs. Arrays are special objects also implemented as key/value pairs where the keys are the indexes of the array. So the { "1": "hdtv" } that you see is the array being printed as a regular object with the 1 being the key of the only entry.

But this appears to be happening only some of the time. It does not seem to happen when there are the new HD qualifiers in the props and thus more than one member in the array. When if fails this way, the few cases I have seen only have the single entry for { "1": "hdtv" }.

rkulagow wrote:Our upstream changed their API and didn't let us know, so that broke things on our ingest, which then cascaded to the outputted data. The ingest has been fixed and the schedules are being regenerated.