summaryrefslogtreecommitdiff
path: root/resources/boot/OD/PropertyDescription.xsd
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-10-18 17:00:33 +0200
committerabranson <andrew.branson@cern.ch>2011-10-18 17:00:33 +0200
commit684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch)
treef3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /resources/boot/OD/PropertyDescription.xsd
parent38d30cd4f69178cef983ec13262a6f02826a9a45 (diff)
Module support
Diffstat (limited to 'resources/boot/OD/PropertyDescription.xsd')
-rw-r--r--resources/boot/OD/PropertyDescription.xsd36
1 files changed, 36 insertions, 0 deletions
diff --git a/resources/boot/OD/PropertyDescription.xsd b/resources/boot/OD/PropertyDescription.xsd
new file mode 100644
index 0000000..886092a
--- /dev/null
+++ b/resources/boot/OD/PropertyDescription.xsd
@@ -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>