Showing:

Documentation
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Imported schema VOTable-1.2.xsd
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
VOTable1.2 is meant to serialize tabular documents in the
context of Virtual Observatory applications. This schema
corresponds to the VOTable document available from
http://www.ivoa.net/Documents/latest/VOT.html
Properties
attribute form default unqualified
element form default qualified
Element VOTABLE
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Properties
content complex
Used by
Model
DESCRIPTION{0,1} , DEFINITIONS{0,1} , (COOSYS | GROUP | PARAM | INFO*) , RESOURCE+ , INFO*
Children COOSYS, DEFINITIONS, DESCRIPTION, GROUP, INFO, PARAM, RESOURCE
Instance
<VOTABLE ID="" version="" xmlns="http://www.ivoa.net/xml/VOTable/v1.2">
  <DESCRIPTION>{0,1}</DESCRIPTION>
  <DEFINITIONS>{0,1}</DEFINITIONS>
  <COOSYS epoch="" equinox="" ID="" system="eq_FK5">{1,1}</COOSYS>
  <GROUP ID="" name="" ref="" ucd="" utype="">{1,1}</GROUP>
  <PARAM arraysize="" datatype="" ID="" name="" precision="" ref="" type="" ucd="" unit="" utype="" value="" width="" xtype="">{1,1}</PARAM>
  <INFO ID="" name="" ref="" ucd="" unit="" utype="" value="" xtype="">{0,unbounded}</INFO>
  <RESOURCE ID="" name="" type="results" utype="">{1,unbounded}</RESOURCE>
  <INFO ID="" name="" ref="" ucd="" unit="" utype="" value="" xtype="">{0,unbounded}</INFO>
</VOTABLE>
Attributes
QName Type Use
ID xs:ID optional
version restriction of xs:NMTOKEN optional
Source
<xs:element name="VOTABLE">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/>
      <xs:element name="DEFINITIONS" type="Definitions" minOccurs="0"/>
      <!-- Deprecated -->
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="COOSYS" type="CoordinateSystem"/>
        <!-- Deprecated in V1.2 -->
        <xs:element name="GROUP" type="Group"/>
        <xs:element name="PARAM" type="Param"/>
        <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
      </xs:choice>
      <xs:element name="RESOURCE" type="Resource" minOccurs="1" maxOccurs="unbounded"/>
      <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="ID" type="xs:ID"/>
    <xs:attribute name="version">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="1.2"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
Complex Type anyTEXT
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Properties
mixed true
Used by
Elements Field/DESCRIPTION, Group/DESCRIPTION, Resource/DESCRIPTION, Table/DESCRIPTION, VOTABLE/DESCRIPTION
Model
ANY element from ANY namespace
Source
<xs:complexType name="anyTEXT" mixed="true">
  <xs:sequence>
    <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
  </xs:sequence>
</xs:complexType>
Simple Type astroYear
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:token
Facets
pattern [JB]?[0-9]+([.][0-9]*)?
Used by
Attributes CoordinateSystem/@epoch, CoordinateSystem/@equinox
Source
<xs:simpleType name="astroYear">
  <xs:restriction base="xs:token">
    <xs:pattern value="[JB]?[0-9]+([.][0-9]*)?"/>
  </xs:restriction>
</xs:simpleType>
Simple Type ucdType
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:token
Facets
pattern [A-Za-z0-9_.:;\-]*
Used by
Attributes Field/@ucd, FieldRef/@ucd, Group/@ucd, Info/@ucd, ParamRef/@ucd, Table/@ucd
Source
<xs:simpleType name="ucdType">
  <xs:restriction base="xs:token">
    <xs:annotation>
      <xs:documentation>Accept UCD1+ Accept also old UCD1 (but not / + %) including SIAP convention (with :)</xs:documentation>
    </xs:annotation>
    <xs:pattern value="[A-Za-z0-9_.:;\-]*"/>
    <!-- UCD1 use also / + % -->
  </xs:restriction>
</xs:simpleType>
Simple Type arrayDEF
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:token
Facets
pattern ([0-9]+x)*[0-9]*[*]?(s\W)?
Source
<xs:simpleType name="arrayDEF">
  <xs:restriction base="xs:token">
    <xs:pattern value="([0-9]+x)*[0-9]*[*]?(s\W)?"/>
  </xs:restriction>
</xs:simpleType>
Simple Type encodingType
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:NMTOKEN
Facets
enumeration gzip
enumeration base64
enumeration dynamic
enumeration none
Used by
Attributes Stream/@encoding, Td/@encoding
Source
<xs:simpleType name="encodingType">
  <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="gzip"/>
    <xs:enumeration value="base64"/>
    <xs:enumeration value="dynamic"/>
    <xs:enumeration value="none"/>
  </xs:restriction>
</xs:simpleType>
Simple Type dataType
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:NMTOKEN
Facets
enumeration boolean
enumeration bit
enumeration unsignedByte
enumeration short
enumeration int
enumeration long
enumeration char
enumeration unicodeChar
enumeration float
enumeration double
enumeration floatComplex
enumeration doubleComplex
Used by
Attribute Field/@datatype
Source
<xs:simpleType name="dataType">
  <xs:restriction base="xs:NMTOKEN">
    <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>
Simple Type precType
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:token
Facets
pattern [EF]?[1-9][0-9]*
Used by
Attribute Field/@precision
Source
<xs:simpleType name="precType">
  <xs:restriction base="xs:token">
    <xs:pattern value="[EF]?[1-9][0-9]*"/>
  </xs:restriction>
</xs:simpleType>
Simple Type yesno
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type restriction of xs:NMTOKEN
Facets
enumeration yes
enumeration no
Used by
Attributes Max/@inclusive, Min/@inclusive
Source
<xs:simpleType name="yesno">
  <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
  </xs:restriction>
</xs:simpleType>
Complex Type Min
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Values/MIN
Attributes
QName Type Default Use
inclusive yesno yes optional
value xs:string required
Source
<xs:complexType name="Min">
  <xs:attribute name="value" type="xs:string" use="required"/>
  <xs:attribute name="inclusive" type="yesno" default="yes"/>
</xs:complexType>
Complex Type Max
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Values/MAX
Attributes
QName Type Default Use
inclusive yesno yes optional
value xs:string required
Source
<xs:complexType name="Max">
  <xs:attribute name="value" type="xs:string" use="required"/>
  <xs:attribute name="inclusive" type="yesno" default="yes"/>
</xs:complexType>
Complex Type Option
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Elements Option/OPTION, Values/OPTION
Model
OPTION*
Children OPTION
Attributes
QName Type Use
name xs:token optional
value xs:string required
Source
<xs:complexType name="Option">
  <xs:sequence>
    <xs:element name="OPTION" type="Option" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="name" type="xs:token"/>
  <xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
Complex Type Values
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Field/VALUES
Model
MIN{0,1} , MAX{0,1} , OPTION*
Children MAX, MIN, OPTION
Attributes
QName Type Default Use
ID xs:ID optional
null xs:token optional
ref xs:IDREF optional
type restriction of xs:NMTOKEN legal optional
Source
<xs:complexType name="Values">
  <xs:sequence>
    <xs:element name="MIN" type="Min" minOccurs="0"/>
    <xs:element name="MAX" type="Max" minOccurs="0"/>
    <xs:element name="OPTION" type="Option" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="ID" type="xs:ID"/>
  <xs:attribute name="type" default="legal">
    <xs:simpleType>
      <xs:restriction base="xs:NMTOKEN">
        <xs:enumeration value="legal"/>
        <xs:enumeration value="actual"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
  <xs:attribute name="null" type="xs:token"/>
  <xs:attribute name="ref" type="xs:IDREF"/>
  <!-- xs:attribute name="invalid" type="yesno" default="no"/ -->
</xs:complexType>
Complex Type Link
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Diagram
Used by
Attributes
Source
Complex Type Info
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type extension of xs:string
Used by
Elements Data/INFO, Resource/INFO, Table/INFO, VOTABLE/INFO
Attributes
QName Type Use
ID xs:ID optional
name xs:token required
ref xs:IDREF optional
ucd ucdType optional
unit xs:token optional
utype xs:string optional
value xs:string required
xtype xs:token optional
Source
<xs:complexType name="Info">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="ID" type="xs:ID"/>
      <xs:attribute name="name" type="xs:token" use="required"/>
      <xs:attribute name="value" type="xs:string" use="required"/>
      <xs:attribute name="unit" type="xs:token"/>
      <xs:attribute name="xtype" type="xs:token"/>
      <xs:attribute name="ref" type="xs:IDREF"/>
      <xs:attribute name="ucd" type="ucdType"/>
      <xs:attribute name="utype" type="xs:string"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
Complex Type CoordinateSystem
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Deprecated in Version 1.2
Diagram
Diagram
Type extension of xs:string
Used by
Elements Definitions/COOSYS, Resource/COOSYS, VOTABLE/COOSYS
Attributes
QName Type Default Use
ID xs:ID required
epoch astroYear optional
equinox astroYear optional
system restriction of xs:NMTOKEN eq_FK5 optional
Source
<xs:complexType name="CoordinateSystem">
  <xs:annotation>
    <xs:documentation>Deprecated in Version 1.2</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="ID" type="xs:ID" use="required"/>
      <xs:attribute name="equinox" type="astroYear"/>
      <xs:attribute name="epoch" type="astroYear"/>
      <xs:attribute name="system" default="eq_FK5">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <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>
Complex Type Definitions
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Deprecated in Version 1.1
Diagram
Diagram
Used by
Element VOTABLE/DEFINITIONS
Model
COOSYS | PARAM
Children COOSYS, PARAM
Source
<xs:complexType name="Definitions">
  <xs:annotation>
    <xs:documentation>Deprecated in Version 1.1</xs:documentation>
  </xs:annotation>
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="COOSYS" type="CoordinateSystem"/>
    <!-- Deprecated in V1.2 -->
    <xs:element name="PARAM" type="Param"/>
  </xs:choice>
</xs:complexType>
Complex Type Param
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram VOTable-1_2_xsd.tmp#http___www.ivoa.net_xml_VOTable_v1.2_Field
Type extension of Field
Type hierarchy
Used by
Elements Definitions/PARAM, Group/PARAM, Resource/PARAM, Table/PARAM, VOTABLE/PARAM
Model
DESCRIPTION{0,1} , VALUES{0,1} , LINK*
Children DESCRIPTION, LINK, VALUES
Attributes
QName Type Use
ID xs:ID optional
arraysize xs:string optional
datatype dataType required
name xs:token required
precision precType optional
ref xs:IDREF optional
type restriction of xs:NMTOKEN optional
ucd ucdType optional
unit xs:token optional
utype xs:string optional
value xs:string required
width xs:positiveInteger optional
xtype xs:token optional
Source
<xs:complexType name="Param">
  <xs:complexContent>
    <xs:extension base="Field">
      <xs:attribute name="value" type="xs:string" use="required"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Complex Type Field
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Complex Type Param
Element Table/FIELD
Model
DESCRIPTION{0,1} , VALUES{0,1} , LINK*
Children DESCRIPTION, LINK, VALUES
Attributes
QName Type Use
ID xs:ID optional
arraysize xs:string optional
datatype dataType required
name xs:token required
precision precType optional
ref xs:IDREF optional
type restriction of xs:NMTOKEN optional
ucd ucdType optional
unit xs:token optional
utype xs:string optional
width xs:positiveInteger optional
xtype xs:token optional
Source
<xs:complexType name="Field">
  <xs:sequence>
    <!-- minOccurs="0" maxOccurs="unbounded" -->
    <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/>
    <xs:element name="VALUES" type="Values" minOccurs="0"/>
    <!-- maxOccurs="2" -->
    <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="ID" type="xs:ID"/>
  <xs:attribute name="unit" type="xs:token"/>
  <xs:attribute name="datatype" type="dataType" use="required"/>
  <xs:attribute name="precision" type="precType"/>
  <xs:attribute name="width" type="xs:positiveInteger"/>
  <xs:attribute name="xtype" type="xs:token"/>
  <xs:attribute name="ref" type="xs:IDREF"/>
  <xs:attribute name="name" type="xs:token" use="required"/>
  <xs:attribute name="ucd" type="ucdType"/>
  <xs:attribute name="utype" type="xs:string"/>
  <xs:attribute name="arraysize" type="xs:string"/>
  <!-- GL: is the next deprecated element remaining 
        (is not in PARAM, but will in new model be inherited) 
    -->
  <xs:attribute name="type">
    <!-- type is not in the Version 1.1, but is kept for
         backward compatibility purposes
    -->
    <xs:simpleType>
      <xs:restriction base="xs:NMTOKEN">
        <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>
Complex Type Group
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Elements Group/GROUP, Resource/GROUP, Table/GROUP, VOTABLE/GROUP
Model
DESCRIPTION{0,1} , (FIELDref | PARAMref | PARAM | GROUP)
Children DESCRIPTION, FIELDref, GROUP, PARAM, PARAMref
Attributes
QName Type Use
ID xs:ID optional
name xs:token optional
ref xs:IDREF optional
ucd ucdType optional
utype xs:string optional
Source
<xs:complexType name="Group">
  <xs:sequence>
    <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/>
    <!--  GL I guess I can understand the next choice element as one may (?) 
      really want to group fields and params and groups in a particular order.
-->
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="FIELDref" type="FieldRef"/>
      <xs:element name="PARAMref" type="ParamRef"/>
      <xs:element name="PARAM" type="Param"/>
      <xs:element name="GROUP" type="Group"/>
      <!-- GL a GroupRef could remove recursion -->
    </xs:choice>
  </xs:sequence>
  <xs:attribute name="ID" type="xs:ID"/>
  <xs:attribute name="name" type="xs:token"/>
  <xs:attribute name="ref" type="xs:IDREF"/>
  <xs:attribute name="ucd" type="ucdType"/>
  <xs:attribute name="utype" type="xs:string"/>
</xs:complexType>
Complex Type FieldRef
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Group/FIELDref
Attributes
QName Type Use
ref xs:IDREF required
ucd ucdType optional
utype xs:string optional
Source
<xs:complexType name="FieldRef">
  <xs:attribute name="ref" type="xs:IDREF" use="required"/>
  <xs:attribute name="ucd" type="ucdType"/>
  <xs:attribute name="utype" type="xs:string"/>
</xs:complexType>
Complex Type ParamRef
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Group/PARAMref
Attributes
QName Type Use
ref xs:IDREF required
ucd ucdType optional
utype xs:string optional
Source
<xs:complexType name="ParamRef">
  <xs:attribute name="ref" type="xs:IDREF" use="required"/>
  <xs:attribute name="ucd" type="ucdType"/>
  <xs:attribute name="utype" type="xs:string"/>
</xs:complexType>
Complex Type Data
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Added in Version 1.2: INFO for diagnostics
Diagram
Diagram
Used by
Element Table/DATA
Model
(TABLEDATA | BINARY | FITS) , INFO*
Children BINARY, FITS, INFO, TABLEDATA
Source
<xs:complexType name="Data">
  <xs:annotation>
    <xs:documentation>Added in Version 1.2: INFO for diagnostics</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:choice>
      <xs:element name="TABLEDATA" type="TableData"/>
      <xs:element name="BINARY" type="Binary"/>
      <xs:element name="FITS" type="FITS"/>
    </xs:choice>
    <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>
Complex Type TableData
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Data/TABLEDATA
Model
TR*
Children TR
Source
<xs:complexType name="TableData">
  <xs:sequence>
    <xs:element name="TR" type="Tr" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>
Complex Type Tr
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
The ID attribute is added here to the TR tag to avoid 
problems of code generators which do not properly 
interpret the TR/TD structures
Diagram
Diagram
Used by
Element TableData/TR
Model
TD+
Children TD
Attributes
QName Type Use
ID xs:ID optional
Source
<xs:complexType name="Tr">
  <xs:annotation>
    <xs:documentation>The ID attribute is added here to the TR tag to avoid problems of code generators which do not properly interpret the TR/TD structures</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="TD" type="Td" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="ID" type="xs:ID"/>
</xs:complexType>
Complex Type Td
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type extension of xs:string
Used by
Element Tr/TD
Attributes
QName Type Use
encoding encodingType optional
Source
<xs:complexType name="Td">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <!-- xs:attribute name="ref" type="xs:IDREF"/ -->
      <xs:annotation>
        <xs:documentation>The 'encoding' attribute is added here to avoid problems of code generators which do not properly interpret the TR/TD structures. 'encoding' was chosen because it appears in appendix A.5</xs:documentation>
      </xs:annotation>
      <xs:attribute name="encoding" type="encodingType"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
Complex Type Binary
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Data/BINARY
Model
STREAM
Children STREAM
Source
<xs:complexType name="Binary">
  <xs:sequence>
    <xs:element name="STREAM" type="Stream"/>
  </xs:sequence>
</xs:complexType>
Complex Type Stream
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Type extension of xs:string
Used by
Elements Binary/STREAM, FITS/STREAM
Attributes
QName Type Default Use
actuate restriction of xs:NMTOKEN onRequest optional
encoding encodingType none optional
expires xs:dateTime optional
href xs:anyURI optional
rights xs:token optional
type restriction of xs:NMTOKEN locator optional
Source
<xs:complexType name="Stream">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="type" default="locator">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="locator"/>
            <xs:enumeration value="other"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="href" type="xs:anyURI"/>
      <xs:attribute name="actuate" default="onRequest">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="onLoad"/>
            <xs:enumeration value="onRequest"/>
            <xs:enumeration value="other"/>
            <xs:enumeration value="none"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="encoding" type="encodingType" default="none"/>
      <xs:attribute name="expires" type="xs:dateTime"/>
      <xs:attribute name="rights" type="xs:token"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
Complex Type FITS
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Diagram
Diagram
Used by
Element Data/FITS
Model
STREAM
Children STREAM
Attributes
QName Type Use
extnum xs:positiveInteger optional
Source
<xs:complexType name="FITS">
  <xs:sequence>
    <xs:element name="STREAM" type="Stream"/>
  </xs:sequence>
  <xs:attribute name="extnum" type="xs:positiveInteger"/>
</xs:complexType>
Complex Type Table
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Added in Version 1.2: INFO for diagnostics
Diagram
Diagram
Used by
Element Resource/TABLE
Model
DESCRIPTION{0,1} , INFO* , (FIELD | PARAM | GROUP) , LINK* , DATA{0,1} , INFO*
Children DATA, DESCRIPTION, FIELD, GROUP, INFO, LINK, PARAM
Attributes
QName Type Use
ID xs:ID optional
name xs:token optional
nrows xs:nonNegativeInteger optional
ref xs:IDREF optional
ucd ucdType optional
utype xs:string optional
Source
<xs:complexType name="Table">
  <xs:annotation>
    <xs:documentation>Added in Version 1.2: INFO for diagnostics</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/>
    <!-- GL: why a choice iso for example -->
    <!-- 
      <xs:element name="PARAM" type="Param" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="FIELD" type="Field" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="GROUP" type="Group" minOccurs="0" maxOccurs="unbounded"/>
-->
    <!-- 
  This could also enforce groups to be defined after the fields and params 
  to which they must have a reference, which is somewhat more logical
-->
    <!-- Added Version 1.2: -->
    <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
    <!-- An empty table without any FIELD/PARAM should not be acceptable -->
    <xs:choice minOccurs="1" maxOccurs="unbounded">
      <xs:element name="FIELD" type="Field"/>
      <xs:element name="PARAM" type="Param"/>
      <xs:element name="GROUP" type="Group"/>
    </xs:choice>
    <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded"/>
    <!-- This would allow several DATA parts in a table (future extension?)
    <xs:sequence minOccurs="0" maxOccurs="unbounded">  
      <xs:element name="DATA" type="Data"/>
      <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    -->
    <xs:element name="DATA" type="Data" minOccurs="0"/>
    <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="ID" type="xs:ID"/>
  <xs:attribute name="name" type="xs:token"/>
  <xs:attribute name="ref" type="xs:IDREF"/>
  <xs:attribute name="ucd" type="ucdType"/>
  <xs:attribute name="utype" type="xs:string"/>
  <xs:attribute name="nrows" type="xs:nonNegativeInteger"/>
</xs:complexType>
Complex Type Resource
Namespace http://www.ivoa.net/xml/VOTable/v1.2
Annotations
Added in Version 1.2: INFO for diagnostics in several places
Diagram
Diagram
Used by
Elements Resource/RESOURCE, VOTABLE/RESOURCE
Model
DESCRIPTION{0,1} , INFO* , (COOSYS | GROUP | PARAM) , LINK* , (TABLE | RESOURCE) , INFO* , ANY element from ANY namespace OTHER than 'http://www.ivoa.net/xml/VOTable/v1.2'
Children COOSYS, DESCRIPTION, GROUP, INFO, LINK, PARAM, RESOURCE, TABLE
Attributes
QName Type Default Use
ID xs:ID optional
name xs:token optional
type restriction of xs:NMTOKEN results optional
utype xs:string optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.ivoa.net/xml/VOTable/v1.2'
Source
<xs:complexType name="Resource">
  <xs:annotation>
    <xs:documentation>Added in Version 1.2: INFO for diagnostics in several places</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="DESCRIPTION" type="anyTEXT" minOccurs="0"/>
    <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="COOSYS" type="CoordinateSystem"/>
      <!-- Deprecated in V1.2 -->
      <xs:element name="GROUP" type="Group"/>
      <xs:element name="PARAM" type="Param"/>
    </xs:choice>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="LINK" type="Link" minOccurs="0" maxOccurs="unbounded"/>
      <xs:choice>
        <xs:element name="TABLE" type="Table"/>
        <xs:element name="RESOURCE" type="Resource"/>
      </xs:choice>
      <xs:element name="INFO" type="Info" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <!-- Suggested Doug Tody, to include new RESOURCE types -->
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="name" type="xs:token"/>
  <xs:attribute name="ID" type="xs:ID"/>
  <xs:attribute name="utype" type="xs:string"/>
  <xs:attribute name="type" default="results">
    <xs:simpleType>
      <xs:restriction base="xs:NMTOKEN">
        <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>