summaryrefslogtreecommitdiffstats
path: root/tderesources/groupwise/soap/events.xsd
blob: 9d032ddc3299ac763f34a4b071979333d290efe5 (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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<?xml version="1.0" encoding="UTF-8"?><!-- 
================================================================================
File:	events.xsd

Copyright (c) 2005-2006	Novell, Inc. All Rights Reserved.

Use and redistribution of this work is subject to the developer license
agreement through which this work is made available. Pursuant to that license
agreement, Novell hereby grants You a royalty-free, non-exclusive license to
include Novell's sample code in Your product(s) that interoperate with the
applicable Novell product, and worldwide distribution rights to market,
distribute, or sell Novell's sample code as a component of Your product.

THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NOVELL OR THE AUTHORS 
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 
OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.


Alternatively, the contents of this file may be used under the terms of 
GNU General Public License Version 2 (the "GPL") as explained below.  
If you wish to allow use of your version of this file only under the terms 
of the GPL, and not to allow others to use your version of this file under 
the provisions appearing above, indicate your decision by deleting the 
provisions above and replace them with the notice and other provisions required 
by the GPL. If you do not delete the provisions above, a recipient may use 
your version of this file under the above provisions of the GPL.


This file is free software; you can redistribute it and/or modify it under the 
terms of version 2 of the GNU General Public License as published by the 
Free Software Foundation.  This program is distributed in the hope that it will 
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License 
for more details.  You should have received a copy of the GNU General Public License 
along with this program; if not, contact Novell, Inc.

To contact Novell about this file by physical or electronic mail, you may find 
current contact information at www.novell.com.
================================================================================
--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.novell.com/2005/01/GroupWise/events" elementFormDefault="qualified" xmlns="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:tns="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types">

	<xs:import namespace="http://schemas.novell.com/2005/01/GroupWise/types" schemaLocation="types.xsd"/>
   
   <xs:element name="key" type="xs:string"/>
   <xs:element name="event" type="tns:EventType"/>
   <xs:element name="field" type="tns:FieldList"/>
   <xs:element name="id" type="types:uid"/>
   <xs:complexType name="ContainerList">
      <xs:sequence>
         <xs:element name="container" type="types:uid" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="not" type="xs:boolean" default="0"/>
   </xs:complexType>
   <xs:complexType name="Event">
      <xs:sequence>
         <xs:element ref="tns:event"/>
         <xs:element ref="tns:id" minOccurs="0"/>
         <xs:element name="timeStamp" type="xs:dateTime" minOccurs="0"/>
         <xs:element ref="tns:field" minOccurs="0"/>
         <xs:element name="container" type="types:uid" minOccurs="0"/>
         <xs:element name="from" type="types:uid" minOccurs="0"/>
         <xs:element name="key" type="xs:string" minOccurs="0"/>
 		 <xs:element name="uid" type="xs:unsignedInt" minOccurs="0"/>
		 <xs:element name="type" type="tns:ItemType" minOccurs="0"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="EventDefinition">
      <xs:sequence>
         <xs:element name="events" type="tns:EventTypeList"/>
         <xs:element name="type" type="tns:ItemTypeList" minOccurs="0"/>
         <xs:element ref="tns:field" minOccurs="0"/>
         <xs:element name="containers" type="tns:ContainerList" minOccurs="0"/>
         <xs:element name="subType" type="xs:string" minOccurs="0"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="EventList">
      <xs:sequence>
         <xs:element name="event" type="tns:Event" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="Events">
      <xs:sequence>
         <xs:element ref="tns:key"/>
         <xs:element name="persistence" type="xs:duration" minOccurs="0"/>
         <xs:element name="ipAddress" type="xs:string" minOccurs="0"/>
         <xs:element name="port" type="xs:int" minOccurs="0"/>
         <xs:element name="http" type="xs:boolean" minOccurs="0" default="0"/>
         <xs:element name="definition" type="tns:EventDefinition" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="enabled" type="xs:boolean" default="0"/>
   </xs:complexType>
   <xs:complexType name="EventsList">
      <xs:sequence>
         <xs:element name="event" type="tns:Events" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:simpleType name="EventType">
      <xs:restriction base="xs:string">
         <xs:enumeration value="AddressBookAdd"/>
         <xs:enumeration value="AddressBookDelete"/>
         <xs:enumeration value="AddressBookModify"/>
         <xs:enumeration value="AddressBookItemAdd"/>
         <xs:enumeration value="AddressBookItemDelete"/>
         <xs:enumeration value="AddressBookItemModify"/>
         <xs:enumeration value="FolderAccept"/>
         <xs:enumeration value="FolderAdd"/>
         <xs:enumeration value="FolderDelete"/>
         <xs:enumeration value="FolderItemAdd"/>
         <xs:enumeration value="FolderItemDelete"/>
         <xs:enumeration value="FolderItemMove"/>
         <xs:enumeration value="FolderModify"/>
         <xs:enumeration value="ItemAccept"/>
         <xs:enumeration value="ItemArchive"/>
         <xs:enumeration value="ItemComplete"/>
         <xs:enumeration value="ItemDecline"/>
         <xs:enumeration value="ItemDelete"/>
         <xs:enumeration value="ItemMarkPrivate"/>
         <xs:enumeration value="ItemMarkRead"/>
         <xs:enumeration value="ItemMarkUnread"/>
         <xs:enumeration value="ItemModify"/>
         <xs:enumeration value="ItemPurge"/>
         <xs:enumeration value="ItemUnarchive"/>
         <xs:enumeration value="ItemUndelete"/>
         <xs:enumeration value="Login"/>
         <xs:enumeration value="Logout"/>
         <xs:enumeration value="ProxyAccessAdd"/>
         <xs:enumeration value="ProxyAccessModify"/>
         <xs:enumeration value="ProxyAccessDelete"/>
         <xs:enumeration value="ProxyLogin"/>
         <xs:enumeration value="SessionTimedOut"/>
         <xs:enumeration value="TrustedApplicationLogin"/>
         <xs:enumeration value="ItemMarkUnprivate"/>
         <xs:enumeration value="ItemUnaccept"/>
         <xs:enumeration value="ItemUncomplete"/>
         <xs:enumeration value="PersonalGroupItemAdd"/>
         <xs:enumeration value="PersonalGroupItemDelete"/>
      </xs:restriction>
   </xs:simpleType>
   <xs:complexType name="EventTypeList">
      <xs:sequence>
         <xs:element name="event" type="tns:EventType" minOccurs="1" maxOccurs="36"/>
      </xs:sequence>
   </xs:complexType>
   <xs:simpleType name="Field">
      <xs:restriction base="xs:string">
         <xs:enumeration value="AcceptLevel"/>
         <xs:enumeration value="Alarm"/>
         <xs:enumeration value="AllDayEvent"/>
         <xs:enumeration value="Attachment"/>
         <xs:enumeration value="Category"/>
         <xs:enumeration value="Classification"/>
         <xs:enumeration value="Contact"/>
         <xs:enumeration value="DueDate"/>
         <xs:enumeration value="Duration"/>
         <xs:enumeration value="EmailAddress"/>
         <xs:enumeration value="ExpirationDate"/>
         <xs:enumeration value="Hidden"/>
         <xs:enumeration value="IMAddress"/>
         <xs:enumeration value="MessageBody"/>
         <xs:enumeration value="Name"/>
         <xs:enumeration value="Organization"/>
         <xs:enumeration value="Owner"/>
         <xs:enumeration value="PersonalSubject"/>
         <xs:enumeration value="PhoneNumber"/>
         <xs:enumeration value="Place"/>
         <xs:enumeration value="PostalAddress"/>
         <xs:enumeration value="RecipientStatus"/>
         <xs:enumeration value="Rights"/>
         <xs:enumeration value="Security"/>
         <xs:enumeration value="SendPriority"/>
         <xs:enumeration value="StartDate"/>
         <xs:enumeration value="Subject"/>
         <xs:enumeration value="TaskCategory"/>
         <xs:enumeration value="TaskPriority"/>
      </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="FieldList">
      <xs:list itemType="Field"/>
   </xs:simpleType>
   <xs:simpleType name="ItemType">
      <xs:restriction base="xs:string">
         <xs:enumeration value="AddressBookItem"/>
         <xs:enumeration value="Appointment"/>
         <xs:enumeration value="CalendarItem"/>
         <xs:enumeration value="Contact"/>
         <xs:enumeration value="Group"/>
         <xs:enumeration value="Mail"/>
         <xs:enumeration value="Note"/>
         <xs:enumeration value="Organization"/>
         <xs:enumeration value="PhoneMessage"/>
         <xs:enumeration value="Resource"/>
         <xs:enumeration value="Task"/>
		 <xs:enumeration value="DocumentRef"/>
      </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="ItemTypeList">
      <xs:list itemType="ItemType"/>
   </xs:simpleType>

<!-- 
Applications can be notified by the POA when an event they have subscribed to occurs (a.k.a. slap).  
The object that is transported is defined by the Notify object.  There can be many notify instantances in one slap.  
The notification instances will be seperated by \r\n.  For example,

<notify><userid>username</userid><key>GWEvents</key></notify>\r\n
<notify><userid>username</userid><key>GWEvents</key></notify>\r\n
-->
   <xs:complexType name="Notify">
      <xs:sequence>
        <xs:element name="userid" type="xs:string" minOccurs="1"/>
		<xs:element ref="tns:key" minOccurs="1"/>
      </xs:sequence>
   </xs:complexType>
   
   <xs:element name="cleanEventConfigurationRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="all" type="xs:boolean" default="0"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="cleanEventConfigurationResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="configureEventsRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="events" type="tns:Events" minOccurs="0"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="configureEventsResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="getEventConfigurationRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="key" type="xs:string" minOccurs="0" nillable="1"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="getEventConfigurationResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="events" type="tns:EventsList" minOccurs="0"/>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="getEventsRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element ref="tns:key"/>
            <xs:element name="from" type="xs:dateTime" minOccurs="0" nillable="1"/>
            <xs:element name="until" type="xs:dateTime" minOccurs="0" nillable="1"/>
				<xs:element name="uid" type="xs:unsignedInt" minOccurs="0"/>
            <xs:element name="count" type="xs:int" default="-1"/>
            <xs:element name="remove" type="xs:boolean" default="0"/>
            <xs:element name="notify" type="xs:boolean" default="0"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="getEventsResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="events" type="tns:EventList" minOccurs="0"/>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="removeEventConfigurationRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element ref="tns:key"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="removeEventConfigurationResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="removeEventsRequest">
      <xs:complexType>
         <xs:sequence>
            <xs:element ref="tns:key"/>
            <xs:element name="from" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="until" type="xs:dateTime" minOccurs="0"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:element name="removeEventsResponse">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="status" type="types:Status"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>

</xs:schema>