{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-medialive/refs/heads/main/json-schema/medialive-api-caption-language-mapping-schema.json", "title": "CaptionLanguageMapping", "description": "Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), with an optional description.", "type": "object", "properties": { "CaptionChannel": { "allOf": [ { "$ref": "#/components/schemas/__integerMin1Max4" }, { "xml": { "name": "captionChannel" }, "description": "The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)" } ] }, "LanguageCode": { "allOf": [ { "$ref": "#/components/schemas/__stringMin3Max3" }, { "xml": { "name": "languageCode" }, "description": "Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)" } ] }, "LanguageDescription": { "allOf": [ { "$ref": "#/components/schemas/__stringMin1" }, { "xml": { "name": "languageDescription" }, "description": "Textual description of language" } ] } }, "required": [ "LanguageCode", "LanguageDescription", "CaptionChannel" ] }