summaryrefslogtreecommitdiffstats
path: root/schemas/fileprobes.xsd
blob: 0dfb8cdd21a9feeebf25ae7e797508c04f986182 (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
29
30
31
32
33
34
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
  <xsd:annotation>
    <xsd:documentation>
      FileProbes plugin config schema for bcfg2
      Chris St. Pierre
    </xsd:documentation>
  </xsd:annotation>

  <xsd:complexType name="FileProbesGroupType">
    <xsd:choice minOccurs="1" maxOccurs="unbounded">
      <xsd:element name="FileProbe" type="FileProbeType"/>
      <xsd:element name="Group" type="FileProbesGroupType"/>
      <xsd:element name="Client" type="FileProbesGroupType"/>
    </xsd:choice>
    <xsd:attribute type="xsd:string" name="name" use="required"/>
    <xsd:attribute type="xsd:string" name="negate"/>
  </xsd:complexType>

  <xsd:complexType name="FileProbeType">
    <xsd:attribute type="xsd:string" name="name" use="required"/>
    <xsd:attribute type="xsd:string" name="encoding"/>
    <xsd:attribute type="xsd:string" name="update"/>
  </xsd:complexType>

  <xsd:element name="FileProbes">
    <xsd:complexType>
      <xsd:choice minOccurs="1" maxOccurs="unbounded">
        <xsd:element name="FileProbe" type="FileProbeType"/>
        <xsd:element name="Group" type="FileProbesGroupType"/>
        <xsd:element name="Client" type="FileProbesGroupType"/>
      </xsd:choice>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>