|
1 <?xml version="1.0"?> |
|
2 <!-- |
|
3 Copyright 2016 Olaf Wintermann. All rights reserved. |
|
4 |
|
5 Redistribution and use in source and binary forms, with or without |
|
6 modification, are permitted provided that the following conditions are met: |
|
7 |
|
8 1. Redistributions of source code must retain the above copyright |
|
9 notice, this list of conditions and the following disclaimer. |
|
10 |
|
11 2. Redistributions in binary form must reproduce the above copyright |
|
12 notice, this list of conditions and the following disclaimer in the |
|
13 documentation and/or other materials provided with the distribution. |
|
14 |
|
15 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
16 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
17 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
18 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
|
19 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
|
20 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
|
21 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|
22 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
|
23 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|
24 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
25 POSSIBILITY OF SUCH DAMAGE. |
|
26 --> |
|
27 |
|
28 <xs:schema version="1.0" |
|
29 targetNamespace="http://davutils.org/cfg/dav" |
|
30 xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
31 xmlns:t="http://davutils.org/cfg/dav" |
|
32 elementFormDefault="qualified" |
|
33 > |
|
34 |
|
35 <xs:complexType name="networkProxy"> |
|
36 <xs:all> |
|
37 <xs:element name="url" type="xs:anyURI"/> |
|
38 <xs:element name="user" minOccurs="0" type="xs:string"/> |
|
39 <xs:element name="password" minOccurs="0" type="xs:base64Binary" /> |
|
40 <xs:element name="no" minOccurs="0" type="xs:string"/> |
|
41 </xs:all> |
|
42 </xs:complexType> |
|
43 |
|
44 <xs:simpleType name="encryptionTypeEnum" > |
|
45 <xs:restriction base="xs:string"> |
|
46 <xs:enumeration value="aes128" /> |
|
47 <xs:enumeration value="aes256" /> |
|
48 </xs:restriction> |
|
49 </xs:simpleType> |
|
50 |
|
51 <xs:complexType name="encryptionKey"> |
|
52 <xs:all> |
|
53 <xs:element name="name" type="xs:string" /> |
|
54 <xs:element name="file" type="xs:string" /> |
|
55 <xs:element name="type" minOccurs="0" type="t:encryptionTypeEnum" /> |
|
56 </xs:all> |
|
57 </xs:complexType> |
|
58 |
|
59 <xs:simpleType name="sslVersionEnum" > |
|
60 <xs:restriction base="xs:string"> |
|
61 <xs:enumeration value="TLSv1" /> |
|
62 <xs:enumeration value="TLSv1.0" /> |
|
63 <xs:enumeration value="TLSv1.1" /> |
|
64 <xs:enumeration value="TLSv1.2" /> |
|
65 <xs:enumeration value="SSLv2" /> |
|
66 <xs:enumeration value="SSLv3" /> |
|
67 </xs:restriction> |
|
68 </xs:simpleType> |
|
69 |
|
70 <xs:simpleType name="authmethodEnum"> |
|
71 <xs:restriction base="xs:string"> |
|
72 <xs:enumeration value="basic" /> |
|
73 <xs:enumeration value="digest" /> |
|
74 <xs:enumeration value="negotiate" /> |
|
75 <xs:enumeration value="ntlm" /> |
|
76 <xs:enumeration value="any" /> |
|
77 <xs:enumeration value="none" /> |
|
78 </xs:restriction> |
|
79 </xs:simpleType> |
|
80 |
|
81 <xs:complexType name="repositoryEntry"> |
|
82 <xs:all> |
|
83 <xs:element name="name" type="xs:string"/> |
|
84 <xs:element name="url" type="xs:anyURI"/> |
|
85 <xs:element name="user" minOccurs="0" type="xs:string"/> |
|
86 <xs:element name="password" minOccurs="0" type="xs:base64Binary" /> |
|
87 <xs:element name="default-key" minOccurs="0" type="xs:string" /> |
|
88 <xs:element name="full-encryption" default="false" |
|
89 minOccurs="0" type="xs:boolean" /> |
|
90 <xs:element name="content-encryption" default="false" |
|
91 minOccurs="0" type="xs:boolean" /> |
|
92 <xs:element name="decrypt-content" default="true" |
|
93 minOccurs="0" type="xs:boolean" /> |
|
94 <xs:element name="decrypt-name" default="false" |
|
95 minOccurs="0" type="xs:boolean" /> |
|
96 <xs:element name="cert" minOccurs="0" type="xs:string"/> |
|
97 <xs:element name="verification" default="true" |
|
98 minOccurs="0" type="xs:boolean" /> |
|
99 <xs:element name="ssl-version" |
|
100 minOccurs="0" type="t:sslVersionEnum"/> |
|
101 <xs:element name="authmethods" minOccurs="0"> |
|
102 <xs:simpleType> |
|
103 <xs:list itemType="t:authmethodEnum"/> |
|
104 </xs:simpleType> |
|
105 </xs:element> |
|
106 </xs:all> |
|
107 </xs:complexType> |
|
108 |
|
109 <xs:element name="configuration"> |
|
110 <xs:complexType> |
|
111 <xs:sequence minOccurs="0" maxOccurs="unbounded"> |
|
112 <xs:element name="key" |
|
113 minOccurs="0" type="t:encryptionKey"> |
|
114 </xs:element> |
|
115 <xs:element name="http-proxy" |
|
116 minOccurs="0" type="t:networkProxy" /> |
|
117 <xs:element name="https-proxy" |
|
118 minOccurs="0" type="t:networkProxy" /> |
|
119 <xs:element name="repository" |
|
120 minOccurs="0" type="t:repositoryEntry"> |
|
121 </xs:element> |
|
122 </xs:sequence> |
|
123 </xs:complexType> |
|
124 </xs:element> |
|
125 |
|
126 </xs:schema> |