{ "$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-segmentation-descriptor-schema.json", "title": "SegmentationDescriptor", "description": "
The segmentation_descriptor message can contain advanced metadata fields, like content identifiers, to convey a wide range of information about the ad break. MediaTailor writes the ad metadata in the egress manifest as part of the EXT-X-DATERANGE or EventStream ad marker's SCTE-35 data.
segmentation_descriptor messages must be sent with the time_signal message type.
See the segmentation_descriptor() table of the 2022 SCTE-35 specification for more information.
segmentation_descriptor.segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0."
}
]
},
"SegmentationEventId": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The Event Identifier to assign to the segmentation_descriptor.segmentation_event_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1."
}
]
},
"SegmentationTypeId": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The Type Identifier to assign to the segmentation_descriptor.segmentation_type_id message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48."
}
]
},
"SegmentationUpid": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The Upid to assign to the segmentation_descriptor.segmentation_upid message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is \"\" (an empty string)."
}
]
},
"SegmentationUpidType": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The Upid Type to assign to the segmentation_descriptor.segmentation_upid_type message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14."
}
]
},
"SegmentsExpected": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The number of segments expected, which is assigned to the segmentation_descriptor.segments_expectedS message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0."
}
]
},
"SubSegmentNum": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The sub-segment number to assign to the segmentation_descriptor.sub_segment_num message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null."
}
]
},
"SubSegmentsExpected": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The number of sub-segments expected, which is assigned to the segmentation_descriptor.sub_segments_expected message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null."
}
]
}
}
}