<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="EurodacToVmisSearchResult.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>2020-09-21Z</ivis:Created>
          <ivis:Modified>2020-09-21Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>EURODAC meklēšanas rezultāta saņemšana</ivis:Default>
        </ivis:Description>
        <ivis:Format>
          <ivis:Default>text/xml</ivis:Default>
        </ivis:Format>
        <ivis:Identifier Scheme="URN">URN:IVIS:100001:xsd-100010-EurodacToVmisSearchResult-1.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>CANDIDATE</ivis:Default>
          <ivis:Version>1.0</ivis:Version>
        </ivis:Status>
        <ivis:Subject>
          <ivis:Category>Sabiedriskās apspriešanas, vēlēšanas, apbalvojumi</ivis:Category>
          <ivis:Keyword>PLMP</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>EurodacToVmisSearchResult</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" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0/PersonCode.xsd" />
  <xs:complexType name="EurodacToVmisSearchResultStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IdentityNo" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IsHit" type="xs:boolean">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Hits" type="SearchHitsStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SearchHitsStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Hit" type="SearchHitStructure" minOccurs="1" maxOccurs="unbounded"></xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SearchHitStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EurodacNo" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RegistrationPlace" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RegistrationDate" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EurodacToVmisSearchResultRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Request" type="EurodacToVmisSearchResultStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SessionId" type="CMISARISessionIdType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SearchResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ResultId" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv"></xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EurodacToVmisSearchResultResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SessionId" type="CMISARISessionIdType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">VMIS ARI 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="Response" type="SearchResponseStructure">
          <xs:annotation>
            <xs:documentation xml:lang="lv"></xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EurodacToVmisSearchResultRequest" type="EurodacToVmisSearchResultRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EurodacToVmisSearchResultResponse" type="EurodacToVmisSearchResultResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv"></xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>