adds tag config to sync.xsd

Sun, 24 Jun 2018 11:22:02 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 24 Jun 2018 11:22:02 +0200
changeset 427
0af8e6b6dfe0
parent 426
9cec06cfeade
child 428
b50ade8e7197

adds tag config to sync.xsd

docs/schema/sync.xsd file | annotate | diff | comparison | revisions
--- a/docs/schema/sync.xsd	Sun Jun 24 11:07:34 2018 +0200
+++ b/docs/schema/sync.xsd	Sun Jun 24 11:22:02 2018 +0200
@@ -38,9 +38,46 @@
                         minOccurs="0" maxOccurs="unbounded" />
             <xs:element name="exclude" type="xs:string"
                         minOccurs="0" maxOccurs="unbounded" />
+            <xs:element name="tags" type="xs:string"
+                        minOccurs="0" maxOccurs="unbounded" />
         </xs:sequence>
     </xs:complexType>
     
+    <xs:simpleType name="tagStoreEnum" >
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="csv" />
+            <xs:enumeration value="text" />
+            <xs:enumeration value="xml" />
+            <xs:enumeration value="macos" />
+        </xs:restriction>
+    </xs:simpleType>
+    
+    <xs:simpleType name="tagOnConflictEnum" >
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="no_conflict" />
+            <xs:enumeration value="keep_local" />
+            <xs:enumeration value="keep_remote" />
+            <xs:enumeration value="merge" />
+        </xs:restriction>
+    </xs:simpleType>
+    
+    <xs:complexType name="tagConfig">
+        <xs:all>
+            <xs:element name="local-store">
+                <xs:complexType>
+                    <xs:simpleContent>
+                        <xs:extension base="t:tagStoreEnum">
+                            <xs:attribute name="format" type="xs:string" />
+                        </xs:extension>
+                    </xs:simpleContent>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="detect-changes" minOccurs="0" type="xs:boolean" default="false" />
+            <xs:element name="xattr-name" minOccurs="0" type="xs:string" />
+            <xs:element name="on-conflict" minOccurs="0" type="tagOnConflictEnum" />
+        </xs:all>
+    </xs:complexType>
+    
     <xs:complexType name="direntry">
         <xs:all>
             <xs:element name="name" type="xs:string"/>
@@ -60,6 +97,7 @@
                         minOccurs="0" type="xs:boolean" />
             <xs:element name="lock-timeout" default="0"
                         minOccurs="0" type="xs:integer"/>
+            <xs:element name="tagconfig" minOccurs="0" type="t:tagConfig" />
         </xs:all>
     </xs:complexType>
     

mercurial