XML Schema "on_update_schedules_3.23.xsd"
Target Namespace:
Version:
Defined Components:
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\GitLab\gntechcomproject\projects\video\on-api-docs\flare\Content\on-api-schema-docs\xsds\v3\on_update_schedules_3.23.xsd; see
XML source
Includes Schemas (1):
Included in Schemas (1):
<?xml version="1.0" encoding="UTF-8"?>
<!-- On Update Schedules - v3.23 -->
<!-- File: on_update_schedules_3.23.xsd -->
<!-- Copyright 2017-present. Gracenote, Inc. All rights reserved. -->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="3.23" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="http://files.api.gracenote.com/xsd/types_3.23.xsd"/>
<xs:annotation>
<xs:documentation>Root element for the On products.</xs:documentation> </xs:annotation>
<xs:sequence>
</xs:sequence>
<xs:attribute default="3.23" name="schemaVersion" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>The On Update schema version number.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>Parent element that contains multiple schedules.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="schedule">
<xs:annotation>
<xs:documentation>Parent element for a schedule.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="event">
<xs:annotation>
<xs:documentation>A TV program broadcast.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="tv">
<xs:annotation>
<xs:documentation>
Parent element for information specific to tv programs.
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="subtitled">
<xs:annotation>
<xs:documentation>True if program is subtitled.</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="lang" type="tmsLanguage" use="optional">
<xs:annotation>
<xs:documentation>
The IETF BCP 47 language tag for the language in which program is
subtitled.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="dubbed">
<xs:annotation>
<xs:documentation>True if program is dubbed.</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="lang" type="tmsLanguage" use="optional">
<xs:annotation>
<xs:documentation>
The IETF BCP 47 language tag for the language in which program is
dubbed.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="sap">
<xs:annotation>
<xs:documentation>True if secondary audio programming is available.</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="lang" type="tmsLanguage" use="optional">
<xs:annotation>
<xs:documentation>
The IETF BCP 47 language tag for the language of the secondary
audio.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="tvRating">
<xs:annotation>
<xs:documentation>The program's parental rating.</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="body" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>
The ratings body that issued the parental ratings guidelines.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>The program's expanded parental rating.</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="body" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>
The ratings body that issued the parental ratings guidelines.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="partNum">
<xs:annotation>
<xs:documentation>
The part number of a multi-part program represented by this episode.
</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:positiveInteger">
<xs:attribute name="numOfParts" type="xs:positiveInteger" use="optional">
<xs:annotation>
<xs:documentation>The number of parts this program has.</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="netSynSource" type="xs:string">
<xs:annotation>
<xs:documentation>Originating syndicate source of the program.</xs:documentation> </xs:annotation> </xs:element>
<xs:element minOccurs="0" name="netSynType" type="xs:string">
<xs:annotation>
<xs:documentation>
A tag indicating the program's syndication type. See documentation for a
list of syndication types.
</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="quals" type="xs:token">
<xs:annotation>
<xs:documentation>
A pipe-delimited list of qualifiers that apply to this program. See
on_common.xml for the list of qualifiers.
</xs:documentation> </xs:annotation> </xs:element>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contentRight">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contentRightParameter">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence>
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:attribute name="customer" type="xs:string" use="optional"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>Catchup details with valid dates</xs:documentation> </xs:annotation> </xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="broadcast">
<xs:annotation>
<xs:documentation>BroadCast details with two related IDs</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="id">
<xs:annotation>
<xs:documentation>The BroadCast identifier value</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="type" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>The BroadCast identifier type</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence>
<xs:attribute name="eventId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A IMI eventId identifier for an event.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="TMSId" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>A TMS identifier for a program or movie.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="time" type="tmsTime" use="required">
<xs:annotation>
<xs:documentation>
The scheduled start time of a program in UTC timezone. Specified in ISO-8601
extended format, HH24:MM (e.g., "14:30").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="dur" type="xs:duration" use="required">
<xs:annotation>
<xs:documentation>
The duration of the program, in ISO-8601 duration format (e.g., "PT01H30M").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="rootId" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>A identifier for a program.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:annotation>
<xs:documentation>
The exact start time of a program in UTC timezone. Specified in ISO-8601
extended format, HH24:MM:SS (e.g., "14:30:25").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:annotation>
<xs:documentation>
The exact start time of a program in UTC timezone. Specified in ISO-8601
extended format (e.g., "2022-02-07T23:55:00Z").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:annotation>
<xs:documentation>
The exact End time of a program in UTC timezone. Specified in ISO-8601
extended format (e.g., "2022-02-07T23:55:00Z").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="exactDur" type="xs:duration" use="optional">
<xs:annotation>
<xs:documentation>
The exact duration of the program, in ISO-8601 duration format (e.g.,
"PT01H30M25S").
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="exactSource" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The source for the exact start and end time for the program
</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> </xs:sequence>
<xs:attribute name="prgSvcId" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>
A Gracenote identifier for a TV programming service.
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="date" type="xs:date" use="required">
<xs:annotation>
<xs:documentation>The air date of events for given prgSvcId.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute ref="updateId" use="required"/>
</xs:complexType> </xs:element> </xs:sequence>
<xs:attribute name="type" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>The schedule type; "tv" for linear tv schedule.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element>
</xs:schema>