diff options
| author | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
| commit | 684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch) | |
| tree | f3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /resources/boot/OD/CristalModule.xsd | |
| parent | 38d30cd4f69178cef983ec13262a6f02826a9a45 (diff) | |
Module support
Diffstat (limited to 'resources/boot/OD/CristalModule.xsd')
| -rw-r--r-- | resources/boot/OD/CristalModule.xsd | 149 |
1 files changed, 0 insertions, 149 deletions
diff --git a/resources/boot/OD/CristalModule.xsd b/resources/boot/OD/CristalModule.xsd deleted file mode 100644 index 348ab8b..0000000 --- a/resources/boot/OD/CristalModule.xsd +++ /dev/null @@ -1,149 +0,0 @@ -<?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">
- <xs:element name="CristalModule">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Info">
- <xs:annotation>
- <xs:documentation>Module Metadata</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Description" type="xs:string"/>
- <xs:element name="Version" type="xs:string"/>
- <xs:element name="Dependency" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <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:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute ref="target"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="Script" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="event"/>
- <xs:attribute ref="target"/>
- </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:annotation>
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="Activity" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="CompositeActivity" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>A composite activity outcome. </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="Schema" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Elementary activities</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="Script" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Elementary activities</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="Item" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Outcome" minOccurs="0" maxOccurs="unbounded">
- <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:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </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:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="passwordHash" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <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>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:attribute name="target">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <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="uninstall"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
-</xs:schema>
|
