<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ie="http://www.icisnet.gr/emcs/v1.03/ec01/ie" xmlns:emcs="http://www.icisnet.gr/emcs/v1.03/types" xmlns:tms="http://www.icisnet.gr/emcs/v1.03/tms" xmlns:tcl="http://www.icisnet.gr/emcs/v1.03/tcl" xmlns:doc="http://www.icisnet.gr/emcs/v1.03/doc" targetNamespace="http://www.icisnet.gr/emcs/v1.03/ec01/ie" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.03">
  <!--=========================================-->
  <!--===== EC01:N_UPT_VAL -->
  <!--===== Αίτηση Μεταβολής Προϊόντων -->
  <!--=========================================-->
  <!--===== Imports =====-->
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/types" schemaLocation="types.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/tms" schemaLocation="tms.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/tcl" schemaLocation="tcl.xsd" />
  <xs:import namespace="http://www.icisnet.gr/emcs/v1.03/doc" schemaLocation="doc.xsd" />
  <!--===== Root Element =====-->
  <xs:element name="EC01A" type="ie:EC01AType" />
  <!--===== EMCS Data Groups Declarations =====-->
  <xs:complexType name="EC01AType">
    <xs:sequence>
      <xs:element name="Header" type="tms:HeaderType" />
      <xs:element name="Body" type="ie:BodyType" />
    </xs:sequence>
  </xs:complexType>
  <!--===== IE Specific Data Groups Declarations =====-->
  <xs:complexType name="BodyType">
    <xs:sequence>
      <xs:element name="GoodsProcessingDeclaration" type="ie:GoodsProcessingDeclarationType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GoodsProcessingDeclarationType">
    <xs:sequence>
      <xs:element name="SubmittingOperator" type="ie:SubmittingOperatorType" minOccurs="0" />
      <xs:element name="ChangeRequest" type="ie:ChangeRequestType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SubmittingOperatorType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="SUBMITTING OPERATOR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SubmittingOperatorIdentification" type="emcs:SubmittingOperatorIdentificationType" />
      <xs:element name="SubmittingTraderIdentification" type="emcs:SubmittingTraderIdentificationType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ChangeRequestType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="CHANGE REQUEST" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DeclarationReferenceNumber" type="emcs:DeclarationReferenceNumberType" />
      <xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" />
      <xs:element name="WarehouseReference" type="emcs:WarehouseReferenceType" />
      <xs:element name="SpecialConsigneeTaxNumber" type="emcs:SpecialConsigneeTaxNumberType" minOccurs="0" />
      <xs:element name="TraderComments" type="emcs:TraderCommentsType" minOccurs="0" />
      <xs:element name="ProtocolNumber" type="emcs:ProtocolNumberType" minOccurs="0" />
      <xs:element name="ExistingNationalProducts" type="ie:ExistingNationalProductsType" maxOccurs="unbounded" />
      <xs:element name="NewNationalProducts" type="ie:NewNationalProductsType" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ExistingNationalProductsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="EXISTING NATIONAL PRODUCTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NationalProductId" type="emcs:NationalProductIdType" />
      <xs:element name="Quantity" type="emcs:QuantityType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NewNationalProductsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="NEW NATIONAL PRODUCTS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NationalProductId" type="emcs:NationalProductIdType" />
      <xs:element name="Quantity" type="emcs:QuantityType" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

