diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2012-06-22 10:11:17 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2012-06-22 10:11:17 +0200 |
| commit | 0baa46d5ee4f62adb58f436af4978d9468454870 (patch) | |
| tree | cb88cda1ed564b8bb445fd4180728fd0db25192f /src/main/resources | |
| parent | e0b01f55e2be314ee60df092aa75f34c5f4cb8f2 (diff) | |
Modules and entitycreation support Aggregations, collection properties
and class identifiers
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/boot/OD/Module.xsd | 133 |
1 files changed, 94 insertions, 39 deletions
diff --git a/src/main/resources/boot/OD/Module.xsd b/src/main/resources/boot/OD/Module.xsd index 6cd84e0..10a0155 100644 --- a/src/main/resources/boot/OD/Module.xsd +++ b/src/main/resources/boot/OD/Module.xsd @@ -1,28 +1,34 @@ <?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XMLSpy v2007 rel. 3 (http://www.altova.com) by Andrew Branson (CERN) -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+<!-- edited with XMLSpy v2007 rel. 3 (http://www.altova.com) by Andrew Branson
+ (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CristalModule">
<xs:complexType>
<xs:sequence>
<xs:element name="Info">
<xs:complexType>
<xs:sequence>
- <xs:element name="Description" type="xs:string"/>
- <xs:element name="Version" type="xs:string"/>
- <xs:element name="Dependency" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="Description" type="xs:string" />
+ <xs:element name="Version" type="xs:string" />
+ <xs:element name="Dependency" type="xs:string"
+ minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="ResourceURL" type="xs:string" minOccurs="0"/>
+ <xs:element name="ResourceURL" type="xs:string"
+ minOccurs="0" />
<xs:element name="Config" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
- <xs:documentation>Configuration parameters to add to the Cristal VM on launch. May target either client or server processes.</xs:documentation>
+ <xs:documentation>Configuration parameters to add to the Cristal
+ VM on launch. May target either client or server processes.
+ </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute ref="target"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute ref="target" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -31,16 +37,17 @@ <xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute ref="event"/>
- <xs:attribute ref="target"/>
- <xs:attribute name="lang" type="xs:string"/>
+ <xs:attribute ref="event" />
+ <xs:attribute ref="target" />
+ <xs:attribute name="lang" type="xs:string" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Imports" minOccurs="0">
<xs:annotation>
- <xs:documentation>Items to import into or verify within the Cristal server upon launch.</xs:documentation>
+ <xs:documentation>Items to import into or verify within the
+ Cristal server upon launch.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
@@ -48,14 +55,14 @@ <xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
- <xs:enumeration value="EA"/>
- <xs:enumeration value="CA"/>
- <xs:enumeration value="OD"/>
- <xs:enumeration value="SC"/>
+ <xs:enumeration value="EA" />
+ <xs:enumeration value="CA" />
+ <xs:enumeration value="OD" />
+ <xs:enumeration value="SC" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
@@ -66,11 +73,13 @@ <xs:element name="Item" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
- <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="Property" minOccurs="0"
+ maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string"
+ use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -79,41 +88,87 @@ <xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="schema" type="xs:string" use="required"/>
- <xs:attribute name="version" type="xs:string" use="required"/>
- <xs:attribute name="viewname" type="xs:string" use="required"/>
+ <xs:attribute name="schema" type="xs:string"
+ use="required" />
+ <xs:attribute name="version" type="xs:string"
+ use="required" />
+ <xs:attribute name="viewname" type="xs:string"
+ use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
- <xs:element name="Dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="Dependency" minOccurs="0"
+ maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
- <xs:element name="DependencyMember" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="DependencyMember" type="xs:string"
+ minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="isDescription" type="xs:boolean" use="optional" default="false"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="isDescription" type="xs:boolean"
+ use="optional" default="false" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Aggregation" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection with layout
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="AggregationMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Geometry">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:int" use="required" />
+ <xs:attribute name="y" type="xs:int" use="required" />
+ <xs:attribute name="width" type="xs:int"
+ use="required" />
+ <xs:attribute name="height" type="xs:int"
+ use="required" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="slotNo" type="xs:int"
+ use="required" />
+ <xs:attribute name="itemDescriptionPath"
+ type="xs:string" use="optional" />
+ <xs:attribute name="itemPath" type="xs:string"
+ use="optional" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="isDescription" type="xs:boolean"
+ use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="workflow" type="xs:string" use="optional"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="workflow" type="xs:string"
+ use="optional" />
+ <xs:attribute name="initialPath" type="xs:string"
+ use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="Agent" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
- <xs:element name="Role" type="xs:string" maxOccurs="unbounded"/>
+ <xs:element name="Role" type="xs:string" 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:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="ns" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Prefix for module components</xs:documentation>
@@ -124,18 +179,18 @@ <xs:attribute name="target">
<xs:simpleType>
<xs:restriction base="xs:string">
- <xs:enumeration value="client"/>
- <xs:enumeration value="server"/>
+ <xs:enumeration value="client" />
+ <xs:enumeration value="server" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="event">
<xs:simpleType>
<xs:restriction base="xs:string">
- <xs:enumeration value="startup"/>
- <xs:enumeration value="shutdown"/>
- <xs:enumeration value="install"/>
- <xs:enumeration value="uninstall"/>
+ <xs:enumeration value="startup" />
+ <xs:enumeration value="shutdown" />
+ <xs:enumeration value="install" />
+ <xs:enumeration value="uninstall" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
|
