<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by Administrator (Nagravision SA) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="nes.cex.sp.ml.nagra.com" targetNamespace="nes.cex.sp.ml.nagra.com" elementFormDefault="qualified">
  <xs:include schemaLocation="Nagravision-Commercial-Specification-v1.x.xsd"/>
  <xs:element name="vodData" type="VodDataType">
    <xs:annotation>
      <xs:documentation>Root element of the data structure. Each file generated by the exporter will contain exactly one instance of this element</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="VodDataType">
    <xs:sequence>
      <xs:element name="product" type="ProductType" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="node" type="NodeType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This element defines a Node </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="contentPublishingWindow" type="ContentPublishingWindowType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>This element defines a ContentPublishingWindow</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="productLink" type="ProductLinkType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="executionDate" type="gmtdatetime" use="required">
      <xs:annotation>
        <xs:documentation>Provides a reference date for the XML file. Normally will be the date and time that the file's provider generated it.
          A ISO 8601 compatible gmt datetime up to the second:
          yyyy-mm-ddThh:mm:ssZ. Eg "2011-08-04T08:15:58Z"
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <!--ContentPublishingWindow definition -->
  <xs:simpleType name="ContentPublishingWindowEnumType">
    <xs:annotation>
      <xs:documentation>enumeration characterizing a content type</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="vod"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ContentPublishingWindowType">
    <xs:complexContent>
      <xs:extension base="BaseResourceTypeWithMetadata">
        <xs:sequence>
          <xs:element name="period" type="PeriodType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>This period allow to specify the start and end date of the event</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="technicalContentRef" type="BaseResourceType">
            <xs:annotation>
              <xs:documentation>Reference to the technical content containing this technical content</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="nodeRef" type="BaseResourceType">
            <xs:annotation>
              <xs:documentation>Weak reference to the node containing this content publishing window. This node is not necessary existing.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="timeShifting" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Data relative to the Time Shifting feature</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:attribute name="shortTermCatchUpSupport" type="xs:boolean" use="optional">
                <xs:annotation>
                  <xs:documentation>Indicate if the Short Term Catch-Up feature is activated for this content publishing window.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
              <xs:attribute name="longTermCatchUpSupport" type="xs:boolean" use="optional">
                <xs:annotation>
                  <xs:documentation>Indicate if the Long Term Catch-Up feature is activated for this publishing window.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="displayPriority" type="xs:unsignedInt">
          <xs:annotation>
            <xs:documentation>Relative position of the content in the related node. Lowest values come first.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="type" type="ContentPublishingWindowEnumType" use="required" fixed="vod">
          <xs:annotation>
            <xs:documentation>The type of ContentPublishingWindow.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="publishToEndUser" type="xs:boolean" use="required">
          <xs:annotation>
            <xs:documentation>"true" if the ContentPublishingWindow must be published to the end user devices, "false" otherwise</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="NodeType">
    <xs:complexContent>
      <xs:extension base="BaseResourceTypeWithMetadata">
        <xs:sequence>
          <xs:element name="parentRef" type="BaseResourceType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Reference to the technical content containing this technical content</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="position" type="xs:unsignedInt" minOccurs="0">
            <xs:annotation>
              <xs:documentation>The Node's position among its parent's children. Two nodes can have the same position, in such case the order is not guaranteed.
                Lowest values come first.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="period" type="PeriodType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>This period allow to specify the start and end date of the event</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="timeShifting" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Data relative to the TimeShifting feature</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:attribute name="shortTermCatchUpSupport" type="xs:boolean" use="optional">
                <xs:annotation>
                  <xs:documentation>Indicate if the Short Term Catch-Up feature is activated for this node.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
              <xs:attribute name="longTermCatchUpSupport" type="xs:boolean" use="optional">
                <xs:annotation>
                  <xs:documentation>Indicate if the Long Term Catch-Up feature is activated for this node.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ProductLinkType">
    <xs:sequence>
      <xs:element name="productRef" type="BaseResourceType">
        <xs:annotation>
          <xs:documentation>Reference to the product</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="marketableRef">
        <xs:annotation>
          <xs:documentation>Reference to the marketable</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="BaseResourceType">
              <xs:attribute name="type" type="MarketableEnumType" use="required">
                <xs:annotation>
                  <xs:documentation>Allows to specify the kind of marketable that a product is linked to.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="validityPeriodSet">
        <xs:annotation>
          <xs:documentation>Set of periods during which the marketable sold by the specified product is authorised to be played.

If no validityPeriod are set, the authorisation is based on the validity period of the marketable sold by the specified product.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="validityPeriod" type="PeriodType" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Period of time during which the marketable sold by the specified product is authorised to be played. </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="MarketableEnumType">
    <xs:annotation>
      <xs:documentation>enumeration characterizing a marketable type.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="contentPublishingWindow"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
