Table of Contents
Target Namespace
http://dtd.riege.com/sci/customsResponses-v5
Version
5.12
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.
Schema Composition
This schema includes components from the following schema document(s):
Declared Namespaces
Prefix
Namespace
Default namespace
http://dtd.riege.com/sci/customsResponses-v5
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 "
targetNamespace ="
http://dtd.riege.com/sci/customsResponses-v5 "
elementFormDefault ="
qualified "
version ="
5.12 ">
<xs:include schemaLocation ="customsBase-v5.xsd "/>
...
</
xs:schema >
Name
customsAssessment
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
The customsAssessment is sent by Scope to inform
about the references and amounts of the customs duties and taxes.
XML Instance Representation
<customsAssessment
schemaVersion="versionType [1] ? " >
</customsAssessment>
Schema Component Representation
<
xs:element name ="
customsAssessment ">
<
xs:complexType >
<
xs:complexContent >
<
xs:extension base ="
basicOutgoingType ">
<
xs:sequence >
<
xs:element name ="
shipment "
type ="
shipmentType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
Name
customsReceipt
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
The customsReceipt message is sent by Scope to confirm the
processing of a customsShipment or report errors that prevented
Scope from processing the customsShipment. The configuration
named in the customsShipment determines if Scope will generate
this message.
XML Instance Representation
<customsReceipt
schemaVersion="versionType [1] ? " >
</customsReceipt>
Schema Component Representation
<
xs:element name ="
customsReceipt ">
<
xs:complexType >
<
xs:complexContent >
<
xs:extension base ="
basicOutgoingType ">
<
xs:sequence >
<
xs:element name ="
item "
type ="
responseItemType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
Name
customsStatusResponse
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
The customsAssessment is sent by Scope to inform
about the references and amounts of the customs duties and taxes.
XML Instance Representation
<customsStatusResponse
schemaVersion="versionType [1] ? " >
</customsStatusResponse>
Schema Component Representation
<
xs:element name ="
customsStatusResponse ">
<
xs:complexType >
<
xs:complexContent >
<
xs:extension base ="
basicOutgoingType ">
<
xs:sequence >
<
xs:element name ="
shipment "
type ="
shipmentType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
Name
customsWarehouseEntryResponse
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
The CustomsWarehouseEntryResponse is sent by Scope to inform
which references where assigned to the external positions
by Scope and customs.
XML Instance Representation
<customsWarehouseEntryResponse
schemaVersion="versionType [1] ? " >
</customsWarehouseEntryResponse>
Schema Component Representation
<
xs:element name ="
customsWarehouseEntryResponse ">
<
xs:complexType >
<
xs:complexContent >
<
xs:extension base ="
basicOutgoingType ">
<
xs:sequence >
<
xs:element name ="
shipment "
type ="
shipmentType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
assessmentAmountType ">
<
xs:sequence >
<
xs:element name ="
customsValue "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
duties "
type ="
dutyAmountType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
antidumpingDuties "
type ="
dutyAmountType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
additionalDuties "
type ="
dutyAmountType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
vat "
type ="
dutyAmountType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
exciseTax "
type ="
dutyAmountType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
assessmentItemAmountType
Abstract
no
XML Instance Representation
<...>
<antidumpingDuties>
amountType </antidumpingDuties>
[0..1]
<additionalDuties>
amountType </additionalDuties>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
assessmentItemAmountType ">
<
xs:sequence >
<
xs:element name ="
customsValue "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
duties "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
antidumpingDuties "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
additionalDuties "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
vat "
type ="
amountType "
minOccurs ="
0 "/>
<
xs:element name ="
exciseTax "
type ="
amountType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
responseItemType < assessmentItemType (by extension)
Sub-types:
None
XML Instance Representation
<...>
<goodsDescription>
token256 </goodsDescription>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
assessmentItemType ">
<
xs:complexContent >
<
xs:extension base ="
responseItemType ">
<
xs:sequence >
<
xs:element name ="
goodsDescription "
type ="
token256 "
minOccurs ="
0 "/>
<
xs:element name ="
grossWeight "
type ="
weightType "
minOccurs ="
0 "/>
<
xs:element name ="
netWeight "
type ="
weightType "
minOccurs ="
0 "/>
<
xs:element name ="
remarks "
type ="
token256 "
minOccurs ="
0 "/>
<
xs:element name ="
packaging "
type ="
packageDataType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
customsDocs "
type ="
customsDocType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
assessmentPartiesType ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<creationDate>
xs :date </creationDate>
[0..1] ?
<eadAccessCode>
token20 </eadAccessCode>
[0..1] ?
<bordereauNumber>
n0To22Type </bordereauNumber>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
assessmentType ">
<
xs:sequence >
<
xs:element name ="
creationDate "
type ="
xs :date"
minOccurs ="
0 "/>
<
xs:element name ="
eadAccessCode "
type ="
token20 "
minOccurs ="
0 "/>
<
xs:element name ="
bordereauNumber "
type ="
n0To22Type "
minOccurs ="
0 "/>
<
xs:element name ="
incoterms "
type ="
incotermType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
basicOutgoingType
Abstract
no
Documentation
Basic elements of all messages send by Scope to a 3rd party system..
Schema Component Representation
<
xs:complexType name ="
basicOutgoingType ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
schemaVersion "
type ="
versionType "
use ="
required "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
customsMessageType
Abstract
no
Documentation
The customs message which triggered this SCI message.
XML Instance Representation
<...>
<creationTime>
xs :dateTime </creationTime>
[0..1] ?
<referenceNumber>
token35 </referenceNumber>
[0..1]
<registrationNumber>
token35 </registrationNumber>
[0..1]
<customerOrderNumber>
token35 </customerOrderNumber>
[0..1]
<customsUser>
token35 </customsUser>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
customsMessageType ">
<
xs:sequence >
<
xs:element name ="
creationTime "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
referenceNumber "
type ="
token35 "
minOccurs ="
0 "/>
<
xs:element name ="
lrn "
type ="
token22 "
minOccurs ="
0 "/>
<
xs:element name ="
registrationNumber "
type ="
token35 "
minOccurs ="
0 "/>
<
xs:element name ="
customerOrderNumber "
type ="
token35 "
minOccurs ="
0 "/>
<
xs:element name ="
error "
type ="
errorType "
minOccurs ="
0 "
maxOccurs ="
99 "/>
<
xs:element name ="
customsUser "
type ="
token35 "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
customsWarehouseEntryItemType
Abstract
no
Documentation
References for each position
XML Instance Representation
<...>
<limitDate>
xs :date </limitDate>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
customsWarehouseEntryItemType ">
<
xs:sequence >
<
xs:element name ="
limitDate "
type ="
xs :date"
minOccurs ="
0 "/>
<
xs:element name ="
takeIn "
type ="
quantityType "
minOccurs ="
0 "/>
<
xs:element name ="
takeOut "
type ="
quantityType "
minOccurs ="
0 "/>
<
xs:element name ="
stock "
type ="
quantityType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
customsWarehouseEntryType
Abstract
no
Schema Component Representation
<
xs:complexType name ="
customsWarehouseEntryType ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<bordereauNumber>
n0To22Type </bordereauNumber>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
dutyAmountType ">
<
xs:sequence >
<
xs:element name ="
bordereauNumber "
type ="
n0To22Type "
minOccurs ="
0 "/>
<
xs:element name ="
payment "
type ="
paymentType "
minOccurs ="
0 "/>
<
xs:element name ="
due "
type ="
amountType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<errorText>
xs :string </errorText>
[1] </...>
Schema Component Representation
<
xs:complexType name ="
errorType ">
<
xs:sequence >
<
xs:element name ="
errorText "
type ="
xs :string"/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start Choice [0..1]
End Choice </...>
Schema Component Representation
<
xs:complexType name ="
outgoingAddressType ">
<
xs:sequence >
<
xs:choice minOccurs ="
0 ">
</
xs:choice >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
outgoingHeaderType
Abstract
no
Documentation
The header provides information to route, process and debug messages send by Scope
to a 3rd party system..
XML Instance Representation
Schema Component Representation
Super-types:
xs :string < receiptResultType (by extension)
Sub-types:
None
Name
receiptResultType
Abstract
no
Documentation
The result of processing a an inbound message in Scope offer a human readable description
together with a status and the level.
Schema Component Representation
<
xs:complexType name ="
receiptResultType ">
<
xs:simpleContent >
<
xs:extension base ="
xs :string">
<
xs:attribute name ="
status "
type ="
statusType "
use ="
required "/>
<
xs:attribute name ="
level "
type ="
levels "
use ="
required "/>
</
xs:extension >
</
xs:simpleContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
responseInterventionType
Abstract
no
Schema Component Representation
<
xs:complexType name ="
responseInterventionType ">
<
xs:sequence >
<
xs:element name ="
code "
type ="
nmtoken4 "
minOccurs ="
0 "/>
<
xs:element name ="
text "
type ="
string1000 "
minOccurs ="
0 "/>
<
xs:element name ="
contact "
type ="
contactType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
Name
responseItemIdentificationType
Abstract
no
XML Instance Representation
<...>
<sequenceNumber>
int5Type </sequenceNumber>
[1]
<registrationNumber>
token35 </registrationNumber>
[0..1]
<classificationKeyNumber>
token44 </classificationKeyNumber>
[0..1]
<marksAndNumbers>
token512 </marksAndNumbers>
[0..*] </...>
Schema Component Representation
<
xs:complexType name ="
responseItemIdentificationType ">
<
xs:sequence >
<
xs:element name ="
sequenceNumber "
type ="
int5Type "/>
<
xs:element name ="
registrationNumber "
type ="
token35 "
minOccurs ="
0 "/>
<
xs:element name ="
classificationKeyNumber "
type ="
token44 "
minOccurs ="
0 "/>
<
xs:element name ="
marksAndNumbers "
type ="
token512 "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
Schema Component Representation
<
xs:complexType name ="
responseItemType ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<reference>
token35 </reference>
[0..1]
<economicDate>
xs :date </economicDate>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
shipmentType ">
<
xs:sequence >
<
xs:element name ="
number "
type ="
token64 "
minOccurs ="
0 "/>
<
xs:element name ="
reference "
type ="
token35 "
minOccurs ="
0 "/>
<
xs:element name ="
economicDate "
type ="
xs :date"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
responseItemType < statusResponseItemType (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
statusResponseItemType ">
<
xs:complexContent >
<
xs:extension base ="
responseItemType ">
<
xs:sequence >
<
xs:element name ="
exporter "
type ="
partiesType "
minOccurs ="
0 "/>
<
xs:element name ="
grossMass "
type ="
weightType "
minOccurs ="
0 "/>
<
xs:element name ="
netMass "
type ="
weightType "
minOccurs ="
0 "/>
<
xs:element name ="
packaging "
type ="
packageDataType "
minOccurs ="
0 "
maxOccurs ="
99 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
statusResponseTimePoints
Abstract
no
XML Instance Representation
<...>
<inspection>
xs :dateTime </inspection>
[0..1]
<permission>
xs :dateTime </permission>
[0..1]
<presentation>
xs :dateTime </presentation>
[0..1]
<exit>
xs :dateTime </exit>
[0..1]
<transferTotransit>
xs :dateTime </transferTotransit>
[0..1]
<finalization>
xs :dateTime </finalization>
[0..1]
<interdiction>
xs :dateTime </interdiction>
[0..1]
<exitForwarded>
xs :dateTime </exitForwarded>
[0..1]
<exceptionProcessing>
xs :dateTime </exceptionProcessing>
[0..1] </...>
Schema Component Representation
<
xs:complexType name ="
statusResponseTimePoints ">
<
xs:sequence >
<
xs:element name ="
inspection "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
permission "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
presentation "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
exit "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
transferTotransit "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
finalization "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
interdiction "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
exitForwarded "
type ="
xs :dateTime"
minOccurs ="
0 "/>
<
xs:element name ="
exceptionProcessing "
type ="
xs :dateTime"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<freightForwarder>
partiesType </freightForwarder>
[0..1]
<totalGrossWeight>
weightType </totalGrossWeight>
[0..1]
<totalPackages>
xs :integer </totalPackages>
[0..1]
</...>
Schema Component Representation
<
xs:complexType name ="
statusResponseType ">
<
xs:sequence >
<
xs:element name ="
intendedExitOffice "
type ="
customsOffice "
minOccurs ="
0 "/>
<
xs:element name ="
actualExitOffice "
type ="
customsOffice "
minOccurs ="
0 "/>
<
xs:element name ="
exporter "
type ="
partiesType "
minOccurs ="
0 "/>
<
xs:element name ="
freightForwarder "
type ="
partiesType "
minOccurs ="
0 "/>
<
xs:element name ="
totalGrossWeight "
type ="
weightType "
minOccurs ="
0 "/>
<
xs:element name ="
totalPackages "
type ="
xs :integer"
minOccurs ="
0 "/>
<
xs:element name ="
seals "
type ="
sealsType "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Name
warehouseItemIdentificationType
Abstract
no
XML Instance Representation
<...>
<sequenceNumber>
int5Type </sequenceNumber>
[1]
<registrationNumber>
token35 </registrationNumber>
[0..1]
<classificationKeyNumber>
token44 </classificationKeyNumber>
[0..1]
<marksAndNumbers>
token512 </marksAndNumbers>
[0..*]
<externalURN>
token256 </externalURN>
[0..1] ?
</...>
Schema Component Representation
<
xs:complexType name ="
warehouseItemIdentificationType ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
nmtoken35 < customsDeclarationTypeType (by restriction)
Sub-types:
None
Name
customsDeclarationTypeType
Content
'nmtoken35' super type was not found in this schema. Its facets could not be printed out.
value comes from list: {'PrematureDeclaration'|'Declaration'|'Amendment'|'Confirmation'}
Schema Component Representation
<
xs:simpleType name ="
customsDeclarationTypeType ">
<
xs:restriction base ="
nmtoken35 ">
<xs:enumeration value ="PrematureDeclaration "/>
<xs:enumeration value ="Declaration "/>
<xs:enumeration value ="Amendment "/>
<xs:enumeration value ="Confirmation "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
nmtoken35 < customsMessageTypeType (by restriction)
Sub-types:
None
Name
customsMessageTypeType
Content
'nmtoken35' super type was not found in this schema. Its facets could not be printed out.
value comes from list: {'Assessment'|'Receipt'|'Finished'|'Intervention'|'Storage'|'Status'|'Error'|'Release'}
Schema Component Representation
<
xs:simpleType name ="
customsMessageTypeType ">
<
xs:restriction base ="
nmtoken35 ">
<xs:enumeration value ="Assessment "/>
<xs:enumeration value ="Receipt "/>
<xs:enumeration value ="Finished "/>
<xs:enumeration value ="Intervention "/>
<xs:enumeration value ="Storage "/>
<xs:enumeration value ="Status "/>
<xs:enumeration value ="Error "/>
<xs:enumeration value ="Release "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
nmtoken3 < customsStatusType (by restriction)
Sub-types:
None
Name
customsStatusType
Content
'nmtoken3' super type was not found in this schema. Its facets could not be printed out.
value comes from list: {'CDS'|'CAP'|'COK'|'CLD'|'CGA'|'CRR'|'CTX'|'CCE'|'CCL'|'CTA'|'CFN'|'CPR'|'CRV'|'CDR'}
Schema Component Representation
<
xs:simpleType name ="
customsStatusType ">
<
xs:restriction base ="
nmtoken3 ">
<xs:enumeration value ="CDS "/>
<xs:enumeration value ="CAP "/>
<xs:enumeration value ="COK "/>
<xs:enumeration value ="CLD "/>
<xs:enumeration value ="CGA "/>
<xs:enumeration value ="CRR "/>
<xs:enumeration value ="CTX "/>
<xs:enumeration value ="CCE "/>
<xs:enumeration value ="CCL "/>
<xs:enumeration value ="CTA "/>
<xs:enumeration value ="CFN "/>
<xs:enumeration value ="CPR "/>
<xs:enumeration value ="CRV "/>
<xs:enumeration value ="CDR "/>
</
xs:restriction >
</
xs:simpleType >
Simple Type: levels
Super-types:
xs :string < levels (by restriction)
Sub-types:
None
Name
levels
Content
value comes from list: {'messageFormat'|'xmlStructure'|'systemRouting'|'branchRouting'|'conveyance'|'customsProcess'}
Schema Component Representation
<
xs:simpleType name ="
levels ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="messageFormat "/>
<xs:enumeration value ="xmlStructure "/>
<xs:enumeration value ="systemRouting "/>
<xs:enumeration value ="branchRouting "/>
<xs:enumeration value ="conveyance "/>
<xs:enumeration value ="customsProcess "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
nmtoken35 < paymentType (by restriction)
Sub-types:
None
Name
paymentType
Content
'nmtoken35' super type was not found in this schema. Its facets could not be printed out.
value comes from list: {'Cash'|'Cheque'|'Deferment'|'Other'}
Schema Component Representation
<
xs:simpleType name ="
paymentType ">
<
xs:restriction base ="
nmtoken35 ">
<xs:enumeration value ="Cash "/>
<xs:enumeration value ="Cheque "/>
<xs:enumeration value ="Deferment "/>
<xs:enumeration value ="Other "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < statusType (by restriction)
Sub-types:
None
Name
statusType
Content
value comes from list: {'accepted'|'error'|'rejected'}
Schema Component Representation
<
xs:simpleType name ="
statusType ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="accepted "/>
<xs:enumeration value ="error "/>
<xs:enumeration value ="rejected "/>
</
xs:restriction >
</
xs:simpleType >
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.
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.
The minimum and maximum occurrence of elements and attributes are provided in square
brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed
from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g.
country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets,
e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that
pops up when the question mark inside the attribute or next to the element is clicked,
e.g. <postcode>.
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.)
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 .