Blame view

config/xsd/info/paramInfo.xsd 4.45 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="param" type="paramType"></xs:element>
    
    <xs:complexType name="paramType">
    	<xs:sequence>
    		<xs:element name="info" type="paramInfoType" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"></xs:any>
    	</xs:sequence>
    	<xs:anyAttribute processContents="skip"></xs:anyAttribute>
    </xs:complexType>

	<xs:element name="TableDef" abstract="true" />

	<xs:attributeGroup name="TableGroup">
		<xs:attribute name="dim" type="xs:int" />
 		<xs:attribute name="name" type="xs:string" />
		<xs:attribute name="units" type="xs:string" />
f2db3c16   Benjamin Renard   Support variable ...
20
		<xs:attribute name="variable" type="xs:boolean" />
e7ea756d   Benjamin Renard   Implements tables...
21
        </xs:attributeGroup>
fbe3c2bb   Benjamin Renard   First commit
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

	<xs:element name="boundsTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="boundsName" type="xs:string" use="required" />
		</xs:complexType>
	</xs:element>
	
	<xs:element name="minMaxTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="minName" type="xs:string" use="required" />
			<xs:attribute name="maxName" type="xs:string" use="required" />
		</xs:complexType>
	</xs:element>
	
	<xs:element name="centerTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="centerName" type="xs:string" use="required" />
			<xs:attribute name="size" type="xs:double" use="required" />
		</xs:complexType>
	</xs:element>
	
f5c53312   Benjamin Renard   Get calib info in...
46
47
48
49
50
51
52
53
	<xs:element name="centerWidthTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="centerName" type="xs:string" use="required" />
			<xs:attribute name="widthName" type="xs:string" use="required" />
		</xs:complexType>
	</xs:element>
	
65c661e8   Benjamin Renard   Table definition ...
54
55
56
57
58
59
60
	<xs:element name="centerAutoTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="centerName" type="xs:string" use="required" />
			<xs:attribute name="log" type="xs:boolean" use="required" />
		</xs:complexType>
	</xs:element>
e7ea756d   Benjamin Renard   Implements tables...
61
62
63
64
65
66
67
68

	<xs:element name="linkTable" substitutionGroup="TableDef">
		<xs:complexType>
			<xs:attributeGroup ref="TableGroup" />
			<xs:attribute name="originParamId" type="xs:string" use="required" />
			<xs:attribute name="originTableDim" type="xs:int" />
		</xs:complexType>
	</xs:element>
65c661e8   Benjamin Renard   Table definition ...
69
	
677db865   Benjamin Renard   Draw intervals on...
70
71

   <xs:attributeGroup name="StatusGroup">
fbe3c2bb   Benjamin Renard   First commit
72
73
74
      <xs:attribute name="minVal" type="xs:double" />
      <xs:attribute name="maxVal" type="xs:double" />
      <xs:attribute name="name"   type="xs:string" />
677db865   Benjamin Renard   Draw intervals on...
75
      <xs:attribute name="color"   type="xs:string" />
fbe3c2bb   Benjamin Renard   First commit
76
77
78
    </xs:attributeGroup>

    <xs:complexType name="paramInfoType">
d17bbdea   Benjamin Renard   Update XSD files ...
79
80
81
82
83
84
85
86
    	<xs:all>
    		<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:element name="short_name" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="components" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="units" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:element name="coordinates_system" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:element name="tensor_order" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:element name="si_conversion" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
fbe3c2bb   Benjamin Renard   First commit
87
88
89
    		<xs:element name="table" minOccurs="0" maxOccurs="1">
				<xs:complexType>
					<xs:sequence>
0677ffc1   Benjamin Renard   Fix schema for pa...
90
						<xs:element ref="TableDef" minOccurs="0"
fbe3c2bb   Benjamin Renard   First commit
91
92
93
94
							maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
d17bbdea   Benjamin Renard   Update XSD files ...
95
96
    		<xs:element name="fill_value" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    		<xs:element name="ucd" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
fbe3c2bb   Benjamin Renard   First commit
97
98
99
    		<xs:element name="status_def" minOccurs="0" maxOccurs="1">
				<xs:complexType>
					<xs:sequence>
1059922c   Benjamin Renard   Fix xsd for statu...
100
						<xs:element name="status" minOccurs="0"
fbe3c2bb   Benjamin Renard   First commit
101
102
103
104
105
106
107
108
							maxOccurs="unbounded" >
							<xs:complexType>
								<xs:attributeGroup ref="StatusGroup" />
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
d17bbdea   Benjamin Renard   Update XSD files ...
109
110
111
    		<xs:element name="dataset_id" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		<xs:element name="instrument_id" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
    	</xs:all>
fbe3c2bb   Benjamin Renard   First commit
112
    </xs:complexType>
c2fa3b5d   Benjamin Renard   Rework of legend ...
113
</xs:schema>