XML Schema Documentation

Table of Contents

top

Schema Document Properties

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>
top

Global Declarations

Element: customsAssessment

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] ?">
<header> outgoingHeaderType </header> [1] ?
<customsProcess> customsProcessType </customsProcess> [1]
<customsMessage> customsMessageType </customsMessage> [1]
<shipment> shipmentType </shipment> [0..1]
<assessment> assessmentType </assessment> [1]
</customsAssessment>
Schema Component Representation
<xs:element name="customsAssessment">
<xs:complexType>
<xs:complexContent>
<xs:extension base="basicOutgoingType">
<xs:sequence>
<xs:element name="customsMessage" type="customsMessageType"/>
<xs:element name="shipment" type="shipmentType" minOccurs="0"/>
<xs:element name="assessment" type="assessmentType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: customsReceipt

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] ?">
<header> outgoingHeaderType </header> [1] ?
<customsProcess> customsProcessType </customsProcess> [1]
<result> receiptResultType </result> [1] ?
<item> responseItemType </item> [0..*]
</customsReceipt>
Schema Component Representation
<xs:element name="customsReceipt">
<xs:complexType>
<xs:complexContent>
<xs:extension base="basicOutgoingType">
<xs:sequence>
<xs:element name="result" type="receiptResultType"/>
<xs:element name="item" type="responseItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: customsStatusResponse

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] ?">
<header> outgoingHeaderType </header> [1] ?
<customsProcess> customsProcessType </customsProcess> [1]
<customsMessage> customsMessageType </customsMessage> [1]
<shipment> shipmentType </shipment> [0..1]
<customsStatus> statusResponseType </customsStatus> [0..1]
</customsStatusResponse>
Schema Component Representation
<xs:element name="customsStatusResponse">
<xs:complexType>
<xs:complexContent>
<xs:extension base="basicOutgoingType">
<xs:sequence>
<xs:element name="customsMessage" type="customsMessageType"/>
<xs:element name="shipment" type="shipmentType" minOccurs="0"/>
<xs:element name="customsStatus" type="statusResponseType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Element: customsWarehouseEntryResponse

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] ?">
<header> outgoingHeaderType </header> [1] ?
<customsProcess> customsProcessType </customsProcess> [1]
<customsMessage> customsMessageType </customsMessage> [1]
<shipment> shipmentType </shipment> [0..1]
<customsWarehouseEntry> customsWarehouseEntryType </customsWarehouseEntry> [1]
</customsWarehouseEntryResponse>
Schema Component Representation
<xs:element name="customsWarehouseEntryResponse">
<xs:complexType>
<xs:complexContent>
<xs:extension base="basicOutgoingType">
<xs:sequence>
<xs:element name="customsMessage" type="customsMessageType"/>
<xs:element name="shipment" type="shipmentType" minOccurs="0"/>
<xs:element name="customsWarehouseEntry" type="customsWarehouseEntryType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: assessmentAmountType

Super-types: None
Sub-types: None
Name assessmentAmountType
Abstract no
XML Instance Representation
<...>
<customsValue> amountType </customsValue> [0..1]
<duties> dutyAmountType </duties> [0..*]
<antidumpingDuties> dutyAmountType </antidumpingDuties> [0..*]
<additionalDuties> dutyAmountType </additionalDuties> [0..*]
<vat> dutyAmountType </vat> [0..*]
<exciseTax> dutyAmountType </exciseTax> [0..*]
</...>
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>
top

Complex Type: assessmentItemAmountType

Super-types: None
Sub-types: None
Name assessmentItemAmountType
Abstract no
XML Instance Representation
<...>
<customsValue> amountType </customsValue> [0..1]
<duties> amountType </duties> [0..1]
<antidumpingDuties> amountType </antidumpingDuties> [0..1]
<additionalDuties> amountType </additionalDuties> [0..1]
<vat> amountType </vat> [0..1]
<exciseTax> amountType </exciseTax> [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>
top

Complex Type: assessmentItemType

Super-types: responseItemType < assessmentItemType (by extension)
Sub-types: None
Name assessmentItemType
Abstract no
XML Instance Representation
<...>
<identification> responseItemIdentificationType </identification> [1]
<goodsDescription> token256 </goodsDescription> [0..1]
<grossWeight> weightType </grossWeight> [0..1]
<netWeight> weightType </netWeight> [0..1]
<remarks> token256 </remarks> [0..1]
<packaging> packageDataType </packaging> [0..*]
<customsDocs> customsDocType </customsDocs> [0..*]
<amounts> assessmentItemAmountType </amounts> [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:element name="amounts" type="assessmentItemAmountType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
top

Complex Type: assessmentPartiesType

Super-types: None
Sub-types: None
Name assessmentPartiesType
Abstract no
XML Instance Representation
<...>
<ownBranch> partiesType </ownBranch> [1]
<consignor> partiesType </consignor> [1]
<consignee> partiesType </consignee> [1]
<importer> partiesType </importer> [1]
<representative> partiesType </representative> [1]
</...>
Schema Component Representation
<xs:complexType name="assessmentPartiesType">
<xs:sequence>
<xs:element name="ownBranch" type="partiesType"/>
<xs:element name="consignor" type="partiesType"/>
<xs:element name="consignee" type="partiesType"/>
<xs:element name="importer" type="partiesType"/>
<xs:element name="representative" type="partiesType"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: assessmentType

Super-types: None
Sub-types: None
Name assessmentType
Abstract no
XML Instance Representation
<...>
<creationDate> xs:date </creationDate> [0..1] ?
<eadAccessCode> token20 </eadAccessCode> [0..1] ?
<bordereauNumber> n0To22Type </bordereauNumber> [0..1]
<parties> assessmentPartiesType </parties> [0..1]
<meansOfTransport> meansOfTransportType </meansOfTransport> [0..1]
<incoterms> incotermType </incoterms> [0..1]
<amounts> assessmentAmountType </amounts> [0..1]
<item> assessmentItemType </item> [0..*]
</...>
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="parties" type="assessmentPartiesType" minOccurs="0"/>
<xs:element name="meansOfTransport" type="meansOfTransportType" minOccurs="0"/>
<xs:element name="incoterms" type="incotermType" minOccurs="0"/>
<xs:element name="amounts" type="assessmentAmountType" minOccurs="0"/>
<xs:element name="item" type="assessmentItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: basicOutgoingType

Super-types: None
Sub-types: None
Name basicOutgoingType
Abstract no
Documentation Basic elements of all messages send by Scope to a 3rd party system..
XML Instance Representation
<...
schemaVersion="versionType [1] ?">
<header> outgoingHeaderType </header> [1] ?
<customsProcess> customsProcessType </customsProcess> [1]
</...>
Schema Component Representation
<xs:complexType name="basicOutgoingType">
<xs:sequence>
<xs:element name="header" type="outgoingHeaderType"/>
<xs:element name="customsProcess" type="customsProcessType"/>
</xs:sequence>
<xs:attribute name="schemaVersion" type="versionType" use="required"/>
</xs:complexType>
top

Complex Type: customsMessageType

Super-types: None
Sub-types: None
Name customsMessageType
Abstract no
Documentation The customs message which triggered this SCI message.
XML Instance Representation
<...>
<messageType> customsMessageTypeType </messageType> [1]
<declarationType> customsDeclarationTypeType </declarationType> [0..1]
<creationTime> xs:dateTime </creationTime> [0..1] ?
<referenceNumber> token35 </referenceNumber> [0..1]
<lrn> token22 </lrn> [0..1] ?
<registrationNumber> token35 </registrationNumber> [0..1]
<customerOrderNumber> token35 </customerOrderNumber> [0..1]
<status> customsStatusType </status> [0..1]
<error> errorType </error> [0..99]
<customsUser> token35 </customsUser> [0..1]
</...>
Schema Component Representation
<xs:complexType name="customsMessageType">
<xs:sequence>
<xs:element name="messageType" type="customsMessageTypeType"/>
<xs:element name="declarationType" type="customsDeclarationTypeType" minOccurs="0"/>
<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="status" type="customsStatusType" minOccurs="0"/>
<xs:element name="error" type="errorType" minOccurs="0" maxOccurs="99"/>
<xs:element name="customsUser" type="token35" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: customsWarehouseEntryItemType

Super-types: None
Sub-types: None
Name customsWarehouseEntryItemType
Abstract no
Documentation References for each position
XML Instance Representation
<...>
<identification> warehouseItemIdentificationType </identification> [1]
<limitDate> xs:date </limitDate> [0..1]
<custodian> outgoingAddressType </custodian> [0..1]
<disposalEntitledTrader> outgoingAddressType </disposalEntitledTrader> [0..1]
<takeIn> quantityType </takeIn> [0..1]
<takeOut> quantityType </takeOut> [0..1]
<stock> quantityType </stock> [0..1]
<intervention> responseInterventionType </intervention> [0..1]
</...>
Schema Component Representation
<xs:complexType name="customsWarehouseEntryItemType">
<xs:sequence>
<xs:element name="identification" type="warehouseItemIdentificationType"/>
<xs:element name="limitDate" type="xs:date" minOccurs="0"/>
<xs:element name="custodian" type="outgoingAddressType" minOccurs="0"/>
<xs:element name="disposalEntitledTrader" type="outgoingAddressType" 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:element name="intervention" type="responseInterventionType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: customsWarehouseEntryType

Super-types: None
Sub-types: None
Name customsWarehouseEntryType
Abstract no
XML Instance Representation
<...>
<item> customsWarehouseEntryItemType </item> [1..*]
</...>
Schema Component Representation
<xs:complexType name="customsWarehouseEntryType">
<xs:sequence>
<xs:element name="item" type="customsWarehouseEntryItemType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: dutyAmountType

Super-types: None
Sub-types: None
Name dutyAmountType
Abstract no
XML Instance Representation
<...>
<accountDetails> defermentAccountDetailsType </accountDetails> [0..1]
<bordereauNumber> n0To22Type </bordereauNumber> [0..1]
<payment> paymentType </payment> [0..1]
<due> amountType </due> [0..1] ?
<payable> amountType </payable> [1] ?
</...>
Schema Component Representation
<xs:complexType name="dutyAmountType">
<xs:sequence>
<xs:element name="accountDetails" type="defermentAccountDetailsType" minOccurs="0"/>
<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:element name="payable" type="amountType"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: errorType

Super-types: None
Sub-types: None
Name errorType
Abstract no
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>
top

Complex Type: outgoingAddressType

Super-types: None
Sub-types: None
Name outgoingAddressType
Abstract no
XML Instance Representation
<...>
Start Choice [0..1]
<scopePartner> scopePartnerAddressType </scopePartner> [1]
<address> addressType </address> [1]
End Choice
<partyID> partyIdentifier </partyID> [0..1]
</...>
Schema Component Representation
<xs:complexType name="outgoingAddressType">
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="scopePartner" type="scopePartnerAddressType"/>
<xs:element name="address" type="addressType"/>
</xs:choice>
<xs:element name="partyID" type="partyIdentifier" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: outgoingHeaderType

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
<...>
<messageCreationTimestamp> xs:dateTime </messageCreationTimestamp> [1] ?
<messageId> nmtoken128 </messageId> [1] ?
<sender> senderRecipientType </sender> [1] ?
<recipient> senderRecipientType </recipient> [1] ?
<configuration> nmtoken35 </configuration> [0..1] ?
<userId> token256 </userId> [0..1] ?
<originalMessageId> nmtoken128 </originalMessageId> [1] ?
</...>
Schema Component Representation
<xs:complexType name="outgoingHeaderType">
<xs:sequence>
<-- Mandatory Header Data -->
<xs:element name="messageCreationTimestamp" type="xs:dateTime"/>
<xs:element name="messageId" type="nmtoken128"/>
<xs:element name="sender" type="senderRecipientType"/>
<xs:element name="recipient" type="senderRecipientType"/>
<xs:element name="configuration" type="nmtoken35" minOccurs="0"/>
<xs:element name="userId" type="token256" minOccurs="0"/>
<xs:element name="originalMessageId" type="nmtoken128"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: receiptResultType

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.
XML Instance Representation
<...
status="statusType [1] ?"
level="levels [1] ?">
xs:string
</...>
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>
top

Complex Type: responseInterventionType

Super-types: None
Sub-types: None
Name responseInterventionType
Abstract no
XML Instance Representation
<...>
<code> nmtoken4 </code> [0..1]
<text> string1000 </text> [0..1]
<contact> contactType </contact> [0..1]
</...>
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>
top

Complex Type: responseItemIdentificationType

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>
top

Complex Type: responseItemType

Super-types: None
Sub-types:
Name responseItemType
Abstract no
XML Instance Representation
<...>
<identification> responseItemIdentificationType </identification> [1]
</...>
Schema Component Representation
<xs:complexType name="responseItemType">
<xs:sequence>
<xs:element name="identification" type="responseItemIdentificationType"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: shipmentType

Super-types: None
Sub-types: None
Name shipmentType
Abstract no
XML Instance Representation
<...>
<number> token64 </number> [0..1]
<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>
top

Complex Type: statusResponseItemType

Super-types: responseItemType < statusResponseItemType (by extension)
Sub-types: None
Name statusResponseItemType
Abstract no
XML Instance Representation
<...>
<identification> responseItemIdentificationType </identification> [1]
<intervention> responseInterventionType </intervention> [0..999]
<exporter> partiesType </exporter> [0..1]
<grossMass> weightType </grossMass> [0..1]
<netMass> weightType </netMass> [0..1]
<packaging> packageDataType </packaging> [0..99] ?
</...>
Schema Component Representation
<xs:complexType name="statusResponseItemType">
<xs:complexContent>
<xs:extension base="responseItemType">
<xs:sequence>
<xs:element name="intervention" type="responseInterventionType" minOccurs="0" maxOccurs="999"/>
<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>
top

Complex Type: statusResponseTimePoints

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>
top

Complex Type: statusResponseType

Super-types: None
Sub-types: None
Name statusResponseType
Abstract no
XML Instance Representation
<...>
<timepoints> statusResponseTimePoints </timepoints> [0..1]
<intervention> responseInterventionType </intervention> [0..1]
<intendedExitOffice> customsOffice </intendedExitOffice> [0..1]
<actualExitOffice> customsOffice </actualExitOffice> [0..1]
<exporter> partiesType </exporter> [0..1]
<freightForwarder> partiesType </freightForwarder> [0..1]
<totalGrossWeight> weightType </totalGrossWeight> [0..1]
<totalPackages> xs:integer </totalPackages> [0..1]
<seals> sealsType </seals> [0..1]
<item> statusResponseItemType </item> [0..*]
</...>
Schema Component Representation
<xs:complexType name="statusResponseType">
<xs:sequence>
<xs:element name="timepoints" type="statusResponseTimePoints" minOccurs="0"/>
<xs:element name="intervention" type="responseInterventionType" minOccurs="0"/>
<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:element name="item" type="statusResponseItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: warehouseItemIdentificationType

Super-types: responseItemIdentificationType < warehouseItemIdentificationType (by extension)
Sub-types: None
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] ?
<scopeURN> token128 </scopeURN> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="warehouseItemIdentificationType">
<xs:complexContent>
<xs:extension base="responseItemIdentificationType">
<xs:sequence>
<xs:element name="externalURN" type="token256" minOccurs="0"/>
<xs:element name="scopeURN" type="token128" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
top

Simple Type: customsDeclarationTypeType

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>
top

Simple Type: customsMessageTypeType

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>
top

Simple Type: customsStatusType

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>
top

Simple Type: levels

Super-types: xs:string < levels (by restriction)
Sub-types: None
Name levels
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: paymentType

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>
top

Simple Type: statusType

Super-types: xs:string < statusType (by restriction)
Sub-types: None
Name statusType
Content
  • Base XSD Type: string
  • 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>
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