<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
  <edmx:DataServices m:DataServiceVersion="3.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <Schema Namespace="OpenData.Entities" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
      <EntityType Name="KavisEvents">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.String" Nullable="false" />
        <Property Name="direction" Type="Edm.String" />
        <Property Name="channel" Type="Edm.String" />
        <Property Name="topicgroup" Type="Edm.String" />
        <Property Name="topic" Type="Edm.String" />
        <Property Name="clienttype" Type="Edm.String" />
        <Property Name="date" Type="Edm.DateTime" Nullable="false" />
        <Property Name="count" Type="Edm.Int32" Nullable="false" />
      </EntityType>
      <EntityType Name="DeclaredPersons">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="year" Type="Edm.Int32" Nullable="false" />
        <Property Name="month" Type="Edm.Int32" Nullable="false" />
        <Property Name="day" Type="Edm.Int32" Nullable="false" />
        <Property Name="value" Type="Edm.Decimal" Nullable="false" />
        <Property Name="district_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="district_name" Type="Edm.String" />
      </EntityType>
      <EntityType Name="MarriageRegister">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="reg_place" Type="Edm.String" />
        <Property Name="merr_year" Type="Edm.Int32" />
        <Property Name="merr_month" Type="Edm.Int32" />
        <Property Name="merr_place" Type="Edm.String" />
        <Property Name="husb_age" Type="Edm.Int32" />
        <Property Name="husb_merr_count" Type="Edm.Int32" />
        <Property Name="wife_age" Type="Edm.Int32" />
        <Property Name="wife_merr_count" Type="Edm.Int32" />
        <Property Name="district_id" Type="Edm.Int32" />
      </EntityType>
      <EntityType Name="BirthRegister">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="reg_place" Type="Edm.String" />
        <Property Name="birth_date" Type="Edm.DateTime" />
        <Property Name="sex" Type="Edm.Int32" />
        <Property Name="district_id" Type="Edm.Int32" />
        <Property Name="active_date" Type="Edm.DateTime" Nullable="false" />
      </EntityType>
      <EntityType Name="AdmissionStatistics">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_name" Type="Edm.String" />
        <Property Name="group_language_id" Type="Edm.Int32" />
        <Property Name="group_language" Type="Edm.String" />
        <Property Name="group_language_en" Type="Edm.String" />
        <Property Name="program_starting_age" Type="Edm.Decimal" Nullable="false" />
        <Property Name="school_year" Type="Edm.Int32" />
        <Property Name="number_of_accepted_children" Type="Edm.Int32" />
      </EntityType>
      <EntityType Name="KgApplications2">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_name" Type="Edm.String" />
        <Property Name="group_language" Type="Edm.String" />
        <Property Name="group_language_en" Type="Edm.String" />
        <Property Name="program_starting_age" Type="Edm.Decimal" Nullable="false" />
        <Property Name="application_registered_date" Type="Edm.DateTime" />
        <Property Name="desirable_start_date" Type="Edm.DateTime" />
        <Property Name="child_uid" Type="Edm.String" />
        <Property Name="priority_5years_old" Type="Edm.Int32" Nullable="false" />
        <Property Name="priority_commission" Type="Edm.Int32" Nullable="false" />
        <Property Name="priority_sibling" Type="Edm.Int32" Nullable="false" />
        <Property Name="priority_parent_reg_localgov" Type="Edm.Int32" Nullable="false" />
        <Property Name="priority_child_reg_localgov" Type="Edm.Int32" Nullable="false" />
        <Property Name="private_kg_fin_by_localgov" Type="Edm.Int32" Nullable="false" />
        <Property Name="nanny_fin_by_localgov" Type="Edm.Int32" Nullable="false" />
        <Property Name="chose_not_to_receive_inv" Type="Edm.Int32" Nullable="false" />
      </EntityType>
      <EntityType Name="KgEstimates">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="institution_name" Type="Edm.String" />
        <Property Name="estimate_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="estimate_from_date" Type="Edm.DateTime" />
        <Property Name="estimate_till_date" Type="Edm.DateTime" />
        <Property Name="estimate_change_date" Type="Edm.DateTime" />
        <Property Name="estimate_position_type_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="estimate_position_type_code" Type="Edm.String" />
        <Property Name="estimate_position_type_nr" Type="Edm.Int32" Nullable="false" />
        <Property Name="estimate_position_type_name" Type="Edm.String" />
        <Property Name="estimate_position_amount" Type="Edm.Decimal" Nullable="false" />
      </EntityType>
      <EntityType Name="ValstsFinansejums">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_datums" Type="Edm.DateTime" />
        <Property Name="atskaite_menesis" Type="Edm.String" />
        <Property Name="iestades_nosaukums" Type="Edm.String" />
        <Property Name="grupa_1" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_2" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_3" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_4" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_5" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_6" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_7" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_8" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_9" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_10" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_11" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_12" Type="Edm.Int32" Nullable="false" />
        <Property Name="porcijas_uztura_korekcija" Type="Edm.Int32" Nullable="false" />
        <Property Name="pakalpojumu_sniedzejs" Type="Edm.String" />
        <Property Name="pvn_maksatajs" Type="Edm.String" />
        <Property Name="pasv_uztura_korekcija" Type="Edm.Decimal" Nullable="false" />
        <Property Name="valsts_finansejums" Type="Edm.Decimal" Nullable="false" />
      </EntityType>
      <EntityType Name="PasvFinansejums">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_datums" Type="Edm.DateTime" />
        <Property Name="atskaite_menesis" Type="Edm.String" />
        <Property Name="iestades_nosaukums" Type="Edm.String" />
        <Property Name="grupa_1" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_2" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_3" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_4" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_5" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_6" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_7" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_8" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_9" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_10" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_11" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_12" Type="Edm.Int32" Nullable="false" />
        <Property Name="porcijas_uztura_korekcija" Type="Edm.Int32" Nullable="false" />
        <Property Name="pakalpojumu_sniedzejs" Type="Edm.String" />
        <Property Name="pvn_maksatajs" Type="Edm.String" />
        <Property Name="pasv_uztura_korekcija" Type="Edm.Decimal" Nullable="false" />
        <Property Name="valsts_finansejums" Type="Edm.Decimal" Nullable="false" />
      </EntityType>
      <EntityType Name="PabalstsFinansejums">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="atskaite_datums" Type="Edm.DateTime" />
        <Property Name="atskaite_menesis" Type="Edm.String" />
        <Property Name="iestades_nosaukums" Type="Edm.String" />
        <Property Name="grupa_1" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_2" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_3" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_4" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_5" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_6" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_7" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_8" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_9" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_10" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_11" Type="Edm.Int32" Nullable="false" />
        <Property Name="grupa_12" Type="Edm.Int32" Nullable="false" />
        <Property Name="porcijas_uztura_korekcija" Type="Edm.Int32" Nullable="false" />
        <Property Name="pakalpojumu_sniedzejs" Type="Edm.String" />
        <Property Name="pvn_maksatajs" Type="Edm.String" />
        <Property Name="pasv_uztura_korekcija" Type="Edm.Decimal" Nullable="false" />
        <Property Name="valsts_finansejums" Type="Edm.Decimal" Nullable="false" />
      </EntityType>
      <EntityType Name="BupsFinansejums">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="period_id" Type="Edm.Int32" Nullable="false" />
        <Property Name="period_name" Type="Edm.String" />
        <Property Name="period_from" Type="Edm.DateTime" />
        <Property Name="period_till" Type="Edm.DateTime" />
        <Property Name="bups_contract" Type="Edm.String" />
        <Property Name="child_id" Type="Edm.String" />
        <Property Name="child_birth_year" Type="Edm.Int32" Nullable="false" />
        <Property Name="financing_start_date" Type="Edm.DateTime" />
        <Property Name="financing_end_date" Type="Edm.DateTime" />
        <Property Name="financed_amount" Type="Edm.Decimal" Nullable="false" />
        <Property Name="description" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LargeFamilyRegMonth">
        <Key>
          <PropertyRef Name="id" />
        </Key>
        <Property Name="id" Type="Edm.Int32" Nullable="false" />
        <Property Name="period_from" Type="Edm.DateTime" />
        <Property Name="period_till" Type="Edm.DateTime" />
        <Property Name="pers_number" Type="Edm.Int32" Nullable="false" />
        <Property Name="childr_number" Type="Edm.Int32" Nullable="false" />
        <Property Name="electr_manual" Type="Edm.Int32" Nullable="false" />
      </EntityType>
    </Schema>
    <Schema Namespace="Default" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
      <EntityContainer Name="Container" m:IsDefaultEntityContainer="true">
        <EntitySet Name="KavisEvents" EntityType="OpenData.Entities.KavisEvents" />
        <EntitySet Name="DeclaredPersons" EntityType="OpenData.Entities.DeclaredPersons" />
        <EntitySet Name="MarriageRegisters" EntityType="OpenData.Entities.MarriageRegister" />
        <EntitySet Name="BirthRegisters" EntityType="OpenData.Entities.BirthRegister" />
        <EntitySet Name="AdmissionStatistics" EntityType="OpenData.Entities.AdmissionStatistics" />
        <EntitySet Name="KgApplications2" EntityType="OpenData.Entities.KgApplications2" />
        <EntitySet Name="KgEstimates" EntityType="OpenData.Entities.KgEstimates" />
        <EntitySet Name="ValstsFinansejums" EntityType="OpenData.Entities.ValstsFinansejums" />
        <EntitySet Name="PasvFinansejums" EntityType="OpenData.Entities.PasvFinansejums" />
        <EntitySet Name="PabalstsFinansejums" EntityType="OpenData.Entities.PabalstsFinansejums" />
        <EntitySet Name="BupsFinansejums" EntityType="OpenData.Entities.BupsFinansejums" />
        <EntitySet Name="LargeFamilyRegMonth" EntityType="OpenData.Entities.LargeFamilyRegMonth" />
      </EntityContainer>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>