<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" version="1.00">
  <!--=========================================-->
  <!--===== DL15:DL_AP_WAR  -->
  <!--===== Δελτίο Εξόδου  -->
  <!--===== ICS Domain Definition  -->
  <!--===== ICS_P1  Phase  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="simple_types_ics.xsd" />
  <xs:include schemaLocation="simple_types.xsd" />
  <xs:include schemaLocation="complex_types.xsd" />
  <xs:include schemaLocation="tcl_ics.xsd" />
  <xs:include schemaLocation="tcl.xsd" />
  <xs:include schemaLocation="doc.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="DL15A" type="DL15A" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="DL15A">
    <xs:sequence>
      <xs:group ref="MESSAGE" />
      <xs:element name="HEAHEA" type="HEAHEA">
        <xs:annotation>
          <xs:documentation>
            <description value="HEADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GOOITEGDS" type="GOOITEGDS" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="GOODS ITEM" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WARKEE" type="WARKEE">
        <xs:annotation>
          <xs:documentation>
            <description value="WAREHOUSE KEEPER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPCUSOFF" type="IMPCUSOFF">
        <xs:annotation>
          <xs:documentation>
            <description value="(IMPORT) CUSTOMS OFFICE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TRACOMMES" type="TRACOMMES" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TRANSPORTATION COMPANY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ADDDOD" type="ADDDOD" maxOccurs="99">
        <xs:annotation>
          <xs:documentation>
            <description value="ADDITIONAL DOCUMENTATION" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BENMES" type="BENMES">
        <xs:annotation>
          <xs:documentation>
            <description value="BENEFICIARY" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BUYMES" type="BUYMES">
        <xs:annotation>
          <xs:documentation>
            <description value="BUYER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <xs:group name="MESSAGE">
    <xs:sequence>
      <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecMES6" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="DatePrepType">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="TimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PriMES15" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Priority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Test indicator" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesIdeMES19" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Message identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesTypMES20" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CorIdeMES25" type="Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Correlation identifier" />
            <rule name="TR9181" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:complexType name="GOOITEGDS">
    <xs:annotation>
      <xs:documentation>
        <description value="GOODS ITEM" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IteNumGDS7" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Item number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GroMasGDS46" type="Decimal_11_3">
        <xs:annotation>
          <xs:documentation>
            <description value="Gross mass" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupUniGDI1" type="Decimal_11_3" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Supplementary units" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="KinOfPacGOOITEMES" type="Alphanumeric_Max3">
        <xs:annotation>
          <xs:documentation>
            <description value="Kind of packages" />
            <codeList name="KindOfPackages" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NumOfPacGOOITEMES" type="Numeric_Max5">
        <xs:annotation>
          <xs:documentation>
            <description value="Number of packages" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ComNomGOOITEMES" type="NumericMin4Max8Type">
        <xs:annotation>
          <xs:documentation>
            <description value="Combined Nomenclature" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TarCodGOOITEMES" type="Alphanumeric_2" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="TARIC code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="HEAHEA">
    <xs:annotation>
      <xs:documentation>
        <description value="HEADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="RefNumHEA4" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="Reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DecDatTimHEA114" type="DateTimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Declaration date and time" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GooWarRegNumHEAMES" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Goods Warehousing Registration Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarLicNumHEAMES" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse Licence Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypofExiHEAMES" type="Numeric_1">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of Exit" />
            <codeList name="ΤύποιΕξόδουΑπόΑποθήκη" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HandWrRegNuHEAMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="HandWritten Registration Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="WarRegDateHEAMES" type="DateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Warehouse Registration Date" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="WARKEE">
    <xs:annotation>
      <xs:documentation>
        <description value="WAREHOUSE KEEPER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamWARKEEP2071" type="TradNameType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StrNumWARKEEP2072" type="StreetNumType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Street and number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PstCodWARKEEP2074" type="PostalCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Postal code" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CtyWARKEEP2075" type="CityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="City" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CouCodWARKEEP2073" type="CountryCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Country code" />
            <codeList name="Χώρα" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NADWARKEEP2076LNG" type="LanguageCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="NAD LNG" />
            <codeList name="Γλώσσα" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MobNumWARKEEMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Mobile Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumWARKEEMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaaddWARKEEMES" type="emailAddressType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="E-mail address" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeTypWARKEEMES" type="Numeric_2">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Type" />
            <codeList name="IdentityType" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IdeNumWARKEEMES" type="Alphanumeric_Max21">
        <xs:annotation>
          <xs:documentation>
            <description value="Identity Number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
