{ "$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-playlist-schema.json", "title": "Playlist", "description": " Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. We recommend that you create only one master playlist per output format. The maximum number of master playlists in a job is 30. ", "type": "object", "properties": { "Name": { "allOf": [ { "$ref": "#/components/schemas/Filename" }, { "description": "

The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

" } ] }, "Format": { "allOf": [ { "$ref": "#/components/schemas/PlaylistFormat" }, { "description": "The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth." } ] }, "OutputKeys": { "allOf": [ { "$ref": "#/components/schemas/OutputKeys" }, { "description": "

For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

" } ] }, "HlsContentProtection": { "allOf": [ { "$ref": "#/components/schemas/HlsContentProtection" }, { "description": "The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist." } ] }, "PlayReadyDrm": { "allOf": [ { "$ref": "#/components/schemas/PlayReadyDrm" }, { "description": "The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist." } ] }, "Status": { "allOf": [ { "$ref": "#/components/schemas/JobStatus" }, { "description": "The status of the job with which the playlist is associated." } ] }, "StatusDetail": { "allOf": [ { "$ref": "#/components/schemas/Description" }, { "description": "Information that further explains the status." } ] } } }