<?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/va13/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/va13/ie" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.03">
  <!--=========================================-->
  <!--===== VA13:N_DAO_UPD -->
  <!--===== Μεταβολή ΔΑΟ -->
  <!--=========================================-->
  <!--===== 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="VA13A" type="ie:VA13AType" />
  <!--===== EMCS Data Groups Declarations =====-->
  <xs:complexType name="VA13AType">
    <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="VehicleArrivalDeclarationAmendment" type="ie:VehicleArrivalDeclarationAmendmentType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VehicleArrivalDeclarationAmendmentType">
    <xs:sequence>
      <xs:element name="SubmittingOperator" type="ie:SubmittingOperatorType" minOccurs="0" />
      <xs:element name="VehicleArrival" type="ie:VehicleArrivalType" />
      <xs:element name="VehicleArrivalConsignor" type="ie:VehicleArrivalConsignorType" />
      <xs:element name="VehicleArrivalConsignee" type="ie:VehicleArrivalConsigneeType" />
      <xs:element name="VehicleDetails" type="ie:VehicleDetailsType" maxOccurs="unbounded" />
    </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="VehicleArrivalType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="VEHICLE ARRIVAL" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DeclarationReferenceNumber" type="emcs:DeclarationReferenceNumberType" />
      <xs:element name="LocalReferenceNumber" type="emcs:LocalReferenceNumberType" />
      <xs:element name="Fallbackflag" type="tcl:Flag" />
      <xs:element name="FallbackDocumentReference" type="emcs:FallbackDocumentReferenceType" minOccurs="0" />
      <xs:element name="FallbackOffice" type="emcs:ExciseOfficeCodeType" minOccurs="0" />
      <xs:element name="RegistrationDate" type="emcs:DateType" minOccurs="0" />
      <xs:element name="VehicleMovementMeans" type="tcl:VehicleMovementMeansCodes" />
      <xs:element name="TransportVehicleRegistrationPlate" type="emcs:TransportVehicleRegistrationPlateType" minOccurs="0" />
      <xs:element name="TransportVehicleCountry" type="emcs:CountryCodeType" minOccurs="0" />
      <xs:element name="DurationInDays" type="emcs:DurationInDaysType" minOccurs="0" />
      <xs:element name="OfficeOfOrigin" type="emcs:ExciseOfficeCodeType" minOccurs="0" />
      <xs:element name="CountryOfOrigin" type="emcs:CountryCodeType" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VehicleArrivalConsignorType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="VEHICLE ARRIVAL CONSIGNOR" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PersonIdentificationType" type="tcl:PersonIdentificationTypeCodes" />
      <xs:element name="TaxIdNumber" type="emcs:TaxIdNumberType" minOccurs="0" />
      <xs:element name="ConsignorContactDetails" type="ie:ConsignorContactDetailsType" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ConsignorContactDetailsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="CONSIGNOR CONTACT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PersonIdentification" type="emcs:PersonIdentificationType" />
      <xs:element name="LastNames" type="emcs:LastNamesType" />
      <xs:element name="Forenames" type="emcs:ForenamesType" />
      <xs:element name="NameOfFather" type="emcs:NameOfFatherType" />
      <xs:element name="Address" type="emcs:AddressType" />
      <xs:element name="Phone" type="emcs:PhoneType" minOccurs="0" />
      <xs:element name="Country" type="emcs:CountryCodeType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VehicleArrivalConsigneeType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="VEHICLE ARRIVAL CONSIGNEE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PersonIdentificationType" type="tcl:PersonIdentificationTypeCodes" />
      <xs:element name="TaxIdNumber" type="emcs:TaxIdNumberType" minOccurs="0" />
      <xs:element name="OfficeOfResponsibility" type="emcs:ExciseOfficeCodeType" minOccurs="0" />
      <xs:element name="VehicleTaxWarehouseReference" type="emcs:VehicleTaxWarehouseReferenceType" minOccurs="0" />
      <xs:element name="ContactDetails" type="ie:ContactDetailsType" minOccurs="0" />
      <xs:element name="DeliveryPlace" type="ie:DeliveryPlaceType" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ContactDetailsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="CONTACT DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PersonIdentification" type="emcs:PersonIdentificationType" />
      <xs:element name="LastNames" type="emcs:LastNamesType" />
      <xs:element name="Forenames" type="emcs:ForenamesType" />
      <xs:element name="NameOfFather" type="emcs:NameOfFatherType" />
      <xs:element name="StreetName" type="emcs:StreetNameType" />
      <xs:element name="StreetNumber" type="emcs:StreetNumberType" />
      <xs:element name="Municipality" type="emcs:MunicipalityType" minOccurs="0" />
      <xs:element name="PostCode" type="emcs:PostCodeType" minOccurs="0" />
      <xs:element name="Prefecture" type="emcs:PrefectureType" minOccurs="0" />
      <xs:element name="Country" type="emcs:CountryCodeType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DeliveryPlaceType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="DELIVERY PLACE" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="StreetName" type="emcs:StreetNameType" />
      <xs:element name="StreetNumber" type="emcs:StreetNumberType" minOccurs="0" />
      <xs:element name="Municipality" type="emcs:MunicipalityType" />
      <xs:element name="PostCode" type="emcs:PostCodeType" />
      <xs:element name="Prefecture" type="emcs:PrefectureType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VehicleDetailsType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="VEHICLE DETAILS" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FrameNumber" type="emcs:FrameNumberType" />
      <xs:element name="CarKind" type="emcs:CarKindType" />
      <xs:element name="ImporterCodeOrBrandName" type="emcs:ImporterCodeOrBrandNameType" />
      <xs:element name="FirstAllowanceDate" type="emcs:DateType" minOccurs="0" />
      <xs:element name="VehicleFactoryType" type="emcs:VehicleFactoryTypeType" minOccurs="0" />
      <xs:element name="VehicleUsedFlag" type="tcl:Flag" />
      <xs:element name="VehicleModelName" type="emcs:VehicleModelNameType" minOccurs="0" />
      <xs:element name="VehicleRegistrationPlate" type="emcs:VehicleRegistrationPlateType" minOccurs="0" />
      <xs:element name="VehicleLicenceReference" type="emcs:VehicleLicenceReferenceType" minOccurs="0" />
      <xs:element name="VehicleInventory" type="ie:VehicleInventoryType" minOccurs="0" maxOccurs="99" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VehicleInventoryType">
    <xs:annotation>
      <xs:documentation>
        <doc:description value="VEHICLE INVENTORY" />
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="VehicleInventoryType" type="emcs:VehicleInventoryTypeType" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

