XML Schema "on_update_programmappings_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_programmappings_3.23.xsd; see
XML source
Includes Schemas (1):
Included in Schemas (1):
<?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:annotation>
<xs:documentation>Root element for the On products.</xs:documentation> </xs:annotation>
<xs:sequence>
<xs:element ref="header"/>
<xs:annotation>
<xs:documentation>
The parent element for associations from one set of program identifiers to another.
</xs:documentation> </xs:annotation>
<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: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: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: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: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:annotation>
<xs:documentation>
Date range provided to Gracenote by mapping requestor.
</xs:documentation> </xs:annotation>
<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: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: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: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="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>