|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2012 rel. 2 (http://www.altova.com) by Frans Westerhof (Copernicus Interchange Technology B.V.) -->
- <!--W3C Schema generated by XMLSpy v2012 rel. 2 (http://www.altova.com)-->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="shipmentStatus">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="8"/>
- <xs:enumeration value="DONE"/>
- <xs:enumeration value="TRNS"/>
- <xs:enumeration value="ACCEP"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="pickupDate">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="8"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="currency">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="64"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="statusPrice">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="11"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="incoterms">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="128"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="NoPieces">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="128"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="reference">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="256"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="trackingUrl">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="2048"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="shipment">
- <xs:complexType>
- <xs:all>
- <xs:element ref="lineNo" minOccurs="0"/>
- <xs:element ref="statusTimeStamp" minOccurs="0"/>
- <xs:element ref="awb" minOccurs="0"/>
- <xs:element ref="reference" minOccurs="0"/>
- <xs:element ref="NoPieces" minOccurs="0" maxOccurs="1"/>
- <xs:element ref="weight" minOccurs="0"/>
- <xs:element ref="weight_uom" minOccurs="0"/>
- <xs:element ref="incoterms" minOccurs="0"/>
- <xs:element ref="statusPrice" minOccurs="0"/>
- <xs:element ref="currency" minOccurs="0"/>
- <xs:element ref="plannedDeliveryDate" minOccurs="0"/>
- <xs:element ref="plannedDeliveryTimeFrom" minOccurs="0"/>
- <xs:element ref="plannedDeliveryTimeTo" minOccurs="0"/>
- <xs:element ref="deliveryDate" minOccurs="0"/>
- <xs:element ref="deliveryTime" minOccurs="0"/>
- <xs:element ref="acceptedBy" minOccurs="0"/>
- <xs:element ref="pickupDate" minOccurs="0"/>
- <xs:element ref="shipmentStatus" minOccurs="0"/>
- <xs:element ref="carrierStatusCode" minOccurs="0"/>
- <xs:element ref="carrierStatusDescription" minOccurs="0"/>
- <xs:element ref="trackingUrl" minOccurs="0"/>
- <xs:element ref="documents" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="documents">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="document" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="document">
- <xs:complexType>
- <xs:all>
- <xs:element ref="documentType"/>
- <xs:element ref="fileType"/>
- <xs:element ref="documentData"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="documentType">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="10"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="fileType">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="10"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="documentData" type="xs:string"/>
- <xs:element name="weight_uom">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="3"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="weight">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="11"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="statusTimeStamp"/>
- <xs:element name="statusCode">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="8"/>
- <xs:enumeration value="DONE"/>
- <xs:enumeration value="TRNS"/>
- <xs:enumeration value="ACCEP"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="status">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="pieces" minOccurs="0"/>
- <xs:element ref="shipment" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="carrier" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="root">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="status"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="price">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="11"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="plannedDeliveryDate">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="8"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="plannedDeliveryTimeTo">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="6"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="plannedDeliveryTimeFrom">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="6"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="deliveryDate">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="8"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="deliveryTime">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="6"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="pieces">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="piece" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="piece">
- <xs:complexType>
- <xs:all>
- <xs:element ref="lineNo"/>
- <xs:element ref="statusTimeStamp" minOccurs="0"/>
- <xs:element ref="awb"/>
- <xs:element ref="weight" minOccurs="0"/>
- <xs:element ref="weight_uom" minOccurs="0"/>
- <xs:element ref="price" minOccurs="0"/>
- <xs:element ref="plannedDeliveryDate" minOccurs="0"/>
- <xs:element ref="plannedDeliveryTimeFrom" minOccurs="0"/>
- <xs:element ref="plannedDeliveryTimeTo" minOccurs="0"/>
- <xs:element ref="deliveryDate" minOccurs="0"/>
- <xs:element ref="deliveryTime" minOccurs="0"/>
- <xs:element ref="acceptedBy" minOccurs="0"/>
- <xs:element ref="statusCode" minOccurs="0"/>
- <xs:element ref="carrierStatusCode" minOccurs="0"/>
- <xs:element ref="carrierStatusDescription" minOccurs="0"/>
- <xs:element ref="documents" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="lineNo" type="xs:int"/>
- <xs:element name="carrierStatusDescription">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="128"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="carrierStatusCode">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="16"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="awb">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="256"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="acceptedBy">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:minLength value="0"/>
- <xs:maxLength value="64"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:schema>
|