{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-transcoder/refs/heads/main/json-schema/amazon-elastic-transcoder-captions-schema.json", "title": "Captions", "description": "The captions to be created, if any.", "type": "object", "properties": { "MergePolicy": { "allOf": [ { "$ref": "#/components/schemas/CaptionMergePolicy" }, { "deprecated": true, "description": "
A policy that determines how Elastic Transcoder handles the existence of multiple captions.
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.
MergePolicy cannot be null.
CaptionSources blank."
}
]
},
"CaptionFormats": {
"allOf": [
{
"$ref": "#/components/schemas/CaptionFormats"
},
{
"description": "The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error."
}
]
}
}
}