<!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Guntars Peters (SIA RIX Technologies) -->
<xs:schema xmlns="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:addr="http://ivis.eps.gov.lv/XMLSchemas/100001/Address/v1-0" xmlns:pers="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" xmlns:pr="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" xmlns:epcs="http://ivis.eps.gov.lv/XMLSchemas/100002/EPCommonSchemas/v1-0" xmlns:unece_cs="http://ivis.eps.gov.lv/XMLSchemas/100009/UNeDocs/v0-3" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="PersonLivingPlaceAbroad.xsd">
  <xs:annotation>
    <xs:appinfo>
      <ivis:Metadata>
        <ivis:Contributor CodeListCodeValue="100010">Pilsonības un migrācijas lietu pārvalde</ivis:Contributor>
        <ivis:Creator CodeListCodeValue="100010">Pilsonības un migrācijas lietu pārvalde</ivis:Creator>
        <ivis:Date>
          <ivis:Created>2007-08-03Z</ivis:Created>
          <ivis:Modified>2020-05-14Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>Shēma personas dzīvesvietas reģistracijas ārzemēs datu nodošanai Iedzīvotāju reģistram</ivis:Default>
        </ivis:Description>
        <ivis:Format>
          <ivis:Default>text/xml</ivis:Default>
        </ivis:Format>
        <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-PersonLivingPlaceAbroad-v1-0</ivis:Identifier>
        <ivis:Language>LV</ivis:Language>
        <ivis:Publisher CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</ivis:Publisher>
        <ivis:Relation>
          <ivis:ConformsTo Href="URN:IVIS:100001:DOC-FR-XML">XML shēmu izstrādes vadlīnijas</ivis:ConformsTo>
        </ivis:Relation>
        <ivis:Status>
          <ivis:Default>PUBLISHED</ivis:Default>
          <ivis:Version>1.0</ivis:Version>
        </ivis:Status>
        <ivis:Subject>
          <ivis:Keyword>dzīvesvieta</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>PersonLivingPlaceAbroad</ivis:Default>
        </ivis:Title>
      </ivis:Metadata>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0/Person.xsd" />
  <xs:include schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0/CMISARI.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0/IVISService.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100002/EPCommonSchemas/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100002/EPCommonSchemas/v1-0/EServiceInstance.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100002/EPCommonSchemas/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100002/EPCommonSchemas/v1-0/ReturnCode.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100009/UNeDocs/v0-3" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100009/UNeDocs/v0-3/CountryCode.xsd" />
  <!--Shēma personas dzīvesvietas reģistracijāi ārzemēs datu nodošanai Iedzīvotāju reģistram-->
  <xs:complexType name="PersonLivingPlaceAbroadStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SubmissionDate" type="xs:date">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Iesnieguma iesniegšanas datums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PersonCode" type="pers:PersonCodeType">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Personas kods kurai reģistrē dzīvesvietu</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Country" type="CountryStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valsts kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AddressAbroad" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Adrese ārzemēs</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PersonLivingPlaceAbroadSaveRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs datu saglabāšanas pieprasījuma struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PersonLivingPlaceAbroad" type="PersonLivingPlaceAbroadStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Personas dzīvesvietas Latvijā dati</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SessionId" type="CMISARISessionIdType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">CMISARI sesijas identifikators</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EServiceInstance" type="epcs:EServiceInstanceStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">ePakalpojuma instance</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PersonLivingPlaceAbroadSaveRequest" type="PersonLivingPlaceAbroadSaveRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs datu saglabāšanas pieprasījums</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="PersonLivingPlaceAbroadSaveResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs reģistrācijas saglabāšanas rezultāta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Error" type="ivis:ErrorStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nesekmīgas servisa izpildes gadījumā atgriuezta kļūda</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReturnCode" type="epcs:ReturnCodeType">
        <xs:annotation>
          <xs:documentation xml:lang="lv">0 - izpilde veiksmīga, 1 - izpilde neveiksmīga</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SessionID" type="CMISARISessionIdType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">CMISARI sesijas identifikators</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PersonLivingPlaceAbroadSaveResponse" type="PersonLivingPlaceAbroadSaveResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs reģistrācijas saglabāšnas rezultāts</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PersonLivingPlaceAbroad" type="PersonLivingPlaceAbroadStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Personas dzīvesvietas ārzemēs dati</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="CountryStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Valsts struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Name" type="unece_cs:CountryNameType">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valsts nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Code" type="unece_cs:CountryCode3Type">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valsts kods</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>