XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace None
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
xs http://www.w3.org/2001/XMLSchema
xsi http://www.w3.org/2001/XMLSchema-instance
xml http://www.w3.org/XML/1998/namespace
Schema Component Representation
<xs:schema schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd" elementFormDefault="qualified">
...
</xs:schema>
top

Global Definitions

Complex Type: amountType

Super-types: xs:decimal < amountType (by extension)
Sub-types: None
Name amountType
Abstract no
XML Instance Representation
<...
currency="A3Type [1] ?">
xs:decimal
</...>
Schema Component Representation
<xs:complexType name="amountType">
<xs:simpleContent>
<xs:extension base="xs:decimal">
<xs:attribute name="currency" type="A3Type" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: locationType

Super-types: None
Sub-types: None
Name locationType
Abstract no
Documentation A location can be identified by either its UN/LOCODE, or its country and state. Additionally the name of the location can be given.
XML Instance Representation
<...>
Start Choice [0..1]
<un> nmtoken5 (pattern = [A-Z]{2}[A-Z0-9]{3}) </un> [1] ?
<iata> nmtoken3 </iata> [1] ?
<country> countryCodeType </country> [1] ?
<state> stateType </state> [0..1] ?
End Choice
<name> token35 </name> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="locationType">
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="un">
<xs:simpleType>
<xs:restriction base="nmtoken5">
<xs:pattern value="[A-Z]{2}[A-Z0-9]{3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="iata">
<xs:simpleType>
<xs:restriction base="nmtoken3"/>
</xs:simpleType>
</xs:element>
<xs:sequence>
<xs:element name="country" type="countryCodeType"/>
<xs:element name="state" type="stateType" minOccurs="0"/>
</xs:sequence>
</xs:choice>
<xs:element name="name" type="token35" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: moneyAmountType

Super-types: None
Sub-types: None
Name moneyAmountType
Abstract no
XML Instance Representation
<...>
<amount> amountType </amount> [1]
<rateDate> xs:date </rateDate> [0..1]
</...>
Schema Component Representation
<xs:complexType name="moneyAmountType">
<xs:sequence>
<xs:element name="amount" type="amountType"/>
<xs:element name="rateDate" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: quantUnitQualifierType

Super-types: None
Sub-types: None
Name quantUnitQualifierType
Abstract no
Documentation This Structure is for measure units, as they always come with their qualifier.
XML Instance Representation
<...>
<quantity> quantityType </quantity> [1]
</...>
Schema Component Representation
<xs:complexType name="quantUnitQualifierType">
<xs:sequence>
<xs:element name="quantity" type="quantityType"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: quantityType

Super-types: None
Sub-types: None
Name quantityType
Abstract no
XML Instance Representation
<...
amount="dec3fractType [1]"
unit="string3 [1]"
qualifier="string3 [0..1]"/>
Schema Component Representation
<xs:complexType name="quantityType">
<xs:attribute name="amount" type="dec3fractType" use="required"/>
<xs:attribute name="unit" type="string3" use="required"/>
<xs:attribute name="qualifier" type="string3"/>
</xs:complexType>
top

Simple Type: A10Type

Super-types: xs:token < A10Type (by restriction)
Sub-types: None
Name A10Type
Content
  • Base XSD Type: token
  • pattern = [A-Za-z]{1,10}
Schema Component Representation
<xs:simpleType name="A10Type">
<xs:restriction base="xs:token">
<xs:pattern value="[A-Za-z]{1,10}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: A2Type

Super-types: xs:token < A2Type (by restriction)
Sub-types: None
Name A2Type
Content
  • Base XSD Type: token
  • pattern = [A-Z]{2}
Schema Component Representation
<xs:simpleType name="A2Type">
<xs:restriction base="xs:token">
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: A3Type

Super-types: xs:token < A3Type (by restriction)
Sub-types: None
Name A3Type
Content
  • Base XSD Type: token
  • pattern = [A-Za-z]{2,3}
Schema Component Representation
<xs:simpleType name="A3Type">
<xs:restriction base="xs:token">
<-- Changed in V4.0 to allow 2 Char values, like "St" -->
<xs:pattern value="[A-Za-z]{2,3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: AN2Type

Super-types: xs:token < AN2Type (by restriction)
Sub-types: None
Name AN2Type
Content
  • Base XSD Type: token
  • pattern = [A-Z0-9]{2}
Schema Component Representation
<xs:simpleType name="AN2Type">
<xs:restriction base="xs:token">
<xs:pattern value="[A-Z0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: AN3Type

Super-types: xs:token < AN3Type (by restriction)
Sub-types: None
Name AN3Type
Content
  • Base XSD Type: token
  • pattern = [A-Z0-9]{3}
Schema Component Representation
<xs:simpleType name="AN3Type">
<xs:restriction base="xs:token">
<xs:pattern value="[A-Z0-9]{3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: countryCodeType

Super-types: xs:string < countryCodeType (by restriction)
Sub-types: None
Name countryCodeType
Content
  • Base XSD Type: string
  • pattern = [A-Z]{2,3}
Documentation The ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3 code identifying a country.
Schema Component Representation
<xs:simpleType name="countryCodeType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2,3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dec1fractType

Super-types: xs:decimal < dec1fractType (by restriction)
Sub-types: None
Name dec1fractType
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 1
Schema Component Representation
<xs:simpleType name="dec1fractType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="1"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dec2fractType

Super-types: xs:decimal < dec2fractType (by restriction)
Sub-types: None
Name dec2fractType
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 2
Schema Component Representation
<xs:simpleType name="dec2fractType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dec3fractType

Super-types: xs:decimal < dec3fractType (by restriction)
Sub-types: None
Name dec3fractType
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 3
Schema Component Representation
<xs:simpleType name="dec3fractType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dec9fractType

Super-types: xs:decimal < dec9fractType (by restriction)
Sub-types:
Name dec9fractType
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 9
Schema Component Representation
<xs:simpleType name="dec9fractType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="9"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: int2Type

Super-types: xs:integer < int2Type (by restriction)
Sub-types: None
Name int2Type
Content
  • Base XSD Type: integer
  • total no. of digits = 2
Schema Component Representation
<xs:simpleType name="int2Type">
<-- Added in V4.9 -->
<xs:restriction base="xs:integer">
<xs:totalDigits value="2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: int3Type

Super-types: xs:integer < int3Type (by restriction)
Sub-types: None
Name int3Type
Content
  • Base XSD Type: integer
  • total no. of digits = 3
Schema Component Representation
<xs:simpleType name="int3Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: int4Type

Super-types: xs:integer < int4Type (by restriction)
Sub-types: None
Name int4Type
Content
  • Base XSD Type: integer
  • total no. of digits = 4
Schema Component Representation
<xs:simpleType name="int4Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="4"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: int5Type

Super-types: xs:integer < int5Type (by restriction)
Sub-types: None
Name int5Type
Content
  • Base XSD Type: integer
  • total no. of digits = 5
Schema Component Representation
<xs:simpleType name="int5Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="5"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: int8Type

Super-types: xs:integer < int8Type (by restriction)
Sub-types: None
Name int8Type
Content
  • Base XSD Type: integer
  • total no. of digits = 8
Schema Component Representation
<xs:simpleType name="int8Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="8"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: n0To22Type

Super-types: xs:token < n0To22Type (by restriction)
Sub-types: None
Name n0To22Type
Content
  • Base XSD Type: token
  • pattern = [0-9]{0,22}
Schema Component Representation
<xs:simpleType name="n0To22Type">
<xs:restriction base="xs:token">
<xs:pattern value="[0-9]{0,22}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: n1Type

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

Simple Type: n2Type

Super-types: xs:token < n2Type (by restriction)
Sub-types: None
Name n2Type
Content
  • Base XSD Type: token
  • pattern = [0-9]{2}
Schema Component Representation
<xs:simpleType name="n2Type">
<xs:restriction base="xs:token">
<xs:pattern value="[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: n3Type

Super-types: xs:token < n3Type (by restriction)
Sub-types: None
Name n3Type
Content
  • Base XSD Type: token
  • pattern = [0-9]{3}
Schema Component Representation
<xs:simpleType name="n3Type">
<xs:restriction base="xs:token">
<xs:pattern value="[0-9]{3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: n4Type

Super-types: xs:token < n4Type (by restriction)
Sub-types: None
Name n4Type
Content
  • Base XSD Type: token
  • pattern = [0-9]{4}
Schema Component Representation
<xs:simpleType name="n4Type">
<xs:restriction base="xs:token">
<xs:pattern value="[0-9]{4}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: n5Type

Super-types: xs:token < n5Type (by restriction)
Sub-types: None
Name n5Type
Content
  • Base XSD Type: token
  • pattern = [0-9]{5}
Schema Component Representation
<xs:simpleType name="n5Type">
<xs:restriction base="xs:token">
<xs:pattern value="[0-9]{5}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken1

Super-types: xs:token < nmtokenType (by restriction) < nmtoken1 (by restriction)
Sub-types: None
Name nmtoken1
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 1
Schema Component Representation
<xs:simpleType name="nmtoken1">
<xs:restriction base="nmtokenType">
<xs:maxLength value="1"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken10

Super-types: xs:token < nmtokenType (by restriction) < nmtoken10 (by restriction)
Sub-types: None
Name nmtoken10
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 10
Schema Component Representation
<xs:simpleType name="nmtoken10">
<xs:restriction base="nmtokenType">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken11

Super-types: xs:token < nmtokenType (by restriction) < nmtoken11 (by restriction)
Sub-types: None
Name nmtoken11
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 11
Schema Component Representation
<xs:simpleType name="nmtoken11">
<xs:restriction base="nmtokenType">
<xs:maxLength value="11"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken128

Super-types: xs:token < nmtokenType (by restriction) < nmtoken128 (by restriction)
Sub-types: None
Name nmtoken128
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 128
Schema Component Representation
<xs:simpleType name="nmtoken128">
<xs:restriction base="nmtokenType">
<xs:maxLength value="128"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken15

Super-types: xs:token < nmtokenType (by restriction) < nmtoken15 (by restriction)
Sub-types: None
Name nmtoken15
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 15
Schema Component Representation
<xs:simpleType name="nmtoken15">
<xs:restriction base="nmtokenType">
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken17

Super-types: xs:token < nmtokenType (by restriction) < nmtoken17 (by restriction)
Sub-types: None
Name nmtoken17
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 17
Schema Component Representation
<xs:simpleType name="nmtoken17">
<xs:restriction base="nmtokenType">
<xs:maxLength value="17"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken18

Super-types: xs:token < nmtokenType (by restriction) < nmtoken18 (by restriction)
Sub-types: None
Name nmtoken18
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 18
Schema Component Representation
<xs:simpleType name="nmtoken18">
<xs:restriction base="nmtokenType">
<xs:maxLength value="18"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken2

Super-types: xs:token < nmtokenType (by restriction) < nmtoken2 (by restriction)
Sub-types: None
Name nmtoken2
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 2
Schema Component Representation
<xs:simpleType name="nmtoken2">
<xs:restriction base="nmtokenType">
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken21

Super-types: xs:token < nmtokenType (by restriction) < nmtoken21 (by restriction)
Sub-types: None
Name nmtoken21
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 21
Schema Component Representation
<xs:simpleType name="nmtoken21">
<xs:restriction base="nmtokenType">
<xs:maxLength value="21"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken22

Super-types: xs:token < nmtokenType (by restriction) < nmtoken22 (by restriction)
Sub-types: None
Name nmtoken22
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 22
Schema Component Representation
<xs:simpleType name="nmtoken22">
<xs:restriction base="nmtokenType">
<xs:maxLength value="22"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken25

Super-types: xs:token < nmtokenType (by restriction) < nmtoken25 (by restriction)
Sub-types: None
Name nmtoken25
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 25
Schema Component Representation
<xs:simpleType name="nmtoken25">
<xs:restriction base="nmtokenType">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken256

Super-types: xs:token < nmtokenType (by restriction) < nmtoken256 (by restriction)
Sub-types: None
Name nmtoken256
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 256
Schema Component Representation
<xs:simpleType name="nmtoken256">
<xs:restriction base="nmtokenType">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken3

Super-types: xs:token < nmtokenType (by restriction) < nmtoken3 (by restriction)
Sub-types: None
Name nmtoken3
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 3
Schema Component Representation
<xs:simpleType name="nmtoken3">
<xs:restriction base="nmtokenType">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken30

Super-types: xs:token < nmtokenType (by restriction) < nmtoken30 (by restriction)
Sub-types: None
Name nmtoken30
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 30
Schema Component Representation
<xs:simpleType name="nmtoken30">
<xs:restriction base="nmtokenType">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken35

Super-types: xs:token < nmtokenType (by restriction) < nmtoken35 (by restriction)
Sub-types: None
Name nmtoken35
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 35
Schema Component Representation
<xs:simpleType name="nmtoken35">
<xs:restriction base="nmtokenType">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken4

Super-types: xs:token < nmtokenType (by restriction) < nmtoken4 (by restriction)
Sub-types: None
Name nmtoken4
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 4
Schema Component Representation
<xs:simpleType name="nmtoken4">
<xs:restriction base="nmtokenType">
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken4_4

Super-types: xs:token < nmtokenType (by restriction) < nmtoken4_4 (by restriction)
Sub-types: None
Name nmtoken4_4
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length >= 4
Schema Component Representation
<xs:simpleType name="nmtoken4_4">
<xs:restriction base="nmtokenType">
<xs:minLength value="4"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken5

Super-types: xs:token < nmtokenType (by restriction) < nmtoken5 (by restriction)
Sub-types: None
Name nmtoken5
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 5
Schema Component Representation
<xs:simpleType name="nmtoken5">
<xs:restriction base="nmtokenType">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken6

Super-types: xs:token < nmtokenType (by restriction) < nmtoken6 (by restriction)
Sub-types: None
Name nmtoken6
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 6
Schema Component Representation
<xs:simpleType name="nmtoken6">
<xs:restriction base="nmtokenType">
<xs:maxLength value="6"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken7

Super-types: xs:token < nmtokenType (by restriction) < nmtoken7 (by restriction)
Sub-types: None
Name nmtoken7
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 7
Schema Component Representation
<xs:simpleType name="nmtoken7">
<xs:restriction base="nmtokenType">
<xs:maxLength value="7"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken8

Super-types: xs:token < nmtokenType (by restriction) < nmtoken8 (by restriction)
Sub-types: None
Name nmtoken8
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 8
Schema Component Representation
<xs:simpleType name="nmtoken8">
<xs:restriction base="nmtokenType">
<xs:maxLength value="8"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtoken9

Super-types: xs:token < nmtokenType (by restriction) < nmtoken9 (by restriction)
Sub-types: None
Name nmtoken9
Content
  • Base XSD Type: token
  • pattern = [\c/]+
  • length <= 9
Schema Component Representation
<xs:simpleType name="nmtoken9">
<xs:restriction base="nmtokenType">
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: nmtokenType

Super-types: xs:token < nmtokenType (by restriction)
Sub-types:
Name nmtokenType
Content
  • Base XSD Type: token
  • pattern = [\c/]+
Schema Component Representation
<xs:simpleType name="nmtokenType">
<xs:restriction base="xs:token">
<xs:pattern value="[\c/]+"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: non-negative-decimal

Super-types: xs:decimal < non-negative-decimal (by restriction)
Sub-types: None
Name non-negative-decimal
Content
  • Base XSD Type: decimal
  • value >= 0
Documentation The non-negative-decimal type specifies a non-negative decimal value.
Schema Component Representation
<xs:simpleType name="non-negative-decimal">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: non-negative-int9Type

Super-types: xs:integer < non-negative-int9Type (by restriction)
Sub-types: None
Name non-negative-int9Type
Content
  • Base XSD Type: integer
  • value >= 1
  • total no. of digits = 9
Schema Component Representation
<xs:simpleType name="non-negative-int9Type">
<xs:restriction base="xs:integer">
<xs:totalDigits value="9"/>
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: number1Type

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

Simple Type: number1or2Type

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

Simple Type: number1or2nonZeroType

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

Simple Type: number1or3nonZeroType

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

Simple Type: number2Type

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

Simple Type: number4Type

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

Simple Type: number5Type

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

Simple Type: number8Type

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

Simple Type: percentage

Super-types: xs:decimal < percentage (by restriction)
Sub-types: None
Name percentage
Content
  • Base XSD Type: decimal
  • 0 <= value <= 100
  • no. of fraction digits = 2
Schema Component Representation
<xs:simpleType name="percentage">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
<xs:minInclusive value="0"/>
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: rateType

Super-types: xs:decimal < dec9fractType (by restriction) < rateType (by restriction)
Sub-types: None
Name rateType
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 9
  • value > 0
Schema Component Representation
<xs:simpleType name="rateType">
<xs:restriction base="dec9fractType">
<xs:minExclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: stateType

Super-types: xs:string < stateType (by restriction)
Sub-types: None
Name stateType
Content
  • Base XSD Type: string
  • pattern = [A-Z0-9]{1,3}
Schema Component Representation
<xs:simpleType name="stateType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{1,3}"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string1000

Super-types: xs:string < string1000 (by restriction)
Sub-types: None
Name string1000
Content
  • Base XSD Type: string
  • length <= 1000
Schema Component Representation
<xs:simpleType name="string1000">
<xs:restriction base="xs:string">
<xs:maxLength value="1000"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string17

Super-types: xs:string < string17 (by restriction)
Sub-types: None
Name string17
Content
  • Base XSD Type: string
  • length <= 17
Schema Component Representation
<xs:simpleType name="string17">
<xs:restriction base="xs:string">
<xs:maxLength value="17"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string256

Super-types: xs:string < string256 (by restriction)
Sub-types: None
Name string256
Content
  • Base XSD Type: string
  • length <= 256
Schema Component Representation
<xs:simpleType name="string256">
<xs:restriction base="xs:string">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string3

Super-types: xs:string < string3 (by restriction)
Sub-types: None
Name string3
Content
  • Base XSD Type: string
  • length <= 3
Schema Component Representation
<xs:simpleType name="string3">
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string4

Super-types: xs:string < string4 (by restriction)
Sub-types: None
Name string4
Content
  • Base XSD Type: string
  • length <= 4
Schema Component Representation
<xs:simpleType name="string4">
<xs:restriction base="xs:string">
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string5

Super-types: xs:string < string5 (by restriction)
Sub-types: None
Name string5
Content
  • Base XSD Type: string
  • length <= 5
Schema Component Representation
<xs:simpleType name="string5">
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string8

Super-types: xs:string < string8 (by restriction)
Sub-types: None
Name string8
Content
  • Base XSD Type: string
  • length <= 8
Schema Component Representation
<xs:simpleType name="string8">
<xs:restriction base="xs:string">
<xs:maxLength value="8"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: string9

Super-types: xs:string < string9 (by restriction)
Sub-types: None
Name string9
Content
  • Base XSD Type: string
  • length <= 9
Schema Component Representation
<xs:simpleType name="string9">
<xs:restriction base="xs:string">
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token0

Super-types: xs:token < token0 (by restriction)
Sub-types: None
Name token0
Content
  • Base XSD Type: token
  • length <= 0
Schema Component Representation
<xs:simpleType name="token0">
<xs:restriction base="xs:token">
<xs:maxLength value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token1

Super-types: xs:token < token1 (by restriction)
Sub-types: None
Name token1
Content
  • Base XSD Type: token
  • length <= 1
Schema Component Representation
<xs:simpleType name="token1">
<xs:restriction base="xs:token">
<xs:maxLength value="1"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token10

Super-types: xs:token < token10 (by restriction)
Sub-types: None
Name token10
Content
  • Base XSD Type: token
  • length <= 10
Schema Component Representation
<xs:simpleType name="token10">
<xs:restriction base="xs:token">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token100

Super-types: xs:token < token100 (by restriction)
Sub-types: None
Name token100
Content
  • Base XSD Type: token
  • length <= 100
Schema Component Representation
<xs:simpleType name="token100">
<xs:restriction base="xs:token">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token1024

Super-types: xs:token < token1024 (by restriction)
Sub-types: None
Name token1024
Content
  • Base XSD Type: token
  • length <= 1024
Schema Component Representation
<xs:simpleType name="token1024">
<xs:restriction base="xs:token">
<xs:maxLength value="1024"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token12

Super-types: xs:token < token12 (by restriction)
Sub-types: None
Name token12
Content
  • Base XSD Type: token
  • length <= 12
Schema Component Representation
<xs:simpleType name="token12">
<xs:restriction base="xs:token">
<xs:maxLength value="12"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token120

Super-types: xs:token < token120 (by restriction)
Sub-types: None
Name token120
Content
  • Base XSD Type: token
  • length <= 120
Schema Component Representation
<xs:simpleType name="token120">
<xs:restriction base="xs:token">
<xs:maxLength value="120"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token128

Super-types: xs:token < token128 (by restriction)
Sub-types: None
Name token128
Content
  • Base XSD Type: token
  • length <= 128
Schema Component Representation
<xs:simpleType name="token128">
<xs:restriction base="xs:token">
<xs:maxLength value="128"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token140

Super-types: xs:token < token140 (by restriction)
Sub-types: None
Name token140
Content
  • Base XSD Type: token
  • length <= 140
Schema Component Representation
<xs:simpleType name="token140">
<xs:restriction base="xs:token">
<xs:maxLength value="140"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token17

Super-types: xs:token < token17 (by restriction)
Sub-types: None
Name token17
Content
  • Base XSD Type: token
  • length <= 17
Schema Component Representation
<xs:simpleType name="token17">
<xs:restriction base="xs:token">
<xs:maxLength value="17"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token2

Super-types: xs:token < token2 (by restriction)
Sub-types: None
Name token2
Content
  • Base XSD Type: token
  • length <= 2
Schema Component Representation
<xs:simpleType name="token2">
<xs:restriction base="xs:token">
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token20

Super-types: xs:token < token20 (by restriction)
Sub-types: None
Name token20
Content
  • Base XSD Type: token
  • length <= 20
Schema Component Representation
<xs:simpleType name="token20">
<xs:restriction base="xs:token">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token2000

Super-types: xs:token < token2000 (by restriction)
Sub-types: None
Name token2000
Content
  • Base XSD Type: token
  • length <= 2000
Schema Component Representation
<xs:simpleType name="token2000">
<xs:restriction base="xs:token">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token22

Super-types: xs:token < token22 (by restriction)
Sub-types: None
Name token22
Content
  • Base XSD Type: token
  • length <= 22
Schema Component Representation
<xs:simpleType name="token22">
<xs:restriction base="xs:token">
<xs:maxLength value="22"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token240

Super-types: xs:token < token240 (by restriction)
Sub-types: None
Name token240
Content
  • Base XSD Type: token
  • length <= 240
Schema Component Representation
<xs:simpleType name="token240">
<xs:restriction base="xs:token">
<xs:maxLength value="240"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token256

Super-types: xs:token < token256 (by restriction)
Sub-types: None
Name token256
Content
  • Base XSD Type: token
  • length <= 256
Schema Component Representation
<xs:simpleType name="token256">
<xs:restriction base="xs:token">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token26

Super-types: xs:token < token26 (by restriction)
Sub-types: None
Name token26
Content
  • Base XSD Type: token
  • length <= 26
Schema Component Representation
<xs:simpleType name="token26">
<xs:restriction base="xs:token">
<xs:maxLength value="26"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token280

Super-types: xs:token < token280 (by restriction)
Sub-types: None
Name token280
Content
  • Base XSD Type: token
  • length <= 280
Schema Component Representation
<xs:simpleType name="token280">
<xs:restriction base="xs:token">
<xs:maxLength value="280"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token3

Super-types: xs:token < token3 (by restriction)
Sub-types: None
Name token3
Content
  • Base XSD Type: token
  • length <= 3
Schema Component Representation
<xs:simpleType name="token3">
<xs:restriction base="xs:token">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token30

Super-types: xs:token < token30 (by restriction)
Sub-types: None
Name token30
Content
  • Base XSD Type: token
  • length <= 30
Schema Component Representation
<xs:simpleType name="token30">
<xs:restriction base="xs:token">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token35

Super-types: xs:token < token35 (by restriction)
Sub-types: None
Name token35
Content
  • Base XSD Type: token
  • length <= 35
Schema Component Representation
<xs:simpleType name="token35">
<xs:restriction base="xs:token">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token350

Super-types: xs:token < token350 (by restriction)
Sub-types: None
Name token350
Content
  • Base XSD Type: token
  • length <= 350
Schema Component Representation
<xs:simpleType name="token350">
<xs:restriction base="xs:token">
<xs:maxLength value="350"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token4

Super-types: xs:token < token4 (by restriction)
Sub-types: None
Name token4
Content
  • Base XSD Type: token
  • length <= 4
Schema Component Representation
<xs:simpleType name="token4">
<xs:restriction base="xs:token">
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token40

Super-types: xs:token < token40 (by restriction)
Sub-types: None
Name token40
Content
  • Base XSD Type: token
  • length <= 40
Schema Component Representation
<xs:simpleType name="token40">
<xs:restriction base="xs:token">
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token44

Super-types: xs:token < token44 (by restriction)
Sub-types: None
Name token44
Content
  • Base XSD Type: token
  • length <= 44
Schema Component Representation
<xs:simpleType name="token44">
<xs:restriction base="xs:token">
<xs:maxLength value="44"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token50

Super-types: xs:token < token50 (by restriction)
Sub-types: None
Name token50
Content
  • Base XSD Type: token
  • length <= 50
Schema Component Representation
<xs:simpleType name="token50">
<xs:restriction base="xs:token">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token512

Super-types: xs:token < token512 (by restriction)
Sub-types: None
Name token512
Content
  • Base XSD Type: token
  • length <= 512
Schema Component Representation
<xs:simpleType name="token512">
<xs:restriction base="xs:token">
<xs:maxLength value="512"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token64

Super-types: xs:token < token64 (by restriction)
Sub-types: None
Name token64
Content
  • Base XSD Type: token
  • length <= 64
Schema Component Representation
<xs:simpleType name="token64">
<xs:restriction base="xs:token">
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token7

Super-types: xs:token < token7 (by restriction)
Sub-types: None
Name token7
Content
  • Base XSD Type: token
  • length <= 7
Schema Component Representation
<xs:simpleType name="token7">
<xs:restriction base="xs:token">
<xs:maxLength value="7"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token70

Super-types: xs:token < token70 (by restriction)
Sub-types: None
Name token70
Content
  • Base XSD Type: token
  • length <= 70
Schema Component Representation
<xs:simpleType name="token70">
<xs:restriction base="xs:token">
<xs:maxLength value="70"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token8

Super-types: xs:token < token8 (by restriction)
Sub-types: None
Name token8
Content
  • Base XSD Type: token
  • length <= 8
Schema Component Representation
<xs:simpleType name="token8">
<xs:restriction base="xs:token">
<xs:maxLength value="8"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: token9

Super-types: xs:token < token9 (by restriction)
Sub-types: None
Name token9
Content
  • Base XSD Type: token
  • length <= 9
Schema Component Representation
<xs:simpleType name="token9">
<xs:restriction base="xs:token">
<xs:maxLength value="9"/>
</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
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="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