summaryrefslogtreecommitdiffstats
path: root/schemas/prs_pidf_omapres-v1_0.xsd
blob: 67f205a2eec0974120b44e5497b046928db8953b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<?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>

OpenPOWER on IntegriCloud