J.1 XML Schema

26.2373GPPIP Multimedia Subsystem (IMS) based Packet Switch Streaming (PSS) and Multimedia Broadcast/Multicast Service (MBMS) User ServiceProtocolsRelease 17TS

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:r11="urn:3gpp:bookmark:2012:IMS-PSS-MBMS"

xmlns:sv="urn:3gpp:bookmark:2012:IMS-PSS-MBMS:schemaVersion"

elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="urn:3gpp:bookmark:2009:IMS-PSS-MBMS" xmlns:tns="urn:3gpp:bookmark:2009:IMS-PSS-MBMS" version="2">

<xs:annotation>
<xs:appinfo>nBookmark version 2</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema contains the Rel 11 extension to the nBookmark schema.
</xs:documentation>
</xs:annotation>

<xs:import schemaLocation="3gpp-bookmark-2012.xsd"

namespace="urn:3gpp:bookmark:2012:IMS-PSS-MBMS"/>

<xs:import schemaLocation="schema-version.xsd"

namespace="urn:3gpp:bookmark:2012:IMS-PSS-MBMS:schemaVersion"/>

<xs:element name="BookmarkList">

<xs:complexType>

<xs:sequence>

<xs:element name="Bookmark" type="tns:BookmarkType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element ref="sv:schemaVersion"/>

<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

<xs:anyAttribute processContents="skip"/>

</xs:complexType>

</xs:element>

<xs:complexType name="BookmarkType">

<xs:sequence>

<xs:element name="Creator" type="xs:anyURI"/>

<xs:element name="Created" type="xs:dateTime"/>

<xs:element name="ProgramId" type="xs:anyURI"/>

<xs:element name="ProgramType" type="xs:string"/>

<xs:element name="Offset" type="xs:duration" minOccurs="0"/>

<xs:element name="Tag" type="xs:string" minOccurs="0"/>

<xs:element name="Rank" type="xs:string" minOccurs="0"/>

<xs:element name="Comment" type="xs:string" minOccurs="0"/>

<xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>

<xs:element name="Sharing" type="xs:boolean"/>

<xs:element name="RetrievalCount" type="xs:nonNegativeInteger" minOccurs="0"/>

<xs:element name="RetrievalTime" type="xs:dateTime" minOccurs="0" maxOccurs="unbounded"/>

<xs:element ref="r11:bookmark2012" minOccurs="0" maxOccurs="unbounded"/>

<xs:element ref="sv:delimiter"/>

<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

<xs:attribute name="id" type="xs:anyURI" use="required"/>

<xs:anyAttribute processContents="skip"/>

</xs:complexType>

</xs:schema>

The following schema is the release 11 extension to the nBookmark schema. The schema file name, as referenced in the main nBookmark schema, is 3gpp-bookmark-2012.xsd.

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema targetNamespace="urn:3gpp:bookmark:2012:IMS-PSS-MBMS"

attributeFormDefault="unqualified" elementFormDefault="qualified"

xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns="urn:3gpp:bookmark:2012:IMS-PSS-MBMS">

<xs:annotation>

<xs:appinfo>nBookmark2012</xs:appinfo>

<xs:documentation xml:lang="en">

This Schema is the Rel 11 extension to the nBookmark schema.

</xs:documentation>

</xs:annotation>

<xs:element name="bookmark2012">

<xs:complexType>

<xs:sequence>

<xs:element name="suggestedPresentationOffset" type="xs:duration" minOccurs="0" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

The schemaVersion schema defines two elements, schemaVersion and delimiter for compatibility purpose. The value of the schemaVersion is used in the main nBookmark schemas above. The value of the schemaVersion element and version attribute should be set to 2 in this release of the main nBookmark schema and increased by 1 in every future releases where new element(s) or attribute(s) are added.The delimiter element is used in the main nBookmark schema above to avoid the schema validation error (due to the Unique Particle Attribution rule). The delimiter element shall be set to a value of 0, and the element content shall be ignored by the receiveing device. The file name used for this schema is schema-version.xsd,

When a device receives an instantiation of the nBookmark compliant to this schema, it determines the schema version required to parse the instantiation as follows:

– If the device supports one or more versions of the nBookmark schema with the schema version attribute, then it shall use the schema that has the highest schema version attribute value that is equal to or less than the value in the received schemaVersion element;

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns="urn:3gpp:bookmark:2012:IMS-PSS-MBMS:schemaVersion"

xmlns:xs="http://www.w3.org/2001/XMLSchema"

targetNamespace="urn:3gpp:bookmark:2012:IMS-PSS-MBMS:schemaVersion"

elementFormDefault="qualified">

<xs:element name="schemaVersion" type="xs:unsignedInt"/>

<xs:element name="delimiter" type="xs:byte"/>

</xs:schema>