<?xml version="1.0" encoding="UTF-8"?>
<!--Despatch advice Installation & Construction-->
<xs:schema xmlns="http://www.gs1.nl/verzendbericht/insbou/004"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.gs1.nl/verzendbericht/insbou/004"
    elementFormDefault="qualified">
  <xs:element name="DespatchAdvice" type="DespatchAdviceType"/>
  <xs:complexType name="AdditionalItemIdentificationType">
    <xs:sequence>
      <xs:element name="TradeItemDescription" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="70"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Colour" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Size" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="SerialNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PhysicalDimensions" type="PhysicalDimensionsType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="CertificateClaimCodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="F100">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC 100%</xs:documentation>
          <xs:documentation xml:lang="EN">FSC 100%</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="F70">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC Mix 70%</xs:documentation>
          <xs:documentation xml:lang="EN">FSC Mix 70%</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FCW">
        <xs:annotation>
          <xs:documentation xml:lang="EN">FSC Controlled Wood</xs:documentation>
          <xs:documentation xml:lang="NL">FSC Controlled Wood</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FMC">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC Mix Credit</xs:documentation>
          <xs:documentation xml:lang="EN">FSC Mix Credit</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FR100">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC recycled 100%</xs:documentation>
          <xs:documentation xml:lang="EN">FSC recycled 100%</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FR70">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC recycled 70%</xs:documentation>
          <xs:documentation xml:lang="EN">FSC recycled 70%</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FRC">
        <xs:annotation>
          <xs:documentation xml:lang="NL">FSC Recycled Credit</xs:documentation>
          <xs:documentation xml:lang="EN">FSC Recycled Credit</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ISPM">
        <xs:annotation>
          <xs:documentation xml:lang="NL">ISPM gecertificeerd</xs:documentation>
          <xs:documentation xml:lang="EN">ISPM certified</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KL">
        <xs:annotation>
          <xs:documentation xml:lang="NL">Keurhout Legaal</xs:documentation>
          <xs:documentation xml:lang="EN">Keurhout Legal</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KL1">
        <xs:annotation>
          <xs:documentation xml:lang="NL">Keurhout Duurzaam L1</xs:documentation>
          <xs:documentation xml:lang="EN">Keurhout sustainable L1</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KL2">
        <xs:annotation>
          <xs:documentation xml:lang="NL">Keurhout Duurzaam L2</xs:documentation>
          <xs:documentation xml:lang="EN">Keurhout sustainable L2</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P100">
        <xs:annotation>
          <xs:documentation xml:lang="NL">100% PEFC gecertificeerd</xs:documentation>
          <xs:documentation xml:lang="EN">100% PEFC certified</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P70">
        <xs:annotation>
          <xs:documentation xml:lang="NL">70% PEFC gecertificeerd</xs:documentation>
          <xs:documentation xml:lang="EN">70% PEFC certified</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RW">
        <xs:annotation>
          <xs:documentation xml:lang="NL">Recycled Wood</xs:documentation>
          <xs:documentation xml:lang="EN">Recycled Wood</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:minLength value="1"/>
      <xs:maxLength value="8"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="CertificateType">
    <xs:sequence>
      <xs:element name="CertificateName">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateNumber">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateIssuer">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateSubNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateText" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="256"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateDate" type="xs:date" minOccurs="0"/>
      <xs:element name="CertificateExpirationDate" type="xs:date" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ContactInformationType">
    <xs:sequence>
      <xs:element name="ContactPersonName" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PhoneNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="20"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="EmailAddress" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="254"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DeliveryDateTimeInformationType">
    <xs:sequence>
      <xs:element name="ScheduledDeliveryDate" type="xs:date" minOccurs="0"/>
      <xs:element name="ScheduledDeliveryTime" type="xs:time" minOccurs="0"/>
      <xs:element name="DeliveryTimeFrame" type="DeliveryTimeFrameType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DeliveryTimeFrameType">
    <xs:sequence>
      <xs:element name="DeliveryDateEarliest" type="xs:date"/>
      <xs:element name="DeliveryTimeEarliest" type="xs:time"/>
      <xs:element name="DeliveryDateLatest" type="xs:date"/>
      <xs:element name="DeliveryTimeLatest" type="xs:time"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DespartchUnitTypeType">
    <xs:sequence>
      <xs:element name="GTINDespatchUnitType" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{14}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="ISOCodeDespatchUnitType" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="08">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Oneway pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Eenmalige pallet</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="09">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Returnable pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Retour te zenden pallet</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="200">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Pallet ISO 0 - 1/2 EURO Pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Pallet ISO 0 - 1/2 EURO Pallet (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="201">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Pallet ISO 1 - 1/1 EURO Pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Pallet ISO 1 - 1/1 EURO Pallet (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="202">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Pallet ISO 2 (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Pallet ISO 2 (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="203">
              <xs:annotation>
                <xs:documentation xml:lang="EN">1/4 EURO Pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">1/4 EURO Pallet (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="204">
              <xs:annotation>
                <xs:documentation xml:lang="EN">1/8 EURO Pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">1/8 EURO Pallet (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="210">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Wholesaler pallet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Groothandelaar pallet (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="211">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Pallet 80 X 100 cm (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Pallet 80 X 100 cm (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="212">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Pallet 60 X 100 cm (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Pallet 60 X 100 cm (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="AE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Aerosol</xs:documentation>
                <xs:documentation xml:lang="NL">Spuitbus</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BA">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Barrel</xs:documentation>
                <xs:documentation xml:lang="NL">Vat (fust)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BC">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Bottlecrate, bottlerack</xs:documentation>
                <xs:documentation xml:lang="NL">Flessenkrat, flessenrek</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Bundle</xs:documentation>
                <xs:documentation xml:lang="NL">Bundel</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BG">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Bag</xs:documentation>
                <xs:documentation xml:lang="NL">Tas-zak</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BGE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Large bag, pallet sized (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Grote zak, pallet formaat (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BJ">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Bucket</xs:documentation>
                <xs:documentation xml:lang="NL">Emmer</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BME">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Blister pack (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Blisterverpakking (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BO">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Bottle, non-protected, cylindrical</xs:documentation>
                <xs:documentation xml:lang="NL">Fles, onbeschermd, cylindrisch</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BU">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Butt</xs:documentation>
                <xs:documentation xml:lang="NL">Ton</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="BX">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Box</xs:documentation>
                <xs:documentation xml:lang="NL">Doos (kist)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CA">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Can, rectangular</xs:documentation>
                <xs:documentation xml:lang="NL">Blik, rechthoekig</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CT">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Carton</xs:documentation>
                <xs:documentation xml:lang="NL">Kartonnen doos</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CX">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Can, cylindrical</xs:documentation>
                <xs:documentation xml:lang="NL">Blik-cylindrisch</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="DR">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Drum</xs:documentation>
                <xs:documentation xml:lang="NL">Drum (ton)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="JC">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Jerrican, rectangular</xs:documentation>
                <xs:documentation xml:lang="NL">Jerrycan, rechthoekig</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="JY">
              <xs:annotation>
                <xs:documentation xml:lang="NL">Jerrycan, cylindrisch</xs:documentation>
                <xs:documentation xml:lang="EN">Jerrican, cylindrical</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="MPE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Multipack (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Multipack (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Unpacked or unpackaged</xs:documentation>
                <xs:documentation xml:lang="NL">Onverpakt</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OPE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Oxygen packed (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Met zuurstof verpakt (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PG">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Plate</xs:documentation>
                <xs:documentation xml:lang="NL">Plaat</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PK">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Package</xs:documentation>
                <xs:documentation xml:lang="NL">Pak</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RG">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Ring</xs:documentation>
                <xs:documentation xml:lang="NL">Ring</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RL">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Reel</xs:documentation>
                <xs:documentation xml:lang="NL">Haspel</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RO">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Roll</xs:documentation>
                <xs:documentation xml:lang="NL">Rol</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="SW">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Shrinkwrapped</xs:documentation>
                <xs:documentation xml:lang="NL">Krimpverpakking</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TAE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Tablet (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Tablet (reep)  (GS1 code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TB">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Tub</xs:documentation>
                <xs:documentation xml:lang="NL">Kuip</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="THE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Three pack (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Drie pak (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TRE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Trolley (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Trolley (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TTE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Tube, standing (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Tube, staand (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TU">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Tube</xs:documentation>
                <xs:documentation xml:lang="NL">Tube</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="TWE">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Two pack (GS1 Code)</xs:documentation>
                <xs:documentation xml:lang="NL">Duoverpakking (GS1 Code)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:minLength value="1"/>
            <xs:maxLength value="3"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DespatchAdviceType">
    <xs:sequence>
      <xs:element name="DespatchAdviceNumber">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="MessageDate" type="xs:date"/>
      <xs:element name="MessageStructure">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="EANNL1">
              <xs:annotation>
                <xs:documentation xml:lang="NL">Artikelen per zending</xs:documentation>
                <xs:documentation xml:lang="EN">Trade items per shipment</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="EANNL4">
              <xs:annotation>
                <xs:documentation xml:lang="NL">Artikelen per verzendeenheid</xs:documentation>
                <xs:documentation xml:lang="EN">Trade items per despatch unit</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="EndCustomerOrderNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="FreeText" minOccurs="0" maxOccurs="10">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="70"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="BuyersOrderNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="ProjectNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="OrderResponseNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="17"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="DeliveryDateTimeInformation" type="DeliveryDateTimeInformationType" minOccurs="0"/>
      <xs:element name="Supplier" type="PartyWithContactAndCertificateType"/>
      <xs:element name="Buyer" type="PartyWithCertificateType"/>
      <xs:element name="ShipFrom" type="PartyType" minOccurs="0"/>
      <xs:element name="DeliveryParty" type="PartyOptionalGLNType" minOccurs="0"/>
      <xs:element name="UltimateConsignee" type="PartyOptionalGLNType" minOccurs="0"/>
      <xs:element name="DespatchLine" type="DespatchLineType" maxOccurs="9999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DespatchLineType">
    <xs:sequence>
      <xs:element name="DespatchLineNumber" type="xs:positiveInteger"/>
      <xs:element name="DespatchUnitInformation" type="DespatchUnitInformationType" minOccurs="0" maxOccurs="9999"/>
      <xs:element name="ItemLevelDespatchAdvice" type="ItemLevelDespatchAdviceType" maxOccurs="9999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DespatchUnitInformationType">
    <xs:sequence>
      <xs:element name="NumberOfDespatchUnits" type="xs:positiveInteger"/>
      <xs:element name="DespatchUnitType" type="DespartchUnitTypeType" minOccurs="0"/>
      <xs:element name="SSCC" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{18}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ItemLevelDespatchAdviceType">
    <xs:sequence>
      <xs:element name="LineNumber" type="xs:positiveInteger"/>
      <xs:element name="DeliveredQuantity" type="xs:decimal"/>
      <xs:element name="DeliveredQuantityUoM" type="MeasurementUnitCodeType" minOccurs="0"/>
      <xs:element name="DeliveredNetQuantity" type="xs:decimal" minOccurs="0"/>
      <xs:element name="DeliveredNetQuantityUoM" type="MeasurementUnitCodeType" minOccurs="0"/>
      <xs:element name="LineIdentification" type="xs:positiveInteger"/>
      <xs:element name="VariableOrderConditions" type="VariableOrderConditionsType" minOccurs="0" maxOccurs="10"/>
      <xs:element name="Operations" type="OperationsType" minOccurs="0" maxOccurs="10"/>
      <xs:element name="TradeItemIdentification" type="TradeItemIdPlusAdditionalType"/>
      <xs:element name="BatchNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="FreeText" minOccurs="0" maxOccurs="10">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="70"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="TradeItemCertificate" type="TradeItemCertificateType" minOccurs="0" maxOccurs="10"/>
      <xs:element name="OrderLineIdentification" type="xs:positiveInteger" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="MeasurementUnitCodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CMT">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Centimetre</xs:documentation>
          <xs:documentation xml:lang="NL">Centimeter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DAY">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Day</xs:documentation>
          <xs:documentation xml:lang="NL">Dag</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DD">
        <xs:annotation>
          <xs:documentation xml:lang="NL">Graden</xs:documentation>
          <xs:documentation xml:lang="EN">Degree</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRM">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Gram</xs:documentation>
          <xs:documentation xml:lang="NL">Gram</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HUR">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Hour</xs:documentation>
          <xs:documentation xml:lang="NL">Uur</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KGM">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Kilogram</xs:documentation>
          <xs:documentation xml:lang="NL">Kilogram</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LTR">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Litre (1 dm3)</xs:documentation>
          <xs:documentation xml:lang="NL">Liter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MIN">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Minute</xs:documentation>
          <xs:documentation xml:lang="NL">Minuut</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MLT">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Millilitre</xs:documentation>
          <xs:documentation xml:lang="NL">Milliliter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMT">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Millimetre</xs:documentation>
          <xs:documentation xml:lang="NL">Millimeter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MTK">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Square metre</xs:documentation>
          <xs:documentation xml:lang="NL">Vierkante meter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MTQ">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Cubic metre</xs:documentation>
          <xs:documentation xml:lang="NL">Kubieke meter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MTR">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Metre</xs:documentation>
          <xs:documentation xml:lang="NL">Meter</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PCE">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Piece</xs:documentation>
          <xs:documentation xml:lang="NL">Stuks</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TNE">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Metric ton (1000kg)</xs:documentation>
          <xs:documentation xml:lang="NL">Ton</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WEE">
        <xs:annotation>
          <xs:documentation xml:lang="EN">Week</xs:documentation>
          <xs:documentation xml:lang="NL">Week</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:minLength value="1"/>
      <xs:maxLength value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="OperationsType">
    <xs:sequence>
      <xs:element name="OperationCode">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="AlphanumericValue" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="512"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="NumericValue" type="xs:decimal" minOccurs="0"/>
      <xs:element name="NumericValueUoM" type="MeasurementUnitCodeType" minOccurs="0"/>
      <xs:element name="AdditionalInformation" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="512"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="OperationPrice" type="xs:decimal" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartyOptionalGLNType">
    <xs:sequence>
      <xs:element name="GLN" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{13}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name2" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="StreetAndNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="City" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PostalCode" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="9"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Country" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:length value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartyType">
    <xs:sequence>
      <xs:element name="GLN">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{13}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name2" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="StreetAndNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="City" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PostalCode" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="9"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Country" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:length value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartyWithCertificateType">
    <xs:sequence>
      <xs:element name="GLN">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{13}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name2" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="StreetAndNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="City" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PostalCode" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="9"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Country" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:length value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Certificate" type="CertificateType" minOccurs="0" maxOccurs="10"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartyWithContactAndCertificateType">
    <xs:sequence>
      <xs:element name="GLN">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{13}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Name2" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="StreetAndNumber" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="City" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="PostalCode" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="9"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Country" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:length value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="ContactInformation" type="ContactInformationType" minOccurs="0" maxOccurs="5"/>
      <xs:element name="Certificate" type="CertificateType" minOccurs="0" maxOccurs="10"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PhysicalDimensionsType">
    <xs:sequence>
      <xs:element name="Width" type="xs:decimal" minOccurs="0"/>
      <xs:element name="Height" type="xs:decimal" minOccurs="0"/>
      <xs:element name="Depth" type="xs:decimal" minOccurs="0"/>
      <xs:element name="MeasurementUnitCode" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="CMT">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Centimetre</xs:documentation>
                <xs:documentation xml:lang="NL">Centimeter</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="MMT">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Millimetre</xs:documentation>
                <xs:documentation xml:lang="NL">Millimeter</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="MTR">
              <xs:annotation>
                <xs:documentation xml:lang="EN">Metre</xs:documentation>
                <xs:documentation xml:lang="NL">Meter</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:minLength value="1"/>
            <xs:maxLength value="3"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TradeItemCertificateType">
    <xs:sequence>
      <xs:element name="CertificateName">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="CertificateClaimCode" type="CertificateClaimCodeType" minOccurs="0"/>
      <xs:element name="CertificateClaimDescription" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="70"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TradeItemIdPlusAdditionalType">
    <xs:sequence>
      <xs:element name="GTIN" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="\d{14}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="SuppliersTradeItemId" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="AdditionalItemIdentification" type="AdditionalItemIdentificationType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VariableOrderConditionsType">
    <xs:sequence>
      <xs:element name="VariableCode">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="35"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="AlphanumericValue" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="512"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="NumericValue" type="xs:decimal" minOccurs="0"/>
      <xs:element name="NumericValueUoM" type="MeasurementUnitCodeType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
