diff options
Diffstat (limited to 'resources/boot/OD')
| -rwxr-xr-x | resources/boot/OD/CompositeActivityDef.xml | 186 | ||||
| -rwxr-xr-x | resources/boot/OD/ElementaryActivityDef.xml | 29 | ||||
| -rwxr-xr-x | resources/boot/OD/New.xml | 3 | ||||
| -rwxr-xr-x | resources/boot/OD/NewAgent.xml | 20 | ||||
| -rwxr-xr-x | resources/boot/OD/NewItem.xml | 73 | ||||
| -rwxr-xr-x | resources/boot/OD/NewLocalObjectDef.xml | 20 | ||||
| -rwxr-xr-x | resources/boot/OD/PredefinedStepOutcome.xml | 13 | ||||
| -rwxr-xr-x | resources/boot/OD/PropertyDescription.xml | 36 | ||||
| -rwxr-xr-x | resources/boot/OD/Schema.xml | 4 | ||||
| -rwxr-xr-x | resources/boot/OD/Script.xml | 38 |
10 files changed, 422 insertions, 0 deletions
diff --git a/resources/boot/OD/CompositeActivityDef.xml b/resources/boot/OD/CompositeActivityDef.xml new file mode 100755 index 0000000..e840734 --- /dev/null +++ b/resources/boot/OD/CompositeActivityDef.xml @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="CentrePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="CompositeActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="childrenGraphModel">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="GraphModelCastorData">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element name="ActivitySlotDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ <xs:element name="activityDef" type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="JoinDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" maxOccurs="unbounded"/>
+ <xs:element ref="InEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LoopDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ <xs:attribute name="isNext" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="NextDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="OriginPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="TerminusPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="OriginVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="TerminusVertexId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XOrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="OrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="AndSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="ClassNameOfVertexOutlineCreator" type="xs:string" use="required"/>
+ <xs:attribute name="StartVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="NextId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ <xs:element name="castorNonLayoutableChildren" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:integer" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="InEdgeId" type="xs:byte"/>
+ <xs:element name="OutEdgeId" type="xs:byte"/>
+ <xs:element name="OutlinePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/ElementaryActivityDef.xml b/resources/boot/OD/ElementaryActivityDef.xml new file mode 100755 index 0000000..ea637e4 --- /dev/null +++ b/resources/boot/OD/ElementaryActivityDef.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="ActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="optional"/>
+ <xs:attribute name="Width" type="xs:integer" use="optional"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required" fixed="false"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required" fixed="false"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/New.xml b/resources/boot/OD/New.xml new file mode 100755 index 0000000..91755c8 --- /dev/null +++ b/resources/boot/OD/New.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+</xs:schema>
diff --git a/resources/boot/OD/NewAgent.xml b/resources/boot/OD/NewAgent.xml new file mode 100755 index 0000000..773f4fc --- /dev/null +++ b/resources/boot/OD/NewAgent.xml @@ -0,0 +1,20 @@ +<?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:element name="NewAgent">
+ <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:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="password" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/NewItem.xml b/resources/boot/OD/NewItem.xml new file mode 100755 index 0000000..bcd5298 --- /dev/null +++ b/resources/boot/OD/NewItem.xml @@ -0,0 +1,73 @@ +<?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:element name="NewItem">
+ <xs:annotation>
+ <xs:documentation>Complete Structure for new item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>New Properties for the item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ </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:annotation>
+ <xs:documentation>The position and size of this member slot on the layout</xs:documentation>
+ </xs:annotation>
+ <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:element name="Dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection without layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="DependencyMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="itemPath" type="xs:string" use="required"/>
+ </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:attribute name="itemDescriptionPath" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="initialPath" type="xs:string" use="required"/>
+ <xs:attribute name="workflow" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/NewLocalObjectDef.xml b/resources/boot/OD/NewLocalObjectDef.xml new file mode 100755 index 0000000..0186872 --- /dev/null +++ b/resources/boot/OD/NewLocalObjectDef.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2006 sp1 U (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="NewLocalObjectDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ObjectName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>Please give a name for your new object.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="SubFolder" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>If you want to store your object in a subfolder, give the subpath here.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/PredefinedStepOutcome.xml b/resources/boot/OD/PredefinedStepOutcome.xml new file mode 100755 index 0000000..bc0ac52 --- /dev/null +++ b/resources/boot/OD/PredefinedStepOutcome.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="PredefinedStepOutcome">
+ <xs:annotation>
+ <xs:documentation>General holder for predefined step outcomes we can't be bothered to define a proper schema for</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="param" type="xs:string" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/PropertyDescription.xml b/resources/boot/OD/PropertyDescription.xml new file mode 100755 index 0000000..886092a --- /dev/null +++ b/resources/boot/OD/PropertyDescription.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="AllProperties">
+ <xs:annotation>
+ <xs:documentation>Defines the properties that will exist in instances of this description when initially created.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="PropertyDescription" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>The name of the new property.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsClassIdentifier" type="xs:boolean" use="required">
+ <xs:annotation>
+ <xs:documentation>Whether this property is used to identify the class of this item. Properties flagged as 'true' here are used to check type when these items are assigned to collections.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="DefaultValue" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>The initial value of the property when it is created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsMutable" type="xs:boolean" use="optional">
+ <xs:annotation>
+ <xs:documentation>Whether or not the property can have its value changed once it has been created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/Schema.xml b/resources/boot/OD/Schema.xml new file mode 100755 index 0000000..fed1949 --- /dev/null +++ b/resources/boot/OD/Schema.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+<!-- empty schema as the real one is too complicated for our validator -->
+</xs:schema>
\ No newline at end of file diff --git a/resources/boot/OD/Script.xml b/resources/boot/OD/Script.xml new file mode 100755 index 0000000..5726aca --- /dev/null +++ b/resources/boot/OD/Script.xml @@ -0,0 +1,38 @@ +<?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">
+ <xs:element name="cristalscript">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="version" type="xs:integer" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="output" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="script">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="language" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
|
