<?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-1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pr="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-1" xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100010/PopulationRegister/v1-1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="CMISARI.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>2010-07-05</ivis:Created>
                    <ivis:Declared>2010-07-05</ivis:Declared>
                    <ivis:Modified>2010-07-05</ivis:Modified>
                </ivis:Date>
                <ivis:Format>
                    <ivis:Default>text/xml</ivis:Default>
                </ivis:Format>
                <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-CMISARI-v1-1</ivis:Identifier>
                <ivis:Language>LV</ivis:Language>
                <ivis:Publisher CodeListID="Authority" CodeListAgencyID="100001" CodeListAgencyName="VRAA" CodeListLanguageID="lv" CodeListCodeValue="100001" Href="https://ivis.eps.gov.lv/">VRAA</ivis:Publisher>
                <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>PUBLISHED</ivis:Default>
                    <ivis:Version>v1.1</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:Keyword>CMIS ARI</ivis:Keyword>
                    <ivis:Project>PopulationRegister</ivis:Project>
                </ivis:Subject>
                <ivis:Title>
                    <ivis:Default>CMISARI</ivis:Default>
                </ivis:Title>
            </ivis:Metadata>
        </xs:appinfo>
    </xs:annotation>
    <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:element name="CMISARISessionId">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Sesijas identifikators</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:simpleContent>
                <xs:extension base="CMISARISessionIdType" />
            </xs:simpleContent>
        </xs:complexType>
    </xs:element>
    <xs:simpleType name="CMISARISessionIdType">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Sesijas identifikatora tips</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:normalizedString">
            <xs:pattern value="[0-9A-Z_()+,-.=@;$!*]{28,33}" />
        </xs:restriction>
    </xs:simpleType>
    <xs:element name="AuthorizationResponse" type="AuthorizationResponseStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Autorizācijas atbilde</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="AuthorizationResponseStructure">
        <xs:annotation>
            <xs:documentation xml:lang="lv">Autorizācijas atbildes struktūra</xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="CMISARISessionId" type="CMISARISessionIdType">
                <xs:annotation>
                    <xs:documentation xml:lang="lv">Sesijas identifikators</xs:documentation>
                </xs:annotation>
            </xs:element>
            <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:complexType>
</xs:schema>