<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
  <!--=========================================-->
  <!--===== IE60:I_IMP_E_CDN  -->
  <!--===== E-Commerce Declaration Control Decision Notification  -->
  <!--===== ICS_P1 Phase Definition  -->
  <!--===== Message Specifications for IMPORT v1.00  -->
  <!--===== XSD version v1.22  -->
  <!--=========================================-->
  <!--===== Includes =====-->
  <xs:include schemaLocation="doc.xsd" />
  <xs:include schemaLocation="complex_types_ics.xsd" />
  <xs:include schemaLocation="simple_types_ics.xsd" />
  <xs:include schemaLocation="tcl_ics.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="IE60A" type="IE60A" />
  <!--===== Root Element Content =====-->
  <xs:complexType name="IE60A">
    <xs:sequence>
      <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message sender" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesRecMES6" type="Alphanumeric_Max35">
        <xs:annotation>
          <xs:documentation>
            <description value="Message recipient" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfPreMES9" type="DatePrepType">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TimOfPreMES10" type="TimeType">
        <xs:annotation>
          <xs:documentation>
            <description value="Time of preparation" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PriMES15" type="Alpha_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Priority" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Test indicator" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesIdeMES19" type="Alphanumeric_Max14">
        <xs:annotation>
          <xs:documentation>
            <description value="Message identification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MesTypMES20" type="MessageTypes">
        <xs:annotation>
          <xs:documentation>
            <description value="Message type" />
            <codeList name="MessageTypes" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CorIdeMES25" type="Alphanumeric_Max14" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Correlation identifier" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HEAHEA" type="IE60_HEAHEAType">
        <xs:annotation>
          <xs:documentation>
            <description value="HEADER" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REPREP" type="IE60_REPREPType">
        <xs:annotation>
          <xs:documentation>
            <description value="REPRESENTATIVE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPCUSOFF" type="IMPCUSOFFType">
        <xs:annotation>
          <xs:documentation>
            <description value="(IMPORT) CUSTOMS OFFICE" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== MESSAGE Content =====-->
  <!--===== HEADER =====-->
  <xs:complexType name="IE60_HEAHEAType">
    <xs:annotation>
      <xs:documentation>
        <description value="HEADER" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DocNumHEA5" type="MRNType">
        <xs:annotation>
          <xs:documentation>
            <description value="Document/reference number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DatOfConNotHEA148" type="Numeric_8">
        <xs:annotation>
          <xs:documentation>
            <description value="Date of control notification" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LRNHEA01" type="Alphanumeric_Max22">
        <xs:annotation>
          <xs:documentation>
            <description value="LRN" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhyConHEA" type="Flag">
        <xs:annotation>
          <xs:documentation>
            <description value="Type of Control" />
            <codeList name="Flag" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TraConInfHEA" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Trader Control Info" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DesHEAMES" type="Alphanumeric_Max350" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Description" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== REPRESENTATIVE =====-->
  <xs:complexType name="IE60_REPREPType">
    <xs:annotation>
      <xs:documentation>
        <description value="REPRESENTATIVE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IdNumREPMES" type="Alphanumeric_Max17">
        <xs:annotation>
          <xs:documentation>
            <description value="Identification number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="REPSTACO" type="Numeric_1" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Representative Status Code" />
            <codeList name="RepresentativeStatusCode" type="business" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CONPERREPMES" type="IE60_CONPERREPMESType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="CONTACT PERSON" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--===== CONTACT PERSON =====-->
  <xs:complexType name="IE60_CONPERREPMESType">
    <xs:annotation>
      <xs:documentation>
        <description value="CONTACT PERSON" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NamCONPERREPMES" type="Alphanumeric_Max70" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Name" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PhoNumCONPERREPMES" type="Alphanumeric_Max35" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="Phone number" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EmaAddCONPERREPMES" type="Alphanumeric_Max256" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
            <description value="e-mail address" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

