OpenXE/classes/Carrier/Dhl/Wsdl/geschaeftskundenversand-api-3.4.0-schema-cis_base.xsd
2022-11-22 00:21:57 +01:00

1127 lines
36 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Mit XMLSpy v2008 rel. 2 sp2 (http://www.altova.com) von Andreas V. Kempf (DHL Verwaltungs GmbH) bearbeitet -->
<!-- Mit XMLSpy Andreas Kempf bearbeitet -->
<!--
Description:
The descriped structures and elements are used to provide a basis for cis web services
DHL Verwaltungs GmbH
Customer Interface Solutions
Bonn (Germany)
Version: 0.96
Date: 10.12.2008
Dependency:
none
Refered by:
tas.xsd Domestic pickup service for Germany
Intraship WebService
pud.xsd Pickup Dispatcher (Intraship
History:
v0.4 Element streetAdd renamed to careOfName
v0.5 Critical number elements converted to string to keep leading zeros (ZIP:germany, routeCode, identCode, PackStationType, PostOfficeType)
v0.6 streetNameCode and streetNumberCode added, PickupAddressType and DeliveryAddressType expanded by these fields
v0.7 version added
v0.8 BankType changed, ShipmentNumberType added
v0.9 accountNumberExpress added
v0.9a status and statusDescription added
v0.91 contactPerson added to CommunicationType
v0.92 element version deleted, new element Version with major release, minor release and optional build
v0.93 elements status and statusDescription replaced by the new element Status with elements statuscode and statusdescription
v0.94 added elements airwayBill->ShipmentNumberType, Dimension, productKey, TimeFrame, Origin added in packStationType, Origin->country now optional
v0.95 added shipmentNumber for all DHL numbertypes (incl. empty for possible response), airwaybill modified to string[10], added datatypes for BankType->bic and BankType->note
v0.96 added shipmentNumber into shipmentNumberType as reference
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cis="http://dhl.de/webservice/cisbase"
targetNamespace="http://dhl.de/webservice/cisbase" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:simpleType name="countryISOType">
<xs:annotation>
<xs:documentation>Country specific ISO code.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="2"/>
<xs:minLength value="2" fixed="false"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="EKP">
<xs:annotation>
<xs:documentation>First 10 digit number extract from the 14 digit DHL Account Number. E.g. if DHL Account Number is "5000000008 72 01" then EKP is equal to 5000000008.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="10"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="partnerID">
<xs:annotation>
<xs:documentation>Field has the partner id. I.e. the last 2 digit number extract from the 14 digit DHL Account Number. E.g. if DHL Account Number is "5000000008 72 01" then Attendance is 01. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="procedureID">
<xs:annotation>
<xs:documentation>Procedure ID (part of account number).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="accountNumber">
<xs:annotation>
<xs:documentation>DHL account number (14 digits).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="14"/>
<xs:maxLength value="14"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="accountNumberExpress">
<xs:annotation>
<xs:documentation>Express AccountNumber (9 digits).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="9"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="identCode">
<xs:annotation>
<xs:documentation>Ident code number.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="12"/>
<xs:maxLength value="12"/>
<xs:pattern value="[0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="licensePlate">
<xs:annotation>
<xs:documentation>License plate number.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="39"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="airwayBill">
<xs:annotation>
<xs:documentation>Airway bill number.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="10"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="routeCode">
<xs:annotation>
<xs:documentation>route code (default).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="14"/>
<xs:maxLength value="14"/>
<xs:pattern value="[0-9]{14}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="routingCode">
<xs:annotation>
<xs:documentation>
The following barcode types are:
1. GS1 Barcode
2. ASC MH10 Barcode
3. 2/5 Interleaved
4. Code 128 ( UPU )
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="39"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="zip" type="cis:ZipType"/>
<xs:element name="city">
<xs:annotation>
<xs:documentation>City name.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="province">
<xs:annotation>
<xs:documentation>Province name.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNameCode">
<xs:annotation>
<xs:documentation>Code for street name (part of routecode).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNumberCode">
<xs:annotation>
<xs:documentation>Code for street number (part of routecode).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Origin" type="cis:CountryType">
<xs:annotation>
<xs:documentation>Country.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Authentification" type="cis:AuthentificationType">
<xs:annotation>
<xs:documentation>Authentification.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Version">
<xs:annotation>
<xs:documentation>The version of the webservice implementation for which the
requesting client is developed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="majorRelease">
<xs:annotation>
<xs:documentation>The number of the major release. E.g. the '3' in version "3.2.".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="minorRelease" minOccurs="0">
<xs:annotation>
<xs:documentation>The number of the minor release. E.g. the '3' in version "3.2.".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="build" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional build id to be addressed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="AuthentificationType">
<xs:annotation>
<xs:documentation>Type of authentification</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="user">
<xs:annotation>
<xs:documentation>username for the business customer portal (only lower case)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="signature">
<xs:annotation>
<xs:documentation>password for the business customer portal</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="32"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NativeAddressType">
<xs:annotation>
<xs:documentation>Type of native address</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="streetName">
<xs:annotation>
<xs:documentation>The name of the street. Optionally the house number can be passed in this field too.
In this case the field "streetNumber" must not be present.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNumber" minOccurs="0" >
<xs:annotation>
<xs:documentation>The house number. This field is only optional when the house number is passed with
the field streetName.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="addressAddition" minOccurs="0" maxOccurs="2">
<xs:annotation>
<xs:documentation>Address addon, is only printed in the international area (V53WPAK)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dispatchingInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>DispatchingInformation, is only printed in the international area (V53WPAK)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element ref="cis:province" minOccurs="0"/>
<xs:element ref="cis:Origin" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NativeAddressTypeNew">
<xs:annotation>
<xs:documentation>Type of native address</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="streetName">
<xs:annotation>
<xs:documentation>The name of the street. Optionally the house number can be passed in this field too.
In this case the field "streetNumber" must not be present.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNumber" minOccurs="0" >
<xs:annotation>
<xs:documentation>The house number. This field is only optional when the house number is passed with
the field streetName.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element name="Origin" type="cis:CountryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Country.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ReceiverNativeAddressType">
<xs:sequence>
<xs:element ref="cis:name2" minOccurs="0"/>
<xs:element ref="cis:name3" minOccurs="0"/>
<xs:element name="streetName">
<xs:annotation>
<xs:documentation>The name of the street. Optionally the house number can be passed in this field too.
In this case the field "streetNumber" must not be present.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNumber" minOccurs="0" >
<xs:annotation>
<xs:documentation>The house number. This field is only optional when the house number is passed with
the field streetName.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="addressAddition" minOccurs="0" maxOccurs="2">
<xs:annotation>
<xs:documentation>Address addon, is only printed in the international area (V53WPAK)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dispatchingInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>DispatchingInformation, is only printed in the international area (V53WPAK)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element ref="cis:province" minOccurs="0"/>
<xs:element name="Origin" type="cis:CountryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Country.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PickupAddressType">
<xs:annotation>
<xs:documentation>Type of pickup address</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:annotation>
<xs:documentation>can be</xs:documentation>
</xs:annotation>
<xs:element name="NativeAddress" type="cis:NativeAddressType">
<xs:annotation>
<xs:documentation>Default address</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PackStation" type="cis:PackStationType">
<xs:annotation>
<xs:documentation>Packstation address</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="cis:streetNameCode" minOccurs="0"/>
<xs:element ref="cis:streetNumberCode" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DeliveryAddressType">
<xs:annotation>
<xs:documentation>Type of delivery address</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:annotation>
<xs:documentation>can be</xs:documentation>
</xs:annotation>
<xs:element name="NativeAddress" type="cis:NativeAddressType">
<xs:annotation>
<xs:documentation>Default address</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostOffice" type="cis:PostfilialeType">
<xs:annotation>
<xs:documentation>Postoffice address</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PackStation" type="cis:PackStationType">
<xs:annotation>
<xs:documentation>Packstation address</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="cis:streetNameCode" minOccurs="0"/>
<xs:element ref="cis:streetNumberCode" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BankType">
<xs:annotation>
<xs:documentation>Type of bank information</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="accountOwner">
<xs:annotation>
<xs:documentation>Name of bank account owner.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bankName">
<xs:annotation>
<xs:documentation>Name of bank.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="iban">
<xs:annotation>
<xs:documentation>IBAN code of bank account.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="22"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="note1" minOccurs="0">
<xs:annotation>
<xs:documentation>Purpose of bank information.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="note2" minOccurs="0">
<xs:annotation>
<xs:documentation>Purpose of bank information.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bic" minOccurs="0">
<xs:annotation>
<xs:documentation>Bank-Information-Code (BankCCL) of bank account.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="11"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="accountreference" minOccurs="0">
<xs:annotation>
<xs:documentation>Accountreferece to customer profile</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NameType">
<xs:annotation>
<xs:documentation>Type of name</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element ref="cis:name1" minOccurs="1"/>
<xs:element ref="cis:name2" minOccurs="0"/>
<xs:element ref="cis:name3" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ReceiverNameType">
<xs:annotation>
<xs:documentation>Type of name</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="name">
<xs:annotation>
<xs:documentation>Name of receiver (first part)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="name1">
<xs:annotation>
<xs:documentation>Name of receiver (first part)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name2">
<xs:annotation>
<xs:documentation>Name of company (second part).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name3">
<xs:annotation>
<xs:documentation>Name of company (third part).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:complexType name="CommunicationType">
<xs:annotation>
<xs:documentation>Type of communication.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="phone" minOccurs="0">
<xs:annotation>
<xs:documentation>Phone number.
If you are using delivery type CDP, the phone number and/or e-mail address are mandatory</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="email" minOccurs="0">
<xs:annotation>
<xs:documentation>Emailaddress.
If you are using delivery type CDP, the phone number and/or e-mail address are mandatory</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="70"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="contactPerson" minOccurs="0">
<xs:annotation>
<xs:documentation>First name and last name of contact person.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ContactType">
<xs:annotation>
<xs:documentation>Type of contact.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="Communication" type="cis:CommunicationType" minOccurs="0">
<xs:annotation>
<xs:documentation>Contact communication information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" type="cis:NativeAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation>Contact address.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Name" type="cis:NameType" minOccurs="0">
<xs:annotation>
<xs:documentation>Contact name.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PackStationType">
<xs:annotation>
<xs:documentation>Type of packstation.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="postNumber">
<xs:annotation>
<xs:documentation>Post Nummer of the receiver, if not set receiver e-mail and/or mobilephone number needs to be set. When sending to a packstation with "DHL Paket" (V01PAK), the postnumber must always be entered.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="packstationNumber">
<xs:annotation>
<xs:documentation>Number of the Packstation.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element ref="cis:province" minOccurs="0"/>
<xs:element ref="cis:Origin" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PostfilialeType">
<xs:annotation>
<xs:documentation>Type of Postfiliale</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="postfilialNumber">
<xs:annotation>
<xs:documentation>Number of the postfiliale</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="postNumber">
<xs:annotation>
<xs:documentation>Post Nummer of the receiver</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element ref="cis:Origin" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PostfilialeTypeNoCountry">
<xs:annotation>
<xs:documentation>Type of Postfiliale</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="postfilialNumber">
<xs:annotation>
<xs:documentation>Number of the postfiliale</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="postNumber">
<xs:annotation>
<xs:documentation>Post Nummer of the receiver or receiver e-mail-adress.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element name="Origin" type="cis:CountryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Country.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ParcelShopType">
<xs:annotation>
<xs:documentation>Type of ParcelShop (Receiver is in Europe)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="parcelShopNumber">
<xs:annotation>
<xs:documentation>Number of the ParcelShop</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetName" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of street of the ParcelShop</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>House number of the ParcelShop</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="cis:zip"/>
<xs:element ref="cis:city"/>
<xs:element ref="cis:Origin" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CustomerType">
<xs:annotation>
<xs:documentation>Type of customer</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="Name" type="cis:NameType">
<xs:annotation>
<xs:documentation>Name of customer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatID" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>VAT id.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="cis:EKP"/>
<xs:element name="Address" type="cis:NativeAddressType">
<xs:annotation>
<xs:documentation>Address of customer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Contact" type="cis:ContactType">
<xs:annotation>
<xs:documentation>Contact information</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Bank" type="cis:BankType" minOccurs="0">
<xs:annotation>
<xs:documentation>Bank information</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="note" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional notes</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ErrorType">
<xs:annotation>
<xs:documentation>Type of error</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="priority" type="xs:integer" minOccurs="0">
<xs:annotation>
<xs:documentation>Priority (e.g. error, warnung, .....)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="code" type="xs:integer">
<xs:annotation>
<xs:documentation>Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dateTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Occurence</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Short description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="descriptionLong" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Detailed description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="solution" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Suggested solution</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="application" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of application</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="module" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Module name</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="ZipType">
<xs:annotation>
<xs:documentation>Type of zip code</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="17"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="CountryType">
<xs:annotation>
<xs:documentation>Type of country</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="country" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of country.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="countryISOCode" type="cis:countryISOType" minOccurs="1">
<xs:annotation>
<xs:documentation>Country's ISO-Code (ISO-2-Alpha).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="state" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of state.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ShipmentNumberType">
<xs:annotation>
<xs:documentation>Type of shipment number</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:annotation>
<xs:documentation>can be</xs:documentation>
</xs:annotation>
<xs:element ref="cis:shipmentNumber"/>
</xs:choice>
</xs:complexType>
<xs:element name="Status">
<xs:annotation>
<xs:documentation>part of webservice response</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="statuscode">
<xs:annotation>
<xs:documentation>statuscode value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="statusDescription">
<xs:annotation>
<xs:documentation>description corresponding to the statuscode</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="productKey">
<xs:annotation>
<xs:documentation>DHL product Key.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="9"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Dimension">
<xs:annotation>
<xs:documentation>Package dimensions (length, width, height)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="length" type="xs:int">
<xs:annotation>
<xs:documentation>length of package</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="width" type="xs:int">
<xs:annotation>
<xs:documentation>width of package</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="height" type="xs:int">
<xs:annotation>
<xs:documentation>height of package</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="unit" default="mm" minOccurs="0">
<xs:annotation>
<xs:documentation>unit for all measures</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15"/>
<xs:enumeration value="mm"/>
<xs:enumeration value="inch"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TimeFrame">
<xs:annotation>
<xs:documentation>Time Frame in which actions should affect</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>includes</xs:documentation>
</xs:annotation>
<xs:element name="from" type="xs:time">
<xs:annotation>
<xs:documentation>begin of timeframe</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="until" type="xs:time">
<xs:annotation>
<xs:documentation>end of timeframe</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="shipmentNumber">
<xs:annotation>
<xs:documentation>Can contain any DHL shipmentnumber.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="39"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>