summaryrefslogtreecommitdiffstats
path: root/schemas/info.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/info.xsd')
-rw-r--r--schemas/info.xsd35
1 files changed, 35 insertions, 0 deletions
diff --git a/schemas/info.xsd b/schemas/info.xsd
new file mode 100644
index 000000000..95d786ed9
--- /dev/null
+++ b/schemas/info.xsd
@@ -0,0 +1,35 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+
+ <xsd:annotation>
+ <xsd:documentation>
+ info.xml schema for bcfg2
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:include schemaLocation="atom.xsd"/>
+
+ <xsd:complexType name='InfoType'>
+ <xsd:attribute name='owner' type='xsd:string'/>
+ <xsd:attribute name='group' type='xsd:string'/>
+ <xsd:attribute name='perms' type='xsd:string'/>
+ <xsd:attribute name='encoding' type='xsd:string'/>
+ <xsd:attribute name='paranoid' type='xsd:string'/>
+ </xsd:complexType>
+
+ <xsd:complexType name='GroupType'>
+ <xsd:choice minOccurs='1' maxOccurs='1'>
+ <xsd:element name='Info' type='InfoType'/>
+ </xsd:choice>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:attribute type='xsd:string' name='negate' />
+ </xsd:complexType>
+
+ <xsd:element name='FileInfo'>
+ <xsd:complexType>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Group' type='GroupType'/>
+ <xsd:element name='Info' type='InfoType'/>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+</xsd:schema>