123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- PIDF OMA Extensions
- version - 1.0
- date - 27 Jun 2008
- FILE INFORMATION
- OMA Permanent Document
- File: OMA-SUP-XSD_prs_pidf_omapres-V1_0_2-20080627-A
- Type: Text - Schema Description
- Public Reachable Information
- Path: http://www.openmobilealliance.org/tech/profiles
- Name: prs_pidf_omapres-v1_0.xsd
- NORMATIVE INFORMATION
- Information about this file can be found in the specification
- OMA-TS-Presence_SIMPLE_XDM-V1_1
- available at http://www.openmobilealliance.org/
- Send comments to technical-comments@mail.openmobilealliance.org
- LEGAL DISCLAIMER
- Use of this document is subject to all of the terms and conditions
- of the Use Agreement located at
- http://www.openmobilealliance.org/UseAgreement.html
- You may use this document or any part of the document for internal
- or educational purposes only, provided you do not modify, edit or
- take out of context the information in this document in any manner.
- Information contained in this document may be used, at your sole
- risk, for any purposes.
- You may not use this document in any other manner without the prior
- written permission of the Open Mobile Alliance. The Open Mobile
- Alliance authorizes you to copy this document, provided that you
- retain all copyright and other proprietary notices contained in the
- original materials on any copies of the materials and that you
- comply strictly with these terms. This copyright permission does
- not constitute an endorsement of the products or services. The
- Open Mobile Alliance assumes no responsibility for errors or
- omissions in this document.
- Each Open Mobile Alliance member has agreed to use reasonable
- endeavors to inform the Open Mobile Alliance in a timely manner of
- Essential IPR as it becomes aware that the Essential IPR is related
- to the prepared or published specification. However, the members
- do not have an obligation to conduct IPR searches. The declared
- Essential IPR is publicly available to members and non-members of
- the Open Mobile Alliance and may be found on the "OMA IPR
- Declarations" list at http://www.openmobilealliance.org/ipr.html.
- The Open Mobile Alliance has not conducted an independent IPR review
- of this document and the information contained herein, and makes no
- representations or warranties regarding third party IPR, including
- without limitation patents, copyrights or trade secret rights. This
- document may contain inventions for which you must obtain licenses
- from third parties before making, using or selling the inventions.
- Defined terms above are set forth in the schedule to the Open Mobile
- Alliance Application Form.
- NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) ARE
- MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE MEMBER
- OR ITS AFFILIATES REGARDING ANY OF THE IPR'S REPRESENTED ON THE "OMA
- IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED TO THE ACCURACY,
- COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR WHETHER OR
- NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL.
- THE OPEN MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY
- DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR
- EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF
- DOCUMENTS AND THE INFORMATION CONTAINED IN THE DOCUMENTS.
- Copyright 2008 Open Mobile Alliance Ltd. All Rights Reserved.
- Used with the permission of the Open Mobile Alliance Ltd. under the
- terms set forth above.
- -->
- <xs:schema targetNamespace="urn:oma:xml:prs:pidf:oma-pres"
- xmlns="urn:oma:xml:prs:pidf:oma-pres"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified">
- <!-- This import brings in the XML language attribute xml:lang-->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
- <xs:annotation>
- <xs:documentation xml:lang="en">
- XML Schema definition for OMA extensions to PIDF and Presence Data Model
- </xs:documentation>
- </xs:annotation>
- <!-- Global Type definitions -->
- <xs:simpleType name="basicType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="open"/>
- <xs:enumeration value="closed"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="emptyType"/>
- <xs:simpleType name="registrationType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="active"/>
- <xs:enumeration value="terminated"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="barringType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="active"/>
- <xs:enumeration value="terminated"/>
- </xs:restriction>
- </xs:simpleType>
- <!-- OMA extensions to PIDF tuple element -->
- <xs:element name="service-description">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="service-id" type="xs:token"/>
- <xs:element name="version" type="xs:token"/>
- <xs:element name="description" type="xs:token" minOccurs="0"/>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="willingness">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="basic" type="basicType" minOccurs="0"/>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="session-participation">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="basic" type="basicType" minOccurs="0"/>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="registration-state">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="registrationType">
- <xs:anyAttribute processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="barring-state">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="barringType">
- <xs:anyAttribute processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <!-- OMA extensions to PDM person element -->
- <xs:element name="overriding-willingness">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="basic" type="basicType" minOccurs="0"/>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <!-- OMA extensions to PDM device element -->
- <xs:element name="network-availability">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="network" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="active" type="emptyType" minOccurs="0"/>
- <xs:element name="terminated" type="emptyType" minOccurs="0"/>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="id" type="xs:token" use="required"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|