summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/OD/Agent.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/boot/OD/Agent.xsd')
-rw-r--r--src/main/resources/boot/OD/Agent.xsd26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/main/resources/boot/OD/Agent.xsd b/src/main/resources/boot/OD/Agent.xsd
index 5b9f3f4..1f8f9ed 100644
--- a/src/main/resources/boot/OD/Agent.xsd
+++ b/src/main/resources/boot/OD/Agent.xsd
@@ -1,20 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Agent">
- <xs:annotation>
- <xs:documentation>Complete Structure for new agent</xs:documentation>
- </xs:annotation>
<xs:complexType>
<xs:sequence>
- <xs:element name="Role" type="xs:string" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>The initial roles that this Agent will hold</xs:documentation>
- </xs:annotation>
- </xs:element>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded" />
+ <xs:element name="Property" type="property" minOccurs="0"
+ maxOccurs="unbounded" />
</xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="password" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="password" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
+ <xs:complexType name="property">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
</xs:schema>