diff options
Diffstat (limited to 'schemas/pingdata.xsd')
-rw-r--r-- | schemas/pingdata.xsd | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/schemas/pingdata.xsd b/schemas/pingdata.xsd new file mode 100644 index 000000000..dfb123efa --- /dev/null +++ b/schemas/pingdata.xsd @@ -0,0 +1,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> |