<?xml version="1.0" encoding="UTF-8"?> <!--W3C Schema for VOTable = Virtual Observatory Tabular Format .Version 1.0 : 15-Apr-2002 .Version 1.09: 23-Jan-2004 Version 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 does not contain FIELD .Version 1.1 : 10-Jun-2004 remove the complexContent --> <xs:schema elementFormDefault="qualified" targetNamespace="http://www.ivoa.net/xml/VOTable/v1.1" xmlns="http://www.ivoa.net/xml/VOTable/v1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- Here we define some interesting new datatypes: - anyTEXT may have embedded XHTML (conforming HTML) - astroYear is an epoch in Besselian or Julian year, e.g. J2000 - arrayDEF specifies an array size e.g. 12x23x* - dataType defines the acceptable datatypes - ucdType defines the acceptable UCDs (UCD1+) - precType defines the acceptable precisions - yesno defines just the 2 alternatives --> <xs:sequence> <xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/> </xs:sequence> </xs:complexType> <xs:pattern value="[JB]?[0-9]+([.][0-9]*)?"/> </xs:restriction> </xs:simpleType> <xs:pattern value="[A-Za-z0-9_.;\-]*"/> <!-- UCD1 use also / + % --> </xs:restriction> </xs:simpleType> <xs:pattern value="([0-9]+x)*[0-9]*[*]?(s\W)?"/> </xs:restriction> </xs:simpleType> <xs:enumeration value="gzip"/> <xs:enumeration value="base64"/> <xs:enumeration value="dynamic"/> <xs:enumeration value="none"/> </xs:restriction> </xs:simpleType> <xs:enumeration value="boolean"/> <xs:enumeration value="bit"/> <xs:enumeration value="unsignedByte"/> <xs:enumeration value="short"/> <xs:enumeration value="int"/> <xs:enumeration value="long"/> <xs:enumeration value="char"/> <xs:enumeration value="unicodeChar"/> <xs:enumeration value="float"/> <xs:enumeration value="double"/> <xs:enumeration value="floatComplex"/> <xs:enumeration value="doubleComplex"/> </xs:restriction> </xs:simpleType> <xs:pattern value="[EF]?[1-9][0-9]*"/> </xs:restriction> </xs:simpleType> <xs:enumeration value="yes"/> <xs:enumeration value="no"/> </xs:restriction> </xs:simpleType> <!-- VOTable is the root element --> <xs:complexType> <xs:sequence> <!-- Deprecated --> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> <xs:simpleType> <xs:enumeration value="1.1"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <!-- RESOURCES can contain DESCRIPTION, (INFO|PARAM|COSYS), LINK, TABLEs --> <xs:complexType> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> <!-- Suggested Doug Tody, to include new RESOURCE types --> <xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/> </xs:sequence> <xs:simpleType> <xs:enumeration value="results"/> <xs:enumeration value="meta"/> </xs:restriction> </xs:simpleType> </xs:attribute> <!-- Suggested Doug Tody, to include new RESOURCE attributes --> <xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType> </xs:element> <xs:annotation> <xs:documentation>Deprecated in Version 1.1</xs:documentation> </xs:annotation> <xs:complexType> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> </xs:element> <!-- INFO is a name-value pair --> <xs:complexType> <xs:simpleContent> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <!-- A PARAM is similar to a FIELD, but it also has a "value" attribute --> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <!-- A TABLE is a sequence of FIELD/PARAMs and LINKS and DESCRIPTION, possibly followed by a DATA section --> <xs:complexType> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:complexType> </xs:element> <!-- FIELD is the definition of what is in a column of the table --> <xs:complexType> <xs:sequence> <!-- minOccurs="0" maxOccurs="unbounded" --> <!-- maxOccurs="2" --> </xs:sequence> <!-- type is not in the Version 1.1, but is kept for backward compatibility purposes --> <xs:simpleType> <xs:enumeration value="hidden"/> <xs:enumeration value="no_query"/> <xs:enumeration value="trigger"/> <xs:enumeration value="location"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <!-- GROUP groups columns; may include descriptions, fields/params/groups --> <xs:complexType> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:complexType> </xs:element> <!-- FIELDref and PARAMref are references to FIELD or PARAM defined in the parent TABLE or RESOURCE --> <xs:complexType> <!-- utype and maybe ucd could well be added there, will be if necessary --> </xs:complexType> </xs:element> <xs:complexType> <!-- utype and maybe ucd could well be added there, will be if necessary --> </xs:complexType> </xs:element> <!-- VALUES expresses the values that can be taken by the data in a column or by a parameter --> <xs:complexType> <xs:sequence> </xs:sequence> <xs:simpleType> <xs:enumeration value="legal"/> <xs:enumeration value="actual"/> </xs:restriction> </xs:simpleType> </xs:attribute> <!-- xs:attribute name="invalid" type="yesno" default="no"/ --> </xs:complexType> </xs:element> <xs:complexType> </xs:complexType> </xs:element> <xs:complexType> </xs:complexType> </xs:element> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <!-- The LINK is a URL (href) or some other kind of reference (gref) --> <xs:complexType mixed="true"> <xs:simpleType> <xs:enumeration value="query"/> <xs:enumeration value="hints"/> <xs:enumeration value="doc"/> <xs:enumeration value="location"/> </xs:restriction> </xs:simpleType> </xs:attribute> <!-- Deprecated in V1.1 --> </xs:complexType> </xs:element> <!-- DATA is the actual table data, in one of three formats --> <xs:complexType> <xs:choice> </xs:choice> </xs:complexType> </xs:element> <!-- Pure XML data --> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType> <xs:simpleContent> <!-- xs:attribute name="ref" type="xs:IDREF"/ --> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <!-- FITS file, perhaps with specification of which extension to seek to --> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <!-- BINARY data format --> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> <!-- STREAM can be local or remote, encoded or not --> <xs:complexType> <xs:simpleContent> <xs:simpleType> <xs:enumeration value="locator"/> <xs:enumeration value="other"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:enumeration value="onLoad"/> <xs:enumeration value="onRequest"/> <xs:enumeration value="other"/> <xs:enumeration value="none"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <!-- Expresses the coordinate system we are using --> <xs:complexType> <xs:simpleContent> <xs:simpleType> <xs:enumeration value="eq_FK4"/> <xs:enumeration value="eq_FK5"/> <xs:enumeration value="ICRS"/> <xs:enumeration value="ecl_FK4"/> <xs:enumeration value="ecl_FK5"/> <xs:enumeration value="galactic"/> <xs:enumeration value="supergalactic"/> <xs:enumeration value="xy"/> <xs:enumeration value="barycentric"/> <xs:enumeration value="geo_app"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema> |
This XML schema documentation has been generated with DocFlex/XML RE 1.8.0 using DocFlex/XML XSDDoc 2.2.0 template set. DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML. DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future). A commercial license for "DocFlex/XML XSDDoc" will allow you:
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required! But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own! Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us! To buy a license, please follow this link: http://www.filigris.com/shop/ |