summaryrefslogtreecommitdiffstats
path: root/schemas/rules.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/rules.xsd')
-rw-r--r--schemas/rules.xsd44
1 files changed, 43 insertions, 1 deletions
diff --git a/schemas/rules.xsd b/schemas/rules.xsd
index a544f7a8f..207eb65e5 100644
--- a/schemas/rules.xsd
+++ b/schemas/rules.xsd
@@ -8,10 +8,52 @@
</xsd:documentation>
</xsd:annotation>
- <xsd:include schemaLocation="pkgtype.xsd"/>
<xsd:include schemaLocation="servicetype.xsd"/>
<xsd:include schemaLocation="types.xsd"/>
+<xsd:complexType name='PackageType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Ignore'>
+ <xsd:complexType>
+ <xsd:attribute type='xsd:string' name='name'/>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name='Instance'>
+ <xsd:complexType>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Ignore'>
+ <xsd:complexType>
+ <xsd:attribute type='xsd:string' name='name'/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:attribute name='arch' type='xsd:string'/>
+ <xsd:attribute name='epoch' type='xsd:string'/>
+ <xsd:attribute name='version' type='xsd:string'/>
+ <xsd:attribute name='release' type='xsd:string'/>
+ <xsd:attribute name='simplefile' type='xsd:string'/>
+ <xsd:attribute name='pkg_verify' type='xsd:string'/>
+ <xsd:attribute name='verify_flags' type='xsd:string'/>
+ <xsd:attribute name='installed_action' type='xsd:string'/>
+ <xsd:attribute name='version_fail_action' type='xsd:string'/>
+ <xsd:attribute name='verify_fail_action' type='xsd:string'/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:attribute type='xsd:string' name='version' use='required'/>
+ <xsd:attribute type='xsd:string' name='file'/>
+ <xsd:attribute type='xsd:string' name='verify'/>
+ <xsd:attribute type='xsd:string' name='simplefile'/>
+ <xsd:attribute type='xsd:string' name='reloc'/>
+ <xsd:attribute type='xsd:string' name='multiarch'/>
+ <xsd:attribute type='xsd:string' name='srcs'/>
+ <xsd:attribute type='xsd:string' name='type' use='required'/>
+ <xsd:attribute type='xsd:string' name='bname'/>
+ <xsd:attribute name='pkg_checks' type='xsd:string'/>
+ <xsd:attribute name='verify_flags' type='xsd:string'/>
+ </xsd:complexType>
+
<xsd:complexType name='DirectoryType'>
<xsd:attribute type='xsd:string' name='name' use='required'/>
<xsd:attribute type='xsd:string' name='perms'/>