summaryrefslogtreecommitdiffstats
path: root/schemas/pingdata.xsd
blob: dfb123efa33f1749cec364054a39c4810168e3ac (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>
      pingdata schema for bcfg2
      Alexander Sulfrian
    </xsd:documentation>
  </xsd:annotation>

  <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
              schemaLocation="xml.xsd"/>

  <xsd:complexType name='PingStatisticType'>
    <xsd:attribute type='xsd:string' name='name' use='required'/>
    <xsd:attribute type='xsd:string' name='pingable' use='required'/>
    <xsd:attribute type='xsd:string' name='pingtime' use='optional'/>
  </xsd:complexType>

  <xsd:complexType name='PingStatisticsType'>
    <xsd:sequence minOccurs='0' maxOccurs='unbounded'>
      <xsd:element name='Client' type='PingStatisticType'/>
    </xsd:sequence>
    <xsd:attribute name='version' type='xsd:string'/>
    <xsd:attribute ref="xml:base"/>
  </xsd:complexType>

  <xsd:element name='PingStatistics' type='PingStatisticsType'/>
</xsd:schema>