Amazon MediaLive · JSON Structure

Medialive Api Caption Selector Structure

Caption Selector

Type: object Properties: 3 Required: 1
BroadcastingMedia ProcessingMedia

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

Properties

LanguageCode Name SelectorSettings

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-selector-structure.json",
  "name": "CaptionSelector",
  "type": "object",
  "description": "Caption Selector",
  "properties": {
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "xml": {
            "name": "languageCode"
          },
          "description": "When specified this field indicates the three letter language code of the caption track to extract from the source."
        }
      ]
    },
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__stringMin1"
        },
        {
          "xml": {
            "name": "name"
          },
          "description": "Name identifier for a caption selector.  This name is used to associate this caption selector with one or more caption descriptions.  Names must be unique within an event."
        }
      ]
    },
    "SelectorSettings": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CaptionSelectorSettings"
        },
        {
          "xml": {
            "name": "selectorSettings"
          },
          "description": "Caption selector settings."
        }
      ]
    }
  },
  "required": [
    "Name"
  ]
}