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