<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ecs.dgtaxud.ec" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://ecs.dgtaxud.ec" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="60.4.17" vc:minVersion="1.1">
  <!--================================================================================-->
  <!--===== IE515: E_EXP_DAT                                                                -->
  <!--===== EXPORT DECLARATION                                                              -->
  <!--===== AES P1 Phase Definition                                                         -->
  <!--===== XSD Version 60.4.17                                                             -->
  <!--================================================================================-->
  <!--================================================================================-->
  <!--===== Includes                                                                        -->
  <!--================================================================================-->
  <xs:include schemaLocation="ctypes.xsd" />
  <xs:include schemaLocation="htypes.xsd" />
  <!--================================================================================-->
  <!--===== Root Element                                                                    -->
  <!--================================================================================-->
  <xs:element name="CC515C" type="CC515CType" />
  <!--================================================================================-->
  <!--===== Root Element Content                                                            -->
  <!--================================================================================-->
  <xs:complexType name="CC515CType">
    <xs:sequence>
      <xs:group ref="MESSAGE" />
      <xs:element name="ExportOperation" type="ExportOperationType10">
        <xs:annotation>
          <xs:documentation>
            <description value="EXPORT OPERATION" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Authorisation" minOccurs="0" maxOccurs="9" type="AuthorisationType05">
        <xs:annotation>
          <xs:documentation>
            <description value="AUTHORISATION" />
            <optionality value="O" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CustomsOfficeOfPresentation" minOccurs="0" type="CustomsOfficeOfPresentationType02">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE OF PRESENTATION" />
            <optionality value="O" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CustomsOfficeOfExport" type="CustomsOfficeOfExportType01">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE OF EXPORT" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CustomsOfficeOfExitDeclared" type="CustomsOfficeOfExitDeclaredType04">
        <xs:annotation>
          <xs:documentation>
            <description value="CUSTOMS OFFICE OF EXIT (DECLARED)" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SupervisingCustomsOffice" minOccurs="0" type="SupervisingCustomsOfficeType">
        <xs:annotation>
          <xs:documentation>
            <description value="SUPERVISING CUSTOMS OFFICE" />
            <optionality value="O" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Exporter" type="ExporterType05">
        <xs:annotation>
          <xs:documentation>
            <description value="EXPORTER" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Declarant" type="DeclarantType09">
        <xs:annotation>
          <xs:documentation>
            <description value="DECLARANT" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Representative" minOccurs="0" type="RepresentativeType04">
        <xs:annotation>
          <xs:documentation>
            <description value="REPRESENTATIVE" />
            <optionality value="O" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurrencyExchange" minOccurs="0" type="CurrencyExchangeType03">
        <xs:annotation>
          <xs:documentation>
            <description value="CURRENCY EXCHANGE" />
            <optionality value="O" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DeferredPayment" minOccurs="0" type="DeferredPaymentType01">
        <xs:annotation>
          <xs:documentation>
            <description value="DEFERRED PAYMENT" />
            <optionality value="D" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GoodsShipment" type="GoodsShipmentType06">
        <xs:annotation>
          <xs:documentation>
            <description value="GOODS SHIPMENT" />
            <optionality value="R" />
          </xs:documentation>
        </xs:annotation>
      </xs:element>

			<xs:element name="Authorisation_8f" type="M8FType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						<description value="Application and authorisation for the use of temporary admission, end-use, inward processing or outward processing in situations where Article 163 applies"/>
					</xs:documentation>
				</xs:annotation>
			</xs:element>

    </xs:sequence>
    <xs:attribute name="PhaseID" type="phaseIDtype" />
  </xs:complexType>
</xs:schema>
