<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== ICS Common Simple Data Groups  -->
  <!--===== DDNIA v7.10  -->
  <!--===== Included Features: [10, 12, 18, 20, 26, 27, 28, 29]  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="simple_types_ics.xsd" />
  <xs:include schemaLocation="simple_types.xsd" />
  <xs:include schemaLocation="tcl_ics.xsd" />
  <xs:include schemaLocation="tcl.xsd" />
  <xs:include schemaLocation="doc.xsd" />
  <!--===== Common Simple Data Groups =====-->
  <xs:complexType name="ADDDOC">
    <xs:annotation>
      <xs:documentation>
        <description value="ADDITIONAL DOCUMENTATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ReqDocTyp2371" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Document Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqDocEleKin2372" type="Alpha_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Document Electronic Kind" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqDocRefNum2373" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Document Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqDocRefNum2374LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Document Reference Number LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqDocTex2375" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Documentation Text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqDoc2376LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Documentation LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ARRFUEDETCONFUEDET1">
    <xs:annotation>
      <xs:documentation>
        <description value="CONSUMPTION FUELS DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ARRFUEDETCONFUEDET1FueOilDT" type="Decimal_10_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Fuel Oil (During Trip)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ARRFUEDETCONFUEDET1DieDT" type="Decimal_10_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Diesel (During Trip)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ARRFUEDETCONFUEDET1FueOilIP" type="Decimal_10_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Fuel Oil (In Port)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ARRFUEDETCONFUEDET1DieIP" type="Decimal_10_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Diesel (In Port)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ARRGISI700">
    <xs:annotation>
      <xs:documentation>
        <description value="SEALS ID" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaIdARRGISI701" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaIdARRGISI702LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ARTDET">
    <xs:annotation>
      <xs:documentation>
        <description value="ARTICLES DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamArt2192" type="Alphanumeric_40">
        <xs:annotation>
          <xs:documentation>
            <description value="Name of article" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Qua2193" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OffUse4055" type="Alphanumeric_60">
        <xs:annotation>
          <xs:documentation>
            <description value="Official use" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BALGIDOC">
    <xs:annotation>
      <xs:documentation>
        <description value="BALANCE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypBALGIDOC" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefNumBALGIDOC" type="MRNType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaBALGIDOC" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinofPacBALGIDOC" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BRIDES">
    <xs:annotation>
      <xs:documentation>
        <description value="BRIEF DESCRIPTIONS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="BriPrtVoy2169" type="Alphanumeric_240">
        <xs:annotation>
          <xs:documentation>
            <description value="Brief particulars of voyage" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BriDesCar2170" type="Alphanumeric_240">
        <xs:annotation>
          <xs:documentation>
            <description value="Brief description of the cargo" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Rem2171" type="Alphanumeric_Max240">
        <xs:annotation>
          <xs:documentation>
            <description value="Remarks" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COICOSN">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE SPECIFIC NOTES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SpecNotCodCN634" type="Alphanumeric_Max6">
        <xs:annotation>
          <xs:documentation>
            <description value="Specific notes code" />
            <rule name="R486" />
            <codeList name="SpecificNotesCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COMCODGIIMP249">
    <xs:annotation>
      <xs:documentation>
        <description value="(CODE) COMMODITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComNomCOMCODGIIMP250" type="NumericMin4Max8Type">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
            <rule name="R881" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COMCODGODITMARRITE">
    <xs:annotation>
      <xs:documentation>
        <description value="(CODE) COMMODITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComNomCMD503" type="NumericMin4Max8Type">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONCEGIIMP251">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNEE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONCEGIIMP255" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCONCEGIIMP257" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCONCEGIIMP256" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodCONCEGIIMP253" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCONCEGIIMP252" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONCEGIIMP251LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCONCEGIIMP258" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R835" />
            <condition name="C562" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONCOGIIMP259">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONCOGIIMP263" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCONCOGIIMP265" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCONCOGIIMP264" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCONCOGIIMP260" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodCONCOGIIMP261" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONCOGIIMP259LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCONCOGIIMP266" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R840" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONCOTRAIMP208">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONCOTRAIMP212" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCONCOTRAIMP214" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCONCOTRAIMP213" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCONCOTRAIMP209" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodCONCOTRAIMP210" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONCOTRAIMP208LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCONCOTRAIMP215" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R840" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONFUEDET">
    <xs:annotation>
      <xs:documentation>
        <description value="CONSUMPTION FUELS DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FueOilTra2315" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Fuel Oil (From Transfusion)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DieTra2316" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Diesel (From Transfusion)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONGIIMP272">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumCONGIIMP273" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONNR378">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumNR212" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONPREARR">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumNR21" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONTRAIMP200">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNEE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONTRAIMP204" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCONTRAIMP206" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCONTRAIMP205" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCONTRAIMP201" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodCONTRAIMP202" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONTRAIMP200LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCONTRAIMP207" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R835" />
            <condition name="C562" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COUHOLDATLSD121">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY HOLIDAYS DATA LSD" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LanCod102" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PubHolNam89" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Public holiday name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PubHolNam89LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Public holiday name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COUHOLLSD117">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY/REGION HOLIDAYS LSD" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LanCod88" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PubHolNam89" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Public holiday name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PubHolNam89LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Public holiday name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COULSD115">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY/REGION LSD" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LanCod80" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouNam81" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Country/region name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouNam81LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country/region name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COUNAVMAT">
    <xs:annotation>
      <xs:documentation>
        <description value="UNAVAILABILITY MATRIX" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouUnaMatFrom670" type="DateTimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time from" />
            <rule name="TR0105" />
            <rule name="TR0107" />
            <rule name="TR9020" />
            <rule name="R660" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouUnaMatTo671" type="DateTimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time to" />
            <rule name="TR0105" />
            <rule name="TR9020" />
            <rule name="R660" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSDATREFDETPREARR">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS DATA REFERENCE DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MRNIteNumCusDatRefDet2020" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="MRN Item Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComRefNumCusDatRef2151" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Commercial Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeCroBorCusDatRef2152" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeCroBorCusDatRef2153LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LoaPlaCusDatRef2154" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LoaPlaCusDatRef2155LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlPlaCusDatRef2156" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlPlaCusDatRef2157LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFF">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumCUSOFF2077" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
            <codeList name="ΤελωνείοΕισόδου" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFLSD109">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE LSD" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LanCod44" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CusOffUsuNam45" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Customs office usual name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CusOffUsuNam45LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Customs office usual name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNum47" type="StreetNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNum47LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cit49" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <rule name="R422" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cit49LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreLev51" type="PrefixSuffixLevel" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Prefix-suffix level" />
            <codeList name="PrefixSuffixLevel" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreFla52" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Prefix-suffix flag" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreNam53" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Prefix-suffix name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreNam53LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Prefix-suffix name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Spa55" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Space to add" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFREQ">
    <xs:annotation>
      <xs:documentation>
        <description value="(REQUESTER) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumEPR1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFROLCOM112">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE ROLE / TRAFFIC COMPETENCE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Rol70" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Role" />
            <codeList name="Role" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraTyp71" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Traffic type" />
            <codeList name="TrafficType" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DECCONGIMES">
    <xs:annotation>
      <xs:documentation>
        <description value="DECLARATION CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumDECCONGIMES" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DEPDET">
    <xs:annotation>
      <xs:documentation>
        <description value="DEPARTURE DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DepDat2299" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Departure Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DepTim2300" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Departure Time" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DEPFUEDET">
    <xs:annotation>
      <xs:documentation>
        <description value="DEPARTURE FUELS DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FueOilDep2305" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Fuel Oil (Departure)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DieOilDep2306" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Diesel (Departure)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FueOilTra2309" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Fuel Oil (Transfusion)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DieTra2310" type="Decimal_10_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Diesel (Transfusion)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EFFDET">
    <xs:annotation>
      <xs:documentation>
        <description value="EFFECTS DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamEff2206" type="Alphanumeric_Max40">
        <xs:annotation>
          <xs:documentation>
            <description value="Name of effect" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Qua2207" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ENTCARTRAIMP216">
    <xs:annotation>
      <xs:documentation>
        <description value="(ENTRY CARRIER) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamENTCARTRAIMP220" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SrtAndNumENTCARTRAIMP222" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodENTCARTRAIMP221" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitENTCARTRAIMP217" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodENTCARTRAIMP218" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ENTCARTRAIMP216LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINENTCARTRAIMP223" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R835" />
            <condition name="C502" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ENTCUSOFF">
    <xs:annotation>
      <xs:documentation>
        <description value="(ENTRY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EnCusOffRefNum01" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EUGOOITERISMES1">
    <xs:annotation>
      <xs:documentation>
        <description value="EU GOODS ITEM RISK" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumInvEGIR1" type="Numeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Item Number involved" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EuRiskResCodEGIR2" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="EU Risk Result Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EuRisAnaTexEGIR3" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="EU Risk analysis text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EuRisAnaTexLNGEGIR4" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="EU Risk analysis text LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FIRENTCUSOFFIMP224">
    <xs:annotation>
      <xs:documentation>
        <description value="(FIRST ENTRY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumFIRENTCUSOFFIMP226" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExpDatTimFIRENTCUSOFFIMP225" type="DateTimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Expected date and time of arrival" />
            <rule name="R666" />
            <rule name="R660" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GICUSDATREFDET">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS DATA REFERENCE DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GiCusDatRefDetMRN7" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="MRN Item Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GIMEAOFTRA">
    <xs:annotation>
      <xs:documentation>
        <description value="MEANS OF TRANSPORT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GIIdeOfMeaOfTra111" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GIIdeOfMeaOfTra222LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport LNG" />
            <rule name="TR0099" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GINatOfMeaOfTra333" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GITEMPSTOR">
    <xs:annotation>
      <xs:documentation>
        <description value="TEMPORARY STORAGE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="WarTypGITEMSTOR1" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarIdenGITEMSTOR3" type="Alphanumeric_Max19">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarKeIdenGITEMSTOR4" type="Alphanumeric_Max21" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse Keeper identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarSecTEMSTO123" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse Sector" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarappideTRMSTOGOOITEMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse approval identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GOODET">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="BooRefNum2268" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Booking/Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumConId2269" type="Numeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; Numbers: Containers ID. No" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumVehReg2270" type="Numeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; Numbers: Vehicle Reg. No" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumPack2271" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinPack2272" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProShiNam2273" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Proper Shipping Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cla2274" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Class" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UNNum2275" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="UN Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SubRis2277" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="Subsidiary Risk(s)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FlaPoi2278" type="Numeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Flash Point" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarPol2279" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="Marine Pollutant" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MasGro2280" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Mass gross" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MasNet2281" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Mass net" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Ems2282" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="Ems" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StoPosBoa2283" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Stowage Position on Board" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PackGro2276" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Packing Group" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GRN">
    <xs:annotation>
      <xs:documentation>
        <description value="GRN" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GrnNum1010" type="Alphanumeric_Max24" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="GRN Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GRNAmouGRN2" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="GRN Amount" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GUAS258">
    <xs:annotation>
      <xs:documentation>
        <description value="GUARANTEES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GuasGUA259" type="Alphanumeric_Max24">
        <xs:annotation>
          <xs:documentation>
            <description value="Guarantee reference number (GRN)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="HAOVPRMES">
    <xs:annotation>
      <xs:documentation>
        <description value="HAND OVER PROTOCOL" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DrnHAOVPRMES" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="DRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="HUMDET">
    <xs:annotation>
      <xs:documentation>
        <description value="HUMAN DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NumCre2172" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of crew" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumPas2173" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of passengers" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IDEDOCDET">
    <xs:annotation>
      <xs:documentation>
        <description value="IDENTITY DOCUMENT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NatIdeDoc2221" type="Alphanumeric_Max2">
        <xs:annotation>
          <xs:documentation>
            <description value="Nature of identity document" />
            <codeList name="ΕίδοςΕγγράφωνΤαυτότητας" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumIdeDoc2222" type="Numeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of identity document" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IDEMEATRAAIGI">
    <xs:annotation>
      <xs:documentation>
        <description value="(MEANS OF TRANSPORT AT BORDER) IDENTITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NatIDEMEATRAGI773" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraGIMEATRA771" type="Alphanumeric_Max27">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraGIMEATRA772LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IDENTCROSSBO">
    <xs:annotation>
      <xs:documentation>
        <description value="IDENTITY OF MEANS OF TRANSPORT AT BORDER (ex. Box 21)" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NatMeansIDECRO" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeTraCroIDECRO" type="Alphanumeric_Max27">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
            <rule name="R809" />
            <condition name="C514" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeTraCroIDECROLNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IMPCUSOFF">
    <xs:annotation>
      <xs:documentation>
        <description value="(IMPORT) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumIMPCUSOFF" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IMPDEB347">
    <xs:annotation>
      <xs:documentation>
        <description value="IMPORT DEBIT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumIMPDEB378" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNomIMPDEB375" type="NumericMin4Max8Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
            <rule name="TR1008" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARcodIMPDEB382" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARfirIMPDEB383" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC first additional code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARsecIMPDEB384" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC second additional code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesIMPDEB376" type="Alphanumeric_Max280" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaIMPDEB380" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupUniIMPDEB381" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary units" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProPriIMPDEB379" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Product Price" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IMPOPE300">
    <xs:annotation>
      <xs:documentation>
        <description value="IMPORT OPERATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TotNumIteIMP380" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Total number of items" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotNumPacIMP381" type="Numeric_Max7" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNumNR31" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Commercial Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraModBorIMP3021" type="Numeric_Max2">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport mode at border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatMeaTraCroBoaIMP300" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraIMP311" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraIMP311LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConRefNumIMP304" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Conveyance reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaLoaIMP374" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaLoaIMP374LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaUnlIMP376" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaUnlIMP376LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotGroMasIMP379" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total gross mass" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SpeCirIndIMP378" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Specific Circumstance Indicator" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraChaMetPayIMP382" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport charges/ Method of Payment" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecDatIMP3002" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecPlaAmeIMP3003" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration place" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecPla307LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration place LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LRNHEA" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="LRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INFMESHEA">
    <xs:annotation>
      <xs:documentation>
        <description value="INFORMATION MESSAGE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="InfDesINFMESHEA" type="Alphanumeric_Max350">
        <xs:annotation>
          <xs:documentation>
            <description value="Information Description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INWPRDECL">
    <xs:annotation>
      <xs:documentation>
        <description value="INWORD PROCESS DECLARATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumINPRDEC01" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecDatINPRDEC02" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ITERANDIOR">
    <xs:annotation>
      <xs:documentation>
        <description value="ITEM RANGE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumfITERANDIOR1" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number from" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IteNumtITERANDIOR2" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number to" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ITI2">
    <xs:annotation>
      <xs:documentation>
        <description value="ITINERARY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouOfRouCodITI2" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of routing code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ITIIMP304">
    <xs:annotation>
      <xs:documentation>
        <description value="ITINERARY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouOfRouCodITIIMP305" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of routing code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LODGCUSOFFIMP227">
    <xs:annotation>
      <xs:documentation>
        <description value="(LODGEMENT) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumLODGCUSOFFIMP228" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LODSUMDECPERIMP229">
    <xs:annotation>
      <xs:documentation>
        <description value="(LODGING SUMMARY DECLARATION) PERSON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamLODSUMDECPERIMP233" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumLODSUMDECPERIMP235" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodLODSUMDECPERIMP234" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitLODSUMDECPERIMP230" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodLODSUMDECPERIMP231" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LODSUMDECPERIMP229LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINLODSUMDECPERIMP236" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R837" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MEAOFPRO200">
    <xs:annotation>
      <xs:documentation>
        <description value="MEANS OF PROVISIONING" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DIPRecIDMEAOFPRO1" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="DIPENAK Record ID" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DesMeaofProMEAOFPRO2" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Description of means of provisioning" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaMEAOFPRO3" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MEAOFTRAN">
    <xs:annotation>
      <xs:documentation>
        <description value="MEANS OF TRANSPORT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IdeOfMeaOfTra2" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeOfMeaOfTra2LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatOfMeaOfTra3" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConRefNum1" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Conveyance reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MEATRABOAGIIMP800">
    <xs:annotation>
      <xs:documentation>
        <description value="(MEANS OF TRANSPORT AT BORDER) IDENTITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IdeMeaTraMEATRABOAGIIMP801" type="Alphanumeric_Max27">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border" />
            <condition name="C514" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraMEATRABOAGIIMP802LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatIdeMeaTraMEATRABOAGIIMP803" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality" />
            <condition name="C020" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESCAR">
    <xs:annotation>
      <xs:documentation>
        <description value="CARRIER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MESCARNam" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARStrNum" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARPosCod" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARCity" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARCoun" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARNadLng" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARId" type="Alphanumeric_Max21">
        <xs:annotation>
          <xs:documentation>
            <description value="ID" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MESCARIdTyp" type="Numeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="ID Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESCARDET">
    <xs:annotation>
      <xs:documentation>
        <description value="CARGO DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CaronArrCARDET1" type="Alphanumeric_Max50">
        <xs:annotation>
          <xs:documentation>
            <description value="Cargo on Arrival" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaonArrCARDET2" type="Alphanumeric_Max50">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity on Arrival" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CaronDepCARDET3" type="Alphanumeric_Max50">
        <xs:annotation>
          <xs:documentation>
            <description value="Cargo on Departure" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaonDepCARDET4" type="Alphanumeric_Max50">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity on Departure" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESDECL">
    <xs:annotation>
      <xs:documentation>
        <description value="DECLARANT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamMESDECL" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrnumMESDECL" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodMESDECL" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CityMESDECL" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodMESDECL" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGMESDECL" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdMESDECL" type="Alphanumeric_Max21">
        <xs:annotation>
          <xs:documentation>
            <description value="ID" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdTypMESDECL" type="Numeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="ID Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESGOOITEDIPAC">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MesGooIteDIPacKindOfPac123" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesGooIteDIPacNumOfPac124" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesGooIteDIPacNumOfPie125" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of pieces" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesGooIteDIPacMarNumPaclong126" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesGooIteDIPacMarNumPaclongLNG127" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long) LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MSGGOOITEDICON">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MsgGooIteConConNum123" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NATGOOITERISMES1">
    <xs:annotation>
      <xs:documentation>
        <description value="NATIONAL GOODS ITEM RISK" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumInvNGIR1" type="Numeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Item Number involved" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatRiskNumbNGIR2" type="Numeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="National Risk number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatRiskResNGIR3" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="National Risk result" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NATPRO">
    <xs:annotation>
      <xs:documentation>
        <description value="NATIONAL PRODUCTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ProIdNP1017" type="Alphanumeric_10">
        <xs:annotation>
          <xs:documentation>
            <description value="Product ID" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProQuaNP1018" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Product Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NOTPARGIIMP274">
    <xs:annotation>
      <xs:documentation>
        <description value="NOTIFY PARTY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamNOTPARGIIMP277" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumNOTPARGIIMP279" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodNOTPARGIIMP278" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitNOTPARGIIMP400" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodNOTPARGIIMP275" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NOTPARGIIMP274LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINNOTPARGIIMP280" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R835" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NOTPARIMP306">
    <xs:annotation>
      <xs:documentation>
        <description value="NOTIFY PARTY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamNOTPARIMP310" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumNOTPARIMP312" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodNOTPARIMP311" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitNOTPARIMP307" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodNOTPARIMP308" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NOTPARIMP306LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINNOTPARIMP313" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R835" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PACDELGIHEA">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PACDELGIHEAKinofPac" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PACDELGIHEAQua" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PACGIIMP281">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="KinOfPacPACGIIMP282" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
            <codeList name="KindOfPackages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPacPACGIIMP285" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
            <rule name="R021" />
            <condition name="C062" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPiePACGIIMP286" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of pieces" />
            <condition name="C062" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MArAndNumPACGIIMPL283" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long)" />
            <condition name="C062" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarAndNumPACGIIMPL284LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long) LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PACGS3">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MarNumOfPacGSL31" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumOfPacGSL31LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long) LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinOfPacGS33" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPacGS34" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPieGS35" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of pieces" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PASDET">
    <xs:annotation>
      <xs:documentation>
        <description value="PASSENGER DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FamNam2241" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Family name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GivName2242" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Given name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Nat2243" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality" />
            <codeList name="Χώρα" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatBir2244" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of birth" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaBir2245" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of birth" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PorEmbDes2247" type="Alphanumeric_Max25">
        <xs:annotation>
          <xs:documentation>
            <description value="Port of embarkation description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PorDisDes2249" type="Alphanumeric_Max25">
        <xs:annotation>
          <xs:documentation>
            <description value="Port of disembarkation description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PREADMREF3">
    <xs:annotation>
      <xs:documentation>
        <description value="PREVIOUS ADMINISTRATIVE REFERENCES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PreDocTypPREADMREF3023" type="Alphanumeric_Max6">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefPREADMREF3025" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefPREADMREF3025LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComInfPREADMREF3026" type="Alphanumeric_Max26" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Complement of information" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComInfPREADMREF3027LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Complement of information LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PREDECMES">
    <xs:annotation>
      <xs:documentation>
        <description value="PREVIOUS DECLARATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DecNumPREDECMES" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecTypPREDECMES" type="Numeric_Max2">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecDatPREDECMES" type="Numeric_12">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PREDOCGI7">
    <xs:annotation>
      <xs:documentation>
        <description value="PREVIOUS DOCUMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PreDocTypGIP1" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous Document type" />
            <codeList name="DocumentTypeCommon" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefGIP1" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PRODOCCERGIIMP287">
    <xs:annotation>
      <xs:documentation>
        <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypPRODOCCERGIIMP290" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
            <rule name="R866" />
            <codeList name="DocumentTypeCommon" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefPRODOCCERGIIMP288" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference" />
            <rule name="R866" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefPRODOCCERGIIMP289LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PRODOCDC3">
    <xs:annotation>
      <xs:documentation>
        <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypDC31" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefDC33" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefDC33LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RDGIRDP">
    <xs:annotation>
      <xs:documentation>
        <description value="REFERENCED DECLARATION PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="KinPacRDGIRDP1" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumPacRDGIRDP2" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumPieRDGIRDP3" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of pieces" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumPacRDGIRDP4" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages (long)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumPacLNGRDGIRDP5" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RDGIWAR">
    <xs:annotation>
      <xs:documentation>
        <description value="WAREHOUSE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="WarTypRDGIWAR1" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarIdRDGIWAR2" type="Alphanumeric_Max19" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarSecRDGIWAR3" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse section" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarappideWARGIREFDECMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse approval identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RELMANMES">
    <xs:annotation>
      <xs:documentation>
        <description value="RELATED MANIFEST" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MrnRELMANMES" type="Alphanumeric_Max21">
        <xs:annotation>
          <xs:documentation>
            <description value="MRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="REMQUANT">
    <xs:annotation>
      <xs:documentation>
        <description value="REMAINING QUANTITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RemQuantREMQUANT02" type="Decimal_8_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Remaining Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmounReceivREMQUANT05" type="Decimal_8_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amount Receivable" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VouchNumREMQUANT06" type="Alphanumeric_Max20" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Voucher Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AptREMQUA450" type="Alphanumeric_Max20" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Apte" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="REPTRAIMP237">
    <xs:annotation>
      <xs:documentation>
        <description value="(REPRESENTATIVE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamREPTRAIMP241" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumREPTRAIMP243" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodREPTRAIMP242" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitREPTRAIMP238" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodREPTRAIMP239" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REPTRAIMP237LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINREPTRAIMP244" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R837" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RISANA">
    <xs:annotation>
      <xs:documentation>
        <description value="RISK ANALYSIS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumInvRKA1" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Item Number involved" />
            <rule name="R824" />
            <rule name="R875" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaResCodRKA1" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis result code" />
            <rule name="TR9175" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaTexRKA1" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaTexRKA1LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RISANAIMP314">
    <xs:annotation>
      <xs:documentation>
        <description value="RISK ANALYSIS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumInvRISANAIMP315" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Item Number involved" />
            <rule name="R824" />
            <rule name="R875" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaResCodRISANAIMP317" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis result code" />
            <rule name="TR9175" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaTexRISANAIMP318" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RisAnaRISANAIMP316LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Risk Analysis LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SEAIDIMP319">
    <xs:annotation>
      <xs:documentation>
        <description value="SEALS ID" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaIdeSEAIDIMP320" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaIdeSEAIDIMP321LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SERCREITEQUA920">
    <xs:annotation>
      <xs:documentation>
        <description value="ITEM QUANTITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumITEQUA921" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaITEQUA922" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupUniITEQUA923" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary units" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SERELE202">
    <xs:annotation>
      <xs:documentation>
        <description value="SERIES ELEMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="OthCouSERELE100" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Other country" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouSERELE101" type="Numeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Counter" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SERELESTACHA008">
    <xs:annotation>
      <xs:documentation>
        <description value="SERIES ELEMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouSERELESTACHA7800" type="Numeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Counter" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SenCouCodSERELE003" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Sending country code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OthCouCodSERELESTA001" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Other country code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SHIAGEDET">
    <xs:annotation>
      <xs:documentation>
        <description value="SHIP AGENT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ShiAgeNam2179" type="Alphanumeric_35">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAgeStrNum2180" type="Alphanumeric_35">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAgePos2182" type="Alphanumeric_9">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Postal Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAgeCit2183" type="Alphanumeric_35">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAgeCou2181" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Country Code" />
            <codeList name="ΧώραΝηολόγησης" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAgeLNG2184" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent NAD LNG" />
            <codeList name="Γλώσσα" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShAgIdSHAGDET8" type="Alphanumeric_Max21">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Id" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShAgIdTySHAGDET9" type="Numeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Agent Id Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SPEMENGIIMP291">
    <xs:annotation>
      <xs:documentation>
        <description value="SPECIAL MENTIONS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddInfSPEMENGIIMP292" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional information coded" />
            <rule name="R080" />
            <codeList name="AdditionalInformationIdCommon" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SPEMENMT3">
    <xs:annotation>
      <xs:documentation>
        <description value="SPECIAL MENTIONS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddInfCodMT33" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional information coded" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="STATREP385">
    <xs:annotation>
      <xs:documentation>
        <description value="(STATUS) REPRESENTATIVE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RepStatCodSTATREP386" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Representative status code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SUBENTCUSOFFIMP245">
    <xs:annotation>
      <xs:documentation>
        <description value="(SUBSEQUENT ENTRY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumSUBENTCUSOFFIMP247" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SUMDEBMES">
    <xs:annotation>
      <xs:documentation>
        <description value="SUMMARY DEBIT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TypoftaxSUMDEB" type="Alphanumeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of tax" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmooftaxSUMDEB" type="Decimal_15_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Amount of tax" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SusDueDatSUMDEB" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Suspension Due Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SUMDECREJ251">
    <xs:annotation>
      <xs:documentation>
        <description value="SUMMARY DECLARATION REJECTION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocRefNumSUMDEC252" type="MRNType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
            <rule name="R028" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SumDecRejIteNumSUMDECREJ555" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Summary Declaration Rejection Item Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SumDecRejReaCodSUMDEC256" type="Numeric_Max2">
        <xs:annotation>
          <xs:documentation>
            <description value="Summary Declaration rejection reason code" />
            <codeList name="SummaryDeclarationRejectionReasonCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SumDecRejReaSUMDEC255" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Summary Declaration rejection reason" />
            <condition name="C305" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SumDecRejReaCodSUMDEC257LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Summary Declaration rejection reason LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TAXADDELE100">
    <xs:annotation>
      <xs:documentation>
        <description value="(TAXES) ADDITIONAL ELEMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SupUniCodTAXADDELE101" type="Alphanumeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary unit code" />
            <codeList name="TaxesAdditionalElements" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmoOfSupUniTAXADDELE100" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amount of Supplementary unit" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRADED106">
    <xs:annotation>
      <xs:documentation>
        <description value="(DEDICATED) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Nam36" type="TradNameType">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LanCod37" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TIN38" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRADER">
    <xs:annotation>
      <xs:documentation>
        <description value="TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NameTRAD01" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrNumTRAD02" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodeTRAD03" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CityTRAD04" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CounCodeTRAD05" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGTRAD06" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINTRAD07" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhonNumbTRAD08" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FaxNumbTRAD09" type="Alphanumeric_Max12" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Fax number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRADOCDAT">
    <xs:annotation>
      <xs:documentation>
        <description value="TRANSPORT DOCUMENT DATA" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TraDocRefTRD1" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocTypTraDocDat2015" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
            <codeList name="DocumentTypeCommon" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRADOCDATPREARR">
    <xs:annotation>
      <xs:documentation>
        <description value="TRANSPORT DOCUMENT DATA" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypTraDocDat2015" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraDocRefTraDocDat2016" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraDocRefTraDocDat2017LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport Document Reference LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRAPREARR">
    <xs:annotation>
      <xs:documentation>
        <description value="(PRE-ARRIVAL) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamTRAPREARR2142" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrNumTRAPREARR2143" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstCodTRAPREARR2145" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtyTRAPREARR2146" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADTRAPREARR2147LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINTRAPREARR2141" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TRAREQDIV456">
    <xs:annotation>
      <xs:documentation>
        <description value="(REQUESTING DIVERSION) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamTRAREQDIV457" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumTRAREQDIV458" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouTRAREQDIV459" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country" />
            <condition name="C501" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodTRAREQDIV460" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitTRAREQDIV461" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
            <condition name="C501" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRAREQDIV456LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINTRAREQDIV463" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
            <rule name="R837" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="UPEUPE">
    <xs:annotation>
      <xs:documentation>
        <description value="UPL ERROR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ActIdUPE1" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Action identification" />
            <rule name="TR9009" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AttPatUPE2" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Attribute path" />
            <rule name="TR9010" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CodUPE3" type="Alphanumeric_Max8">
        <xs:annotation>
          <xs:documentation>
            <description value="Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DescUPE4" type="Alphanumeric_Max210" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="UPRUPR">
    <xs:annotation>
      <xs:documentation>
        <description value="UPL RESPONSE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="OrMesIdUPR1" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Original message identification" />
            <rule name="TR9006" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StatUPR2" type="Alpha_Max8">
        <xs:annotation>
          <xs:documentation>
            <description value="Status" />
            <rule name="TR9007" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DescUPR3" type="Alphanumeric_Max210" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VEHINVVECDETGI">
    <xs:annotation>
      <xs:documentation>
        <description value="VEHICLE INVENTORY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="VehInvTypVEHINVVECDETGI" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Vehicle Inventory Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="WARKEE">
    <xs:annotation>
      <xs:documentation>
        <description value="WAREHOUSE KEEPER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamWARKEEP2071" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrNumWARKEEP2072" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstCodWARKEEP2074" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtyWARKEEP2075" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodWARKEEP2073" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="Χώρα" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADWARKEEP2076LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="Γλώσσα" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINWARKEEP2070" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="XMLERR805">
    <xs:annotation>
      <xs:documentation>
        <description value="XML ERROR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ErrLocXMLER803" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Error Location" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrLinNumXMLER800" type="Numeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Error Line Number" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrColNumXMLER801" type="Numeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Error Column Number" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrReaXMLER802" type="Alphanumeric_Max350">
        <xs:annotation>
          <xs:documentation>
            <description value="Error Reason" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OriAttValXMLER804" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Original attribute value" />
            <rule name="TR9250" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrCodXMLER806" type="XmlErrorCodes">
        <xs:annotation>
          <xs:documentation>
            <description value="Error Code" />
            <codeList name="XmlErrorCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

