XML Schema "on_update_programmappings_3.23.xsd"
Target Namespace:
{no namespace}
Version:
3.23
Defined Components:
elements (1 global + 12 local)
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_programmappings_3.23.xsd; see XML source
Includes Schemas (1):
types_3.23.xsd [src]
Included in Schemas (1):
on_apis_docs.xsd [src]
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<!-- On Update Program Mappings - v3.23 -->
<!-- File: on_update_programmappings_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:element name="on">
<xs:annotation>
<xs:documentation>Root element for the On products.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="header"/>
<xs:element name="programMappings">
<xs:annotation>
<xs:documentation>
The parent element for associations from one set of program identifiers to another.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="programMapping">
<xs:annotation>
<xs:documentation>
The parent element for program mapping information.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="creationDate" type="xs:string"/>
<xs:element minOccurs="0" name="status">
<xs:annotation>
<xs:documentation>
Mapping status; possible values are 'ToBeMapped', 'Mapped', 'Unmappable'.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ToBeMapped"/>
<xs:enumeration value="Mapped"/>
<xs:enumeration value="Unmappable"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="id">
<xs:annotation>
<xs:documentation>The Gracenote program identifier value.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="type" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>The Gracenote identifier type, e.g., "TMSId".</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" name="link">
<xs:annotation>
<xs:documentation>
A link from this entity to another entity by identifier. Links are undirected
by default.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="idType" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>
The type of this entity's identifier, e.g., "ProviderId".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="availability">
<xs:annotation>
<xs:documentation>
Date range provided to Gracenote by mapping requestor.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="start" type="xs:dateTime"/>
<xs:element minOccurs="0" name="end" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="message">
<xs:annotation>
<xs:documentation>
Used only for assets which cannot be mapped, to provide further information on
mapping issues.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="detail" type="xs:token">
<xs:annotation>
<xs:documentation>Information regarding cause of Unmappable status.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="reason" use="required">
<xs:annotation>
<xs:documentation>
The reason the unmappable message was generated, e.g., "Metadata
Discrepancy"
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="catalogName" type="xs:token">
<xs:annotation>
<xs:documentation>
The mapping catalog name which contains this programMapping. Multiple mapping
catalogs may be included, depending on customer configuration.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="programMappingId" use="required">
<xs:annotation>
<xs:documentation>
The unique identifier for the requested program mapping. This identifier is
unique across all catalogs.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="updateId" use="required"/>
<xs:attribute ref="updateDate" use="required"/>
<xs:attribute ref="deleted" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:annotation>
<xs:documentation>
Optional descriptor of the linked id types (e.g., "TMSId/PartnerXYZId").
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute default="3.23" name="schemaVersion" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>The On Updates schema version number.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
XML schema documentation generated with FlexDoc/XML 1.14 using FlexDoc/XML XSDDoc 3.0 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.