<!-- 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:pr="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" xmlns:pers="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/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="PlaceOfBirth.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-01Z</ivis:Created>
          <ivis:Modified>2020-05-14Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>Dzimšanas vieta</ivis:Default>
        </ivis:Description>
        <ivis:Format>
          <ivis:Default>text/xml</ivis:Default>
        </ivis:Format>
        <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-PlaceOfBirth-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>dzimšanas vieta</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>PlaceOfBirth</ivis:Default>
        </ivis:Title>
      </ivis:Metadata>
    </xs:appinfo>
  </xs:annotation>
  <xs:include schemaLocation="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/IVISResponse.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0/Citizenship.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" />
  <xs:element name="PlaceOfBirth" type="PlaceOfBirthStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Dzimšanas vieta</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="PlaceOfBirthStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Dzimšanas vietas struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SessionId" type="CMISARISessionIdType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Izmantotās sesijas identifikators</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:sequence>
          <xs:element name="BirthPlace" type="xs:normalizedString">
            <xs:annotation>
              <xs:documentation xml:lang="lv">Dzimšanas vieta</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Country" type="CountryOfBirthStructure">
            <xs:annotation>
              <xs:documentation xml:lang="lv">Dzimšanas valsts</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
        <xs:element name="Error" type="ivis:ErrorStructure">
          <xs:annotation>
            <xs:documentation xml:lang="lv">Kļūda</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CountryOfBirthStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Dzimšaans valsts struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Code" type="unece_cs:CountryCode3Type">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valsts kods (LVA) - ISO 3166-1 alpha-3</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Name" type="unece_cs:CountryNameType">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valsts nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>