{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-schema/mediatailor-api-transition-schema.json",
"title": "Transition",
"description": "Program transition configuration.",
"type": "object",
"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 RelativePosition."
}
]
},
"RelativeProgram": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The name of the program that this program will be inserted next to, as defined by RelativePosition."
}
]
},
"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": "
Defines when the program plays in the schedule. You can set the value to ABSOLUTE or RELATIVE.
ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.
Note the following considerations when using ABSOLUTE transitions:
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.
If there are gaps in playback, MediaTailor plays the FillerSlate you configured for your linear channel.
RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.