1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
3
<xs:element name="PARAMETERS">
5
<xs:documentation>Main parameters node.</xs:documentation>
9
<xs:group ref="ITEMS" minOccurs="0" maxOccurs="unbounded">
11
<xs:documentation>A group that encapsulates items and item lists</xs:documentation>
14
<xs:element ref="NODE" minOccurs="0" maxOccurs="unbounded">
16
<xs:documentation>Sections used to bundle related parameters.</xs:documentation>
20
<xs:attribute name="version" type="xs:string">
22
<xs:documentation>Schema version, e.g. '1.1'. If it is missing, version 1.0 is assumed.</xs:documentation>
27
<xs:element name="NODE">
30
<xs:element ref="ITEM" minOccurs="0" maxOccurs="unbounded">
32
<xs:documentation>Actual parameters enty.</xs:documentation>
35
<xs:element ref="NODE" minOccurs="0" maxOccurs="unbounded">
37
<xs:documentation>Sections used to bundle related parameters.</xs:documentation>
41
<xs:attribute name="name" use="required">
43
<xs:documentation>Name of the section.</xs:documentation>
46
<xs:restriction base="xs:string">
47
<xs:minLength value="1"/>
51
<xs:attribute name="description" type="xs:string" default=""/>
54
<xs:element name="ITEM">
56
<xs:attribute name="name" use="required">
58
<xs:documentation>Name of the parameter.</xs:documentation>
61
<xs:restriction base="xs:string">
62
<xs:minLength value="1"/>
66
<xs:attribute name="type" use="required">
68
<xs:documentation>Type of the parameter: 'string', 'int', 'float' or 'double'.</xs:documentation>
71
<xs:restriction base="xs:string">
72
<xs:enumeration value="int"/>
73
<xs:enumeration value="float"/>
74
<xs:enumeration value="double"/>
75
<xs:enumeration value="string"/>
79
<xs:attribute name="value" type="xs:string" use="required">
81
<xs:documentation>Value that must be compatible with the type.</xs:documentation>
84
<xs:attribute name="description" type="xs:string" default="">
86
<xs:documentation>Parameter desription. It should contain unit and valid range where applicable.</xs:documentation>
89
<xs:attribute name="advanced" type="xs:boolean" default="false">
91
<xs:documentation>Flag that determines if the parameter is always shown, or in 'advanced mode' only. This attribute is only used for displaying purposes.</xs:documentation>
94
<xs:attribute name="restrictions" type="xs:string" default="">
96
<xs:documentation>Restrictions for the value field. For numeric values the lower and upper boundary is given, e.g '[min]:[max]'. For string values a comma-separated list can be given, e.g. 'one,two,three'</xs:documentation>
101
<xs:element name="ITEMLIST">
104
<xs:element name="LISTITEM" minOccurs="0" maxOccurs="unbounded">
106
<xs:documentation>Entry in the list</xs:documentation>
109
<xs:attribute name="value" type="xs:string" use="required">
111
<xs:documentation>Value that must be compatible with the type.</xs:documentation>
117
<xs:attribute name="name" use="required">
119
<xs:documentation>Name of the parameter.</xs:documentation>
122
<xs:restriction base="xs:string">
123
<xs:minLength value="1"/>
127
<xs:attribute name="type" use="required">
129
<xs:documentation>Type of the parameter: 'string'.</xs:documentation>
132
<xs:restriction base="xs:string">
133
<xs:enumeration value="string"/>
137
<xs:attribute name="description" type="xs:string" default="">
139
<xs:documentation>Parameter desription. It should contain unit and valid range where applicable.</xs:documentation>
142
<xs:attribute name="advanced" type="xs:boolean" default="false">
144
<xs:documentation>Flag that determines if the parameter is always shown, or in 'advanced mode' only. This attribute is only used for displaying purposes.</xs:documentation>
147
<xs:attribute name="restrictions" type="xs:string" default="">
149
<xs:documentation>Restrictions for the value field. For numeric values the lower and upper boundary is given, e.g '[min]:[max]'. For string values a comma-separated list can be given, e.g. 'one,two,three'</xs:documentation>
154
<xs:group name="ITEMS">
156
<xs:element ref="ITEM">
158
<xs:documentation>A single-value item</xs:documentation>
161
<xs:element ref="ITEMLIST">
163
<xs:documentation>A list of values of a certain type</xs:documentation>