summaryrefslogtreecommitdiffstats
path: root/schemas/pkglist.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/pkglist.xsd')
-rw-r--r--schemas/pkglist.xsd16
1 files changed, 5 insertions, 11 deletions
diff --git a/schemas/pkglist.xsd b/schemas/pkglist.xsd
index 231942a5b..bd73e8095 100644
--- a/schemas/pkglist.xsd
+++ b/schemas/pkglist.xsd
@@ -8,39 +8,33 @@
</xsd:documentation>
</xsd:annotation>
+ <xsd:include schemaLocation="types.xsd"/>
+
<xsd:complexType name='PackageType'>
<xsd:attribute type='xsd:string' name='name'/>
<xsd:attribute type='xsd:string' name='version'/>
<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:complexType>
<xsd:complexType name='ContainerType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Package' type='PackageType'/>
<xsd:element name='Group' type='ContainerType'/>
- <xsd:element name='Host' type='ContainerType'/>
+ <xsd:element name='Client' type='ContainerType'/>
</xsd:choice>
<xsd:attribute name='name' type='xsd:string'/>
</xsd:complexType>
- <xsd:simpleType name='PackageTypeType'>
- <xsd:restriction base='xsd:string'>
- <xsd:enumeration value='deb' />
- <xsd:enumeration value='rpm' />
- <xsd:enumeration value='encap' />
- <xsd:enumeration value='sysv' />
- </xsd:restriction>
- </xsd:simpleType>
-
<xsd:element name='PackageList'>
<xsd:complexType>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Group' type='ContainerType'/>
</xsd:choice>
<xsd:attribute name='priority' type='xsd:integer' use='required'/>
- <xsd:attribute name='type' use='optional' type='PackageTypeType' />
+ <xsd:attribute name='type' use='optional' type='PackageTypeEnum' />
<xsd:attribute name='uri' type='xsd:string' use='optional'/>
</xsd:complexType>
</xsd:element>