Newer
Older
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
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="http://uri.etsi.org/ngn/params/xml/comm-div-info"
xmlns:tns="http://uri.etsi.org/ngn/params/xml/comm-div-info"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://uri.etsi.org/ngn/params/xml/comm-div-info"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- This import brings in the XML language definition -->
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd" />
<!-- Communication Diversion Information. This is the top-level XML element -->
<xs:element name="comm-div-info" type="comm-div-info-type" />
<!-- Communication Diversion Information Type. This is the top-level
XML element -->
<xs:complexType name="comm-div-info-type">
<xs:sequence>
<xs:element name="comm-div-subs-info" type="comm-div-subs-info-type"
minOccurs="0" />
<xs:element name="comm-div-ntfy-info" type="comm-div-ntfy-info-type"
minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="entity" type="xs:anyURI" use="required" />
</xs:complexType>
<!--- Communication Diversion Subscription Type. Used at Subscription
time to select Communication Diversions for notification, when to notify
them and what to notify. -->
<xs:complexType name="comm-div-subs-info-type">
<xs:sequence>
<xs:element name="comm-div-selection-criteria"
type="comm-div-selection-criteria-type" minOccurs="0" />
<xs:element name="comm-div-ntfy-trigger-criteria"
type="comm-div-ntfy-trigger-criteria-type" minOccurs="0" />
<xs:element name="comm-div-info-selection-criteria"
type="comm-div-info-selection-criteria-type" minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!--- Communication Diversion Notification Information Type Used while
notifying the User about the Communication Diversion -->
<xs:complexType name="comm-div-ntfy-info-type">
<xs:sequence>
<xs:element name="originating-user-info" type="user-info-type"
minOccurs="0" />
<xs:element name="diverting-user-info" type="xs:anyURI"
minOccurs="0" />
<xs:element name="diverted-to-user-info" type="xs:anyURI"
minOccurs="0" />
<xs:element name="diversion-time-info" type="xs:dateTime"
minOccurs="0" />
<xs:element name="diversion-reason-info" type="diversion-reason-info-type"
minOccurs="0" />
<xs:element name="diversion-rule-info" type="diversion-rule-info-type"
minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
<xs:element name="previous-cdivn-state" type="cdivn-states-types"
minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- COMMUNICATION DIVERSION SELECTION CRITERIA -->
<xs:complexType name="comm-div-selection-criteria-type">
<xs:sequence>
<xs:element name="originating-user-selection-criteria"
type="user-selection-criteria-type" minOccurs="0" />
<xs:element name="diverting-user-selection-criteria"
type="xs:anyURI" minOccurs="0" />
<xs:element name="diverted-to-user-selection-criteria"
type="xs:anyURI" minOccurs="0" />
<xs:element name="diversion-time-selection-criteria"
type="time-range-selection-criteria-type" minOccurs="0" />
<xs:element name="diversion-reason-selection-criteria"
type="diversion-reason-selection-criteria-type"
minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- COMMUNICATION DIVERSION NOTIFICATION TRIGGER CRITERIA -->
<xs:complexType name="comm-div-ntfy-trigger-criteria-type">
<xs:sequence>
<xs:element name="notification-time-selection-criteria"
type="time-range-selection-criteria-type" minOccurs="0" />
<xs:element name="presence-status-selection-criteria"
type="presence-status-selection-criteria-type"
minOccurs="0" />
<xs:element name="notification-buffer-interval"
minOccurs="0" default="86400">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:maxInclusive value="86400" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- COMMUNICATION DIVERSION INFORMATION SELECTION CRITERIA -->
<xs:complexType name="comm-div-info-selection-criteria-type">
<xs:sequence>
<xs:element name="disable-originating-user-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:element name="disable-diverting-user-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:element name="disable-diverted-to-user-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:element name="disable-diversion-time-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:element name="disable-diversion-reason-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:element name="disable-diversion-rule-info"
type="xs:boolean" default="false" minOccurs="0" />
<xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- User Info Type -->
<xs:complexType name="user-info-type">
<xs:sequence>
<xs:element name="user-name" type="xs:string"
minOccurs="0" maxOccurs="1" />
<xs:element name="user-URI" type="xs:anyURI" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- CDIVN FSM STATES -->
<xs:simpleType name="cdivn-states-types">
<xs:list itemType="cdivn-states-type" />
</xs:simpleType>
<xs:simpleType name="cdivn-states-type">
<xs:restriction base="xs:string">
<xs:enumeration value="IDLE" />
<xs:enumeration value="DIVERSION_NOTIFIED" />
<xs:enumeration value="DIVERSION_NOT_NOTIFIED" />
</xs:restriction>
</xs:simpleType>
<!-- DIVERSION REASON INFO -->
<xs:list itemType="diversion-reason-info-type" />
<xs:simpleType name="diversion-reason-info-type">
<xs:enumeration value="404" />
<xs:enumeration value="486" />
<xs:enumeration value="408" />
<xs:enumeration value="302" />
<xs:enumeration value="487" />
<xs:enumeration value="480" />
<xs:enumeration value="503" />
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
215
216
217
218
219
220
221
222
223
224
225
226
</xs:simpleType>
<!-- DIVERSION RULE INFO -->
<xs:complexType name="diversion-rule-info-type">
<xs:sequence>
<xs:element name="diversion-rule" type="xs:string" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- ORIGINATING USER SELECTION CRITERIA -->
<xs:complexType name="user-selection-criteria-type">
<xs:sequence>
<xs:element name="user-info" type="user-info-type"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- DIVERSION REASON SELECTION CRITERIA -->
<xs:complexType name="diversion-reason-selection-criteria-type">
<xs:sequence>
<xs:element name="diversion-reason-info" type="diversion-reason-info-types" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- TIME RANGE SELECTION CRITERIA -->
<xs:complexType name="time-range-selection-criteria-type">
<xs:sequence>
<xs:element name="time-range" type="time-range-type"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- TIME RANGE INFO -->
<xs:complexType name="time-range-type">
<xs:sequence>
<xs:element name="start-time" type="xs:dateTime" />
<xs:element name="end-time" type="xs:dateTime" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- PRESENCE STATUS SELECTION CRITERIA -->
<xs:complexType name="presence-status-selection-criteria-type">
<xs:sequence>
<xs:element name="presence-status-info" type="presence-status-info-type"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
<!-- PRESENCE STATUS INFo -->
<xs:complexType name="presence-status-info-type">
<xs:sequence>
<xs:element name="presence-status" type="xs:string" />
</xs:sequence>
<xs:anyAttribute namespace="##other"
processContents="lax" />
</xs:complexType>
</xs:schema>