summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'schemas')
-rw-r--r--schemas/packages.xsd10
1 files changed, 7 insertions, 3 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd
index 1b6d465d7..342920c2b 100644
--- a/schemas/packages.xsd
+++ b/schemas/packages.xsd
@@ -20,9 +20,13 @@
<xsd:element name="Version" type="xsd:string" minOccurs='0'
maxOccurs='1'/>
<xsd:element name="Component" type="xsd:string" minOccurs='0'
- maxOccurs='unbounded'/>
- <xsd:element name="Blacklist" type="xsd:string" minOccurs='0'
- maxOccurs='unbounded'/>
+ maxOccurs='unbounded'/>
+ <xsd:choice>
+ <xsd:element name="Blacklist" type="xsd:string" minOccurs='0'
+ maxOccurs='unbounded'/>
+ <xsd:element name="Whitelist" type="xsd:string" minOccurs='0'
+ maxOccurs='unbounded'/>
+ </xsd:choice>
<xsd:element name="Arch" type="xsd:string" minOccurs='1'
maxOccurs='unbounded'/>
</xsd:sequence>