Transition is a JSON Structure definition published by Amazon MediaTailor, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-structure/mediatailor-api-transition-structure.json",
"name": "Transition",
"type": "object",
"description": "Program transition configuration.",
"properties": {
"DurationMillis": {
"allOf": [
{
"$ref": "#/components/schemas/__long"
},
{
"description": "The duration of the live program in seconds."
}
]
},
"RelativePosition": {
"allOf": [
{
"$ref": "#/components/schemas/RelativePosition"
},
{
"description": "The position where this program will be inserted relative to the <code>RelativePosition</code>."
}
]
},
"RelativeProgram": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The name of the program that this program will be inserted next to, as defined by <code>RelativePosition</code>."
}
]
},
"ScheduledStartTimeMillis": {
"allOf": [
{
"$ref": "#/components/schemas/__long"
},
{
"description": "The date and time that the program is scheduled to start, in epoch milliseconds."
}
]
},
"Type": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "<p>Defines when the program plays in the schedule. You can set the value to <code>ABSOLUTE</code> or <code>RELATIVE</code>.</p> <p> <code>ABSOLUTE</code> - The program plays at a specific wall clock time. This setting can only be used for channels using the <code>LINEAR</code> <code>PlaybackMode</code>.</p> <p>Note the following considerations when using <code>ABSOLUTE</code> transitions:</p> <p>If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.</p> <p>If there are gaps in playback, MediaTailor plays the <code>FillerSlate</code> you configured for your linear channel.</p> <p> <code>RELATIVE</code> - The program is inserted into the schedule either before or after a program that you specify via <code>RelativePosition</code>.</p>"
}
]
}
},
"required": [
"RelativePosition",
"Type"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.