Amazon MediaLive · JSON Structure

Medialive Api Caption Language Mapping Structure

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: 3 Required: 3
BroadcastingMedia ProcessingMedia

CaptionLanguageMapping is a JSON Structure definition published by Amazon MediaLive, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

CaptionChannel LanguageCode LanguageDescription

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-medialive/refs/heads/main/json-structure/medialive-api-caption-language-mapping-structure.json",
  "name": "CaptionLanguageMapping",
  "type": "object",
  "description": "Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), with an optional description.",
  "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"
  ]
}