<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="GetPaymentTariffList.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>2013-10-11Z</ivis:Created>
          <ivis:Modified>2020-05-14Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>Maksājuma tarifu 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-GetPaymentTariffList-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:Category>Infrastruktūra</ivis:Category>
          <ivis:Keyword>PLMP</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>GetPaymentTariffList</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" />
  <!--
    Maksājuma tarifu saraksta izgūšanai no Iedzīvotāju reģistra
  -->
  <xs:complexType name="PaymentTariffRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifu pieprasījuma struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Code" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma tarifa kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GroupCode" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma tarifu grupas kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ActualDate" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma tarifa aktuālais datums</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GetPaymentTariffListRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifu saraksta izgūšanas pieprasījuma struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PaymentTariff" type="PaymentTariffRequestStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma tarifa peiprasījums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <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="GetPaymentTariffListRequest" type="GetPaymentTariffListRequestStructure">
    <xs:annotation>
      <xs:documentation>Maksājuma tarifu saraksta izgūšanas pieprasījums</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="GetPaymentTariffListResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifu 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="PaymentTariffList" type="PaymentTariffListStructure">
          <xs:annotation>
            <xs:documentation xml:lang="lv">Maksājuma tarifu saraksts</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetPaymentTariffListResponse" type="GetPaymentTariffListResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifu saraksta izgūšanas rezultāts</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="PaymentTariffStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifa struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Code" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Name" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Sum" type="xs:decimal">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Summa</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurrencyCode" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valūtas kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CurrencyName" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Valūtas nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IsDefinedAccounts" type="xs:boolean">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Vai ir jāmaksā noteiktos kontos</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IsForFree" type="xs:boolean">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Vai ir bezmaksas</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProcessingTerm" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Izskatīšanas termiņš</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProcessingTermType" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Izskatīšanas termiņa veids</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PaymentSubject" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma mērķis</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text01" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamatojuma teksts izdrukā 1</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text02" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamatojuma teksts izdrukā 2</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text03" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamatojuma teksts izdrukā 3</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text04" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamatojuma teksts izdrukā 4</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text05" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamatojuma teksts izdrukā 5</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Formula" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Formula</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Target" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Tarifa attiecināmības veids</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PaymentTariffListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Maksājuma tarifu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="PaymentTariff" type="PaymentTariffStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Maksājuma tarifs</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PaymentTariffList" type="PaymentTariffListStructure">
    <xs:annotation>
      <xs:documentation>Maksājuma tarifu saraksts</xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>