{"type":"array","title":"HLS Chapter Data","description":"HLS chapter data format","$schema":"http://json-schema.org/draft-04/schema#","items":{"type":"object","description":"chapter entry","required":["start-time"],"properties":{"chapter":{"type":"number","minimum":1,"description":"Chapter number (optional)"},"start-time":{"type":"number","minimum":0,"description":"Chapter start time"},"duration":{"type":"number","minimum":0,"exclusiveMinimum":true,"description":"Chapter duration (optional)"},"titles":{"type":"array","description":"List of titles by language for chapter (optional)","items":{"type":"object","description":"Title object","required":["language","title"],"properties":{"language":{"type":"string","description":"BCP 47 language code; und for undefined"},"title":{"type":"string","description":"Chapter title string"}}}},"images":{"type":"array","description":"List of images for chapter (optional)","items":{"type":"object","description":"Image object","required":["image-category","pixel-width","pixel-height","url"],"properties":{"image-category":{"type":"string","description":"Image category"},"pixel-width":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel width"},"pixel-height":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel height"},"url":{"type":"string","description":"URL to image (relative or absolute)"}}}},"metadata":{"type":"array","description":"List of metadata entries for chapter (optional)","items":{"type":"object","description":"Metadata object","required":["key","value"],"properties":{"key":{"type":"string","description":"Key value name"},"value":{"description":"Metadata value","anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"object"}]},"language":{"type":"string","description":"BCP 47 language code (optional)"}}}}}}}
"items":{"type":"object","description":"chapter entry","required":["start-time"],"properties":{"chapter":{"type":"number","minimum":1,"description":"Chapter number (optional)"},"start-time":{"type":"number","minimum":0,"description":"Chapter start time"},"duration":{"type":"number","minimum":0,"exclusiveMinimum":true,"description":"Chapter duration (optional)"},"titles":{"type":"array","description":"List of titles by language for chapter (optional)","items":{}},"images":{"type":"array","description":"List of images for chapter (optional)","items":{}},"metadata":{"type":"array","description":"List of metadata entries for chapter (optional)","items":{}}}}
"titles":{"type":"array","description":"List of titles by language for chapter (optional)","items":{"type":"object","description":"Title object","required":["language","title"],"properties":{"language":{"type":"string","description":"BCP 47 language code; und for undefined"},"title":{"type":"string","description":"Chapter title string"}}}}
"items":{"type":"object","description":"Title object","required":["language","title"],"properties":{"language":{"type":"string","description":"BCP 47 language code; und for undefined"},"title":{"type":"string","description":"Chapter title string"}}}
Main Schema language
Annotations
Description BCP 47 language code; und for undefined
"images":{"type":"array","description":"List of images for chapter (optional)","items":{"type":"object","description":"Image object","required":["image-category","pixel-width","pixel-height","url"],"properties":{"image-category":{"type":"string","description":"Image category"},"pixel-width":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel width"},"pixel-height":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel height"},"url":{"type":"string","description":"URL to image (relative or absolute)"}}}}
"items":{"type":"object","description":"Image object","required":["image-category","pixel-width","pixel-height","url"],"properties":{"image-category":{"type":"string","description":"Image category"},"pixel-width":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel width"},"pixel-height":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Pixel height"},"url":{"type":"string","description":"URL to image (relative or absolute)"}}}
"metadata":{"type":"array","description":"List of metadata entries for chapter (optional)","items":{"type":"object","description":"Metadata object","required":["key","value"],"properties":{"key":{"type":"string","description":"Key value name"},"value":{"description":"Metadata value","anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"object"}]},"language":{"type":"string","description":"BCP 47 language code (optional)"}}}}
"items":{"type":"object","description":"Metadata object","required":["key","value"],"properties":{"key":{"type":"string","description":"Key value name"},"value":{"description":"Metadata value","anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"object"}]},"language":{"type":"string","description":"BCP 47 language code (optional)"}}}