XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.ivoa.net/xml/VOTable/v1.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
vot http://www.ivoa.net/xml/VOTable/v1.0
Schema Component Representation
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.ivoa.net/xml/VOTable/v1.0">
...
</xs:schema>
top

Global Declarations

Element: BINARY

  • This element can be used wherever the following element is referenced:
Name BINARY
Type vot:StreamTABLEFORMATType
Nillable no
Abstract no
XML Instance Representation
<vot:BINARY>
<vot:STREAM> ... </vot:STREAM> [1]
</vot:BINARY>
Schema Component Representation
<xs:element name="BINARY" type=" vot:StreamTABLEFORMATType " substitutionGroup="vot:TABLEFORMAT"/>
top

Element: COOSYS

Name COOSYS
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:COOSYS
ID=" xs:ID [0..1]"
equinox=" vot:astroYear [0..1]"
epoch=" vot:astroYear [0..1]"
system=" xs:NMTOKEN (value comes from list: {'eq_FK4'|'eq_FK5'|'ICRS'|'ecl_FK4'|'ecl_FK5'|'galactic'|'supergalactic'|'xy'|'barycentric'|'geo_app'}) [0..1]">
<!-- Mixed content -->
Allow any elements from any namespace (skip validation). [0..*]
</vot:COOSYS>
Schema Component Representation
<xs:element name="COOSYS">
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base=" vot:anyTEXT ">
<xs:attribute name="ID" type=" xs:ID "/>
<xs:attribute name="equinox" type=" vot:astroYear "/>
<xs:attribute name="epoch" type=" vot: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:complexContent>
</xs:complexType>
</xs:element>
top

Element: DATA

Name DATA
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:DATA>
<vot:TABLEFORMAT> ... </vot:TABLEFORMAT> [1]
</vot:DATA>
Schema Component Representation
<xs:element name="DATA">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:TABLEFORMAT "/>
</xs:sequence>
<-- <xs:choice> <xs:element ref="vot:TABLEDATA"/> <xs:element ref="vot:BINARY"/> <xs:element ref="vot:FITS"/> </xs:choice> -->
</xs:complexType>
</xs:element>
top

Element: DEFINITIONS

Name DEFINITIONS
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:DEFINITIONS>
Start Choice [0..*]
<vot:COOSYS> ... </vot:COOSYS> [1]
<vot:PARAM> ... </vot:PARAM> [1]
End Choice
</vot:DEFINITIONS>
Schema Component Representation
<xs:element name="DEFINITIONS">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref=" vot:COOSYS "/>
<xs:element ref=" vot:PARAM "/>
</xs:choice>
</xs:complexType>
</xs:element>
top

Element: DESCRIPTION

Name DESCRIPTION
Type vot:anyTEXT
Nillable no
Abstract no
XML Instance Representation
<vot:DESCRIPTION>
<!-- Mixed content -->
Allow any elements from any namespace (skip validation). [0..*]
</vot:DESCRIPTION>
Schema Component Representation
<xs:element name="DESCRIPTION" type=" vot:anyTEXT "/>
top

Element: FIELD

Name FIELD
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:FIELD
ID=" xs:ID [0..1]"
unit=" xs:string [0..1]"
datatype=" vot:dataType [1]"
precision=" vot:precType [0..1]"
width=" xs:positiveInteger [0..1]"
ref=" xs:IDREF [0..1]"
name=" xs:string [1]"
ucd=" xs:string [0..1]"
arraysize=" xs:string [0..1]"
type=" xs:NMTOKEN (value comes from list: {'hidden'|'no_query'|'trigger'}) [0..1]">
Start Sequence [0..*]
<vot:DESCRIPTION> ... </vot:DESCRIPTION> [0..1]
<vot:VALUES> ... </vot:VALUES> [0..2]
<vot:LINK> ... </vot:LINK> [0..1]
End Sequence
</vot:FIELD>
Schema Component Representation
<xs:element name="FIELD">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref=" vot:DESCRIPTION " minOccurs="0"/>
<xs:element ref=" vot:VALUES " minOccurs="0" maxOccurs="2"/>
<xs:element ref=" vot:LINK " minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ID" type=" xs:ID "/>
<xs:attribute name="unit" type=" xs:string "/>
<xs:attribute name="datatype" type=" vot:dataType " use="required"/>
<xs:attribute name="precision" type=" vot:precType "/>
<xs:attribute name="width" type=" xs:positiveInteger "/>
<xs:attribute name="ref" type=" xs:IDREF "/>
<xs:attribute name="name" type=" xs:string " use="required"/>
<xs:attribute name="ucd" type=" xs:string "/>
<xs:attribute name="arraysize" type=" xs:string "/>
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="hidden"/>
<xs:enumeration value="no_query"/>
<xs:enumeration value="trigger"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
top

Element: FITS

  • This element can be used wherever the following element is referenced:
Name FITS
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:FITS
extnum=" xs:positiveInteger [0..1]">
<vot:STREAM> ... </vot:STREAM> [1]
</vot:FITS>
Schema Component Representation
<xs:element name="FITS" substitutionGroup="vot:TABLEFORMAT">
<xs:complexType>
<xs:complexContent>
<xs:extension base=" vot:StreamTABLEFORMATType ">
<xs:attribute name="extnum" type=" xs:positiveInteger "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: INFO

Name INFO
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:INFO
ID=" xs:ID [0..1]"
name=" xs:string [1]"
value=" xs:string [1]">
<!-- Mixed content -->
Allow any elements from any namespace (skip validation). [0..*]
</vot:INFO>
Schema Component Representation
<xs:element name="INFO">
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base=" vot:anyTEXT ">
<xs:attribute name="ID" type=" xs:ID "/>
<xs:attribute name="name" type=" xs:string " use="required"/>
<xs:attribute name="value" type=" xs:string " use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: LINK

Name LINK
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
Schema Component Representation
top

Element: MAX

Name MAX
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:MAX
value=" xs:string [1]"
inclusive=" vot:yesno [0..1]">
xs:string
</vot:MAX>
Schema Component Representation
<xs:element name="MAX">
<xs:complexType>
<xs:simpleContent>
<xs:extension base=" xs:string ">
<xs:attribute name="value" type=" xs:string " use="required"/>
<xs:attribute name="inclusive" type=" vot:yesno " default="yes"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
top

Element: MIN

Name MIN
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:MIN
value=" xs:string [1]"
inclusive=" vot:yesno [0..1]">
xs:string
</vot:MIN>
Schema Component Representation
<xs:element name="MIN">
<xs:complexType>
<xs:simpleContent>
<xs:extension base=" xs:string ">
<xs:attribute name="value" type=" xs:string " use="required"/>
<xs:attribute name="inclusive" type=" vot:yesno " default="yes"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
top

Element: OPTION

Name OPTION
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:OPTION
name=" xs:string [0..1]"
value=" xs:string [1]">
<vot:OPTION> ... </vot:OPTION> [0..*]
</vot:OPTION>
Schema Component Representation
<xs:element name="OPTION">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:OPTION " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type=" xs:string "/>
<xs:attribute name="value" type=" xs:string " use="required"/>
</xs:complexType>
</xs:element>
top

Element: PARAM

Name PARAM
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:PARAM
ID=" xs:ID [0..1]"
unit=" xs:string [0..1]"
datatype=" vot:dataType [0..1]"
precision=" vot:precType [0..1]"
width=" xs:positiveInteger [0..1]"
ref=" xs:IDREF [0..1]"
name=" xs:string [1]"
ucd=" xs:string [0..1]"
value=" xs:string [0..1]"
arraysize=" vot:arrayDEF [0..1]">
<vot:DESCRIPTION> ... </vot:DESCRIPTION> [0..1]
<vot:VALUES> ... </vot:VALUES> [0..1]
<vot:LINK> ... </vot:LINK> [0..*]
</vot:PARAM>
Schema Component Representation
<xs:element name="PARAM">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:DESCRIPTION " minOccurs="0"/>
<xs:element ref=" vot:VALUES " minOccurs="0"/>
<xs:element ref=" vot:LINK " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type=" xs:ID "/>
<xs:attribute name="unit" type=" xs:string "/>
<xs:attribute name="datatype" type=" vot:dataType "/>
<xs:attribute name="precision" type=" vot:precType "/>
<xs:attribute name="width" type=" xs:positiveInteger "/>
<xs:attribute name="ref" type=" xs:IDREF "/>
<xs:attribute name="name" type=" xs:string " use="required"/>
<xs:attribute name="ucd" type=" xs:string "/>
<xs:attribute name="value" type=" xs:string "/>
<xs:attribute name="arraysize" type=" vot:arrayDEF "/>
</xs:complexType>
</xs:element>
top

Element: RESOURCE

Name RESOURCE
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:RESOURCE
name=" xs:string [0..1]"
ID=" xs:ID [0..1]"
type=" xs:NMTOKEN (value comes from list: {'results'|'meta'}) [0..1]">
<vot:DESCRIPTION> ... </vot:DESCRIPTION> [0..1]
<vot:INFO> ... </vot:INFO> [0..*]
<vot:COOSYS> ... </vot:COOSYS> [0..*]
<vot:PARAM> ... </vot:PARAM> [0..*]
<vot:LINK> ... </vot:LINK> [0..*]
<vot:TABLE> ... </vot:TABLE> [0..*]
<vot:RESOURCE> ... </vot:RESOURCE> [0..*]
</vot:RESOURCE>
Schema Component Representation
<xs:element name="RESOURCE">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:DESCRIPTION " minOccurs="0"/>
<xs:element ref=" vot:INFO " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:COOSYS " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:PARAM " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:LINK " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:TABLE " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:RESOURCE " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type=" xs:string "/>
<xs:attribute name="ID" type=" xs:ID "/>
<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>
</xs:complexType>
</xs:element>
top

Element: STREAM

Name STREAM
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:STREAM
type=" xs:NMTOKEN (value comes from list: {'locator'|'other'}) [0..1]"
href=" xs:anyURI [0..1]"
actuate=" xs:NMTOKEN (value comes from list: {'onLoad'|'onRequest'|'other'|'none'}) [0..1]"
encoding=" xs:NMTOKEN (value comes from list: {'gzip'|'base64'|'dynamic'|'none'}) [0..1]"
expires=" xs:dateTime [0..1]"
rights=" xs:string [0..1]">
xs:string
</vot:STREAM>
Schema Component Representation
<xs:element name="STREAM">
<xs:complexType>
<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" default="none">
<xs:simpleType>
<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>
</xs:attribute>
<xs:attribute name="expires" type=" xs:dateTime "/>
<xs:attribute name="rights" type=" xs:string "/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
top

Element: TABLE

Name TABLE
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:TABLE
ID=" xs:ID [0..1]"
name=" xs:string [0..1]"
ref=" xs:IDREF [0..1]">
<vot:DESCRIPTION> ... </vot:DESCRIPTION> [0..1]
<vot:FIELD> ... </vot:FIELD> [0..*]
<vot:LINK> ... </vot:LINK> [0..*]
<vot:DATA> ... </vot:DATA> [0..1]
</vot:TABLE>
Schema Component Representation
<xs:element name="TABLE">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:DESCRIPTION " minOccurs="0"/>
<xs:element ref=" vot:FIELD " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:LINK " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:DATA " minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ID" type=" xs:ID "/>
<xs:attribute name="name" type=" xs:string "/>
<xs:attribute name="ref" type=" xs:IDREF "/>
</xs:complexType>
</xs:element>
top

Element: TABLEDATA

  • This element can be used wherever the following element is referenced:
Name TABLEDATA
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:TABLEDATA>
<vot:TR> ... </vot:TR> [0..*]
</vot:TABLEDATA>
Schema Component Representation
<xs:element name="TABLEDATA" substitutionGroup="vot:TABLEFORMAT">
<xs:complexType>
<xs:complexContent>
<xs:extension base=" vot:TABLEFORMATType ">
<xs:sequence>
<xs:element ref=" vot:TR " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: TABLEFORMAT

  • The following elements can be used wherever this element is referenced:
Name TABLEFORMAT
Type vot:TABLEFORMATType
Nillable no
Abstract yes
Documentation an abstract representation of the tables storage form.
XML Instance Representation
<vot:TABLEFORMAT/>
Schema Component Representation
<xs:element name="TABLEFORMAT" type=" vot:TABLEFORMATType " abstract="true"/>
top

Element: TD

Name TD
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:TD
ref=" xs:IDREF [0..1]">
<!-- Mixed content -->
Allow any elements from any namespace (skip validation). [0..*]
</vot:TD>
Schema Component Representation
<xs:element name="TD">
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base=" vot:anyTEXT ">
<xs:attribute name="ref" type=" xs:IDREF "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: TR

Name TR
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:TR>
<vot:TD> ... </vot:TD> [1..*]
</vot:TR>
Schema Component Representation
<xs:element name="TR">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:TD " maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: VALUES

Name VALUES
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:VALUES
ID=" xs:ID [0..1]"
type=" xs:NMTOKEN (value comes from list: {'legal'|'actual'}) [0..1]"
null=" xs:string [0..1]"
invalid=" vot:yesno [0..1]">
<vot:MIN> ... </vot:MIN> [0..1]
<vot:MAX> ... </vot:MAX> [0..1]
<vot:OPTION> ... </vot:OPTION> [0..*]
</vot:VALUES>
Schema Component Representation
<xs:element name="VALUES">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:MIN " minOccurs="0"/>
<xs:element ref=" vot:MAX " minOccurs="0"/>
<xs:element ref=" vot: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:string "/>
<xs:attribute name="invalid" type=" vot:yesno " default="no"/>
</xs:complexType>
</xs:element>
top

Element: VOTABLE

Name VOTABLE
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<vot:VOTABLE
ID=" xs:ID [0..1]"
version=" xs:NMTOKEN (value comes from list: {'1.0'}) [0..1]">
<vot:DESCRIPTION> ... </vot:DESCRIPTION> [0..1]
<vot:DEFINITIONS> ... </vot:DEFINITIONS> [0..1]
<vot:INFO> ... </vot:INFO> [0..*]
<vot:RESOURCE> ... </vot:RESOURCE> [0..*]
</vot:VOTABLE>
Schema Component Representation
<xs:element name="VOTABLE">
<xs:complexType>
<xs:sequence>
<xs:element ref=" vot:DESCRIPTION " minOccurs="0"/>
<xs:element ref=" vot:DEFINITIONS " minOccurs="0"/>
<xs:element ref=" vot:INFO " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" vot:RESOURCE " 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.0"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: anyTEXT

Super-types: None
Sub-types: None
Name anyTEXT
Abstract no
XML Instance Representation
<...>
<!-- Mixed content -->
Allow any elements from any namespace (skip validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="anyTEXT" mixed="true">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: StreamTABLEFORMATType

Super-types: TABLEFORMATType < StreamTABLEFORMATType (by extension)
Sub-types: None
Name StreamTABLEFORMATType
Abstract no
XML Instance Representation
<...>
<vot:STREAM> ... </vot:STREAM> [1]
</...>
Schema Component Representation
<xs:complexType name="StreamTABLEFORMATType">
<xs:complexContent>
<xs:extension base=" vot:TABLEFORMATType ">
<xs:sequence>
<xs:element ref=" vot:STREAM "/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
top

Complex Type: TABLEFORMATType

Super-types: None
Sub-types:
Name TABLEFORMATType
Abstract no
XML Instance Representation
<.../>
Schema Component Representation
<xs:complexType name="TABLEFORMATType">
<xs:sequence/>
</xs:complexType>
top

Simple Type: arrayDEF

Super-types: xs:string < arrayDEF (by restriction)
Sub-types: None
Name arrayDEF
Content
  • Base XSD Type: string
  • pattern = ([0-9]+x)*[0-9]*[*]?
Schema Component Representation
<xs:simpleType name="arrayDEF">
<xs:restriction base=" xs:string ">
<xs:pattern value="([0-9]+x)*[0-9]*[*]?"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: astroYear

Super-types: xs:string < astroYear (by restriction)
Sub-types: None
Name astroYear
Content
  • Base XSD Type: string
  • pattern = [JB][0-9]+([.][0-9]*)?
Schema Component Representation
<xs:simpleType name="astroYear">
<xs:restriction base=" xs:string ">
<xs:pattern value="[JB][0-9]+([.][0-9]*)?"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dataType

Super-types: xs:NMTOKEN < dataType (by restriction)
Sub-types: None
Name dataType
Content
  • Base XSD Type: NMTOKEN
  • value comes from list: {'boolean'|'bit'|'unsignedByte'|'short'|'int'|'long'|'char'|'unicodeChar'|'float'|'double'|'floatComplex'|'doubleComplex'}
Schema Component Representation
<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>
top

Simple Type: precType

Super-types: xs:string < precType (by restriction)
Sub-types: None
Name precType
Content
  • Base XSD Type: string
  • pattern = [EF]?[1-9][0-9]*
Schema Component Representation
<xs:simpleType name="precType">
<xs:restriction base=" xs:string ">
<xs:pattern value="[EF]?[1-9][0-9]*"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: yesno

Super-types: xs:NMTOKEN < yesno (by restriction)
Sub-types: None
Name yesno
Content
  • Base XSD Type: NMTOKEN
  • value comes from list: {'yes'|'no'}
Schema Component Representation
<xs:simpleType name="yesno">
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top