<?xml version="1.0" encoding="utf-8"?>
<!-- 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:contact="http://ivis.eps.gov.lv/XMLSchemas/100001/ContactInfo/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="MunicipalityAddressee.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:Creator Href="http://www.pmlp.gov.lv" CodeListID="Authority" CodeListAgencyID="100001" CodeListAgencyName="ĪUMEPLS" CodeListLanguageID="lv" CodeListCodeValue="100010">Pilsonības un Migrācijas Lietas Pārvalde</ivis:Creator>
                <ivis:Date>
                    <ivis:Created>2007-07-16</ivis:Created>
                    <ivis:Modified>2007-07-16</ivis:Modified>
                </ivis:Date>
                <ivis:Format>
                    <ivis:Default>text/xml</ivis:Default>
                </ivis:Format>
                <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-MunicipalityAddressee-v1-0</ivis:Identifier>
                <ivis:Language>LV</ivis:Language>
                <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="ĪUMEPLS" CodeListLanguageID="lv" CodeListCodeValue="8">Lietojumu XML shēma</ivis:Category>
                    <ivis:Project>PopulationRegister</ivis:Project>
                </ivis:Subject>
                <ivis:Title>
                    <ivis:Default>Adresāts pašvaldībā</ivis:Default>
                </ivis:Title>
            </ivis:Metadata>
        </xs:appinfo>
    </xs:annotation>
    <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/Address/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/Address/v1-0/LivingPlaceLVA.xsd" />
    <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/ContactInfo/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/ContactInfo/v1-0/ContactInfo.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/IVISResponse.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:element name="MunicipalityATUCode" type="MunicipalityATUCodeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Pašvaldības ATVK</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:element name="MunicipalityAddressee" type="MunicipalityAddresseeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Adresāts pašvaldībā</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="MunicipalityAddresseeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Adresāta pašvaldībā 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:sequence>
                    <xs:element name="Name" type="xs:normalizedString">
                        <xs:annotation>
                            <xs:documentation xml:lang="lv">Nosaukums</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="EMailAddress" type="contact:EmailAddressType">
                        <xs:annotation>
                            <xs:documentation xml:lang="lv">E-pasta adrese</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="MunicipalityATUCodeStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Pašvaldības ATVK struktūra</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SessionId" type="pr:CMISARISessionIdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Pieprasījuma sesijas identifikators</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ATUCode" type="addr:ATUCodeType">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Pašvaldības ATVK</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EServiceInstance" type="epcs:EServiceInstanceStructure">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">ePakalpojums</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:schema>