]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/acr/schemas/webdav.xsd
Introduce CMS JShell
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / acr / schemas / webdav.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20
21 <schema xmlns="http://www.w3.org/2001/XMLSchema"
22 targetNamespace="DAV:"
23 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
24 xmlns:dav="DAV:"
25 elementFormDefault="qualified">
26
27 <element name="activelock">
28 <complexType>
29 <sequence>
30 <element ref="dav:lockscope"/>
31 <element ref="dav:locktype"/>
32 <element ref="dav:depth"/>
33 <element ref="dav:owner" minOccurs="0" maxOccurs="1"/>
34 <element ref="dav:timeout" minOccurs="0" maxOccurs="1"/>
35 <element ref="dav:locktoken" minOccurs="0" maxOccurs="1"/>
36 </sequence>
37 </complexType>
38 </element>
39
40 <element name="lockentry">
41 <complexType>
42 <sequence>
43 <element ref="dav:lockscope"/>
44 <element ref="dav:locktype"/>
45 </sequence>
46 </complexType>
47 </element>
48
49 <element name="lockinfo">
50 <complexType>
51 <sequence>
52 <element ref="dav:lockscope"/>
53 <element ref="dav:locktype"/>
54 <element ref="dav:owner" minOccurs="0" maxOccurs="1"/>
55 </sequence>
56 </complexType>
57 </element>
58
59 <element name="locktype">
60 <complexType>
61 <sequence>
62 <element ref="dav:write"/>
63 </sequence>
64 </complexType>
65 </element>
66
67 <element name="write">
68 <complexType/>
69 </element>
70
71 <element name="lockscope">
72 <complexType>
73 <choice>
74 <element ref="dav:exclusive"/>
75 <element ref="dav:shared"/>
76 </choice>
77 </complexType>
78 </element>
79
80 <element name="exclusive">
81 <complexType/>
82 </element>
83
84 <element name="shared">
85 <complexType/>
86 </element>
87
88 <element name="depth" type="xsd:string"/>
89
90 <element name="owner">
91 <complexType mixed="true">
92 <sequence>
93 <any namespace="http://www.w3.org/namespace/"/>
94 </sequence>
95 </complexType>
96 </element>
97
98 <element name="timeout" type="xsd:string"/>
99
100 <element name="locktoken">
101 <complexType>
102 <sequence>
103 <element ref="dav:href" maxOccurs="unbounded"/>
104 </sequence>
105 </complexType>
106 </element>
107
108 <element name="href" type="xsd:string"/>
109
110 <element name="link">
111 <complexType>
112 <sequence>
113 <element ref="dav:src" maxOccurs="unbounded"/>
114 <element ref="dav:dst" maxOccurs="unbounded"/>
115 </sequence>
116 </complexType>
117 </element>
118
119 <element name="dst" type="xsd:string"/>
120
121 <element name="src" type="xsd:string"/>
122
123 <element name="multistatus">
124 <complexType>
125 <sequence>
126 <element ref="dav:response" maxOccurs="unbounded"/>
127 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
128 <element ref="dav:sync-token" minOccurs="0" maxOccurs="1"/>
129 </sequence>
130 </complexType>
131 </element>
132
133 <element name="response">
134 <complexType>
135 <sequence>
136 <element ref="dav:href" minOccurs="1" maxOccurs="unbounded"/>
137 <choice>
138 <sequence>
139 <element ref="dav:status"/>
140 </sequence>
141 <element ref="dav:propstat" maxOccurs="unbounded"/>
142 </choice>
143 <element ref="dav:error" minOccurs="0" maxOccurs="1"/>
144 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
145 <element ref="dav:location" minOccurs="0" maxOccurs="1"/>
146 </sequence>
147 </complexType>
148 </element>
149
150 <element name="status" type="xsd:string"/>
151
152 <element name="error">
153 <complexType>
154 <sequence>
155 <any namespace="##any"/>
156 </sequence>
157 </complexType>
158 </element>
159
160 <element name="propstat">
161 <complexType>
162 <sequence>
163 <element ref="dav:prop"/>
164 <element ref="dav:status"/>
165 <element ref="dav:error" minOccurs="0" maxOccurs="1"/>
166 <element ref="dav:responsedescription" minOccurs="0" maxOccurs="1"/>
167 </sequence>
168 </complexType>
169 </element>
170
171 <element name="responsedescription" type="xsd:string"/>
172
173 <element name="location">
174 <complexType>
175 <sequence>
176 <element ref="dav:href" maxOccurs="1"/>
177 </sequence>
178 </complexType>
179 </element>
180
181 <element name="prop">
182 <complexType>
183 <all>
184 <element ref="dav:creationdate" minOccurs="0"/>
185 <element ref="dav:displayname" minOccurs="0"/>
186 <element ref="dav:getcontentlanguage" minOccurs="0"/>
187 <element ref="dav:getcontentlength" minOccurs="0"/>
188 <element ref="dav:getcontenttype" minOccurs="0"/>
189 <element ref="dav:getetag" minOccurs="0"/>
190 <element ref="dav:getlastmodified" minOccurs="0"/>
191 <element ref="dav:lockdiscovery" minOccurs="0"/>
192 <element ref="dav:resourcetype" minOccurs="0"/>
193 <element ref="dav:supportedlock" minOccurs="0"/>
194 <element ref="dav:supported-report-set" minOccurs="0"/>
195 <element ref="dav:quota-available-bytes" minOccurs="0"/>
196 <element ref="dav:quota-used-bytes" minOccurs="0"/>
197 <!-- Microsoft has some own elements in DAV namespace - don't use it for now -->
198 <!--
199 <element ref="dav:contentclass" minOccurs="0"/>
200 <element ref="dav:defaultdocument" minOccurs="0"/>
201 <element ref="dav:href" minOccurs="0"/>
202 <element ref="dav:iscollection" minOccurs="0"/>
203 <element ref="dav:ishidden" minOccurs="0"/>
204 <element ref="dav:isreadonly" minOccurs="0"/>
205 <element ref="dav:isroot" minOccurs="0"/>
206 <element ref="dav:isstructureddocument" minOccurs="0"/>
207 <element ref="dav:lastaccessed" minOccurs="0"/>
208 <element ref="dav:name" minOccurs="0"/>
209 <element ref="dav:parentname" minOccurs="0"/>
210 -->
211 <any processContents="skip" namespace="##other" maxOccurs="unbounded" />
212 </all>
213 </complexType>
214 </element>
215
216 <element name="propertybehavior">
217 <complexType>
218 <choice>
219 <element ref="dav:omit"/>
220 <element ref="dav:keepalive"/>
221 </choice>
222 </complexType>
223 </element>
224
225 <element name="omit">
226 <complexType/>
227 </element>
228
229 <element name="keepalive">
230 <complexType mixed="true">
231 <sequence>
232 <element ref="dav:href" maxOccurs="unbounded"/>
233 </sequence>
234 </complexType>
235 </element>
236
237 <element name="propertyupdate">
238 <complexType>
239 <choice maxOccurs="unbounded">
240 <element ref="dav:remove"/>
241 <element ref="dav:set"/>
242 </choice>
243 </complexType>
244 </element>
245
246 <element name="remove">
247 <complexType>
248 <sequence>
249 <element ref="dav:prop"/>
250 </sequence>
251 </complexType>
252 </element>
253
254 <element name="set">
255 <complexType>
256 <sequence>
257 <element ref="dav:prop"/>
258 </sequence>
259 </complexType>
260 </element>
261
262 <element name="propfind">
263 <complexType>
264 <choice>
265 <element ref="dav:allprop"/>
266 <element ref="dav:propname"/>
267 <element ref="dav:prop"/>
268 </choice>
269 </complexType>
270 </element>
271
272 <element name="allprop">
273 <complexType/>
274 </element>
275
276 <element name="propname">
277 <complexType/>
278 </element>
279
280 <element name="collection">
281 <complexType/>
282 </element>
283
284 <element name="creationdate">
285 <complexType mixed="true">
286 <sequence/>
287 </complexType>
288 </element>
289
290 <element name="displayname">
291 <complexType mixed="true">
292 <sequence/>
293 </complexType>
294 </element>
295
296 <element name="getcontentlanguage">
297 <complexType mixed="true">
298 <sequence/>
299 </complexType>
300 </element>
301
302 <element name="getcontentlength">
303 <complexType mixed="true">
304 <sequence/>
305 </complexType>
306 </element>
307
308 <element name="getcontenttype">
309 <complexType mixed="true">
310 <sequence/>
311 </complexType>
312 </element>
313
314 <element name="getetag">
315 <complexType mixed="true">
316 <sequence/>
317 </complexType>
318 </element>
319
320 <element name="getlastmodified">
321 <complexType mixed="true">
322 <sequence/>
323 </complexType>
324 </element>
325
326 <element name="lockdiscovery">
327 <complexType>
328 <sequence minOccurs="0" maxOccurs="unbounded">
329 <element ref="dav:activelock"/>
330 </sequence>
331 </complexType>
332 </element>
333
334 <element name="resourcetype">
335 <complexType>
336 <sequence>
337 <element ref="dav:collection" minOccurs="0"/>
338 <any processContents="skip" namespace="##other" minOccurs="0" maxOccurs="unbounded" />
339 </sequence>
340 </complexType>
341 </element>
342
343 <element name="supportedlock">
344 <complexType>
345 <sequence minOccurs="0" maxOccurs="unbounded">
346 <element ref="dav:lockentry"/>
347 </sequence>
348 </complexType>
349 </element>
350
351 <element name="source">
352 <complexType>
353 <sequence minOccurs="0" maxOccurs="unbounded">
354 <element ref="dav:link"/>
355 </sequence>
356 </complexType>
357 </element>
358
359 <element name="quota-available-bytes">
360 <complexType mixed="true">
361 <sequence/>
362 </complexType>
363 </element>
364
365 <element name="quota-used-bytes">
366 <complexType mixed="true">
367 <sequence/>
368 </complexType>
369 </element>
370
371 <element name="searchrequest">
372 <complexType>
373 <sequence>
374 <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1" />
375 </sequence>
376 </complexType>
377 </element>
378
379 <element name="supported-report-set">
380 <complexType>
381 <sequence>
382 <element maxOccurs="unbounded" ref="dav:supported-report"/>
383 </sequence>
384 </complexType>
385 </element>
386
387 <element name="supported-report">
388 <complexType>
389 <sequence>
390 <element ref="dav:report"/>
391 </sequence>
392 </complexType>
393 </element>
394
395 <element name="report">
396 <complexType>
397 <sequence>
398 <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1"/>
399 </sequence>
400 </complexType>
401 </element>
402
403 <element name="sync-collection">
404 <complexType>
405 <sequence>
406 <element ref="dav:sync-token" minOccurs="1" maxOccurs="1"/>
407 <element ref="dav:sync-level" minOccurs="1" maxOccurs="1"/>
408 <element ref="dav:limit" minOccurs="0" maxOccurs="1"/>
409 <element ref="dav:prop" minOccurs="1" maxOccurs="1"/>
410 </sequence>
411 </complexType>
412 </element>
413
414 <element name="sync-token" type="anyURI"/>
415
416 <element name="sync-level" type="string">
417 <simpleType>
418 <restriction base="string">
419 <enumeration value="1"/>
420 <enumeration value="infinite"/>
421 </restriction>
422 </simpleType>
423 </element>
424
425 <element name="limit">
426 <complexType>
427 <sequence>
428 <element ref="dav:nresults" minOccurs="1" maxOccurs="1"/>
429 </sequence>
430 </complexType>
431 </element>
432
433 <element name="nresults" type="integer"/>
434
435 <!-- Microsoft has some own elements in DAV namespace - don't use it for now -->
436 <!--
437 <element name="contentclass" type="xsd:string"/>
438 <element name="defaultdocument" type="xsd:string"/>
439 <element name="iscollection" type="xsd:string"/>
440 <element name="ishidden" type="xsd:string"/>
441 <element name="isreadonly" type="xsd:string"/>
442 <element name="isroot" type="xsd:string"/>
443 <element name="isstructureddocument" type="xsd:string"/>
444 <element name="lastaccessed" type="xsd:string"/>
445 <element name="name" type="xsd:string"/>
446 <element name="parentname" type="xsd:string"/>
447 -->
448 </schema>
449