<!-- 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="GetRequiredDocumentTypeList.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>2011-02-25Z</ivis:Created>
          <ivis:Modified>2020-05-14Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>Nepieciešamo dokumentu tipu saraksta izgūšana no VMIS</ivis:Default>
        </ivis:Description>
        <ivis:Format>
          <ivis:Default>text/xml</ivis:Default>
        </ivis:Format>
        <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-PopulationRegister-GetRequiredDocumentTypeList-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>VMIS</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>GetRequiredDocumentTypeList</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 nepieciešamo dokumenta tipu 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="GetRequiredDocumentTypeListResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nepiesiešamo dokumenta tipu 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="RequiredDocumentTypeList" type="RequiredDocumentTypeListStructure">
          <xs:annotation>
            <xs:documentation xml:lang="lv">Nepieciešamo dokumenta tipu saraksts</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetRequiredDocumentTypeListResponse" type="GetRequiredDocumentTypeListResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nepiesiešamo dokumenta tipu saraksta izgūšanas rezultāts</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="RequiredDocumentTypeListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nepiesiešamo dokumenta tipu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="DocumentType" type="DocumentTypeStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Dokumenta tips</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RequiredDocumentTypeList" type="RequiredDocumentTypeListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nepiesiešamo dokumenta tipu saraksts</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="DocumentTypeStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Dokumenta tipa struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Name" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Dokumenta tipa nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Code" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Dokumenta tipa kods</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DocumentType" type="DocumentTypeStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Dokumenta tips</xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>