<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== ID13:I_IMP_AMD  -->
  <!--===== Import Declaration Amendment  -->
  <!--===== ICS Domain Definition  -->
  <!--===== DDNIA v13.00  -->
  <!--===== 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="complex_types.xsd" />
  <xs:include schemaLocation="tcl_ics.xsd" />
  <xs:include schemaLocation="tcl.xsd" />
  <xs:include schemaLocation="doc.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="ID13A" type="ID13A" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="ID13A">
    <xs:sequence>
      <xs:group ref="MESSAGE" />
      <xs:element name="HEAHEA" type="HEAHEA">
        <xs:annotation>
          <xs:documentation>
            <description value="HEADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRACONCO1" type="TRACONCO1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNOR) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRACONCE1" type="TRACONCE1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNEE) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONRESERS" type="CONRESERS" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTROL RESULT" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SEAINFSLI" type="SEAINFSLI" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="SEALS INFO" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GOOITEGDS" type="GOOITEGDS" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="GOODS ITEM" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ITI" type="ITI" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="ITINERARY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DELTER" type="DELTER" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(TERMS) DELIVERY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRADAT" type="TRADAT" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(DATA) TRANSACTION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRAREP" type="TRAREP">
        <xs:annotation>
          <xs:documentation>
            <description value="(REPRESENTATIVE) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="STATREP385" type="STATREP385">
        <xs:annotation>
          <xs:documentation>
            <description value="(STATUS) REPRESENTATIVE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CARTRA100" type="CARTRA100" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CARRIER) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDCON789" type="ADDCON789" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="(ADDITIONAL CONSIGNEE) ADDITIONAL TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ENTCUSOFF" type="ENTCUSOFF" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(ENTRY) CUSTOMS OFFICE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PROV100" type="PROV100" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="PROVISION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPCUSOFF" type="IMPCUSOFF">
        <xs:annotation>
          <xs:documentation>
            <description value="(IMPORT) CUSTOMS OFFICE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <xs:group name="MESSAGE">
    <xs:sequence>
      <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecMES6" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="DatePrepType">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="TimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PriMES15" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Priority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Test indicator" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesIdeMES19" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Message identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesTypMES20" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CorIdeMES25" type="Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Correlation identifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <!--===== HEADER =====-->
  <xs:complexType name="HEAHEA">
    <xs:annotation>
      <xs:documentation>
        <description value="HEADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumHEA4" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypOfDecHEA24" type="Alphanumeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of declaration" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfDesCodHEA30" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of destination code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AgrLocOfGooCodHEA38" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Agreed location of goods, code" />
            <rule name="R041" />
            <condition name="C100" />
            <condition name="CN0034" />
            <condition name="CN0040" />
            <codeList name="AgreedLocationOfGoodsCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AgrLocOfGooHEA39" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Agreed location of goods" />
            <rule name="R041" />
            <condition name="C100" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AgrLocOfGooHEA39LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Agreed location of goods LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AutLocOfGooCodHEA41" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Authorised location of goods, code" />
            <rule name="R041" />
            <condition name="C100" />
            <condition name="CN0033" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfDisCodHEA55" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of dispatch/export code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InlTraModHEA75" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Inland transport mode" />
            <condition name="C557" />
            <codeList name="TransportMode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraModAtBorHEA76" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport mode at border" />
            <codeList name="TransportMode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeOfMeaOfTraCroHEA85" 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="IdeOfMeaOfTraCroHEA85LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatOfMeaOfTraCroHEA87" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport crossing border" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConIndHEA96" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Containerised indicator" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AccDatHEA158" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Acceptance date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotNumOfIteHEA305" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Total number of items" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotNumOfPacHEA306" type="Numeric_Max7" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total number of packages" />
            <rule name="R105" />
            <rule name="R830" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotGroMasHEA307" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total gross mass" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdPlaHEA598" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment place" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdPlaHEA598LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amendment place LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmdDatHEA599" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of amendment" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SpeCirIndHEA1" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Specific Circumstance Indicator" />
            <rule name="R839" />
            <codeList name="SpecificCircumstanceIndicator" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraChaMetOfPayHEA1" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport charges/ Method of Payment" />
            <codeList name="TransportChargesMethodOfPayment" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComRefNumHEA" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Commercial Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypOfDecBx12HEA651" type="Alpha_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of declaration (Box 1.2)" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaLoaGOOITE334" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaUnlGOOITE334" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AddDecDatHEA1024" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional Declaration Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FinBanInfHEA1027" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Financial and Banking Information" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ManEntNumHEA1028" type="Alphanumeric_Max6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Manual Entry Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ManEntYeaHEA1029" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Manual Entry Year" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraArr4004" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport at arrival" />
            <rule name="R831" />
            <rule name="R838" />
            <rule name="TR0035" />
            <condition name="C005" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraArr4005LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport at arrival LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaLoaHEA126" type="Alphanumeric_Max80" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Loading Place" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatOfMeaOfTraAtArrHEA54" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport at arrival" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumAttHEA55" type="Alphanumeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number Attendance" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefNumAttHEA56" type="Alphanumeric_Max21" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document Reference Number Attendance" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConcPersHEA45" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Contact person" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TranRefNumbHEA46" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ArrLocatGoodHEA47" type="Alphanumeric_Max17" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Arrival Location of Goods" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ArrDatTimeHEA48" type="Numeric_12" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Arrival Date &amp; Time" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ICSLicDocDatHEA65" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="ICS Licence document date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MetOfPayHEA590" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Method of payment" />
            <codeList name="TaxPaymentMethodExpImp" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NexCusRefNumHEA450" type="Alphanumeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Next Customs Reference Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNOR) TRADER =====-->
  <xs:complexType name="TRACONCO1">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCO17" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCO122" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCO123" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCO124" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCO125" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGCO" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCO159" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SpeMenCO408" type="Alphanumeric_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Special Mention" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNEE) TRADER =====-->
  <xs:complexType name="TRACONCE1">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNEE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCE17" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCE122" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCE123" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCE124" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCE125" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGCE" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCE159" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SpeMenCE1003" type="Alphanumeric_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Special Mention" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTROL RESULT =====-->
  <xs:complexType name="CONRESERS">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTROL RESULT" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConResCodERS16" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Control result code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatLimERS69" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Date limit" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== SEALS INFO =====-->
  <xs:complexType name="SEAINFSLI">
    <xs:annotation>
      <xs:documentation>
        <description value="SEALS INFO" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaNumSLI2" type="Numeric_Max4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SEAIDSID" type="SEAIDSID" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="SEALS ID" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== SEALS ID =====-->
  <xs:complexType name="SEAIDSID">
    <xs:annotation>
      <xs:documentation>
        <description value="SEALS ID" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaIdeSID1" type="Alphanumeric_Max20" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaIdeSID1LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== GOODS ITEM =====-->
  <xs:complexType name="GOOITEGDS">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS ITEM" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumGDS7" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number" />
            <rule name="R005" />
            <rule name="R007" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS23" type="Alphanumeric_Max280" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS23LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GroMasGDS46" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Gross mass" />
            <rule name="R832" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NetMasGDS48" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Net mass" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MetOfPayGDI12" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Transport charges/ Method of Payment" />
            <codeList name="TransportChargesMethodOfPayment" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProReqGDI1" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Procedure requested" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreProGDI1" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous Procedure" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNatProGIM1" type="Alphanumeric_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Community / National Procedure" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StaValCurGDI1" type="Alpha_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Statistical value currency" />
            <rule name="R873" />
            <codeList name="StatisticalValueCurrencyCountryOfOrigin" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOfOriGDI1" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of Origin" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupUniGDI1" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary units" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UNDanGooCodGDI1" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="UN dangerous goods code" />
            <codeList name="UnDangerousGoodsCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaLoaGOOITE333" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of loading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PlaUnlGOOITE333" type="AlphanumericSpecMax35Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Place of unloading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeMeaTraCroBorGDS1031" 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="IdeMeaTraCroBorGDS1031LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport crossing border LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatMeaTraCroBorGDS1032" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport crossing border" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Pre4046" type="Numeric_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Preference" />
            <codeList name="Κατασταση" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Quo4013" type="Numeric_Max6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Quota" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProPri4002" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Product Price" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProReqEndDat4003" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Procedure requested End Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeOfMeaOfTraArrGDI3003" type="Alphanumeric_Max27" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity of means of transport at arrival" />
            <rule name="R831" />
            <rule name="R838" />
            <rule name="TR0035" />
            <condition name="C005" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EstOfValGDS14" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Estimate of Value" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReconcilGDS15" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reconciliation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContacPersonGI65" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Contact person" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UcrGI56" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Ucr" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ArrDatGDS150" type="Numeric_12" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Arrival Date &amp; Time" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StaValAmoGDI1" type="Decimal_11_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Statistical value amount" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatfmeatraatarrGIMES" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nationality of means of transport at arrival" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
	  <xs:element name="IsSorCerGIMES" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Issuance of Sorting Certificate" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PREADMREFAR2" type="PREADMREFAR2" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PREVIOUS ADMINISTRATIVE REFERENCES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRODOCDC2" type="PRODOCDC2" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SPEMENMT2" type="SPEMENMT2" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="SPECIAL MENTIONS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRACONCO2" type="TRACONCO2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNOR) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COMCODGODITM" type="COMCODGODITM" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CODE) COMMODITY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CALTAXGOD" type="CALTAXGOD" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="(TAXES) CALCULATION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRACONCE2" type="TRACONCE2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(CONSIGNEE) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONNR2" type="CONNR2" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTAINERS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PACGS2" type="PACGS2" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="PACKAGES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GRN" type="GRN" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="GRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VEHDET" type="VEHDET" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="VEHICLE DETAILS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TAXADDELE100" type="TAXADDELE100" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="(TAXES) ADDITIONAL ELEMENTS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="POSPAYGI400" type="POSPAYGI400" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(PAYMENT) POSTPONED" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REL800" type="REL800" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="RELIEFS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WARIDGI700" type="WARIDGI700" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="(WAREHOUSE) IDENTIFICATION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PREVIOUS ADMINISTRATIVE REFERENCES =====-->
  <xs:complexType name="PREADMREFAR2">
    <xs:annotation>
      <xs:documentation>
        <description value="PREVIOUS ADMINISTRATIVE REFERENCES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PreDocTypAR21" type="Alphanumeric_Max6">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document type" />
            <rule name="R079" />
            <rule name="R893" />
            <rule name="TR0100" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefAR26" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference" />
            <rule name="R893" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocRefLNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document reference LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocCatPREADMREF21" type="Alpha_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous Document Category" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocMrnAR1004" type="Alphanumeric_Max18" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document MRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocIteAR1005" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document item number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocQuaAR1006" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocSupAR1007" type="Numeric_Max11" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Supplementary units" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocSumDecPacAR1035" type="Alphanumeric_Max10" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Summary Declaration Packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocBilOfLadTyp10" type="Alphanumeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Bill of Lading Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PreDocBilOfLadNum11" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Previous document Bill of Lading Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PRODUCED DOCUMENTS/CERTIFICATES =====-->
  <xs:complexType name="PRODOCDC2">
    <xs:annotation>
      <xs:documentation>
        <description value="PRODUCED DOCUMENTS/CERTIFICATES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocTypDC21" type="Alphanumeric_Max4">
        <xs:annotation>
          <xs:documentation>
            <description value="Document type" />
            <rule name="R079" />
            <rule name="TR0103" />
            <codeList name="DocumentTypeCommon" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefDC23" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocRefDCLNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document reference LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocInfDC1008" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document Information" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DocInfDC1008LNG" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Document Information LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== SPECIAL MENTIONS =====-->
  <xs:complexType name="SPEMENMT2">
    <xs:annotation>
      <xs:documentation>
        <description value="SPECIAL MENTIONS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddInfCodMT23" type="Alphanumeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Additional information coded" />
            <codeList name="AdditionalInformationIdCommon" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TexSPM1" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Text" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TexSPM1LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Text LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNOR) TRADER =====-->
  <xs:complexType name="TRACONCO2">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNOR) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCO27" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCO222" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCO223" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCO224" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCO225" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGGTCO" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCO259" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CODE) COMMODITY =====-->
  <xs:complexType name="COMCODGODITM">
    <xs:annotation>
      <xs:documentation>
        <description value="(CODE) COMMODITY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComNomCMD1" type="NumericMin4Max8Type">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
            <rule name="TR1008" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARCodCMD1" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARFirAddCodCMD1" type="Alphanumeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC first additional code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TARSecAddCodCMD1" type="Alphanumeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC second additional code" />
            <rule name="R868" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NAtAddCodCMD1" type="Alphanumeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="National additional code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (TAXES) CALCULATION =====-->
  <xs:complexType name="CALTAXGOD">
    <xs:annotation>
      <xs:documentation>
        <description value="(TAXES) CALCULATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TypOfTaxCTX1" type="Alphanumeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of tax" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TaxBasCTX1" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Tax base" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RatOfTaxCTX1" type="Alphanumeric_Max15" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Rate of tax" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmoOfTaxTCL1" type="Decimal_15_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Amount of tax" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MetOfPayCTX1" type="Alpha_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Method of payment" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CalTypTAXCALGI" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Calculation Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InRelTAXCALGI" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="In Relief" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SusDueDatTAXCALGI" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Suspension Due Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaCTX1" type="Decimal_16_6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AmoCTX1" type="Decimal_16_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Amount" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CONSIGNEE) TRADER =====-->
  <xs:complexType name="TRACONCE2">
    <xs:annotation>
      <xs:documentation>
        <description value="(CONSIGNEE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCE27" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCE222" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCE223" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCE224" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCE225" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGGICE" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCE259" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTAINERS =====-->
  <xs:complexType name="CONNR2">
    <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>
  <!--===== PACKAGES =====-->
  <xs:complexType name="PACGS2">
    <xs:annotation>
      <xs:documentation>
        <description value="PACKAGES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MarNumOfPacGS21" type="Alphanumeric_Max42" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages" />
            <condition name="C060" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MarNumOfPacGS21LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Marks &amp; numbers of packages LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinOfPacGS23" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
            <codeList name="KindOfPackages" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPacGS24" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
            <rule name="R021" />
            <rule name="TR0022" />
            <condition name="C060" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPieGS25" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of pieces" />
            <condition name="C060" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== VEHICLE DETAILS =====-->
  <xs:complexType name="VEHDET">
    <xs:annotation>
      <xs:documentation>
        <description value="VEHICLE DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FraNumVD1014" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Frame Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehCC4006" type="Numeric_Max5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle CC" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehFue4007" type="Alphanumeric_Max20" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Fuel" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehTyp4008" type="Alphanumeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Type" />
            <codeList name="VehicleType" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehEngTyp4009" type="Alphanumeric_Max25" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Engine Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProdYea4010" type="Numeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Production Year" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VecTra4023" type="Alphanumeric_Max20" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Trade" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehFacTyp4001" type="Alphanumeric_Max25" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Factory Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
	  <xs:element name="VehUseFl4015" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vehicle Used flag" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarNumVEHDET40" type="Alphanumeric_Max16" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VecModDatVECDET02" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vechicle Model Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ArImpDatVECDET01" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Arival Imported Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ImpCodVECDETGI" type="Alphanumeric_Max6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Importer Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouLasVECDETGI" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country Last" />
			<condition name="C193" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AppCodVehVECDETGI" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Approval Code Vehicle" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AppCodFacVECDETGI" type="Numeric_Max4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Approval Code Factory" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AppCodTypVECDETGI" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Approval Code Type" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VehRebFlaVEDEGI" type="Alphanumeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Vehicle Rebate Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RebVehRegPlaVEDEGI" type="Alphanumeric_Max30" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Rebated Vehicle Registration Plate" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
	  <xs:element name="MilVECDET03" type="Numeric_Max8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Mileage" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CarDioEmiVECDET04" type="CarbonDioxideEmissionsType" minOccurs="0"> 
        <xs:annotation>
          <xs:documentation>
            <description value="Carbon Dioxide Emissions" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VEHINVVECDETGI" type="VEHINVVECDETGI" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="VEHICLE INVENTORY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (PAYMENT) POSTPONED =====-->
  <xs:complexType name="POSPAYGI400">
    <xs:annotation>
      <xs:documentation>
        <description value="(PAYMENT) POSTPONED" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PosEndDatPOSPAYGI401" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postponed End Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosEndFlaPOSPAYGI402" type="Alphanumeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postponed End Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosPayCodPOSPAYGI404" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postponed Payment Code" />
            <codeList name="ΚωδικοςΠληρωμης" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosSusDatPOSPAYGI405" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postponed Suspend Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== RELIEFS =====-->
  <xs:complexType name="REL800">
    <xs:annotation>
      <xs:documentation>
        <description value="RELIEFS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RelRelCod02" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Relief Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (WAREHOUSE) IDENTIFICATION =====-->
  <xs:complexType name="WARIDGI700">
    <xs:annotation>
      <xs:documentation>
        <description value="(WAREHOUSE) IDENTIFICATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="WartypWARIDGI10" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse type" />
            <codeList name="WarehouseTypeWarehouseType" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AutCouWARIDGI20" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Authorizing country" />
            <codeList name="CountryOfOriginStatisticalValueCurrencyStatvalueCurrencyQmu" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarIdeWARIDEGI19" type="Alphanumeric_Max19">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ITINERARY =====-->
  <xs:complexType name="ITI">
    <xs:annotation>
      <xs:documentation>
        <description value="ITINERARY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouOfRouCodITI1" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of routing code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (TERMS) DELIVERY =====-->
  <xs:complexType name="DELTER">
    <xs:annotation>
      <xs:documentation>
        <description value="(TERMS) DELIVERY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IncCodTDL1" type="Alpha_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Incoterm Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComCodTDL1" type="Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Complementary code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComInfDELTER387" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Complement of info" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComInfDELTER387LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Complement of info LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (DATA) TRANSACTION =====-->
  <xs:complexType name="TRADAT">
    <xs:annotation>
      <xs:documentation>
        <description value="(DATA) TRANSACTION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CurTRD1" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
            <rule name="R874" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotAmoInvTRD1" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Total amount invoiced" />
            <rule name="R867" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExcRatTRD1" type="Decimal_6_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Exchange rate" />
            <condition name="C556" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatOfTraFirCodTRD1" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nature of transaction code" />
            <rule name="R867" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatOfTraSecCodTRD1" type="Numeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nature of second transaction code" />
            <rule name="R867" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (REPRESENTATIVE) TRADER =====-->
  <xs:complexType name="TRAREP">
    <xs:annotation>
      <xs:documentation>
        <description value="(REPRESENTATIVE) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamTRE1" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumTRE1" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodTRE1" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitTRE1" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodTRE1" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRAREPLNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINTRE1" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SpeMenTRE410" type="Alphanumeric_5" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Special Mention" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (CARRIER) TRADER =====-->
  <xs:complexType name="CARTRA100">
    <xs:annotation>
      <xs:documentation>
        <description value="(CARRIER) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCARTRA121" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumCARTRA254" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodCARTRA121" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitCARTRA789" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodCARTRA587" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADCARTRA121" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINCARTRA254" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== (ADDITIONAL CONSIGNEE) ADDITIONAL TRADER =====-->
  <xs:complexType name="ADDCON789">
    <xs:annotation>
      <xs:documentation>
        <description value="(ADDITIONAL CONSIGNEE) ADDITIONAL TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamAdTraAdCo1" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrNumAdTraAdCo2" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCoAdTraAdCo3" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitAdTraAdCo4" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGAdTraAdCo6" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VATAdTraAdCo7" type="Alphanumeric_Max12" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="VAT Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdCarAdTraAdCo8" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Card" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OwnAdTraAdCo9" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Owner" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OwnPerAdTraAdCo10" type="Numeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Ownership Percentage" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumASCOASTR" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== PROVISION =====-->
  <xs:complexType name="PROV100">
    <xs:annotation>
      <xs:documentation>
        <description value="PROVISION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ShiNamPRO1" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMONumPRO2" type="Alphanumeric_Max15">
        <xs:annotation>
          <xs:documentation>
            <description value="IMO Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiFlaPRO3" type="Alpha_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Ship Flag" />
            <codeList name="CountryOfOriginStatisticalValueCurrencyStatvalueCurrencyQmu" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GroTonPRO4" type="Numeric_Max6">
        <xs:annotation>
          <xs:documentation>
            <description value="Gross Tonnage" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MEAOFPRO200" type="MEAOFPRO200" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="MEANS OF PROVISIONING" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FUECON300" type="FUECON300" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="FUEL CONTROL" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== FUEL CONTROL =====-->
  <xs:complexType name="FUECON300">
    <xs:annotation>
      <xs:documentation>
        <description value="FUEL CONTROL" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RelCodFUECON2" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Relief Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="QuaFUECON3" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NatProCodFUECON4" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="National Product Code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InvNumFUECON123" type="Alphanumeric_Max10">
        <xs:annotation>
          <xs:documentation>
            <description value="Invoice Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

