<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by IT Department (Vodafone Global Products & Services Ltd.) -->
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Kevin Smith (Vodafone) -->
<xs:schema xmlns:icra="http://www.icra.org/faq/decode" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="http://www.icra.org/faq/decode" schemaLocation="icraRestrictions.xsd"/>
  <!-- restrictions for LINKs and STREAMs as per R4 F1_1-->
  <!--removed the substitution group attribute because it was causing targetnamespace issues
in certain schema validators-->
  <xs:element name="RESTRICTION">
    <xs:annotation>
      <xs:documentation>Vodafone Live content restriction for release 4. This element should be
        extended with optional groups as restriction requirements eveolve.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="RATING" minOccurs="0" maxOccurs="unbounded"/>
        <xs:group ref="AdultContentGroup" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="content-category" type="contentCategoryType"/>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="contentCategoryType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="game"/>
      <xs:enumeration value="ringtone"/>
      <xs:enumeration value="audio"/>
      <xs:enumeration value="video"/>
      <xs:enumeration value="picture"/>
      <xs:enumeration value="logo"/>
      <xs:enumeration value="screensaver"/>
      <xs:enumeration value="text portal content"/>
      <xs:enumeration value="text application"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:group name="AdultContentGroup">
    <xs:annotation>
      <xs:documentation>Vodafone Live content restriction for release 4. This block models the ICRA
        http://www.icra.org/ content rating system and allows for simple indication of adult content
        (by using the VIOLENCE, NUDITY and/or OTHER elements, or more granular rating by including
        the ICRA ratings as sub-elements. Please see the authoring guide for further
      details.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="icra:LANGUAGE"/>
        <xs:element ref="icra:VIOLENCE"/>
        <xs:element ref="icra:NUDITY"/>
        <xs:element ref="icra:OTHER"/>
      </xs:choice>
    </xs:sequence>
  </xs:group>
  <xs:element name="RATING">
    <xs:annotation>
      <xs:documentation>Provides a single rating 'system' defines the rating system used 'value' is
        the rating value </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="system" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>The name of the rating system being applied</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="value" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>The rating value assigned to the content.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
</xs:schema>
