<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2007 rel. 3 (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: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" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="GetRegistryOfficeList.xsd">
    <xs:annotation>
        <xs:appinfo>
            <ivis:Metadata xmlns:pers="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">
                <ivis:Contributor Href="http://www.rixtechnologies.lv" CodeListID="Authority" CodeListAgencyID="100001" CodeListAgencyName="VRAA" CodeListLanguageID="lv" CodeListCodeValue="100002">A/S "RIX Technologies"</ivis:Contributor>
                <ivis:Creator CodeListID="Authority" CodeListAgencyID="100001" CodeListAgencyName="VRAA" CodeListLanguageID="lv" CodeListCodeValue="100010">Pilsonības un migrācijas lietu pārvalde</ivis:Creator>
                <ivis:Date>
                    <ivis:Created>2011-02-21</ivis:Created>
                    <ivis:Modified>2011-02-21</ivis:Modified>
                </ivis:Date>
                <ivis:Format>
                    <ivis:Default>text/xml</ivis:Default>
                </ivis:Format>
                <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-GetRegistryOfficeList-v1-0</ivis:Identifier>
                <ivis:Language>LV</ivis:Language>
                <ivis:Relation>
                    <ivis:ConformsTo Href="URN:IVIS:100001:DOC-FR-XML-V1.00">XML shēmu izstrādes vadlīnijas</ivis:ConformsTo>
                </ivis:Relation>
                <ivis:Status>
                    <ivis:Default>CANDIDATE</ivis:Default>
                    <ivis:Version>v1.0</ivis:Version>
                </ivis:Status>
                <ivis:Subject>
                    <ivis:Category CodeListID="XMLSchemaType" CodeListAgencyID="100001" CodeListAgencyName="VRAA" CodeListLanguageID="lv" CodeListCodeValue="1">Arhitektūras XML shēma</ivis:Category>
                    <ivis:Project>PopulationRegister</ivis:Project>
                </ivis:Subject>
                <ivis:Title>
                    <ivis:Default>Shēma dzimtrakstu iestāžu saraksta izgūšanai no VMIS</ivis:Default>
                </ivis:Title>
            </ivis:Metadata>
        </xs:appinfo>
    </xs:annotation>
    <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" />
    <!--Shēma dzimtrakstu iestāžu saraksta izgūšanai no Iedzīvotāju reģistra-->
    <xs:complexType name="CMISRequestStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">CMIS pieprasījuma autorizēšanas struktūra</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <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="CMISRequest" type="CMISRequestStructure">
        <xs:annotation>
            <xs:documentation>CMIS pieprasījuma autorizēšana</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="GetRegistryOfficeListResponseStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestāžu saraksta pieprasījuma rezultāta struktūra</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SessionId" type="CMISARISessionIdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Sesijas identifikators</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="Error" type="ivis:ErrorStructure">
                    <xs:annotation>
                        <xs:documentation xml:lang="lv">Kļūda</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RegistryOfficeList" type="RegistryOfficeListStructure">
                    <xs:annotation>
                        <xs:documentation xml:lang="lv">Dzimtrakstu iestāžu saraksts</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="GetRegistryOfficeListResponse" type="GetRegistryOfficeListResponseStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestāžu saraksta izgūšanas rezultāts</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="RegistryOfficeListStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestāžu saraksta struktūra</xs:documentation>
        </xs:annotation>
        <xs:sequence maxOccurs="unbounded">
            <xs:element name="RegistryOffice" type="RegistryOfficeStructure">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Dzimtrakstu iestāde</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="RegistryOfficeList" type="RegistryOfficeListStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestāžu saraksts</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="RegistryOfficeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestādes struktūra</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Name">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Dzimtrakstu iestādes nosaukums</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Code">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Dzimtrakstu iestādes kods</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsForStatistics">
                <xs:annotation>
                    <xs:documentation>Ir iespējams saņemt statistiskas atskaiti</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="RegistryOffice" type="RegistryOfficeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Dzimtrakstu iestāde</xs:documentation>
        </xs:annotation>
    </xs:element>
</xs:schema>