<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== NCTS Common Simple Data Groups  -->
  <!--===== DDNTA v14.00  -->
  <!--===== Included Features: [12, 17, 20, 21, 23, 24, 27, 29]  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="simple_types_ncts.xsd" />
  <xs:include schemaLocation="simple_types.xsd" />
  <xs:include schemaLocation="tcl_ncts.xsd" />
  <xs:include schemaLocation="tcl.xsd" />
  <xs:include schemaLocation="doc.xsd" />
  <!--===== Common Simple Data Groups =====-->
  <xs:complexType name="ACCCODPC3">
    <xs:annotation>
      <xs:documentation>
        <description value="PRINCIPAL ACCESS CODE (OLD)" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AccCodPC31" type="Alphanumeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Access code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ACCDOC728">
    <xs:annotation>
      <xs:documentation>
        <description value="ACCESS CODE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AccCodCOD729" type="Alphanumeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Access code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ACCDOCPC4">
    <xs:annotation>
      <xs:documentation>
        <description value="PRINCIPAL ACCESS CODE (NEW)" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AccCodPC41" type="Alphanumeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Access code" />
            <rule name="R350" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AUTFORGUASIM">
    <xs:annotation>
      <xs:documentation>
        <description value="(GUARANTEE SIMPLIFICATION) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumSIM1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AUTGOOLOCLSD122">
    <xs:annotation>
      <xs:documentation>
        <description value="AUTHORISED GOODS LOCATION LSD" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LanCod757" type="LanguageCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Nam758" type="TradNameType">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNum759" type="StreetNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCod761" type="PostalCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cit762" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Cou760" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGAUL" 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: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="COMINGCOUCUS041">
    <xs:annotation>
      <xs:documentation>
        <description value="(COMPETENT AUTHORITY OF REQUESTING COUNTRY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefCOMINGCOUCUS042" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COMSTEDCOUCUS039">
    <xs:annotation>
      <xs:documentation>
        <description value="(COMPETENT AUTHORITY OF REQUESTED COUNTRY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefCOMSTEDCOUCUS040" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CONNR3">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTAINERS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConNumNR31" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Container number" />
            <rule name="R190" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="COUGRT">
    <xs:annotation>
      <xs:documentation>
        <description value="(GUARANTEE) COUNTRY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouCodGRT764" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </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="COUINV">
    <xs:annotation>
      <xs:documentation>
        <description value="(INVOLVED) COUNTRY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouCodINV719" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesFullList" />
          </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="CTLCTL">
    <xs:annotation>
      <xs:documentation>
        <description value="CTL_CONTROL" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AlrInNCTCTL29" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Already in NCTS" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFDESDECDDC">
    <xs:annotation>
      <xs:documentation>
        <description value="(DESTINATION DECLARED) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumDDC1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFEXPERT">
    <xs:annotation>
      <xs:documentation>
        <description value="(EXPORT) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumERT1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFEXTDECEDC">
    <xs:annotation>
      <xs:documentation>
        <description value="(EXIT DECLARED) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumEDC11" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </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="CUSOFFPREOFFRES">
    <xs:annotation>
      <xs:documentation>
        <description value="(PRESENTATION OFFICE) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumRES1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSOFFRECRCV">
    <xs:annotation>
      <xs:documentation>
        <description value="(RECOVERY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumRCV1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </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="CUSOFFRETCOPOCP">
    <xs:annotation>
      <xs:documentation>
        <description value="(RETURN COPIES) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumOCP1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CusOffNamOCP2" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Customs office name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumOCP3" type="StreetNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouOCP4" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCommonTransit" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodOCP6" type="PostalCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitOCP7" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGOCP" 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: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="CUSOFFTRADECCOF">
    <xs:annotation>
      <xs:documentation>
        <description value="(TRANSIT DECLARED) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumCOF1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFCOMAUTREC">
    <xs:annotation>
      <xs:documentation>
        <description value="(COMPETENT AUTHORITY FOR RECOVERY) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumREC1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFDEPEPT2">
    <xs:annotation>
      <xs:documentation>
        <description value="(DEPARTURE) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumEPT22" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFDESEST2">
    <xs:annotation>
      <xs:documentation>
        <description value="(DESTINATION) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumEST22" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFGUARNT">
    <xs:annotation>
      <xs:documentation>
        <description value="(GUARANTEE) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumRNT1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFRED">
    <xs:annotation>
      <xs:documentation>
        <description value="(REQUESTED) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumRED1" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CUSTOFFREL">
    <xs:annotation>
      <xs:documentation>
        <description value="(RELEVANT) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumCUSTOFFREL" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ENQINF136">
    <xs:annotation>
      <xs:documentation>
        <description value="ENQUIRY INFORMATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="InfCodENQINF138" type="Numeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Information Code" />
            <rule name="R001" />
            <codeList name="InformationCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InfTexENQINF460" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Information text" />
            <condition name="C320" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InfTexENQINF460LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Information text LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </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="EXPEXP">
    <xs:annotation>
      <xs:documentation>
        <description value="EXPOSURE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ExpEXP1" type="Decimal_15_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Exposure" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExpCouEXP2" type="Numeric_Max8">
        <xs:annotation>
          <xs:documentation>
            <description value="Exposure counter" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BalEXP3" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Balance" />
            <rule name="R021" />
            <condition name="C286" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurEXP4" type="Alphanumeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
            <rule name="R267" />
            <codeList name="CurrencyCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FLIDET1">
    <xs:annotation>
      <xs:documentation>
        <description value="FLIGHT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FliNumFLI1027" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Flight number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfFliFLI1028" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of flight" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNamFLI1029" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComStrAndNumFLI1030" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComPosCodFLI1031" type="Alphanumeric_Max9" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CompCitFLI1032" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CompCouCodFLI1033" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s Country code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiAirFLI1034" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Shipping airport" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DisAirFLI1035" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Discharge airport" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GUACOMGUAGDS2">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS ITEM" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComCodGDS210" type="Alphanumeric_Max22" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Commodity code" />
            <rule name="TR9050" />
            <rule name="TR0102" />
            <condition name="C230" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SenGooCodGDS213" type="SensitiveGoodsCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Sensitive goods code" />
            <rule name="R156" />
            <codeList name="SensitiveGoodsCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS211" type="Alphanumeric_Max280">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS211LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GUAGRTGDS3">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS ITEM" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ComCodGDS311" type="Alphanumeric_Max22" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Commodity code" />
            <rule name="TR9050" />
            <rule name="TR0102" />
            <condition name="C230" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SenGooGDS314" type="SensitiveGoodsCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Sensitive goods code" />
            <rule name="R156" />
            <codeList name="SensitiveGoodsCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS312" type="Alphanumeric_Max280">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooDesGDS312LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods description LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GUAOTHADD">
    <xs:annotation>
      <xs:documentation>
        <description value="GUARANTOR OTHER ADDRESSES" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AddTypADD11" type="AddressType">
        <xs:annotation>
          <xs:documentation>
            <description value="Address type" />
            <codeList name="AddressType" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NamADD12" type="TradNameType">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumADD13" type="StreetNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodADD22" type="PostalCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitADD15" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouADD14" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGGOA" 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="ConPerADD16" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Contact person" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumADD17" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FaxNumADD18" type="Alphanumeric_Max12" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Fax number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TelNumADD19" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Telex number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MaiAddADD20" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="E-mail address" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LanCodADD21" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Language code" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GUARNRGUARNTINFO">
    <xs:annotation>
      <xs:documentation>
        <description value="GUARANTOR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamGU720" type="TradNameType">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrAndNumGU721" type="StreetNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCodGU722" type="PostalCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CitGU723" type="CityType">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADLNGGU725" 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="ConDetGU725" type="Alphanumeric_Max140">
        <xs:annotation>
          <xs:documentation>
            <description value="Contact details in country of competent authority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TINGU726" type="TINType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INDGUAVOU">
    <xs:annotation>
      <xs:documentation>
        <description value="INDIVIDUAL GUARANTEE VOUCHER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DatOfIssVOU745" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of issue" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExpDatVOU746" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Expiry date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HarCopGivToPriVOU747" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Hard copy given to Principal" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LimValVOU748" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Limited validity (sensitive goods)" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TIRCarVOU749" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="TIR carnet" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VouAmoVOU750" type="Decimal_15_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Voucher amount" />
            <rule name="R021" />
            <condition name="C232" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurVOU751" type="Alphanumeric_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
            <rule name="R267" />
            <condition name="C232" />
            <codeList name="CurrencyCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INTERRORS">
    <xs:annotation>
      <xs:documentation>
        <description value="INTERCHANGE ERRORS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IntConRefINT2" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Interchange control reference" />
            <rule name="TR9250" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesSenINT4" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
            <rule name="TR9250" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecINT5" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
            <rule name="TR9250" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ActRecINT1" type="ActionCodes">
        <xs:annotation>
          <xs:documentation>
            <description value="Action taken by recipient" />
            <codeList name="ActionCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrTypINT6" type="ErrorCodesForEdiNck" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Syntax error" />
            <rule name="TR0901" />
            <codeList name="ErrorCodesForEdiNck" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IntSegTagINT3" type="InterchangeServiceSegmentTags" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Interchange service segment" />
            <rule name="TR0903" />
            <codeList name="InterchangeServiceSegmentTags" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosElmntINT7" type="Numeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Position of erroneous data element" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCompINT8" type="Numeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Position of erroneous data component" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INVGUAREA">
    <xs:annotation>
      <xs:documentation>
        <description value="INVALID GUARANTEE REASON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="InvGuaReaCod724" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Invalid guarantee reason code" />
            <codeList name="InvalidGuaranteeReasonCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="INVGUARNS">
    <xs:annotation>
      <xs:documentation>
        <description value="INVALID GUARANTEE REASON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="InvGuaReaCodRNS11" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Invalid guarantee reason code" />
            <codeList name="InvalidGuaranteeReasonCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InvGuaReaRNS12" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Invalid guarantee reason" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="InvGuaReaRNS12LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Invalid guarantee reason LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ITI">
    <xs:annotation>
      <xs:documentation>
        <description value="ITINERARY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouOfRouCodITI1" 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="MARTRADET1">
    <xs:annotation>
      <xs:documentation>
        <description value="MARINE TRANSPORT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CarShiNamMTD1043" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Cargo ship name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShiDatMTD1044" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Shipping date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNamMTD1045" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComStrAndNumMTD1046" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComPosCodMTD1047" type="Alphanumeric_Max9" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComCitMTD1048" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComCouCodMTD1049" type="Alpha_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Company’s Country code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LoaHarMTD1050" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Loading harbour" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlHarMTD1051" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading harbour" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESREGCUOF">
    <xs:annotation>
      <xs:documentation>
        <description value="(REGISTRATION) CUSTOMS OFFICE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="OfRefNumREGCUOF" type="Alphanumeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Office reference number" />
            <rule name="E715" />
            <rule name="E600" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MESTIRINF">
    <xs:annotation>
      <xs:documentation>
        <description value="TIR INFO" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TIRNumTIR01" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="TIR number" />
            <rule name="EC902" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VOLNumTIR02" type="Alphanumeric_Max2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Volet page number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlTIR03" type="Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading" />
            <codeList name="ΤροποιΕκφορτωσης" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlQuaTIR04" type="Numeric_Max7" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Quantity of unloading" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MRNLSTMPER">
    <xs:annotation>
      <xs:documentation>
        <description value="PERIOD OF REQUEST" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DayPerFrPER11" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Day period from" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimPerFrPER12" type="Numeric_6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Time period from" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DayPerToPER13" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Day period to" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimPerToPER14" type="Numeric_6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Time period to" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MRNLSTMTYP">
    <xs:annotation>
      <xs:documentation>
        <description value="MSGTYPE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MesTypTYP1" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MSGERRSEGDATERR">
    <xs:annotation>
      <xs:documentation>
        <description value="DATA ELEMENT ERRORS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ErrTypDER1" type="ErrorCodesForEdiNck">
        <xs:annotation>
          <xs:documentation>
            <description value="Error" />
            <rule name="TR0901" />
            <codeList name="ErrorCodesForEdiNck" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosElmntDER2" type="Numeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Position of erroneous data element" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PosCompDER3" type="Numeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Position of erroneous data component" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MSGMRNINFING">
    <xs:annotation>
      <xs:documentation>
        <description value="MSGINFO" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="MesTypING1" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeqIdING2" type="Numeric_Max8">
        <xs:annotation>
          <xs:documentation>
            <description value="Sequence id" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RepToIdING3" type="Numeric_Max8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reply to" />
            <rule name="TR9045" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodFrING4" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code A" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SenDatING5" type="Numeric_14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Sent Date" />
            <rule name="R665" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodToING6" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code B" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RecDatING7" type="Numeric_14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Received Date" />
            <rule name="R665" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RecRetCodING8" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reception return code" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CoARepING9" type="CsiReturnedCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CoA report" />
            <codeList name="CsiReturnedCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CoDRepING10" type="CsiReturnedCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CoD report" />
            <codeList name="CsiReturnedCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EXPRepING11" type="CsiReturnedCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="EXP report" />
            <codeList name="CsiReturnedCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EXCRepING12" type="CsiReturnedCode" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="EXC report" />
            <codeList name="CsiReturnedCode" />
          </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="PASSAGE">
    <xs:annotation>
      <xs:documentation>
        <description value="PASSAGE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DatOfPasPAS627" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of passage" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="REPREP">
    <xs:annotation>
      <xs:documentation>
        <description value="REPRESENTATIVE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamREP5" type="TradNameType">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RepCapREP18" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Representative capacity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RepCapREP18LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Representative capacity LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="REQENQINF376">
    <xs:annotation>
      <xs:documentation>
        <description value="REQUEST FOR ENQUIRY INFORMATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ReqInfCodREQENQINF379" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Information Code" />
            <rule name="R002" />
            <codeList name="RequestedInformationCode" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqInfREQENQINF378" type="Alphanumeric_Max140" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Information Text" />
            <condition name="C330" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReqInfREQENQINF378LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Requested Information Text LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </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="SEAIDSI1">
    <xs:annotation>
      <xs:documentation>
        <description value="SEALS ID" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaIdeSI11" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Seals identity" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaIdeSI11LNG" 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="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="SERELEMS">
    <xs:annotation>
      <xs:documentation>
        <description value="SERIES ELEMENTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="YeaSER642" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Year" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MonSER641" type="MonthOfYear">
        <xs:annotation>
          <xs:documentation>
            <description value="Month" />
            <codeList name="MonthOfYear" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouDesSER644" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country of destination code" />
            <codeList name="CountryCodesFullList" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouSER640" type="Numeric_Max9">
        <xs:annotation>
          <xs:documentation>
            <description value="Counter" />
          </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="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="TRAPRIRC1">
    <xs:annotation>
      <xs:documentation>
        <description value="(REQUESTER PRINCIPAL) TRADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="TINRC159" type="TINType">
        <xs:annotation>
          <xs:documentation>
            <description value="TIN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="UNLREMREM">
    <xs:annotation>
      <xs:documentation>
        <description value="UNLOADING REMARK" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="StaOfTheSeaOKREM19" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="State of seals ok" />
            <rule name="R200" />
            <rule name="R340" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlRemREM53" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading remark" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlRemREM53LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading remark LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ConREM65" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Conform" />
            <rule name="R205" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlComREM66" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading completion" />
            <rule name="R186" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UnlDatREM67" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Unloading date" />
            <rule name="E721" />
          </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="USAUSA">
    <xs:annotation>
      <xs:documentation>
        <description value="USAGE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocNumUSA1" type="MRNType">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CovAmoUSA2" type="Decimal_15_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Covered amount" />
            <rule name="R021" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurUSA3" type="Alphanumeric_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Currency" />
            <rule name="R267" />
            <codeList name="CurrencyCodes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LocDatUSA4" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Lock date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ArrDatUSA5" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Arrival date" />
            <rule name="R264" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfRelUSA6" type="Numeric_8" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of release" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALGRPVL">
    <xs:annotation>
      <xs:documentation>
        <description value="VALUE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CdValVL1" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Value" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMECCMG">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForECCMG2" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for EC" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMECVLD">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForECVLD1" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for EC" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMECVLE">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForECVLE1" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for EC" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMECVLE2">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForECVLE21" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for EC" />
            <rule name="R230" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMNONECLIM">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION NON EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForOthConPLIM2" type="CountryCodesGuaranteeManagementNonEc">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for other contracting parties" />
            <rule name="R231" />
            <codeList name="CountryCodesGuaranteeManagementNonEc" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMNONECLIM2">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION NON EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForOthConPLIM22" type="CountryCodesGuaranteeManagementNonEc">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for other contracting parties" />
            <rule name="R231" />
            <codeList name="CountryCodesGuaranteeManagementNonEc" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMNONECMIT">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION NON EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NoValForOthConPMIT2" type="CountryCodesGuaranteeManagementNonEc">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for other contracting parties" />
            <rule name="R231" />
            <codeList name="CountryCodesGuaranteeManagementNonEc" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VALLIMNONECVLD">
    <xs:annotation>
      <xs:documentation>
        <description value="VALIDITY LIMITATION NON EC" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NotValForOthConPVLD2" type="CountryCodesGuaranteeManagementNonEc">
        <xs:annotation>
          <xs:documentation>
            <description value="Not valid for other contracting parties" />
            <rule name="R231" />
            <codeList name="CountryCodesGuaranteeManagementNonEc" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

