<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="AusfuhrAnmeldung" type="AusfuhrAnmeldungEGTyp"/>
  <xs:complexType name="ActiveBorderTransportMeansEGType">
    <xs:sequence>
      <xs:element name="TypeOfIdentification" type="an..2" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="Nationality" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalInformationEGType">
    <xs:sequence>
      <xs:element name="Code" type="an..5" minOccurs="0"/>
      <xs:element name="Text" type="an..512" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalReferenceEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalReferenceGoodsItemEGType">
    <xs:complexContent>
      <xs:extension base="AdditionalReferenceEGType">
        <xs:sequence>
          <xs:element name="Detail" type="an..12" minOccurs="0"/>
          <xs:element name="Currency" type="an..3" minOccurs="0"/>
          <xs:element name="Amount" type="n..18.2" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="AdditionalSupplyChainActorEGType">
    <xs:sequence>
      <xs:element name="Role" type="an..3" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AddressEGType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="SubsidiaryNumber" type="n..4" minOccurs="0"/>
      <xs:element name="Name" type="an..70" minOccurs="0"/>
      <xs:element name="StreetAndNumber" type="an..70" minOccurs="0"/>
      <xs:element name="City" type="an..35" minOccurs="0"/>
      <xs:element name="Postcode" type="an..17" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="an..1">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..10">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..100">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..11">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..12">
    <xs:restriction base="xs:string">
      <xs:maxLength value="12"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..15">
    <xs:restriction base="xs:string">
      <xs:maxLength value="15"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..17">
    <xs:restriction base="xs:string">
      <xs:maxLength value="17"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..18">
    <xs:restriction base="xs:string">
      <xs:maxLength value="18"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..20">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..22">
    <xs:restriction base="xs:string">
      <xs:maxLength value="22"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..256">
    <xs:restriction base="xs:string">
      <xs:maxLength value="256"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..35">
    <xs:restriction base="xs:string">
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..350">
    <xs:restriction base="xs:string">
      <xs:maxLength value="350"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..4">
    <xs:restriction base="xs:string">
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..5">
    <xs:restriction base="xs:string">
      <xs:maxLength value="5"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..50">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..512">
    <xs:restriction base="xs:string">
      <xs:maxLength value="512"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..70">
    <xs:restriction base="xs:string">
      <xs:maxLength value="70"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..8">
    <xs:restriction base="xs:string">
      <xs:maxLength value="8"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..9">
    <xs:restriction base="xs:string">
      <xs:maxLength value="9"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ApplicationInternalDataAdditionalDetailsDataType">
    <xs:sequence>
      <xs:element name="Key" type="an..35" minOccurs="0"/>
      <xs:element name="Value" type="an..100" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ApplicationInternalDataAdditionalDetailsType">
    <xs:sequence>
      <xs:element name="Data" type="ApplicationInternalDataAdditionalDetailsDataType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ApplicationInternalDataType">
    <xs:sequence>
      <xs:element name="AdditionalDetails" type="ApplicationInternalDataAdditionalDetailsType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AusfuhrAnmeldungEGTyp">
    <xs:complexContent>
      <xs:extension base="DatenaustauschExportTyp">
        <xs:sequence>
          <xs:element name="EinzelAnmeldung" type="EinzelAusfuhrAnmeldungTyp" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="AuthorisationEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AuthorisationGoodsItemEGType">
    <xs:complexContent>
      <xs:extension base="AuthorisationEGType">
        <xs:sequence>
          <xs:element name="HolderOfAuthorisation" type="an..17" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="CarrierEGType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="SubsidiaryNumber" type="n..4" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ContactPersonEGType">
    <xs:sequence>
      <xs:element name="Name" type="an..70" minOccurs="0"/>
      <xs:element name="PhoneNumber" type="an..35" minOccurs="0"/>
      <xs:element name="EMailAddress" type="an..256" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CustomsWarehousingEGType">
    <xs:sequence>
      <xs:element name="TypeOfAuthorisation" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..35" minOccurs="0"/>
      <xs:element name="LRN" type="an..35" minOccurs="0"/>
      <xs:element name="GoodsReference" type="CustomsWarehousingGoodsReferenceEGType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CustomsWarehousingGoodsReferenceEGType">
    <xs:sequence>
      <xs:element name="GoodsItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="MRN" type="an..18" minOccurs="0"/>
      <xs:element name="RegistrationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="ArticleCode" type="an..35" minOccurs="0"/>
      <xs:element name="Owner" type="an..20" minOccurs="0"/>
      <xs:element name="ChargeNumber" type="an..35" minOccurs="0"/>
      <xs:element name="CountryOfOrigin" type="an..2" minOccurs="0"/>
      <xs:element name="NetMass" type="n..17.6" minOccurs="0"/>
      <xs:element name="StatisticalValue" type="n..16.3" minOccurs="0"/>
      <xs:element name="Quantity" type="n..15.6" minOccurs="0"/>
      <xs:element name="CommodityCode" type="an..11" minOccurs="0"/>
      <xs:element name="UsualTreatment" type="an..1" minOccurs="0"/>
      <xs:element name="AccessViaATLAS" type="an..1" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..100" minOccurs="0"/>
      <xs:element name="GoodsReduction" type="GoodsReductionEGType" minOccurs="0"/>
      <xs:element name="GoodsReductionAfterTreatment" type="GoodsReductionAfterTreatmentEGType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DatenaustauschExportTyp">
    <xs:sequence>
      <xs:element name="Transaktion" type="TransaktionExportTyp"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DeclarantEGType">
    <xs:complexContent>
      <xs:extension base="AddressEGType">
        <xs:sequence>
          <xs:element name="ContactPerson" type="ContactPersonEGType" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DeliveryTermsEGType">
    <xs:sequence>
      <xs:element name="IncotermCode" type="an..3" minOccurs="0"/>
      <xs:element name="UNLocode" type="an..17" minOccurs="0"/>
      <xs:element name="Text" type="an..512" minOccurs="0"/>
      <xs:element name="Location" type="an..35" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DepartureTransportMeansEGType">
    <xs:sequence>
      <xs:element name="TypeOfIdentification" type="an..2" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="Nationality" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EinzelAusfuhrAnmeldungTyp">
    <xs:sequence>
      <xs:element name="ObjektIdentifizierung" type="ObjektIdentifizierungEGTyp" minOccurs="0"/>
      <xs:element name="ExportOperation" type="ExportOperationEGType" minOccurs="0"/>
      <xs:element name="GoodsItem" type="GoodsItemEGType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ExportOperationEGType">
    <xs:sequence>
      <xs:element name="DeclarationType" type="an..5" minOccurs="0"/>
      <xs:element name="ExportDeclarationType" type="an..8" minOccurs="0"/>
      <xs:element name="Security" type="an..1" minOccurs="0"/>
      <xs:element name="CountryOfExport" type="an..2" minOccurs="0"/>
      <xs:element name="CountryOfDestination" type="an..2" minOccurs="0"/>
      <xs:element name="AdditionalSupplyChainActor" type="AdditionalSupplyChainActorEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="DeclarationSubmissionDateAndTime" type="xs:dateTime" minOccurs="0"/>
      <xs:element name="ExitDate" type="xs:date" minOccurs="0"/>
      <xs:element name="DecisiveDate" type="xs:date" minOccurs="0"/>
      <xs:element name="SpecificCircumstanceIndicator" type="an..3" minOccurs="0"/>
      <xs:element name="TransportCharges" type="an..1" minOccurs="0"/>
      <xs:element name="ContainerIndicator" type="an..1" minOccurs="0"/>
      <xs:element name="PartyConstellation" type="an..4" minOccurs="0"/>
      <xs:element name="GrossMass" type="n..19.3" minOccurs="0"/>
      <xs:element name="RegistrationNumberExternal" type="an..70" minOccurs="0"/>
      <xs:element name="ReferenceNumberUCR" type="an..35" minOccurs="0"/>
      <xs:element name="Authorisation" type="AuthorisationEGType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="InlandModeOfTransport" type="an..1" minOccurs="0"/>
      <xs:element name="DepartureTransportMeans" type="DepartureTransportMeansEGType" minOccurs="0" maxOccurs="999"/>
      <xs:element name="ModeOfTransportAtTheBorder" type="an..1" minOccurs="0"/>
      <xs:element name="ActiveBorderTransportMeans" type="ActiveBorderTransportMeansEGType" minOccurs="0"/>
      <xs:element name="LocationOfGoods" type="LocationOfGoodsEGType" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfExport" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfExitDeclared" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfSupplement" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfPresentation" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfExitActual" type="an..8" minOccurs="0"/>
      <xs:element name="NatureOfTransaction" type="an..2" minOccurs="0"/>
      <xs:element name="TotalAmountInvoiced" type="n..18.2" minOccurs="0"/>
      <xs:element name="InvoiceCurrency" type="an..3" minOccurs="0"/>
      <xs:element name="AdditionalInformation" type="AdditionalInformationEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="TransportEquipment" type="TransportEquipmentEGType" minOccurs="0" maxOccurs="9999"/>
      <xs:element name="PresentationStartDateAndTime" type="xs:dateTime" minOccurs="0"/>
      <xs:element name="LoadingEndDateAndTime" type="xs:dateTime" minOccurs="0"/>
      <xs:element name="Exporter" type="AddressEGType" minOccurs="0"/>
      <xs:element name="Consignee" type="AddressEGType" minOccurs="0"/>
      <xs:element name="Declarant" type="DeclarantEGType" minOccurs="0"/>
      <xs:element name="Representative" type="RepresentativeEGType" minOccurs="0"/>
      <xs:element name="SubContractor" type="AddressEGType" minOccurs="0"/>
      <xs:element name="ContractualPartner" type="AddressEGType" minOccurs="0"/>
      <xs:element name="Carrier" type="CarrierEGType" minOccurs="0"/>
      <xs:element name="Consignor" type="AddressEGType" minOccurs="0"/>
      <xs:element name="CountryOfRoutingOfConsignment" type="an..2" minOccurs="0" maxOccurs="99"/>
      <xs:element name="OutwardProcessing" type="OutwardProcessingEGType" minOccurs="0"/>
      <xs:element name="ABDEmailAddress" type="an..256" minOccurs="0"/>
      <xs:element name="AVMEmailAddress" type="an..256" minOccurs="0"/>
      <xs:element name="DeliveryTerms" type="DeliveryTermsEGType" minOccurs="0"/>
      <xs:element name="TransportDocument" type="TransportDocumentEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="PreviousDocument" type="PreviousDocumentEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="SupportingDocument" type="SupportingDocumentEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalReference" type="AdditionalReferenceEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="ApplicationInternalData" type="ApplicationInternalDataType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GoodsItemEGType">
    <xs:sequence>
      <xs:element name="DeclarationGoodsItemNumber" type="seq3" minOccurs="0"/>
      <xs:element name="ArticleNumber" type="an..35" minOccurs="0"/>
      <xs:element name="CommodityCode" type="an..8" minOccurs="0"/>
      <xs:element name="TaricAdditionalCode" type="an..4" minOccurs="0" maxOccurs="99"/>
      <xs:element name="DescriptionOfGoods" type="an..512" minOccurs="0"/>
      <xs:element name="CusCode" type="an..9" minOccurs="0"/>
      <xs:element name="RegistrationNumberExternal" type="an..70" minOccurs="0"/>
      <xs:element name="AdditionalInformation" type="AdditionalInformationEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="ReferenceNumberUCR" type="an..35" minOccurs="0"/>
      <xs:element name="Authorisation" type="AuthorisationGoodsItemEGType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="AdditionalSupplyChainActor" type="AdditionalSupplyChainActorEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="RegionOfDispatch" type="an..9" minOccurs="0"/>
      <xs:element name="CountryOfOrigin" type="an..2" minOccurs="0"/>
      <xs:element name="NetMass" type="n..22.6" minOccurs="0"/>
      <xs:element name="GrossMass" type="n..19.3" minOccurs="0"/>
      <xs:element name="UNNumber" type="an..4" minOccurs="0" maxOccurs="99"/>
      <xs:element name="TransportCharges" type="an..1" minOccurs="0"/>
      <xs:element name="CountryOfExport" type="an..2" minOccurs="0"/>
      <xs:element name="RequestedProcedure" type="an..2" minOccurs="0"/>
      <xs:element name="PreviousProcedure" type="an..2" minOccurs="0"/>
      <xs:element name="AdditionalProcedure" type="an..3" minOccurs="0"/>
      <xs:element name="SupplementaryUnits" type="n..22.6" minOccurs="0"/>
      <xs:element name="StatisticalValue" type="n..18.2" minOccurs="0"/>
      <xs:element name="CurrencyStatisticalValue" type="an..3" minOccurs="0"/>
      <xs:element name="PreviousDocument" type="PreviousDocumentGoodsItemEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="Packaging" type="PackagingEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="OutwardProcessing" type="OutwardProcessingGoodsItemEGType" minOccurs="0"/>
      <xs:element name="SupportingDocument" type="SupportingDocumentGoodsItemEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalReference" type="AdditionalReferenceGoodsItemEGType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="Consignee" type="AddressEGType" minOccurs="0"/>
      <xs:element name="Consignor" type="AddressEGType" minOccurs="0"/>
      <xs:element name="ProcedureTransference" type="ProcedureTransferenceEGType" minOccurs="0"/>
      <xs:element name="NatureOfTransaction" type="an..2" minOccurs="0"/>
      <xs:element name="ApplicationInternalData" type="ApplicationInternalDataType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GoodsReductionAfterTreatmentEGType">
    <xs:sequence>
      <xs:element name="Quantity" type="n..12.3" minOccurs="0"/>
      <xs:element name="MeasurementUnit" type="an..3" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..1" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GoodsReductionEGType">
    <xs:sequence>
      <xs:element name="Quantity" type="n..12.3" minOccurs="0"/>
      <xs:element name="MeasurementUnit" type="an..3" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..1" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IdentificationMeansEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..1" minOccurs="0"/>
      <xs:element name="Description" type="an..350" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="InwardProcessingEGType">
    <xs:sequence>
      <xs:element name="SimplyGrantedAuthorisation" type="an..1" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfSupervision" type="an..8" minOccurs="0"/>
      <xs:element name="TypeOfAuthorisation" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..35" minOccurs="0"/>
      <xs:element name="GoodsReference" type="InwardProcessingGoodsReferenceEGType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="InwardProcessingGoodsReferenceEGType">
    <xs:sequence>
      <xs:element name="GoodsItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="MRN" type="an..18" minOccurs="0"/>
      <xs:element name="RegistrationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="AccessViaATLAS" type="an..1" minOccurs="0"/>
      <xs:element name="GoodsRelatedData" type="an..350" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LocationOfGoodsAddressEGType">
    <xs:sequence>
      <xs:element name="StreetAndNumber" type="an..70" minOccurs="0"/>
      <xs:element name="Postcode" type="an..17" minOccurs="0"/>
      <xs:element name="City" type="an..35" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LocationOfGoodsEGType">
    <xs:sequence>
      <xs:element name="TypeOfLocation" type="an..1" minOccurs="0"/>
      <xs:element name="QualifierOfIdentification" type="an..1" minOccurs="0"/>
      <xs:element name="AdditionalIdentifier" type="an..4" minOccurs="0"/>
      <xs:element name="AuthorisationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="UNLocode" type="an..17" minOccurs="0"/>
      <xs:element name="Latitude" type="an..17" minOccurs="0"/>
      <xs:element name="Longitude" type="an..17" minOccurs="0"/>
      <xs:element name="Address" type="LocationOfGoodsAddressEGType" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonEGType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="n..12.3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,9}([.,]\d{0,3}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..15.6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,9}([.,]\d{0,6}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..16.3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,13}([.,]\d{0,3}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..17.6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,11}([.,]\d{0,6}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..18.2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,2}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..19.3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,3}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,2}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..22.6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,6}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..23.7">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,7}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,3}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..4">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,4}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..5">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,5}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..8">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,8}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n3">
    <xs:restriction base="xs:nonNegativeInteger">
      <xs:pattern value="\d{3}"/>
      <xs:totalDigits value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ObjektIdentifizierungEGTyp">
    <xs:sequence>
      <xs:element name="ObjektName" type="an..22"/>
      <xs:element name="ObjektAliasname" type="an..15" minOccurs="0"/>
      <xs:element name="BezugsnummerVorblendung" type="an..35" minOccurs="0"/>
      <xs:element name="KopieVon" type="an..35" minOccurs="0"/>
      <xs:element name="ObjektAktion" type="an..10" maxOccurs="2"/>
      <xs:element name="CompliancePruefung" type="an..3" minOccurs="0"/>
      <xs:element name="Bearbeiter" type="an..70"/>
      <xs:element name="AbsenderSystemName" type="an..6" minOccurs="0"/>
      <xs:element name="ShipmentReferenz" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OutwardProcessingEGType">
    <xs:sequence>
      <xs:element name="CountryOfReimport" type="an..2" minOccurs="0" maxOccurs="99"/>
      <xs:element name="IdentificationMeans" type="IdentificationMeansEGType" minOccurs="0" maxOccurs="7"/>
      <xs:element name="Product" type="ProductEGType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OutwardProcessingGoodsItemEGType">
    <xs:sequence>
      <xs:element name="Replacement" type="an..1" minOccurs="0"/>
      <xs:element name="ReimportDate" type="xs:date" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PackagingEGType">
    <xs:sequence>
      <xs:element name="NumberOfPackages" type="n..8" minOccurs="0"/>
      <xs:element name="TypeOfPackages" type="an..2" minOccurs="0"/>
      <xs:element name="ShippingMarks" type="an..512" minOccurs="0"/>
      <xs:element name="PackageReference" type="n..3" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PreviousDocumentEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PreviousDocumentGoodsItemEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..6" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="GoodsItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="MeasurementUnitAndQualifier" type="an..4" minOccurs="0"/>
      <xs:element name="Quantity" type="n..22.6" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProcedureTransferenceEGType">
    <xs:sequence>
      <xs:element name="CustomsWarehousing" type="CustomsWarehousingEGType" minOccurs="0"/>
      <xs:element name="InwardProcessing" type="InwardProcessingEGType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProductEGType">
    <xs:sequence>
      <xs:element name="CommodityCode" type="an..8" minOccurs="0"/>
      <xs:element name="DescriptionOfGoods" type="an..512" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RepresentativeEGType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="SubsidiaryNumber" type="n..4" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonEGType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="seq3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)[1-9]\d{0,2}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="SupportingDocumentEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="DocumentLineItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="IssuingAuthorityName" type="an..70" minOccurs="0"/>
      <xs:element name="IssuingDate" type="xs:date" minOccurs="0"/>
      <xs:element name="ValidityDate" type="xs:date" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SupportingDocumentGoodsItemEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="DocumentLineItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="IssuingAuthorityName" type="an..70" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
      <xs:element name="Detail" type="an..12" minOccurs="0"/>
      <xs:element name="IssuingDate" type="xs:date" minOccurs="0"/>
      <xs:element name="ValidityDate" type="xs:date" minOccurs="0"/>
      <xs:element name="Amount" type="n..18.2" minOccurs="0"/>
      <xs:element name="Currency" type="an..3" minOccurs="0"/>
      <xs:element name="Quantity" type="n..23.7" minOccurs="0"/>
      <xs:element name="MeasurementUnitAndQualifier" type="an..4" minOccurs="0"/>
      <xs:element name="ComplementaryUnit" type="an..10" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransaktionExportTyp">
    <xs:sequence>
      <xs:element name="IOPartner" type="an..100"/>
      <xs:element name="IODivision1" type="an..10" minOccurs="0"/>
      <xs:element name="IODivision2" type="an..10" minOccurs="0"/>
      <xs:element name="IODivision3" type="an..10" minOccurs="0"/>
      <xs:element name="IOReferenz" type="an..35"/>
      <xs:element name="IODatumZeit" type="xs:dateTime"/>
      <xs:element name="Version" type="n3" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransportDocumentEGType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="Qualifier" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransportEquipmentEGType">
    <xs:sequence>
      <xs:element name="NumberOfSeals" type="n..2" minOccurs="0"/>
      <xs:element name="Seal" type="an..20" minOccurs="0" maxOccurs="99"/>
      <xs:element name="ContainerIdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="GoodsReference" type="n..3" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
