prs_pidf_omapres-v1_0.xsd 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. PIDF OMA Extensions
  4. version - 1.0
  5. date - 27 Jun 2008
  6. FILE INFORMATION
  7. OMA Permanent Document
  8. File: OMA-SUP-XSD_prs_pidf_omapres-V1_0_2-20080627-A
  9. Type: Text - Schema Description
  10. Public Reachable Information
  11. Path: http://www.openmobilealliance.org/tech/profiles
  12. Name: prs_pidf_omapres-v1_0.xsd
  13. NORMATIVE INFORMATION
  14. Information about this file can be found in the specification
  15. OMA-TS-Presence_SIMPLE_XDM-V1_1
  16. available at http://www.openmobilealliance.org/
  17. Send comments to technical-comments@mail.openmobilealliance.org
  18. LEGAL DISCLAIMER
  19. Use of this document is subject to all of the terms and conditions
  20. of the Use Agreement located at
  21. http://www.openmobilealliance.org/UseAgreement.html
  22. You may use this document or any part of the document for internal
  23. or educational purposes only, provided you do not modify, edit or
  24. take out of context the information in this document in any manner.
  25. Information contained in this document may be used, at your sole
  26. risk, for any purposes.
  27. You may not use this document in any other manner without the prior
  28. written permission of the Open Mobile Alliance. The Open Mobile
  29. Alliance authorizes you to copy this document, provided that you
  30. retain all copyright and other proprietary notices contained in the
  31. original materials on any copies of the materials and that you
  32. comply strictly with these terms. This copyright permission does
  33. not constitute an endorsement of the products or services. The
  34. Open Mobile Alliance assumes no responsibility for errors or
  35. omissions in this document.
  36. Each Open Mobile Alliance member has agreed to use reasonable
  37. endeavors to inform the Open Mobile Alliance in a timely manner of
  38. Essential IPR as it becomes aware that the Essential IPR is related
  39. to the prepared or published specification. However, the members
  40. do not have an obligation to conduct IPR searches. The declared
  41. Essential IPR is publicly available to members and non-members of
  42. the Open Mobile Alliance and may be found on the "OMA IPR
  43. Declarations" list at http://www.openmobilealliance.org/ipr.html.
  44. The Open Mobile Alliance has not conducted an independent IPR review
  45. of this document and the information contained herein, and makes no
  46. representations or warranties regarding third party IPR, including
  47. without limitation patents, copyrights or trade secret rights. This
  48. document may contain inventions for which you must obtain licenses
  49. from third parties before making, using or selling the inventions.
  50. Defined terms above are set forth in the schedule to the Open Mobile
  51. Alliance Application Form.
  52. NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) ARE
  53. MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE MEMBER
  54. OR ITS AFFILIATES REGARDING ANY OF THE IPR'S REPRESENTED ON THE "OMA
  55. IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED TO THE ACCURACY,
  56. COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR WHETHER OR
  57. NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL.
  58. THE OPEN MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY
  59. DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR
  60. EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF
  61. DOCUMENTS AND THE INFORMATION CONTAINED IN THE DOCUMENTS.
  62. Copyright 2008 Open Mobile Alliance Ltd. All Rights Reserved.
  63. Used with the permission of the Open Mobile Alliance Ltd. under the
  64. terms set forth above.
  65. -->
  66. <xs:schema targetNamespace="urn:oma:xml:prs:pidf:oma-pres"
  67. xmlns="urn:oma:xml:prs:pidf:oma-pres"
  68. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  69. elementFormDefault="qualified"
  70. attributeFormDefault="unqualified">
  71. <!-- This import brings in the XML language attribute xml:lang-->
  72. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  73. <xs:annotation>
  74. <xs:documentation xml:lang="en">
  75. XML Schema definition for OMA extensions to PIDF and Presence Data Model
  76. </xs:documentation>
  77. </xs:annotation>
  78. <!-- Global Type definitions -->
  79. <xs:simpleType name="basicType">
  80. <xs:restriction base="xs:string">
  81. <xs:enumeration value="open"/>
  82. <xs:enumeration value="closed"/>
  83. </xs:restriction>
  84. </xs:simpleType>
  85. <xs:complexType name="emptyType"/>
  86. <xs:simpleType name="registrationType">
  87. <xs:restriction base="xs:string">
  88. <xs:enumeration value="active"/>
  89. <xs:enumeration value="terminated"/>
  90. </xs:restriction>
  91. </xs:simpleType>
  92. <xs:simpleType name="barringType">
  93. <xs:restriction base="xs:string">
  94. <xs:enumeration value="active"/>
  95. <xs:enumeration value="terminated"/>
  96. </xs:restriction>
  97. </xs:simpleType>
  98. <!-- OMA extensions to PIDF tuple element -->
  99. <xs:element name="service-description">
  100. <xs:complexType>
  101. <xs:sequence>
  102. <xs:element name="service-id" type="xs:token"/>
  103. <xs:element name="version" type="xs:token"/>
  104. <xs:element name="description" type="xs:token" minOccurs="0"/>
  105. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  106. </xs:sequence>
  107. <xs:anyAttribute processContents="lax"/>
  108. </xs:complexType>
  109. </xs:element>
  110. <xs:element name="willingness">
  111. <xs:complexType>
  112. <xs:sequence>
  113. <xs:element name="basic" type="basicType" minOccurs="0"/>
  114. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  115. </xs:sequence>
  116. <xs:anyAttribute processContents="lax"/>
  117. </xs:complexType>
  118. </xs:element>
  119. <xs:element name="session-participation">
  120. <xs:complexType>
  121. <xs:sequence>
  122. <xs:element name="basic" type="basicType" minOccurs="0"/>
  123. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  124. </xs:sequence>
  125. <xs:anyAttribute processContents="lax"/>
  126. </xs:complexType>
  127. </xs:element>
  128. <xs:element name="registration-state">
  129. <xs:complexType>
  130. <xs:simpleContent>
  131. <xs:extension base="registrationType">
  132. <xs:anyAttribute processContents="lax"/>
  133. </xs:extension>
  134. </xs:simpleContent>
  135. </xs:complexType>
  136. </xs:element>
  137. <xs:element name="barring-state">
  138. <xs:complexType>
  139. <xs:simpleContent>
  140. <xs:extension base="barringType">
  141. <xs:anyAttribute processContents="lax"/>
  142. </xs:extension>
  143. </xs:simpleContent>
  144. </xs:complexType>
  145. </xs:element>
  146. <!-- OMA extensions to PDM person element -->
  147. <xs:element name="overriding-willingness">
  148. <xs:complexType>
  149. <xs:sequence>
  150. <xs:element name="basic" type="basicType" minOccurs="0"/>
  151. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  152. </xs:sequence>
  153. <xs:anyAttribute processContents="lax"/>
  154. </xs:complexType>
  155. </xs:element>
  156. <!-- OMA extensions to PDM device element -->
  157. <xs:element name="network-availability">
  158. <xs:complexType>
  159. <xs:sequence>
  160. <xs:element name="network" maxOccurs="unbounded">
  161. <xs:complexType>
  162. <xs:sequence>
  163. <xs:element name="active" type="emptyType" minOccurs="0"/>
  164. <xs:element name="terminated" type="emptyType" minOccurs="0"/>
  165. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  166. </xs:sequence>
  167. <xs:attribute name="id" type="xs:token" use="required"/>
  168. <xs:anyAttribute processContents="lax"/>
  169. </xs:complexType>
  170. </xs:element>
  171. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  172. </xs:sequence>
  173. <xs:anyAttribute processContents="lax"/>
  174. </xs:complexType>
  175. </xs:element>
  176. </xs:schema>