diff options
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/clients.xsd | 2 | ||||
-rw-r--r-- | schemas/pingdata.xsd | 28 |
2 files changed, 28 insertions, 2 deletions
diff --git a/schemas/clients.xsd b/schemas/clients.xsd index b79be385c..50ac4e347 100644 --- a/schemas/clients.xsd +++ b/schemas/clients.xsd @@ -22,13 +22,11 @@ </xsd:choice> <xsd:attribute type='xsd:string' name='name' use='required'/> <xsd:attribute type='xsd:string' name='profile' use='required'/> - <xsd:attribute type='xsd:string' name='pingable' use='optional'/> <xsd:attribute type='xsd:string' name='auth' use='optional'/> <xsd:attribute type='xsd:string' name='uuid'/> <xsd:attribute type='xsd:string' name='password'/> <xsd:attribute type='xsd:string' name='location'/> <xsd:attribute type='xsd:string' name='secure'/> - <xsd:attribute type='xsd:string' name='pingtime' use='optional'/> <xsd:attribute type='xsd:string' name='address'/> </xsd:complexType> 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> |