/[volute]/trunk/projects/dm/vo-dml/xsd/ext/VOTable-1.4_extvodml.xsd
ViewVC logotype

Contents of /trunk/projects/dm/vo-dml/xsd/ext/VOTable-1.4_extvodml.xsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3962 - (show annotations)
Fri Apr 21 18:43:49 2017 UTC (4 years, 5 months ago) by gerard.lemson
File size: 22293 byte(s)
adding separated version of votable-mapping schemas.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--W3C Schema for VOTable = Virtual Observatory Tabular Format .Version 1.0 : 15-Apr-2002 .Version 1.09: 23-Jan-2004 Version
3 1.09 .Version 1.09: 30-Jan-2004 Version 1.091 .Version 1.09: 22-Mar-2004 Version 1.092 .Version 1.094: 02-Jun-2004 GROUP
4 does not contain FIELD .Version 1.1 : 10-Jun-2004 remove the complexContent .Version 1.11: GL: 23-May-2006 remove most root
5 elements, use name= type= iso ref= structure .Version 1.11: GL: 29-Aug-2006 review and added comments (prefixed by GL) before
6 sending to Francois Ochsenbein .Version 1.12: FO: Preliminary Version 1.2 .Version 1.18: FO: Tested (jax) version 1.2 .Version
7 1.19: FO: Completed INFO attributes .Version 1.20: FO: Added xtype; content-role is less restrictive (May2009) .Version 1.20a:
8 FO: PR-20090710 Cosmetics. .Version 1.20b: FO: INFO does not accept sub-elements (2009-09-29) .Version 1.20c: FO: elementFormDefault="qualified"
9 to stay compatible with 1.1 .Version 1.3: MT: Added BINARY2 element .Version 1.3: MT: Further relaxed LINK content-role type
10 to token -->
11 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
12 xmlns="http://www.ivoa.net/xml/VOTable/v1.4_vodml" targetNamespace="http://www.ivoa.net/xml/VOTable/v1.4_vodml"
13 xmlns:vodml="http://www.ivoa.net/xml/VODML_Mapping/v0.x"
14 >
15
16 <xs:import namespace="http://www.ivoa.net/xml/VODML_Mapping/v0.x"
17 schemaLocation="VODML-mapping.xsd"/>
18
19 <xs:annotation>
20 <xs:documentation>
21 VOTable is meant to serialize tabular documents in the
22 context of Virtual Observatory applications. This schema
23 corresponds to the VOTable document available from
24 http://www.ivoa.net/Documents/latest/VOT.html
25 </xs:documentation>
26 </xs:annotation>
27 <!-- Here we define some interesting new datatypes: - anyTEXT may have embedded XHTML (conforming HTML) - astroYear is an
28 epoch in Besselian or Julian year, e.g. J2000 - arrayDEF specifies an array size e.g. 12x23x* - dataType defines the acceptable
29 datatypes - ucdType defines the acceptable UCDs (UCD1+) - precType defines the acceptable precisions - yesno defines just
30 the 2 alternatives -->
31 <xs:complexType name="anyTEXT" mixed="true">
32 <xs:sequence>
33 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip" />
34 </xs:sequence>
35 </xs:complexType>
36 <xs:simpleType name="astroYear">
37 <xs:restriction base="xs:token">
38 <xs:pattern value="[JB]?[0-9]+([.][0-9]*)?" />
39 </xs:restriction>
40 </xs:simpleType>
41 <xs:simpleType name="ucdType">
42 <xs:restriction base="xs:token">
43 <xs:annotation>
44 <xs:documentation>
45 Accept UCD1+
46 Accept also old UCD1 (but not / + %) including SIAP convention (with :)
47 </xs:documentation>
48 </xs:annotation>
49 <xs:pattern value="[A-Za-z0-9_.:;\-]*" />
50 <!-- UCD1 use also / + % -->
51 </xs:restriction>
52 </xs:simpleType>
53 <xs:simpleType name="arrayDEF">
54 <xs:restriction base="xs:token">
55 <xs:pattern value="([0-9]+x)*[0-9]*[*]?(s\W)?" />
56 </xs:restriction>
57 </xs:simpleType>
58 <xs:simpleType name="encodingType">
59 <xs:restriction base="xs:NMTOKEN">
60 <xs:enumeration value="gzip" />
61 <xs:enumeration value="base64" />
62 <xs:enumeration value="dynamic" />
63 <xs:enumeration value="none" />
64 </xs:restriction>
65 </xs:simpleType>
66 <xs:simpleType name="dataType">
67 <xs:restriction base="xs:NMTOKEN">
68 <xs:enumeration value="boolean" />
69 <xs:enumeration value="bit" />
70 <xs:enumeration value="unsignedByte" />
71 <xs:enumeration value="short" />
72 <xs:enumeration value="int" />
73 <xs:enumeration value="long" />
74 <xs:enumeration value="char" />
75 <xs:enumeration value="unicodeChar" />
76 <xs:enumeration value="float" />
77 <xs:enumeration value="double" />
78 <xs:enumeration value="floatComplex" />
79 <xs:enumeration value="doubleComplex" />
80 </xs:restriction>
81 </xs:simpleType>
82 <xs:simpleType name="precType">
83 <xs:restriction base="xs:token">
84 <xs:pattern value="[EF]?[1-9][0-9]*" />
85 </xs:restriction>
86 </xs:simpleType>
87 <xs:simpleType name="yesno">
88 <xs:restriction base="xs:NMTOKEN">
89 <xs:enumeration value="yes" />
90 <xs:enumeration value="no" />
91 </xs:restriction>
92 </xs:simpleType>
93 <xs:complexType name="Min">
94 <xs:attribute name="value" type="xs:string" use="required" />
95 <xs:attribute name="inclusive" type="yesno" default="yes" />
96 </xs:complexType>
97 <xs:complexType name="Max">
98 <xs:attribute name="value" type="xs:string" use="required" />
99 <xs:attribute name="inclusive" type="yesno" default="yes" />
100 </xs:complexType>
101 <xs:complexType name="Option">
102 <xs:sequence>
103 <xs:element name="OPTION" type="Option" minOccurs="0" maxOccurs="unbounded" />
104 </xs:sequence>
105 <xs:attribute name="name" type="xs:token" />
106 <xs:attribute name="value" type="xs:string" use="required" />
107 </xs:complexType>
108 <!-- VALUES expresses the values that can be taken by the data in a column or by a parameter -->
109 <xs:complexType name="Values">
110 <xs:sequence>
111 <xs:element name="MIN" type="Min" minOccurs="0" />
112 <xs:element name="MAX" type="Max" minOccurs="0" />
113 <xs:element name="OPTION" type="Option" minOccurs="0" maxOccurs="unbounded" />
114 </xs:sequence>
115 <xs:attribute name="ID" type="xs:ID" />
116 <xs:attribute name="type" default="legal">
117 <xs:simpleType>
118 <xs:restriction base="xs:NMTOKEN">
119 <xs:enumeration value="legal" />
120 <xs:enumeration value="actual" />
121 </xs:restriction>
122 </xs:simpleType>
123 </xs:attribute>
124 <xs:attribute name="null" type="xs:token" />
125 <xs:attribute name="ref" type="xs:IDREF" />
126 <!-- xs:attribute name="invalid" type="yesno" default="no"/ -->
127 </xs:complexType>
128 <!-- The LINK is a URL (href) or some other kind of reference (gref) -->
129 <xs:complexType name="Link">
130 <xs:annotation>
131 <xs:documentation>
132 content-role was previsouly restricted as: <![CDATA[
133 <xs:attribute name="content-role">
134 <xs:simpleType>
135 <xs:restriction base="xs:NMTOKEN">
136 <xs:enumeration value="query"/>
137 <xs:enumeration value="hints"/>
138 <xs:enumeration value="doc"/>
139 <xs:enumeration value="location"/>
140 </xs:restriction>
141 </xs:simpleType>
142 </xs:attribute>]]>;
143 is now a token.
144 </xs:documentation>
145 </xs:annotation>
146 <xs:attribute name="ID" type="xs:ID" />
147 <xs:attribute name="content-role" type="xs:token" />
148 <xs:attribute name="content-type" type="xs:token" />
149 <xs:attribute name="title" type="xs:string" />
150 <xs:attribute name="value" type="xs:string" />
151 <xs:attribute name="href" type="xs:anyURI" />
152 <xs:attribute name="gref" type="xs:token" />
153 <!-- Deprecated in V1.1 -->
154 <xs:attribute name="action" type="xs:anyURI" />
155 </xs:complexType>
156 <!-- INFO is defined in Version 1.2 as a PARAM of String type <xs:complexType name="Info"> <xs:complexContent> <xs:restriction
157 base="Param"> <xs:attribute name="unit" fixed=""/> <xs:attribute name="datatype" fixed="char"/> <xs:attribute name="arraysize"
158 fixed="*"/> </xs:restriction> </xs:complexContent> </xs:complexType> -or- as a full definition: <xs:complexType name="Info">
159 <xs:sequence> <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/> <xs:element name="VALUES" type="Values" minOccurs="0"/>
160 <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="name" type="xs:token"
161 use="required"/> <xs:attribute name="value" type="xs:string" use="required"/> <xs:attribute name="ID" type="xs:ID"/> <xs:attribute
162 name="unit" type="xs:token"/> <xs:attribute name="xtype" type="xs:token"/> <xs:attribute name="ref" type="xs:IDREF"/> <xs:attribute
163 name="ucd" type="ucdType"/> <xs:attribute name="utype" type="xs:string"/> </xs:complexType> -->
164 <!-- No sub-element is accepted in INFO for backward compatibility -->
165 <xs:complexType name="Info">
166 <xs:simpleContent>
167 <xs:extension base="xs:string">
168 <xs:attribute name="ID" type="xs:ID" />
169 <xs:attribute name="name" type="xs:token" use="required" />
170 <xs:attribute name="value" type="xs:string" use="required" />
171 <xs:attribute name="unit" type="xs:token" />
172 <xs:attribute name="xtype" type="xs:token" />
173 <xs:attribute name="ref" type="xs:IDREF" />
174 <xs:attribute name="ucd" type="ucdType" />
175 <xs:attribute name="utype" type="xs:string" />
176 </xs:extension>
177 </xs:simpleContent>
178 </xs:complexType>
179 <!-- Expresses the coordinate system we are using -->
180 <!-- Deprecated V1.2 -->
181 <xs:complexType name="CoordinateSystem">
182 <xs:annotation>
183 <xs:documentation>
184 Deprecated in Version 1.2
185 </xs:documentation>
186 </xs:annotation>
187 <xs:simpleContent>
188 <xs:extension base="xs:string">
189 <xs:attribute name="ID" type="xs:ID" use="required" />
190 <xs:attribute name="equinox" type="astroYear" />
191 <xs:attribute name="epoch" type="astroYear" />
192 <xs:attribute name="system" default="eq_FK5">
193 <xs:simpleType>
194 <xs:restriction base="xs:NMTOKEN">
195 <xs:enumeration value="eq_FK4" />
196 <xs:enumeration value="eq_FK5" />
197 <xs:enumeration value="ICRS" />
198 <xs:enumeration value="ecl_FK4" />
199 <xs:enumeration value="ecl_FK5" />
200 <xs:enumeration value="galactic" />
201 <xs:enumeration value="supergalactic" />
202 <xs:enumeration value="xy" />
203 <xs:enumeration value="barycentric" />
204 <xs:enumeration value="geo_app" />
205 </xs:restriction>
206 </xs:simpleType>
207 </xs:attribute>
208 </xs:extension>
209 </xs:simpleContent>
210 </xs:complexType>
211 <xs:complexType name="Definitions">
212 <xs:annotation>
213 <xs:documentation>
214 Deprecated in Version 1.1
215 </xs:documentation>
216 </xs:annotation>
217 <xs:choice minOccurs="0" maxOccurs="unbounded">
218 <xs:element name="COOSYS" type="CoordinateSystem" />
219 <!-- Deprecated in V1.2 -->
220 <xs:element name="PARAM" type="Param" />
221 </xs:choice>
222 </xs:complexType>
223 <!-- FIELD is the definition of what is in a column of the table -->
224 <xs:complexType name="Field">
225 <xs:sequence>
226 <!-- minOccurs="0" maxOccurs="unbounded" -->
227 <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0" />
228 <xs:element name="VALUES" type="Values" minOccurs="0" />
229 <!-- maxOccurs="2" -->
230 <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded" />
231 </xs:sequence>
232 <xs:attribute name="ID" type="xs:ID" />
233 <xs:attribute name="unit" type="xs:token" />
234 <xs:attribute name="datatype" type="dataType" use="required" />
235 <xs:attribute name="precision" type="precType" />
236 <xs:attribute name="width" type="xs:positiveInteger" />
237 <xs:attribute name="xtype" type="xs:token" />
238 <xs:attribute name="ref" type="xs:IDREF" />
239 <xs:attribute name="name" type="xs:token" use="required" />
240 <xs:attribute name="ucd" type="ucdType" />
241 <xs:attribute name="utype" type="xs:string" />
242 <xs:attribute name="arraysize" type="xs:string" />
243 <!-- GL: is the next deprecated element remaining (is not in PARAM, but will in new model be inherited) -->
244 <xs:attribute name="type">
245 <!-- type is not in the Version 1.1, but is kept for backward compatibility purposes -->
246 <xs:simpleType>
247 <xs:restriction base="xs:NMTOKEN">
248 <xs:enumeration value="hidden" />
249 <xs:enumeration value="no_query" />
250 <xs:enumeration value="trigger" />
251 <xs:enumeration value="location" />
252 </xs:restriction>
253 </xs:simpleType>
254 </xs:attribute>
255 </xs:complexType>
256 <!-- A PARAM is similar to a FIELD, but it also has a "value" attribute -->
257 <!-- GL: implemented here as a subtype as suggested we do in Kyoto. -->
258 <xs:complexType name="Param">
259 <xs:complexContent>
260 <xs:extension base="Field">
261 <xs:attribute name="value" type="xs:string" use="required" />
262 </xs:extension>
263 </xs:complexContent>
264 </xs:complexType>
265 <!-- GROUP groups columns; may include descriptions, fields/params/groups -->
266 <xs:complexType name="Group">
267 <xs:sequence>
268 <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0" />
269 <!-- GL I guess I can understand the next choice element as one may (?) really want to group fields and params and groups
270 in a particular order. -->
271 <xs:choice minOccurs="0" maxOccurs="unbounded">
272 <xs:element name="FIELDref" type="FieldRef" />
273 <xs:element name="PARAMref" type="ParamRef" />
274 <xs:element name="PARAM" type="Param" />
275 <xs:element name="GROUP" type="Group" />
276 <!-- GL a GroupRef could remove recursion -->
277 </xs:choice>
278 </xs:sequence>
279 <xs:attribute name="ID" type="xs:ID" />
280 <xs:attribute name="name" type="xs:token" />
281 <xs:attribute name="ref" type="xs:IDREF" />
282 <xs:attribute name="ucd" type="ucdType" />
283 <xs:attribute name="utype" type="xs:string" />
284 </xs:complexType>
285 <!-- FIELDref and PARAMref are references to FIELD or PARAM defined in the parent TABLE or RESOURCE -->
286 <!-- GL This can not be enforced in XML Schema, so why not IDREF in <Group> ? In particular if the UCD and utype attributes
287 will NOT be added -->
288 <xs:complexType name="FieldRef">
289 <xs:attribute name="ref" type="xs:IDREF" use="required" />
290 <xs:attribute name="ucd" type="ucdType" />
291 <xs:attribute name="utype" type="xs:string" />
292 </xs:complexType>
293 <xs:complexType name="ParamRef">
294 <xs:attribute name="ref" type="xs:IDREF" use="required" />
295 <xs:attribute name="ucd" type="ucdType" />
296 <xs:attribute name="utype" type="xs:string" />
297 </xs:complexType>
298 <!-- DATA is the actual table data, in one of three formats -->
299 <!-- GL in Kyoto we discussed the option of having the specific Data items be subtypes of Data: -->
300 <!-- <xs:complexType name="Data" abstract="true"/> <xs:complexType name="TableData"> <xs:complexContent> <xs:extension base="Data">
301 ... etc </xs:extension> </xs:complexContent> </xs:complexType> -->
302 <xs:complexType name="Data">
303 <xs:annotation>
304 <xs:documentation>
305 Added in Version 1.2: INFO for diagnostics
306 </xs:documentation>
307 </xs:annotation>
308 <xs:sequence>
309 <xs:choice>
310 <xs:element name="TABLEDATA" type="TableData" />
311 <xs:element name="BINARY" type="Binary" />
312 <xs:element name="BINARY2" type="Binary2" />
313 <xs:element name="FITS" type="FITS" />
314 </xs:choice>
315 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
316 </xs:sequence>
317 </xs:complexType>
318 <!-- Pure XML data -->
319 <xs:complexType name="TableData">
320 <xs:sequence>
321 <xs:element name="TR" type="Tr" minOccurs="0" maxOccurs="unbounded" />
322 </xs:sequence>
323 </xs:complexType>
324 <xs:complexType name="Td">
325 <xs:simpleContent>
326 <xs:extension base="xs:string">
327 <!-- xs:attribute name="ref" type="xs:IDREF"/ -->
328 <xs:annotation>
329 <xs:documentation>
330 The 'encoding' attribute is added here to avoid
331 problems of code generators which do not properly
332 interpret the TR/TD structures.
333 'encoding' was chosen because it appears in
334 appendix A.5
335 </xs:documentation>
336 </xs:annotation>
337 <xs:attribute name="encoding" type="encodingType" />
338 </xs:extension>
339 </xs:simpleContent>
340 </xs:complexType>
341 <xs:complexType name="Tr">
342 <xs:annotation>
343 <xs:documentation>
344 The ID attribute is added here to the TR tag to avoid
345 problems of code generators which do not properly
346 interpret the TR/TD structures
347 </xs:documentation>
348 </xs:annotation>
349 <xs:sequence>
350 <xs:element name="TD" type="Td" maxOccurs="unbounded" />
351 </xs:sequence>
352 <xs:attribute name="ID" type="xs:ID" />
353 </xs:complexType>
354 <!-- FITS file, perhaps with specification of which extension to seek to -->
355 <xs:complexType name="FITS">
356 <xs:sequence>
357 <xs:element name="STREAM" type="Stream" />
358 </xs:sequence>
359 <xs:attribute name="extnum" type="xs:positiveInteger" />
360 </xs:complexType>
361 <!-- BINARY data format -->
362 <xs:complexType name="Binary">
363 <xs:sequence>
364 <xs:element name="STREAM" type="Stream" />
365 </xs:sequence>
366 </xs:complexType>
367 <!-- BINARY2 data format -->
368 <xs:complexType name="Binary2">
369 <xs:sequence>
370 <xs:element name="STREAM" type="Stream" />
371 </xs:sequence>
372 </xs:complexType>
373 <!-- STREAM can be local or remote, encoded or not -->
374 <xs:complexType name="Stream">
375 <xs:simpleContent>
376 <xs:extension base="xs:string">
377 <xs:attribute name="type" default="locator">
378 <xs:simpleType>
379 <xs:restriction base="xs:NMTOKEN">
380 <xs:enumeration value="locator" />
381 <xs:enumeration value="other" />
382 </xs:restriction>
383 </xs:simpleType>
384 </xs:attribute>
385 <xs:attribute name="href" type="xs:anyURI" />
386 <xs:attribute name="actuate" default="onRequest">
387 <xs:simpleType>
388 <xs:restriction base="xs:NMTOKEN">
389 <xs:enumeration value="onLoad" />
390 <xs:enumeration value="onRequest" />
391 <xs:enumeration value="other" />
392 <xs:enumeration value="none" />
393 </xs:restriction>
394 </xs:simpleType>
395 </xs:attribute>
396 <xs:attribute name="encoding" type="encodingType" default="none" />
397 <xs:attribute name="expires" type="xs:dateTime" />
398 <xs:attribute name="rights" type="xs:token" />
399 </xs:extension>
400 </xs:simpleContent>
401 </xs:complexType>
402 <!-- A TABLE is a sequence of FIELD/PARAMs and LINKS and DESCRIPTION, possibly followed by a DATA section -->
403 <xs:complexType name="Table">
404 <xs:annotation>
405 <xs:documentation>
406 Added in Version 1.2: INFO for diagnostics
407 </xs:documentation>
408 </xs:annotation>
409 <xs:sequence>
410 <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0" />
411 <!-- GL: why a choice iso for example -->
412 <!-- <xs:element name="PARAM" type="Param" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="FIELD" type="Field"
413 minOccurs="0" maxOccurs="unbounded"/> <xs:element name="GROUP" type="Group" minOccurs="0" maxOccurs="unbounded"/> -->
414 <!-- This could also enforce groups to be defined after the fields and params to which they must have a reference, which
415 is somewhat more logical -->
416 <!-- Added Version 1.2: -->
417 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
418 <!-- An empty table without any FIELD/PARAM should not be acceptable -->
419 <xs:choice minOccurs="1" maxOccurs="unbounded">
420 <xs:element name="FIELD" type="Field" />
421 <xs:element name="PARAM" type="Param" />
422 <xs:element name="GROUP" type="Group" />
423 </xs:choice>
424 <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded" />
425 <!-- This would allow several DATA parts in a table (future extension?) <xs:sequence minOccurs="0" maxOccurs="unbounded">
426 <xs:element name="DATA" type="Data"/> <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> -->
427 <xs:element name="DATA" type="Data" minOccurs="0" />
428 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
429 </xs:sequence>
430 <xs:attribute name="ID" type="xs:ID" />
431 <xs:attribute name="name" type="xs:token" />
432 <xs:attribute name="ref" type="xs:IDREF" />
433 <xs:attribute name="ucd" type="ucdType" />
434 <xs:attribute name="utype" type="xs:string" />
435 <xs:attribute name="nrows" type="xs:nonNegativeInteger" />
436 </xs:complexType>
437 <!-- RESOURCES can contain DESCRIPTION, (INFO|PARAM|COSYS), LINK, TABLEs -->
438 <xs:complexType name="Resource">
439 <xs:annotation>
440 <xs:documentation>
441 Added in Version 1.2: INFO for diagnostics in several places
442 </xs:documentation>
443 </xs:annotation>
444 <xs:sequence>
445 <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0" />
446 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
447 <xs:choice minOccurs="0" maxOccurs="unbounded">
448 <xs:element name="COOSYS" type="CoordinateSystem" />
449 <!-- Deprecated in V1.2 -->
450 <xs:element name="GROUP" type="Group" />
451 <xs:element name="PARAM" type="Param" />
452 </xs:choice>
453 <xs:sequence minOccurs="0" maxOccurs="unbounded">
454 <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded" />
455 <xs:choice>
456 <xs:element name="TABLE" type="Table" />
457 <xs:element name="RESOURCE" type="Resource" />
458 </xs:choice>
459 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
460 </xs:sequence>
461 <!-- Suggested Doug Tody, to include new RESOURCE types -->
462 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
463 </xs:sequence>
464 <xs:attribute name="name" type="xs:token" />
465 <xs:attribute name="ID" type="xs:ID" />
466 <xs:attribute name="utype" type="xs:string" />
467 <xs:attribute name="type" default="results">
468 <xs:simpleType>
469 <xs:restriction base="xs:NMTOKEN">
470 <xs:enumeration value="results" />
471 <xs:enumeration value="meta" />
472 </xs:restriction>
473 </xs:simpleType>
474 </xs:attribute>
475 <!-- Suggested Doug Tody, to include new RESOURCE attributes -->
476 <xs:anyAttribute namespace="##other" processContents="lax" />
477 </xs:complexType>
478
479
480 <!-- VOTable is the root element -->
481 <xs:element name="VOTABLE">
482 <xs:complexType>
483 <xs:sequence>
484 <xs:element name="VODML" type="vodml:VODML" minOccurs="0" />
485 <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0" />
486 <xs:element name="DEFINITIONS" type="Definitions" minOccurs="0" />
487 <!-- Deprecated -->
488 <xs:choice minOccurs="0" maxOccurs="unbounded">
489 <xs:element name="COOSYS" type="CoordinateSystem" />
490 <!-- Deprecated in V1.2 -->
491 <xs:element name="GROUP" type="Group" />
492 <xs:element name="PARAM" type="Param" />
493 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
494 </xs:choice>
495 <xs:element name="RESOURCE" type="Resource" minOccurs="1" maxOccurs="unbounded" />
496 <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded" />
497 </xs:sequence>
498 <xs:attribute name="ID" type="xs:ID" />
499 <xs:attribute name="version">
500 <xs:simpleType>
501 <xs:restriction base="xs:NMTOKEN">
502 <xs:enumeration value="1.3" />
503 </xs:restriction>
504 </xs:simpleType>
505 </xs:attribute>
506 </xs:complexType>
507 </xs:element>
508
509 </xs:schema>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26