docs/schema/sync.xsd

Tue, 29 Oct 2024 16:03:19 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 29 Oct 2024 16:03:19 +0100
changeset 843
5afacd2a8cde
parent 699
1091cb3c6dad
permissions
-rw-r--r--

fix windows build

266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 <?xml version="1.0"?>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 <!--
428
b50ade8e7197 adds documentation for tag config
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 427
diff changeset
3 Copyright 2018 Olaf Wintermann. All rights reserved.
266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 Redistribution and use in source and binary forms, with or without
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 modification, are permitted provided that the following conditions are met:
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 1. Redistributions of source code must retain the above copyright
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
9 notice, this list of conditions and the following disclaimer.
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 2. Redistributions in binary form must reproduce the above copyright
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 notice, this list of conditions and the following disclaimer in the
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 documentation and/or other materials provided with the distribution.
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
18 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
19 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
21 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25 POSSIBILITY OF SUCH DAMAGE.
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26 -->
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
28 <xs:schema version="1.0"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
29 targetNamespace="http://davutils.org/cfg/dav-sync"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
30 xmlns:xs="http://www.w3.org/2001/XMLSchema"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
31 xmlns:t="http://davutils.org/cfg/dav-sync"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
32 elementFormDefault="qualified"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
33 >
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
34
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
35 <xs:complexType name="filenameFilter">
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
36 <xs:sequence>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
37 <xs:element name="include" type="xs:string"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
38 minOccurs="0" maxOccurs="unbounded" />
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
39 <xs:element name="exclude" type="xs:string"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
40 minOccurs="0" maxOccurs="unbounded" />
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
41 <xs:element name="tags" type="xs:string"
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
42 minOccurs="0" maxOccurs="unbounded" />
266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
43 </xs:sequence>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
44 </xs:complexType>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
45
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
46 <xs:simpleType name="pushStrategyEnum" >
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
47 <xs:restriction base="xs:string">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
48 <xs:enumeration value="metadata" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
49 <xs:enumeration value="hash" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
50 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
51 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
52
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
53 <xs:simpleType name="metadataEnum" >
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
54 <xs:restriction base="xs:string">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
55 <xs:enumeration value="mtime" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
56 <xs:enumeration value="mode" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
57 <xs:enumeration value="xattr" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
58 <xs:enumeration value="all" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
59 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
60 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
61
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
62 <xs:simpleType name="tagStoreFormatEnum" >
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
63 <xs:restriction base="xs:string">
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
64 <xs:enumeration value="csv" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
65 <xs:enumeration value="text" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
66 <xs:enumeration value="xml" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
67 <xs:enumeration value="macos" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
68 </xs:restriction>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
69 </xs:simpleType>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
70
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
71 <xs:simpleType name="tagStoreEnum" >
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
72 <xs:restriction base="xs:string">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
73 <xs:enumeration value="xattr" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
74 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
75 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
76
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
77 <xs:simpleType name="tagOnConflictEnum" >
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
78 <xs:restriction base="xs:string">
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
79 <xs:enumeration value="no_conflict" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
80 <xs:enumeration value="keep_local" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
81 <xs:enumeration value="keep_remote" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
82 <xs:enumeration value="merge" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
83 </xs:restriction>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
84 </xs:simpleType>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
85
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
86 <xs:simpleType name="symlinkEnum" >
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
87 <xs:restriction base="xs:string">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
88 <xs:enumeration value="ignore" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
89 <xs:enumeration value="follow" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
90 <xs:enumeration value="sync" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
91 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
92 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
93
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
94 <xs:complexType name="tagConfig">
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
95 <xs:all>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
96 <xs:element name="local-store">
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
97 <xs:complexType>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
98 <xs:simpleContent>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
99 <xs:extension base="t:tagStoreEnum">
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
100 <xs:attribute name="format" type="t:tagStoreFormatEnum" />
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
101 </xs:extension>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
102 </xs:simpleContent>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
103 </xs:complexType>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
104 </xs:element>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
105 <xs:element name="detect-changes" minOccurs="0" type="xs:boolean" default="false" />
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
106 <xs:element name="xattr-name" minOccurs="0" type="xs:string" />
428
b50ade8e7197 adds documentation for tag config
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 427
diff changeset
107 <xs:element name="on-conflict" minOccurs="0" type="t:tagOnConflictEnum" />
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
108 </xs:all>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
109 </xs:complexType>
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
110
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
111 <xs:simpleType name="fileSize">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
112 <xs:restriction base="xs:normalizedString">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
113 <xs:pattern value="[1-9][0-9]*(g|k|m|G|K|M)"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
114 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
115 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
116
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
117 <xs:complexType name="splitConfig">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
118 <xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
119 <xs:element name="split" type="t:split"
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
120 minOccurs="0" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
121 </xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
122 </xs:complexType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
123
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
124 <xs:complexType name="split">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
125 <xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
126 <xs:element name="blocksize" type="t:fileSize" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
127 <xs:element name="filter" minOccurs="0" type="t:filenameFilter" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
128 <xs:element name="minsize" minOccurs="0" type="t:fileSize" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
129 </xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
130 </xs:complexType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
131
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
132 <xs:simpleType name="versioningTypeEnum" >
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
133 <xs:restriction base="xs:string">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
134 <xs:enumeration value="simple" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
135 <xs:enumeration value="deltav" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
136 </xs:restriction>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
137 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
138
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
139 <xs:complexType name="versioning">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
140 <xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
141 <xs:element minOccurs="0" name="history" type="xs:string"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
142 </xs:all>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
143 <xs:attribute name="always" type="xs:boolean" default="false" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
144 <xs:attribute name="type" type="t:versioningTypeEnum" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
145 </xs:complexType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
146
266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
147 <xs:complexType name="direntry">
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
148 <xs:all>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
149 <xs:element name="name" type="xs:string"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
150 <xs:element name="database" type="xs:string"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
151 <xs:element name="path" type="xs:string"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
152 <xs:element name="repository" type="xs:string"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
153 <xs:element name="collection" minOccurs="0" type="xs:string"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
154 <xs:element name="trash" minOccurs="0" type="xs:string"/>
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
155 <xs:element name="hashing" default="false" minOccurs="0" type="xs:boolean" />
266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
156 <xs:element name="filter" minOccurs="0" type="t:filenameFilter" />
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
157 <xs:element name="max-retry" default="0"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
158 minOccurs="0" type="xs:unsignedInt"/>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
159 <xs:element name="backup-on-pull" default="false"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
160 minOccurs="0" type="xs:boolean" />
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
161 <xs:element name="lock-pull" default="false"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
162 minOccurs="0" type="xs:boolean" />
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
163 <xs:element name="lock-push" default="false"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
164 minOccurs="0" type="xs:boolean" />
317
7eea57f6d847 adds namespace config element
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 266
diff changeset
165 <xs:element name="lock-timeout" default="0"
7eea57f6d847 adds namespace config element
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 266
diff changeset
166 minOccurs="0" type="xs:integer"/>
427
0af8e6b6dfe0 adds tag config to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 317
diff changeset
167 <xs:element name="tagconfig" minOccurs="0" type="t:tagConfig" />
699
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
168 <xs:element name="splitconfig" minOccurs="0" type="t:splitConfig" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
169 <xs:element name="versioning" minOccurs="0" type="t:versioning" />
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
170 <xs:element name="allow-cmd" minOccurs="0" type="xs:string"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
171 <xs:element name="push-strategy"
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
172 minOccurs="0" type="t:pushStrategyEnum"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
173 <xs:element name="metadata" minOccurs="0">
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
174 <xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
175 <xs:list itemType="t:metadataEnum"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
176 </xs:simpleType>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
177 </xs:element>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
178 <xs:element name="symlink-intern"
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
179 minOccurs="0" type="t:symlinkEnum"/>
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
180 <xs:element name="symlink-extern"
1091cb3c6dad add new elements to sync.xsd
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 428
diff changeset
181 minOccurs="0" type="t:symlinkEnum"/>
266
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
182 </xs:all>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
183 </xs:complexType>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
184
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
185 <xs:element name="configuration">
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
186 <xs:complexType>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
187 <xs:sequence>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
188 <xs:element name="directory" type="t:direntry"
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
189 minOccurs="0" maxOccurs="unbounded" />
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
190 </xs:sequence>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
191 </xs:complexType>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
192 </xs:element>
8c44c5919691 more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
193 </xs:schema>

mercurial