94 lines
4.1 KiB
XML
Executable File
94 lines
4.1 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8" ?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xs:element name="CompositeField">
|
|
<xs:complexType>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:element ref="Field" maxOccurs="unbounded"/>
|
|
<xs:element ref="CompositeField" maxOccurs="unbounded"/>
|
|
</xs:choice>
|
|
<xs:attribute name="name" use="required" />
|
|
<xs:attribute name="displayGroup" use="optional" />
|
|
<xs:attribute name="allowOverrideControl" use="optional" />
|
|
<xs:attribute name="maxOccurs" use="optional" />
|
|
<xs:attribute name="units" use="optional"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="Field">
|
|
<xs:complexType>
|
|
<xs:simpleContent>
|
|
<xs:extension base="xs:string">
|
|
<xs:attribute name="allowedType" use="optional"/>
|
|
<xs:attribute name="name" use="required" />
|
|
<xs:attribute name="type" use="required" />
|
|
<xs:attribute name="min" use="optional"/>
|
|
<xs:attribute name="max" use="optional"/>
|
|
<xs:attribute name="default" use="optional"/>
|
|
<xs:attribute name="units" use="optional"/>
|
|
<xs:attribute name="displayGroup" use="optional"/>
|
|
<xs:attribute name="ignore" use="optional"/>
|
|
<xs:attribute name="allowOverrideControl" use="optional" />
|
|
<xs:attribute name="description" use="optional" />
|
|
<xs:attribute name="enum" use="optional" />
|
|
<xs:attribute name="visible" use="optional" />
|
|
<xs:attribute name="display" use="optional"/>
|
|
<xs:attribute name="length" use="optional"/>
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="TypeDefinitions">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="Enum" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Value" minOccurs="1" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:simpleContent>
|
|
<xs:extension base="xs:string">
|
|
<xs:attribute name="display" use="required" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute name="name" use="required"/>
|
|
<xs:attribute name="initialValue" use="optional"/>
|
|
<xs:attribute name="bitset" use="optional"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="TypeDefinition" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element ref="Field" maxOccurs="unbounded"/>
|
|
<xs:element ref="CompositeField" maxOccurs="unbounded"/>
|
|
<xs:element name="AllocatedSpaceField">
|
|
<xs:complexType>
|
|
<xs:attribute name="name" use="required"/>
|
|
<xs:attribute name="max" use="optional"/>
|
|
<xs:attribute name="min" use="optional"/>
|
|
<xs:attribute name="type" use="optional"/>
|
|
<xs:attribute name="initialValue" use="optional"/>
|
|
<xs:attribute name="default" use="optional"/>
|
|
<xs:attribute name="visible" use="optional" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
<xs:attribute name="inheritsFrom" use="optional"/>
|
|
<xs:attribute name="group" use="optional"/>
|
|
<xs:attribute name="name" use="required" />
|
|
<xs:attribute name="isAbstract" use="optional"/>
|
|
<xs:attribute name="validator" use="optional"/>
|
|
<xs:attribute name="isCompressed" use="optional"/>
|
|
<xs:attribute name="align" use="optional"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
<xs:attribute name="version" use="optional"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|