summaryrefslogtreecommitdiffstats
path: root/schemas/grouppatterns.xsd
blob: 5e2abed3fc7aa9830f89e98613d606cb896795d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
  
  <xsd:annotation>
    <xsd:documentation>
      group patterns config schema for bcfg2
      Narayan Desai, Argonne National Laboratory
    </xsd:documentation>
  </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:complexType>

  <xsd:element name='GroupPatterns'>
    <xsd:complexType>
      <xsd:choice minOccurs='1' maxOccurs='unbounded'>
        <xsd:element name='GroupPattern' type='PatternType'/>
      </xsd:choice>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>