diff options
Diffstat (limited to 'schemas/report-configuration.xsd')
-rw-r--r-- | schemas/report-configuration.xsd | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/schemas/report-configuration.xsd b/schemas/report-configuration.xsd index e69de29bb..ef4d0686e 100644 --- a/schemas/report-configuration.xsd +++ b/schemas/report-configuration.xsd @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <xsd:annotation> + <xsd:documentation> + statistical report configuration schema for bcfg2 + Joey Hagedorn, Argonne National Laboratory + </xsd:documentation> + </xsd:annotation> + + <xs:element name="Reports"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" name="Report"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="1" maxOccurs="unbounded" name="Delivery"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="1" maxOccurs="unbounded" name="Destination"> + <xs:complexType> + <xs:attribute name="address" type="xs:string" use="required" /> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="mechanism" type="xs:string" use="required" /> + <xs:attribute name="type" type="xs:string" use="optional" /> + </xs:complexType> + </xs:element> + <xs:element minOccurs="1" maxOccurs="unbounded" name="Machine"> + <xs:complexType> + <xs:attribute name="name" type="xs:string" use="required" /> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute name="good" type="xs:string" use="optional" /> + <xs:attribute name="modified" type="xs:string" use="optional" /> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema> |