XML Schema "on_update_sources_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_sources_3.23.xsd; see
XML source
Includes Schemas (1):
Included in Schemas (1):
<?xml version="1.0" encoding="UTF-8"?>
<!-- On Update Sources - v3.23 -->
<!-- File: on_update_sources_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:element ref="header"/>
<xs:element minOccurs="0" ref="sources"/> </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 of television programming service information.
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="prgSvcs">
<xs:annotation>
<xs:documentation>
Parent element containing multiple programming services elements.
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="prgSvc">
<xs:annotation>
<xs:documentation>
Parent element for information about a programming service.
</xs:documentation> </xs:annotation>
<xs:sequence minOccurs="0">
<xs:element name="name" type="xs:token">
<xs:annotation>
<xs:documentation>Name of the programming service.</xs:documentation> </xs:annotation> </xs:element>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="alternateName" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="reach" type="xs:string"/>
<xs:annotation>
<xs:documentation>Address of the programming service.</xs:documentation> </xs:annotation> </xs:element>
<xs:element name="type" type="xs:token">
<xs:annotation>
<xs:documentation>
The type of programming service. See documentation for a list of programming
service type values.
</xs:documentation> </xs:annotation> </xs:element>
<xs:element minOccurs="0" name="status">
<xs:annotation>
<xs:documentation>
The status of the programming service. Values include Edited, To Be Edited, No
Longer Edited.
</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="statusId" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>
Numeric id corresponding to programming service status.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>
Indicator for Country-specific Content Provider Group
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="sourceGroup">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="id" type="xs:string" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>
Parent element for other programming services this station may be related
to.
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="relationship">
<xs:annotation>
<xs:documentation>
A second programming service to which this one is related.
</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="type" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>
A description of the nature of the relationship between the two
programming services. See documentation for a list of relationship types.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>Countries in which source broadcasts.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="country" type="xs:token">
<xs:annotation>
<xs:documentation>Country of coverage, 3-letter country code.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="videoQuality">
<xs:annotation>
<xs:documentation>Actual resolution information in the sources.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="signalType" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="truResolution" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="videoType" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="attribs">
<xs:annotation>
<xs:documentation>Parent element for one or more attributes.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="attrib" type="xs:token">
<xs:annotation>
<xs:documentation>
Attribute describing the programming service. See documentation for a
list of programming service attribute values.
</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="timeZone" type="xs:token">
<xs:annotation>
<xs:documentation>The time zone of the programming service.</xs:documentation> </xs:annotation> </xs:element>
<xs:element minOccurs="0" name="ianaTimeZone" type="xs:token">
<xs:annotation>
<xs:documentation>IANA-format for timezone (country/city).</xs:documentation> </xs:annotation> </xs:element>
<xs:element name="callSign" type="xs:token">
<xs:annotation>
<xs:documentation>The programming service's call sign.</xs:documentation> </xs:annotation> </xs:element>
<xs:annotation>
<xs:documentation>
The enhanced ( more descriptive) version of service's call sign.
</xs:documentation> </xs:annotation> </xs:element>
<xs:element minOccurs="0" name="edLangs">
<xs:annotation>
<xs:documentation>Parent element for the editorial languages</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="edLang" type="xs:language">
<xs:annotation>
<xs:documentation>
IETF BCP 47 language tag for the language in which TMS enters information
about this programming service. If no IETF BCP 47 language tag exists for a given
language, the language tag will output according to the RFC 5646 standard
</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>Parent element for the broadcast languages</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="bcastLang" type="xs:language">
<xs:annotation>
<xs:documentation>
IETF BCP 47 language tag for a broadcast language of this programming
service.
</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="num">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:nonNegativeInteger">
<xs:attribute name="majorNum" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>Major channel number.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="minorNum" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>Minor channel number.</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>
Parent element for the transportId
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="transportId">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="system" type="xs:string" use="required"/>
<xs:attribute name="subsystem" type="xs:string" use="required"/>
<xs:attribute name="type" type="xs:string" use="required"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="affils">
<xs:annotation>
<xs:documentation>
Parent element for network, cable or broadcasting groups.
</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="affil">
<xs:annotation>
<xs:documentation>
Network, cable or broadcasting group with which a programming service is
associated.
</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="prgSvcId" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>
The TMS id of the network, cable or broadcasting group.
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="affiliateId" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>
Identifier used to group affiliates and independent programming
services.
</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute name="ord" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>
The sequence editorially applied to affiliations, in order of
significance.
</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="URL" type="xs:token">
<xs:annotation>
<xs:documentation>URL of the programming service.</xs:documentation> </xs:annotation> </xs:element>
<xs:annotation>
<xs:documentation>Parent Element for the market ids</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="marketId">
<xs:annotation>
<xs:documentation>
Number of the market area in which the source is located
</xs:documentation> </xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:positiveInteger">
<xs:attribute name="type" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>The name of the market ranking type</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
<xs:element minOccurs="0" name="assets">
<xs:complexType>
<xs:sequence>
</xs:sequence> </xs:complexType> </xs:element>
<xs:annotation>
<xs:documentation>City of license for programming service.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence>
<xs:attribute name="prgSvcId" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>A TMS identifier for the programming service.</xs:documentation> </xs:annotation> </xs:attribute>
<xs:attribute ref="updateId" use="required"/>
<xs:attribute ref="deleted" use="optional"/>
<xs:attribute ref="inactive" use="optional"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
</xs:schema>