summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata.xsd')
-rw-r--r--metadata.xsd7
1 files changed, 6 insertions, 1 deletions
diff --git a/metadata.xsd b/metadata.xsd
index 6fad88d..1d4100c 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -43,7 +43,12 @@
</xs:unique>
</xs:element>
<xs:element name='natural-name' type='xs:token'/>
- <xs:element name='slots' type='slotsType'/>
+ <xs:element name='slots' type='slotsType'>
+ <xs:unique name='slotUniquityConstraint'>
+ <xs:selector xpath='slot'/>
+ <xs:field xpath='@name'/>
+ </xs:unique>
+ </xs:element>
<xs:element name='upstream' type='upstreamType'/>
<xs:element name='use' type='useType'>
<xs:unique name='flagUniquityConstraint'>