I apologize if this isn't the right place for this question, please redirect me if so.
The current version of the spec mentions JSON, and mediainfo produces JSON output natively with its EBUCore_JSON output. However, I can't find any definition of this format. XSD does not map 1:1 to JSON Schema. Is the JSON format formalized? If so, can it be published in some format alongside the XSD?
I could try to maintain a handcrafted schema, but that doesn't fill me with confidence, and I don't know where/how I could get a library of test files to validate against other than by running mediainfo against a bunch of files, and that seems like a fragile approach anyway. I'd prefer to get the single source of truth from the horse's mouth.
If this resource already exists and I've just missed it, please let me know!
I apologize if this isn't the right place for this question, please redirect me if so.
The current version of the spec mentions JSON, and
mediainfoproduces JSON output natively with itsEBUCore_JSONoutput. However, I can't find any definition of this format. XSD does not map 1:1 to JSON Schema. Is the JSON format formalized? If so, can it be published in some format alongside the XSD?I could try to maintain a handcrafted schema, but that doesn't fill me with confidence, and I don't know where/how I could get a library of test files to validate against other than by running
mediainfoagainst a bunch of files, and that seems like a fragile approach anyway. I'd prefer to get the single source of truth from the horse's mouth.If this resource already exists and I've just missed it, please let me know!