{ "$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-caption-format-schema.json", "title": "CaptionFormat", "description": "The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.", "type": "object", "properties": { "Format": { "allOf": [ { "$ref": "#/components/schemas/CaptionFormatFormat" }, { "description": "

The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.

" } ] }, "Pattern": { "allOf": [ { "$ref": "#/components/schemas/CaptionFormatPattern" }, { "description": "

The prefix for caption filenames, in the form description-{language}, where:

If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends \"{language}\" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.

For example, suppose you're transcoding into srt format. When you enter \"Sydney-{language}-sunrise\", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.

" } ] }, "Encryption": { "allOf": [ { "$ref": "#/components/schemas/Encryption" }, { "description": "The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats." } ] } } }