summaryrefslogtreecommitdiffstats
path: root/schemas/grouppatterns.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/grouppatterns.xsd')
-rw-r--r--schemas/grouppatterns.xsd21
1 files changed, 13 insertions, 8 deletions
diff --git a/schemas/grouppatterns.xsd b/schemas/grouppatterns.xsd
index 5e2abed3f..36880d0a5 100644
--- a/schemas/grouppatterns.xsd
+++ b/schemas/grouppatterns.xsd
@@ -8,14 +8,19 @@
</xsd:annotation>
<xsd:complexType name='PatternType'>
- <xsd:sequence>
- <xsd:element name="NamePattern" type="xsd:string" minOccurs='1'
- maxOccurs='1'/>
- <xsd:element name="NameRange" type="xsd:string" minOccurs='1'
- maxOccurs='1'/>
- <xsd:element name="Group" type="xsd:string" minOccurs='1'
- maxOccurs='1'/>
- </xsd:sequence>
+ <xsd:choice maxOccurs='1' minOccurs='1'>
+ <xsd:sequence>
+ <xsd:element name="NamePattern" type="xsd:string" minOccurs='1'
+ maxOccurs='1'/>
+ <xsd:element name="Group" type="xsd:string" minOccurs='1'
+ maxOccurs='unbounded'/>
+ </xsd:sequence>
+ <xsd:sequence>
+ <xsd:element name="NameRange" type="xsd:string"/>
+ <xsd:element name="Group" type="xsd:string" minOccurs='1'
+ maxOccurs='unbounded'/>
+ </xsd:sequence>
+ </xsd:choice>
</xsd:complexType>
<xsd:element name='GroupPatterns'>