1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <schema xmlns="http://www.w3.org/2001/XMLSchema" |
---|
3 | targetNamespace="http://www.smallangles.net/cansas1d" |
---|
4 | xmlns:tns="http://www.smallangles.net/cansas1d" |
---|
5 | elementFormDefault="qualified"> |
---|
6 | |
---|
7 | <complexType name="floatUnitType"> |
---|
8 | <simpleContent> |
---|
9 | <extension base="float"> |
---|
10 | <attribute name="unit" type="string" use="required" /> |
---|
11 | </extension> |
---|
12 | </simpleContent> |
---|
13 | </complexType> |
---|
14 | |
---|
15 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
16 | |
---|
17 | <group name="positionGroup"> |
---|
18 | <sequence> |
---|
19 | <element name="x" type="tns:floatUnitType" minOccurs="0" |
---|
20 | maxOccurs="1" /> |
---|
21 | <element name="y" type="tns:floatUnitType" minOccurs="0" |
---|
22 | maxOccurs="1" /> |
---|
23 | <element name="z" type="tns:floatUnitType" minOccurs="0" |
---|
24 | maxOccurs="1" /> |
---|
25 | </sequence> |
---|
26 | </group> |
---|
27 | |
---|
28 | <complexType name="positionType"> |
---|
29 | <group ref="tns:positionGroup" /> |
---|
30 | <attribute name="name" type="string" use="optional" /> |
---|
31 | </complexType> |
---|
32 | |
---|
33 | <group name="orientationGroup"> |
---|
34 | <sequence> |
---|
35 | <element name="roll" type="tns:floatUnitType" minOccurs="0" |
---|
36 | maxOccurs="1" /> |
---|
37 | <element name="pitch" type="tns:floatUnitType" |
---|
38 | minOccurs="0" maxOccurs="1" /> |
---|
39 | <element name="yaw" type="tns:floatUnitType" minOccurs="0" |
---|
40 | maxOccurs="1" /> |
---|
41 | </sequence> |
---|
42 | </group> |
---|
43 | |
---|
44 | <complexType name="orientationType"> |
---|
45 | <group ref="tns:orientationGroup" /> |
---|
46 | <attribute name="name" type="string" use="optional" /> |
---|
47 | </complexType> |
---|
48 | |
---|
49 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
50 | |
---|
51 | <complexType name="IdataType"> |
---|
52 | <sequence> |
---|
53 | <element name="Q" minOccurs="1" maxOccurs="1" |
---|
54 | type="tns:floatUnitType" /> |
---|
55 | <element name="I" minOccurs="1" maxOccurs="1" |
---|
56 | type="tns:floatUnitType" /> |
---|
57 | <element name="Qdev" minOccurs="0" maxOccurs="1" |
---|
58 | type="tns:floatUnitType" default="0" /> |
---|
59 | <element name="Idev" minOccurs="0" maxOccurs="1" |
---|
60 | type="tns:floatUnitType" default="0" /> |
---|
61 | <element name="Qfwhm" minOccurs="0" maxOccurs="1" |
---|
62 | type="tns:floatUnitType" default="0" /> |
---|
63 | <element name="Qmean" minOccurs="0" maxOccurs="1" |
---|
64 | type="tns:floatUnitType" default="0" /> |
---|
65 | <element name="Shadowfactor" minOccurs="0" maxOccurs="1" |
---|
66 | type="float" default="1.0" /> |
---|
67 | </sequence> |
---|
68 | </complexType> |
---|
69 | |
---|
70 | <complexType name="SASdataType"> |
---|
71 | <sequence> |
---|
72 | <element name="Idata" minOccurs="1" maxOccurs="unbounded" |
---|
73 | type="tns:IdataType" /> |
---|
74 | </sequence> |
---|
75 | <attribute name="name" type="string" use="optional" /> |
---|
76 | </complexType> |
---|
77 | |
---|
78 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
79 | |
---|
80 | <complexType name="SASsampleType"> |
---|
81 | <sequence> |
---|
82 | <element name="ID" minOccurs="1" maxOccurs="1" |
---|
83 | type="string" /> |
---|
84 | <element name="thickness" minOccurs="0" maxOccurs="1" |
---|
85 | type="tns:floatUnitType" /> |
---|
86 | <element name="transmission" minOccurs="0" maxOccurs="1" |
---|
87 | type="float" /> |
---|
88 | <element name="temperature" minOccurs="0" maxOccurs="1" |
---|
89 | type="tns:floatUnitType" /> |
---|
90 | <element name="position" minOccurs="0" maxOccurs="1" |
---|
91 | type="tns:positionType" /> |
---|
92 | <element name="orientation" minOccurs="0" maxOccurs="1" |
---|
93 | type="tns:orientationType" /> |
---|
94 | <element name="details" minOccurs="0" maxOccurs="unbounded" /> |
---|
95 | </sequence> |
---|
96 | <attribute name="name" type="string" use="optional" /> |
---|
97 | </complexType> |
---|
98 | |
---|
99 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
100 | |
---|
101 | <complexType name="SASprocessType"> |
---|
102 | <sequence> |
---|
103 | <element name="name" minOccurs="0" maxOccurs="1" |
---|
104 | type="string" /> |
---|
105 | <element name="date" minOccurs="0" maxOccurs="1" |
---|
106 | type="string" /> |
---|
107 | <element name="description" minOccurs="0" maxOccurs="1" /> |
---|
108 | <element name="term" minOccurs="0" maxOccurs="unbounded"> |
---|
109 | <complexType> |
---|
110 | <simpleContent> |
---|
111 | <extension base="string"> |
---|
112 | <attribute name="name" type="string" |
---|
113 | use="required" /> |
---|
114 | <attribute name="unit" type="string" |
---|
115 | use="optional" /> |
---|
116 | </extension> |
---|
117 | </simpleContent> |
---|
118 | </complexType> |
---|
119 | </element> |
---|
120 | <element name="SASprocessnote" minOccurs="1" |
---|
121 | maxOccurs="unbounded" /> |
---|
122 | </sequence> |
---|
123 | <attribute name="name" type="string" use="optional" /> |
---|
124 | </complexType> |
---|
125 | |
---|
126 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
127 | |
---|
128 | <complexType name="SASsourceType"> |
---|
129 | <sequence> |
---|
130 | <element name="radiation" minOccurs="1" maxOccurs="1" |
---|
131 | type="string" /> |
---|
132 | <element name="beam_size" minOccurs="0" maxOccurs="1" |
---|
133 | type="tns:positionType" /> |
---|
134 | <element name="beam_shape" minOccurs="0" maxOccurs="1" |
---|
135 | type="string" /> |
---|
136 | <element name="wavelength" minOccurs="0" maxOccurs="1" |
---|
137 | type="tns:floatUnitType" /> |
---|
138 | <element name="wavelength_min" minOccurs="0" maxOccurs="1" |
---|
139 | type="tns:floatUnitType" /> |
---|
140 | <element name="wavelength_max" minOccurs="0" maxOccurs="1" |
---|
141 | type="tns:floatUnitType" /> |
---|
142 | <element name="wavelength_spread" minOccurs="0" |
---|
143 | maxOccurs="1" type="tns:floatUnitType" /> |
---|
144 | </sequence> |
---|
145 | <attribute name="name" type="string" use="optional" /> |
---|
146 | </complexType> |
---|
147 | |
---|
148 | <complexType name="SAScollimationType"> |
---|
149 | <sequence> |
---|
150 | <element name="distance" minOccurs="0" maxOccurs="1" |
---|
151 | type="tns:floatUnitType" /> |
---|
152 | <element name="aperture" minOccurs="0" |
---|
153 | maxOccurs="unbounded"> |
---|
154 | <complexType> |
---|
155 | <sequence> |
---|
156 | <element name="size" minOccurs="0" maxOccurs="1" |
---|
157 | type="tns:positionType" /> |
---|
158 | <element name="distance" minOccurs="0" |
---|
159 | maxOccurs="1" type="tns:floatUnitType" /> |
---|
160 | </sequence> |
---|
161 | <attribute name="name" type="string" use="optional" /> |
---|
162 | <attribute name="type" type="string" use="optional" /> |
---|
163 | </complexType> |
---|
164 | </element> |
---|
165 | </sequence> |
---|
166 | <attribute name="name" type="string" use="optional" /> |
---|
167 | </complexType> |
---|
168 | |
---|
169 | <complexType name="SASdetectorType"> |
---|
170 | <sequence> |
---|
171 | <element name="name" minOccurs="1" maxOccurs="1" |
---|
172 | type="string" /> |
---|
173 | <element name="SDD" minOccurs="0" maxOccurs="1" |
---|
174 | type="tns:floatUnitType" /> |
---|
175 | <element name="offset" minOccurs="0" maxOccurs="1" |
---|
176 | type="tns:positionType" /> |
---|
177 | <element name="orientation" minOccurs="0" maxOccurs="1" |
---|
178 | type="tns:orientationType" /> |
---|
179 | <element name="beam_center" minOccurs="0" maxOccurs="1" |
---|
180 | type="tns:positionType" /> |
---|
181 | <element name="pixel_size" minOccurs="0" maxOccurs="1" |
---|
182 | type="tns:positionType" /> |
---|
183 | <element name="slit_length" minOccurs="0" maxOccurs="1" |
---|
184 | type="tns:floatUnitType" /> |
---|
185 | </sequence> |
---|
186 | <attribute name="name" type="string" use="optional" /> |
---|
187 | </complexType> |
---|
188 | |
---|
189 | <complexType name="SASinstrumentType"> |
---|
190 | <sequence> |
---|
191 | <element name="name" type="string" minOccurs="1" |
---|
192 | maxOccurs="1" /> |
---|
193 | <element name="SASsource" type="tns:SASsourceType" /> |
---|
194 | <element name="SAScollimation" |
---|
195 | type="tns:SAScollimationType" /> |
---|
196 | <element name="SASdetector" type="tns:SASdetectorType" |
---|
197 | minOccurs="1" maxOccurs="unbounded" /> |
---|
198 | </sequence> |
---|
199 | <attribute name="name" type="string" use="optional" /> |
---|
200 | </complexType> |
---|
201 | |
---|
202 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
203 | |
---|
204 | <complexType name="SASentryType"> |
---|
205 | <sequence> |
---|
206 | <element name="Title" minOccurs="1" maxOccurs="1" |
---|
207 | type="string" /> |
---|
208 | <element name="Run" minOccurs="1" maxOccurs="unbounded" |
---|
209 | type="string" /> |
---|
210 | <element name="SASdata" type="tns:SASdataType" /> |
---|
211 | <element name="SASsample" type="tns:SASsampleType" /> |
---|
212 | <element name="SASinstrument" type="tns:SASinstrumentType" |
---|
213 | minOccurs="1" maxOccurs="1" /> |
---|
214 | <element name="SASprocess" type="tns:SASprocessType" |
---|
215 | minOccurs="0" maxOccurs="unbounded" /> |
---|
216 | <element name="SASnote" /> |
---|
217 | </sequence> |
---|
218 | <attribute name="name" type="string" use="optional" /> |
---|
219 | </complexType> |
---|
220 | |
---|
221 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
---|
222 | |
---|
223 | <complexType name="SASrootType"> |
---|
224 | <sequence> |
---|
225 | <element name="SASentry" minOccurs="1" maxOccurs="unbounded" |
---|
226 | type="tns:SASentryType"> |
---|
227 | </element> |
---|
228 | </sequence> |
---|
229 | <attribute name="version" type="string" fixed="1.0" |
---|
230 | use="required" /> |
---|
231 | </complexType> |
---|
232 | |
---|
233 | <element name="SASroot" type="tns:SASrootType" /> |
---|
234 | |
---|
235 | </schema> |
---|