<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:annotation>
    <xs:documentation>Звіт про вклади фізичних осіб в учасниках Фонду гарантування вкладів фізичних осіб - форма звітності N 1Ф</xs:documentation>
    <xs:appinfo>Published: 07.06.2022 09:00:00</xs:appinfo>
    <xs:appinfo>Start date: 10.06.2022</xs:appinfo>
  </xs:annotation>
  
  <xs:simpleType name="CTEDRPOU">
    <xs:restriction base="xs:string">
      <xs:minLength value="4"/>
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CTREPORTDATE">
    <xs:restriction base="xs:token">
      <xs:pattern value="(0[1-9]|[12]\d|3[01])\.(0[1-9]|1[0-2])\.\d\d\d\d"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="CTKOD_L">
    <xs:annotation><xs:documentation>Код розрізу за категорією зведення даних  (довідник L)</xs:documentation></xs:annotation>
    <xs:restriction base="xs:string">
    <xs:enumeration value="1"><xs:annotation><xs:documentation>Сума</xs:documentation></xs:annotation></xs:enumeration>
    <xs:enumeration value="3"><xs:annotation><xs:documentation>Кількість</xs:documentation></xs:annotation></xs:enumeration>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="CTKOD_ZZ">
    <xs:annotation><xs:documentation>Код категорії вкладу (довідник ZZ)</xs:documentation></xs:annotation>
    <xs:restriction base="xs:string">
	<xs:enumeration value="10"><xs:annotation><xs:documentation>вклади всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="11"><xs:annotation><xs:documentation>вклади всього в національній валюті</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="12"><xs:annotation><xs:documentation>вклади всього в іноземній валюті (гривневий еквівалент за офіційним курсом НБУ)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="13"><xs:annotation><xs:documentation>вклади всього в банківських металах (гривневий еквівалент за офіційним курсом НБУ)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="14"><xs:annotation><xs:documentation>вклади фізичних осіб-підприємців (ФОП)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="20"><xs:annotation><xs:documentation>чисті вклади всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="21"><xs:annotation><xs:documentation>чисті вклади в національній валюті</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="22"><xs:annotation><xs:documentation>чисті вклади в іноземній валюті (гривневий еквівалент за офіційним курсом НБУ)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="30"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="31"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати в національній валюті</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="32"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати в іноземній валюті (гривневий еквівалент за офіційним курсом НБУ)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="40"><xs:annotation><xs:documentation>нараховані витрати всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="41"><xs:annotation><xs:documentation>нараховані витрати в національній валюті</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="42"><xs:annotation><xs:documentation>нараховані витрати в іноземній валюті (гривневий еквівалент за офіційним курсом НБУ)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="50"><xs:annotation><xs:documentation>сума можливого відшкодування всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="60"><xs:annotation><xs:documentation>вклади на поточних рахунках всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="70"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="71"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати на вимогу</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="72"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення до 1 місяця</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="73"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 1 до 2 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="74"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 2 до 3 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="75"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 3 до 4 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="76"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 4 до 5 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="77"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 5 до 6 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="78"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 6 до 7 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="79"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 7 до 8 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="33"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 8 до 9 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="34"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 9 до 10 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="35"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 10 до 11 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="36"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення від 11 до 12 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="37"><xs:annotation><xs:documentation>іменні ощадні (депозитні) сертифікати зі строком погашення більш як 12 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="80"><xs:annotation><xs:documentation>вклади на депозитних рахунках всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="81"><xs:annotation><xs:documentation>вклади на депозитних рахунках до 1 місяця</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="82"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 1 до 2 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="83"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 2 до 3 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="84"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 3 до 4 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="85"><xs:annotation><xs:documentation>вклади на депозитних рахунках, строк дії договорів за якими закінчився і які не перераховані на поточний рахунок</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="86"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 4 до 5 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="87"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 5 до 6 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="88"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 6 до 7 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="89"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 7 до 8 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="91"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 8 до 9 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="92"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 9 до 10 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="93"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 10 до 11 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="94"><xs:annotation><xs:documentation>вклади на депозитних рахунках від 11 до 12 місяців</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="95"><xs:annotation><xs:documentation>вклади на депозитних рахунках більш як 12 місяців</xs:documentation></xs:annotation></xs:enumeration>
<!-- Історичні коди, що діяли в різні періоди: -->
	<xs:enumeration value="61"><xs:annotation><xs:documentation>(!! Діяв по 12.10.2020) вклади на карткових рахунках</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="90"><xs:annotation><xs:documentation>(!! Діяв по 09.03.2020) інші</xs:documentation></xs:annotation></xs:enumeration>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="CTKOD_V">
    <xs:annotation><xs:documentation>Код діапазону вкладу (довідник V)</xs:documentation></xs:annotation>
    <xs:restriction base="xs:string">
	<xs:enumeration value="1"><xs:annotation><xs:documentation>сума вкладів всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="2"><xs:annotation><xs:documentation>сума вкладів у діапазоні 0 - 999 копійок</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="3"><xs:annotation><xs:documentation>сума вкладів у діапазоні 1000 - 20000000 копійок</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="4"><xs:annotation><xs:documentation>сума вкладів у діапазоні 20000001 - 40000000 копійок</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="5"><xs:annotation><xs:documentation>сума вкладів у діапазоні 40000001 - 60000000 копійок</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="6"><xs:annotation><xs:documentation>сума вкладів у діапазоні 60000001 копійка і більше</xs:documentation></xs:annotation></xs:enumeration>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="CTKOD_T">
    <xs:annotation><xs:documentation>Константа для розподілу вкладів по видам (довідник Т)</xs:documentation></xs:annotation>
    <xs:restriction base="xs:string">
	<xs:enumeration value="1"><xs:annotation><xs:documentation>Константа для вкладів всього</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="2"><xs:annotation><xs:documentation>Константа для розподілу вкладів</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="3"><xs:annotation><xs:documentation>Константа для вкладів фізичних осіб-підприємців (ФОП)</xs:documentation></xs:annotation></xs:enumeration>
	<xs:enumeration value="4"><xs:annotation><xs:documentation>Константа для суми можливого відшкодування</xs:documentation></xs:annotation></xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  
  <xs:simpleType name="CTKOD_T100">
	<xs:restriction base="xs:long">
	  <xs:minInclusive value="0"/>
	</xs:restriction>
  </xs:simpleType>

  <xs:element name="NBUSTATREPORT">
    <xs:complexType>
      <xs:sequence>

        <xs:element name="HEAD">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="STATFORM">
                <xs:simpleType>
                  <xs:restriction base="xs:string"> <xs:enumeration value="GDDX"/>                   </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EDRPOU"     type="CTEDRPOU">
                <xs:annotation>                     <xs:documentation>EDRPOU</xs:documentation>      </xs:annotation>
              </xs:element>
              <xs:element name="REPORTDATE" type="CTREPORTDATE">
                <xs:annotation>                     <xs:documentation>Звітна дата</xs:documentation> </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>

        <xs:element name="DATA" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:all>
       	<xs:element name="L"    type="CTKOD_L">	  <xs:annotation><xs:documentation>Код розрізу за категорією зведення даних (довідник L)</xs:documentation></xs:annotation></xs:element>
		<xs:element name="ZZ"   type="CTKOD_ZZ">  <xs:annotation><xs:documentation>Код категорії вкладу (довідник ZZ)</xs:documentation></xs:annotation></xs:element>
		<xs:element name="V"    type="CTKOD_V">   <xs:annotation><xs:documentation>Код діапазону вкладу (довідник V)</xs:documentation></xs:annotation></xs:element>
		<xs:element name="T"    type="CTKOD_T">   <xs:annotation><xs:documentation>Константа для розподілу вкладів по видам (довідник Т)</xs:documentation></xs:annotation></xs:element>
		<xs:element name="T100" type="CTKOD_T100"><xs:annotation><xs:documentation>Сума/кількість/коефіцієнт/процент</xs:documentation></xs:annotation></xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>

      </xs:sequence>
    </xs:complexType>

    <xs:unique name="Unique_LZZVT">
        <xs:selector xpath="DATA"/>
        <xs:field	 xpath="L"/>
        <xs:field	 xpath="ZZ"/>
        <xs:field	 xpath="V"/>
        <xs:field	 xpath="T"/>
    </xs:unique>
  </xs:element>
</xs:schema>

