<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== IE931:C_COL_DAT  -->
  <!--===== COL DATA  -->
  <!--===== ECS Domain Definition  -->
  <!--===== DDNXA v5.00  -->
  <!--===== Included Features: [4, 17, 18, 20, 24, 25, 28, 29]  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="simple_types_ecs.xsd" />
  <xs:include schemaLocation="simple_types.xsd" />
  <xs:include schemaLocation="complex_types.xsd" />
  <xs:include schemaLocation="tcl_ecs.xsd" />
  <xs:include schemaLocation="tcl.xsd" />
  <xs:include schemaLocation="doc.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="CD931B" type="CD931B" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="CD931B">
    <xs:sequence>
      <xs:group ref="MESSAGE" />
      <xs:element name="CUSOFFINF105" type="CUSOFFINF105" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE INFORMATION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COU113" type="COU113" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY/REGION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COUHOL118" type="COUHOL118" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY HOLIDAYS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <xs:group name="MESSAGE">
    <xs:sequence>
      <xs:element name="SynIdeMES1" type="SyntaxIdentifier">
        <xs:annotation>
          <xs:documentation>
            <description value="Syntax identifier" />
            <codeList name="SyntaxIdentifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SynVerNumMES2" type="SyntaxVersionNumber">
        <xs:annotation>
          <xs:documentation>
            <description value="Syntax version number" />
            <codeList name="SyntaxVersionNumber" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SenIdeCodQuaMES4" type="Alphanumeric_Max4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Sender identification code qualifier" />
          </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="RecIdeCodQuaMES7" type="Alphanumeric_Max4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Recipient identification code qualifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="Numeric_6">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IntConRefMES11" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Interchange control reference" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RecRefMES12" type="Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Recipient's reference/password" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RecRefQuaMES13" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Recipient's reference/password qualifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Test indicator" />
            <rule name="TR9085" />
            <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:sequence>
  </xs:group>
  <!--===== CUSTOMS OFFICE INFORMATION =====-->
  <xs:complexType name="CUSOFFINF105">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE INFORMATION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNum18" type="CORefNumType">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumMaiOff104" type="CORefNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number main office" />
            <rule name="R489" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumHigAut19" type="CORefNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number higher authority" />
            <rule name="R490" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumTak20" type="CORefNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number take-over" />
            <rule name="R495" />
            <rule name="TR9201" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumCAEnqCUSOFFINF131" type="CORefNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number Competent Authority of Enquiry" />
            <rule name="TR9160" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RefNumCARecCUSOFFINF132" type="CORefNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number Competent Authority of Recovery" />
            <rule name="TR9170" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCod21" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="UNLId22" type="Alpha_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="UN/LOCODE id" />
            <rule name="R460" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RegCod24" type="Alphanumeric_Max3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Region code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NCTEntDat25" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NCTS entry date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NeaOff26" type="Alphanumeric_Max175" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nearest office" />
            <condition name="C410" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NeaOff26LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Nearest office LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Pos28" type="PostalCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNum29" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
            <rule name="R500" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FaxNum30" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Fax Number" />
            <rule name="R500" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TelNum31" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Telex number" />
            <rule name="R500" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaAdd32" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="E-mail address" />
            <rule name="R500" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GeoInfCod33" type="Alphanumeric_Max6" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Geo info code" />
            <codeList name="GeoInfoCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraDed34" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Trader dedicated" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACT119" type="ACT119">
        <xs:annotation>
          <xs:documentation>
            <description value="ACTION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRADED106" type="TRADED106" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="(DEDICATED) TRADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COICOSN" type="COICOSN" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE SPECIFIC NOTES" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CUSOFFLSD109" type="CUSOFFLSD109" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE LSD" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CUSOFFTIM110" type="CUSOFFTIM110" minOccurs="0" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE TIMETABLE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ACTION =====-->
  <xs:complexType name="ACT119">
    <xs:annotation>
      <xs:documentation>
        <description value="ACTION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Ope288" type="ModificationType">
        <xs:annotation>
          <xs:documentation>
            <description value="Operation" />
            <rule name="R410" />
            <codeList name="ModificationType" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ValDat103" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Validity date" />
            <rule name="R410" />
            <condition name="C300" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ModSub144" type="Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Modification subtype" />
            <rule name="R410" />
            <condition name="C300" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ActId" type="Alphanumeric_Max20">
        <xs:annotation>
          <xs:documentation>
            <description value="Action identification" />
            <rule name="TR9001" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CUSTOMS OFFICE TIMETABLE =====-->
  <xs:complexType name="CUSOFFTIM110">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE TIMETABLE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SeaCod57" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Season code" />
            <rule name="R425" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaNam58" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Season name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaNam58LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Season name LNG" />
            <rule name="TR0099" />
            <codeList name="LanguageCodes" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaStaDat60" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Season start date" />
            <rule name="TR0403" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeaEndDat61" type="DateType">
        <xs:annotation>
          <xs:documentation>
            <description value="Season end date" />
            <rule name="TR0403" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CUSOFFTIMLIN111" type="CUSOFFTIMLIN111" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE TIMETABLE LINE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CUSTOMS OFFICE TIMETABLE LINE =====-->
  <xs:complexType name="CUSOFFTIMLIN111">
    <xs:annotation>
      <xs:documentation>
        <description value="CUSTOMS OFFICE TIMETABLE LINE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DayInTheWeeBEGDA63" type="DayInTheWeek">
        <xs:annotation>
          <xs:documentation>
            <description value="Day in the week (begin day)" />
            <rule name="R430" />
            <codeList name="DayInTheWeek" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OpeHouTimFirPerF64" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Opening hours time first period from" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OpeHouTimFirPerT65" type="Numeric_4">
        <xs:annotation>
          <xs:documentation>
            <description value="Opening hours time first period to" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DayInTheWeeENDDA66" type="DayInTheWeek">
        <xs:annotation>
          <xs:documentation>
            <description value="Day in the week (end day)" />
            <codeList name="DayInTheWeek" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OpeHouTimSecPerF67" type="Numeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Opening hours time second period from" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OpeHouTimSecPerT68" type="Numeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Opening hours time second period to" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CUSOFFROLCOM112" type="CUSOFFROLCOM112" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE ROLE / TRAFFIC COMPETENCE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== COUNTRY/REGION =====-->
  <xs:complexType name="COU113">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY/REGION" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouCod73" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCod74" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Country/region code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACT119" type="ACT119">
        <xs:annotation>
          <xs:documentation>
            <description value="ACTION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COULSD115" type="COULSD115" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY/REGION LSD" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COUHOL116" type="COUHOL116" minOccurs="0" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY/REGION HOLIDAYS" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ACTION =====-->
  <!--===== COUNTRY/REGION HOLIDAYS =====-->
  <xs:complexType name="COUHOL116">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY/REGION HOLIDAYS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouHolVarHolDat" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Variable holiday date" />
            <rule name="R232" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Day84" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Day" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Mon85" type="MonthOfYear">
        <xs:annotation>
          <xs:documentation>
            <description value="Month" />
            <codeList name="MonthOfYear" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Yea86" type="Numeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Year" />
            <condition name="C295" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COUHOLLSD117" type="COUHOLLSD117" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY/REGION HOLIDAYS LSD" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== COUNTRY HOLIDAYS =====-->
  <xs:complexType name="COUHOL118">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY HOLIDAYS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="CouCod92" type="CountryCodeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="CountryCodesCustomsOfficeLists" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACT119" type="ACT119">
        <xs:annotation>
          <xs:documentation>
            <description value="ACTION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COUHOLDAT120" type="COUHOLDAT120" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY HOLIDAYS DATA" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== ACTION =====-->
  <!--===== COUNTRY HOLIDAYS DATA =====-->
  <xs:complexType name="COUHOLDAT120">
    <xs:annotation>
      <xs:documentation>
        <description value="COUNTRY HOLIDAYS DATA" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="VarHolCouHolDat" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Variable holiday date" />
            <rule name="R232" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Day98" type="Alphanumeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Day" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Mon99" type="MonthOfYear">
        <xs:annotation>
          <xs:documentation>
            <description value="Month" />
            <codeList name="MonthOfYear" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Yea100" type="Numeric_4" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Year" />
            <condition name="C295" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="COUHOLDATLSD121" type="COUHOLDATLSD121" maxOccurs="9">
        <xs:annotation>
          <xs:documentation>
            <description value="COUNTRY HOLIDAYS DATA LSD" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

