Skip to content

EPCs

An Energy Performance Certificate (EPC) provides an overview of a property’s energy efficiency. EPCs assign each property a grade between A (most efficient) and G (least efficient) and highlight the efficiency of key property features such as windows, walls and heating systems. Since 1 October 2008, all UK properties being sold or let are legally required to have an EPC, but they are valid for 10 years. EPCs are managed separately for England and Wales, and Scotland.

The EPCs API can be used to retrieve a variety of information about the EPC(s) of a domestic property in England, Scotland or Wales. This includes the following:

  • Raw EPCs. These are unmodified EPCs taken directly from government sources. Note that raw EPCs often contain inconsistencies and unsanitised data points, so we recommend working with our enhanced EPCs instead.
  • Enhanced EPCs. These are modified EPCs that have been taken through a standardisation process to sanitise their contents and remove inconsistencies. We recommend working with these rather than raw EPCs.
  • EPC Estimates. For properties that have no available EPC, the API provides an estimated assessment (where possible) based on the attributes of nearby properties.
  • EPC Statistics. A statistical analysis of the energy efficiency of the wider housing stock that is designed to help you assess the relative performance of the property you are searching for.

You can access, test and subscribe to the API at www.propeco.io/api.


GET /epcs?uprn={uprn}

📄❓ See Code Samples (page bottom) for an example request.

Retrieves information about a property's EPCs, including raw unmodified EPCs, enhanced EPCs, and EPC statistics.

Query Parameters

uprn string Required

The Unique Property Reference Number (UPRN) of the property.


Response

📄❓ See Code Samples (page bottom) for an example response.

An object containing a range of information about a UK property's EPCs, as follows:

Raw EPCs

These are unmodified EPCs taken directly from government sources.

England & Wales

"epcs": [
    {
      "address": "Sea Barn Polrudden Farm, Pentewan",
      "address1": "Sea Barn Polrudden Farm",
      "address2": "Pentewan",
      "address3": null,
      "building_reference_number": "8643871078",
      "built_form": "Detached",
      "co2_emiss_curr_per_floor_area": "41",
      "co2_emissions_current": "4.8",
      "co2_emissions_potential": "2.4",
      "constituency": "E14000961",
      "constituency_label": "St Austell and Newquay",
      "construction_age_band": "England and Wales: 1996-2002",
      "county": null,
      "current_energy_efficiency": "66",
      "current_energy_rating": "D",
      "energy_consumption_current": "168",
      "energy_consumption_potential": "69",
      "energy_tariff": "Single",
      "environment_impact_current": "55",
      "environment_impact_potential": "74",
      "extension_count": "3",
      "fixed_lighting_outlets_count": "26",
      "flat_storey_count": null,
      "flat_top_storey": null,
      "floor_description": "Solid, limited insulation (assumed)",
      "floor_energy_eff": "N/A",
      "floor_env_eff": "N/A",
      "floor_height": null,
      "floor_level": "NODATA!",
      "glazed_area": "Normal",
      "glazed_type": "double glazing installed before 2002",
      "heat_loss_corridor": "NO DATA!",
      "heating_cost_current": "618",
      "heating_cost_potential": "555",
      "hot_water_cost_current": "176",
      "hot_water_cost_potential": "99",
      "hot_water_energy_eff": "Average",
      "hot_water_env_eff": "Average",
      "hotwater_description": "From main system",
      "inspection_date": "2012-09-14",
      "lighting_cost_current": "118",
      "lighting_cost_potential": "61",
      "lighting_description": "Low energy lighting in 8% of fixed outlets",
      "lighting_energy_eff": "Very Poor",
      "lighting_env_eff": "Very Poor",
      "lmk_key": "836800779642012091820350708129148",
      "local_authority": "E06000052",
      "local_authority_label": "Cornwall",
      "lodgement_date": "2012-09-18",
      "lodgement_datetime": "2012-09-18 20:35:07",
      "low_energy_fixed_light_count": "2",
      "low_energy_lighting": "8",
      "main_fuel": "oil (not community)",
      "main_heating_controls": "2107",
      "mainheat_description": "Boiler and radiators, oil",
      "mainheat_energy_eff": "Good",
      "mainheat_env_eff": "Good",
      "mainheatc_energy_eff": "Average",
      "mainheatc_env_eff": "Average",
      "mainheatcont_description": "Programmer, TRVs and bypass",
      "mains_gas_flag": "N",
      "mechanical_ventilation": "natural",
      "multi_glaze_proportion": "100",
      "number_habitable_rooms": "5",
      "number_heated_rooms": "5",
      "number_open_fireplaces": "0",
      "photo_supply": "0.0",
      "postcode": "PL26 6BJ",
      "posttown": "ST. AUSTELL",
      "potential_energy_efficiency": "83",
      "potential_energy_rating": "B",
      "property_type": "House",
      "roof_description": "Pitched, insulated (assumed)",
      "roof_energy_eff": "Good",
      "roof_env_eff": "Good",
      "secondheat_description": "None",
      "sheating_energy_eff": "N/A",
      "sheating_env_eff": "N/A",
      "solar_water_heating_flag": null,
      "tenure": "owner-occupied",
      "total_floor_area": "116.0",
      "transaction_type": "marketed sale",
      "unheated_corridor_length": null,
      "uprn": "10034632229",
      "uprn_source": "Address Matched",
      "walls_description": "Granite or whinstone, as built, insulated (assumed)",
      "walls_energy_eff": "Good",
      "walls_env_eff": "Good",
      "wind_turbine_count": "0",
      "windows_description": "Fully double glazed",
      "windows_energy_eff": "Average",
      "windows_env_eff": "Average"
    }
  ],

For properties in England and Wales, all EPCs (current, expired, replaced etc) will be returned.

Each record contains 92 fields - for more information on these please see the official docs.

Scotland

 "epcs": [
    {
      "3_yr_energy_cost_current": "3588.0000",
      "3_yr_energy_savings_potential": "996.0000",
      "addendum_text": null,
      "address1": "136 NEWHAVEN ROAD ",
      "address2": null,
      "address3": "EDINBURGH ",
      "air_tightness_description": null,
      "air_tightness_energy_eff": null,
      "air_tightness_env_eff": null,
      "alternative_improvements": null,
      "building_reference_number": "1001366242",
      "built_form": "Detached",
      "co2_emiss_curr_per_floor_area": "44.00",
      "co2_emissions_current": "5.40",
      "co2_emissions_potential": "2.50",
      "constituency": "00QPMD",
      "constituency_label": "Forth",
      "construction_age_band": "1965-1975",
      "current_energy_efficiency": "65",
      "current_energy_rating": "D",
      "current_environmental_rating": "D",
      "data_zone": "S01002294 (East Trinity and Bonnyhaugh)",
      "data_zone_2011": "S01008823 (Trinity East and The Dudleys - 03)",
      "energy_consumption_current": "249.00",
      "energy_consumption_potential": "132.00",
      "energy_tariff": "Single",
      "environment_impact_current": "59",
      "environment_impact_potential": "79",
      "extension_count": "0",
      "fixed_lighting_outlets_count": "12",
      "flat_top_storey": null,
      "floor_description": "Suspended, no insulation (assumed) ",
      "floor_energy_eff": "N/A ",
      "floor_env_eff": "N/A ",
      "floor_height": "2.4",
      "floor_level": null,
      "glazed_area": "1",
      "glazed_type": "not defined",
      "heat_loss_corridoor": null,
      "heating_cost_current": "2748.0000",
      "heating_cost_potential": "2112.0000",
      "hot_water_cost_current": "414.00",
      "hot_water_cost_potential": "264.00",
      "hot_water_energy_eff": "Good ",
      "hot_water_env_eff": "Good ",
      "hotwater_description": "From main system ",
      "id": 587525,
      "impact_cavity_wall_insulation": "0",
      "impact_loft_insulation": "0",
      "impact_solid_wall_insulation": "0",
      "improvements": "Description: Solar water heating; Indicative Cost: £4,000 - £6,000; Typical Saving: 47; Energy Rating after improvement: C 72; Environmental Rating after improvement: D 68; Green Deal Eligible: Y | Description: Low energy lighting for all fixed outlets; Indicative Cost: £60; Typical Saving: 61; Energy Rating after improvement: C 71; Environmental Rating after improvement: D 66; Green Deal Eligible: N | Description: Solar photovoltaic panels, 2.5 kWp; Indicative Cost: £5,000 - £8,000; Typical Saving: 264; Energy Rating after improvement: B 83; Environmental Rating after improvement: C 79; Green Deal Eligible: Y | Description: Replace single glazed windows with low-E double glazed windows; Indicative Cost: £3,300 - £6,500; Typical Saving: 101; Energy Rating after improvement: C 75; Environmental Rating after improvement: C 72; Green Deal Eligible: Y | Description: Floor insulation (suspended floor); Indicative Cost: £800 - £1,200; Typical Saving: 123; Energy Rating after improvement: C 69; Environmental Rating after improvement: D 64; Green Deal Eligible: Y | ",
      "inspection_date": "2017-03-24",
      "lighting_cost_current": "426.00",
      "lighting_cost_potential": "216.00",
      "lighting_description": "No low energy lighting ",
      "lighting_energy_eff": "Very Poor ",
      "lighting_env_eff": "Very Poor ",
      "local_authority_label": "Edinburgh City",
      "lodgement_date": "2017-03-28",
      "low_energy_fixed_light_count": "0",
      "low_energy_lighting": "0.00",
      "lzc_energy_sources": null,
      "main_fuel": "mains gas (not community)",
      "main_heating_category": "boiler with radiators or underfloor heating",
      "main_heating_controls": "2106",
      "mainheat_description": "Boiler and radiators, mains gas ",
      "mainheat_energy_eff": "Good ",
      "mainheat_env_eff": "Good ",
      "mainheatc_energy_eff": "Good ",
      "mainheatc_env_eff": "Good ",
      "mainheatcont_description": "Programmer, room thermostat and TRVs ",
      "mains_gas_flag": null,
      "mechanical_ventilation": "natural",
      "multi_glaze_proportion": "0",
      "number_habitable_rooms": "4",
      "number_heated_rooms": "4",
      "number_open_fireplaces": "0",
      "osg_reference_number": "906178651",
      "photo_supply": "Array: Roof Area: 0%; Connection: not applicable (FGHRS or no PV);  | ",
      "postcode": "EH6 4NR",
      "potential_energy_efficiency": "83",
      "potential_energy_rating": "B",
      "potential_environmental_rating": "C",
      "property_type": "Bungalow",
      "roof_description": "Pitched, 200 mm loft insulation ",
      "roof_energy_eff": "Good ",
      "roof_env_eff": "Good ",
      "secondheat_description": "None ",
      "sheating_energy_eff": "N/A ",
      "sheating_env_eff": "N/A ",
      "solar_water_heating_flag": "N",
      "space_heating_demand": "17136",
      "tenure": "owner-occupied",
      "total_floor_area": "123",
      "transaction_type": "none of the above",
      "type_of_assessment": "RdSAP, existing dwelling",
      "unheated_corridor_length": null,
      "wall_description": "Cavity wall, filled cavity ",
      "wall_energy_eff": "Good ",
      "wall_env_eff": "Good ",
      "water_heating_demand": "2822",
      "wind_turbine_count": "0",
      "windows_description": "Description: Single glazed ",
      "windows_energy_eff": "Very Poor ",
      "windows_env_eff": "Very Poor "
    }
  ]

For properties in Scotland, only the most recent certificate will be returned.

Each record contains 104 fields - for more information on these please see the official docs.

Enhanced EPCs

The raw EPCs come with basic cleaning, but are still somewhat messy and unstandardised, making it challenging to use them for analytical purposes. The API therefore provides enhanced versions of the EPC datasets, which are designed to save you considerable time and effort when integrating EPC data into analytical workflows. In doing this, we have tried to make minimal assumptions about the downstream tasks, such as data analysis or machine learning.

Key improvements include:

  • Standardising null-ish values
  • Removing trailing spaces and commas
  • Removing special characters
  • Removing empty columns
  • Removing unnecessary prefixes
  • Fixing broken dates
  • Converting to sensible types
  • Standardising formatting
  • Standardising categorical variables
  • Standardising UK descriptors (across England and Wales, and Scotland)

For properties in England & Wales, the mapping of 'raw' to 'enhanced' EPC fields is as follows:

{
    "address": "address",
    "address1": "address1",
    "address2": "address2",
    "address3": "address3",
    "building_reference_number": "building_reference_number",
    "built_form": "built_form",
    "co2_emiss_curr_per_floor_area": "co2_emissions_per_floor_area_m2_current",
    "co2_emissions_current": "co2_emissions_current",
    "co2_emissions_potential": "co2_emissions_potential",
    "constituency": "constituency",
    "constituency_label": "constituency_label",
    "construction_age_band": "construction_age_band",
    "county": "county",
    "current_energy_efficiency": "energy_efficiency_current",
    "current_energy_rating": "energy_rating_current",
    "energy_consumption_current": "energy_consumption_per_floor_area_m2_current",
    "energy_consumption_potential": "energy_consumption_per_floor_area_m2_potential",
    "energy_tariff": "energy_tariff",
    "environment_impact_current": "environmental_impact_current",
    "environment_impact_potential": "environmental_impact_potential",
    "extension_count": "extension_count",
    "fixed_lighting_outlet_count": "fixed_lighting_outlets_count",
    "flat_storey_count": "flat_storey_count",
    "flat_top_storey": "is_flat_top_storey",
    "floor_description": "floor_description",
    "floor_energy_eff": "floor_energy_efficiency",
    "floor_env_eff": "floor_environmental_efficiency",
    "floor_height": "floor_height",
    "floor_level": "floor_level",
    "glazed_area": "glazed_area",
    "glazed_type": "glazed_type",
    "heat_loss_corridor": "heat_loss_corridor",
    "heating_cost_current": "heating_cost_current",
    "heating_cost_potential": "heating_cost_potential",
    "hot_water_cost_current": "hot_water_cost_current",
    "hot_water_cost_potential": "hot_water_cost_potential",
    "hot_water_energy_eff": "hot_water_energy_efficiency",
    "hot_water_env_eff": "hot_water_environmental_efficiency",
    "hotwater_description": "hot_water_description",
    "inspection_date": "inspection_date",
    "lighting_cost_current": "lighting_cost_current",
    "lighting_cost_potential": "lighting_cost_potential",
    "lighting_description": "lighting_description",
    "lighting_energy_eff": "lighting_energy_efficiency",
    "lighting_env_eff": "lighting_environmental_efficiency",
    "lmk_key": "lmk_key",
    "local_authority": "local_authority",
    "local_authority_label": "local_authority_label",
    "lodgement_date": "lodgement_date",
    "lodgement_datetime": "lodgement_datetime",
    "low_energy_fixed_light_count": "low_energy_fixed_light_count",
    "low_energy_lighting": "low_energy_lighting_percentage",
    "main_fuel": "main_fuel",
    "main_heating_controls": "main_heating_controls",
    "mainheat_description": "main_heating_description",
    "mainheat_energy_eff": "main_heating_energy_efficiency",
    "mainheat_env_eff": "main_heating_environmental_efficiency",
    "mainheatc_energy_eff": "main_heating_controls_energy_efficiency",
    "mainheatc_env_eff": "main_heating_controls_environmental_efficiency",
    "mainheatcont_description": "main_heating_controls_description",
    "mains_gas_flag": "has_mains_gas",
    "mechanical_ventilation": "mechanical_ventilation",
    "multi_glaze_proportion": "multi_glaze_percentage",
    "number_habitable_rooms": "habitable_room_count",
    "number_heated_rooms": "heated_room_count",
    "number_open_fireplaces": "open_fireplace_count",
    "photo_supply": "roof_photovoltaic_supply",
    "postcode": "postcode",
    "posttown": "post_town",
    "potential_energy_efficiency": "energy_efficiency_potential",
    "potential_energy_rating": "energy_rating_potential",
    "property_type": "property_type",
    "roof_description": "roof_description",
    "roof_energy_eff": "roof_energy_efficiency",
    "roof_env_eff": "roof_environmental_efficiency",
    "secondheat_description": "second_heating_description",
    "solar_water_heating_flag": "has_solar_water_heating",
    "tenure": "tenure",
    "total_floor_area": "total_floor_area",
    "transaction_type": "transaction_type",
    "unheated_corridor_length": "unheated_corridor_length",
    "uprn": "uprn",
    "uprn_source": "uprn_source",
    "walls_description": "walls_description",
    "walls_energy_eff": "walls_energy_efficiency",
    "walls_env_eff": "walls_environmental_efficiency",
    "wind_turbine_count": "wind_turbine_count",
    "windows_description": "windows_description",
    "windows_energy_eff": "windows_energy_efficiency",
    "windows_env_eff": "windows_environmental_efficiency"
}

For properties in Scotland, the mapping of 'raw' to 'enhanced' EPC fields is as follows:

{
    "3_yr_energy_cost_current": "three_year_energy_cost_current",
    "3_yr_energy_savings_potential": "three_year_energy_saving_potential",
    "address1": "address1",
    "address2": "address2",
    "address3": "post_town",
    "air_tightness_description": "air_tightness_description",
    "air_tightness_energy_eff": "air_tightness_energy_efficiency",
    "air_tightness_env_eff": "air_tightness_environmental_efficiency",
    "alternative_improvements": "alternative_improvements",
    "building_reference_number": "building_reference_number",
    "built_form": "built_form",
    "co2_emiss_curr_per_floor_area": "co2_emissions_per_floor_area_m2_current",
    "co2_emissions_current": "co2_emissions_current",
    "co2_emissions_potential": "co2_emissions_reduction_potential",
    "constituency": "constituency",
    "constituency_label": "constituency_label",
    "construction_age_band": "construction_age_band",
    "current_energy_efficiency": "energy_efficiency_current",
    "current_energy_rating": "energy_rating_current",
    "current_environmental_rating": "environmental_rating_current",
    "data_zone": "data_zone",
    "data_zone_2011": "data_zone_2011",
    "energy_consumption_current": "energy_consumption_per_floor_area_m2_current",
    "energy_consumption_potential": "energy_consumption_per_floor_area_m2_potential",
    "energy_tariff": "energy_tariff",
    "environment_impact_current": "environmental_impact_current",
    "environment_impact_potential": "environmental_impact_potential",
    "extension_count": "extension_count",
    "fixed_lighting_outlets_count": "fixed_lighting_outlets_count",
    "flat_top_storey": "flat_storey_count",
    "floor_description": "floor_description",
    "floor_energy_eff": "floor_energy_efficiency",
    "floor_env_eff": "floor_environmental_efficiency",
    "floor_height": "floor_height",
    "floor_level": "floor_level",
    "glazed_area": "glazed_area",
    "glazed_type": "glazed_type",
    "heat_loss_corridoor": "heat_loss_corridor",
    "heating_cost_current": "heating_cost_current",
    "heating_cost_potential": "heating_cost_potential",
    "hot_water_cost_current": "hot_water_cost_current",
    "hot_water_cost_potential": "hot_water_cost_potential",
    "hot_water_energy_eff": "hot_water_energy_efficiency",
    "hot_water_env_eff": "hot_water_environmental_efficiency",
    "hotwater_description": "hot_water_description",
    "impact_cavity_wall_insulation": "impact_cavity_wall_insulation",
    "impact_loft_insulation": "impact_loft_insulation",
    "impact_solid_wall_insulation": "impact_solid_wall_insulation",
    "improvements": "improvements",
    "inspection_date": "inspection_date",
    "lighting_cost_current": "lighting_cost_current",
    "lighting_cost_potential": "lighting_cost_potential",
    "lighting_description": "lighting_description",
    "lighting_energy_eff": "lighting_energy_efficiency",
    "lighting_env_eff": "lighting_environmental_efficiency",
    "local_authority_label": "local_authority_label",
    "lodgement_date": "lodgement_date",
    "low_energy_fixed_light_count": "low_energy_fixed_light_count",
    "low_energy_lighting": "low_energy_lighting_percentage",
    "lzc_energy_sources": "lzc_energy_sources",
    "main_fuel": "main_fuel",
    "main_heating_category": "main_heating_category",
    "main_heating_controls": "main_heating_controls",
    "mainheat_description": "main_heating_description",
    "mainheat_energy_eff": "main_heating_energy_efficiency",
    "mainheat_env_eff": "main_heating_environmental_efficiency",
    "mainheatc_energy_eff": "main_heating_controls_energy_efficiency",
    "mainheatc_env_eff": "main_heating_controls_environmental_efficiency",
    "mainheatcont_description": "main_heating_controls_description",
    "mains_gas_flag": "has_mains_gas",
    "mechanical_ventilation": "mechanical_ventilation",
    "multi_glaze_proportion": "multi_glaze_percentage",
    "number_habitable_rooms": "habitable_room_count",
    "number_heated_rooms": "heated_room_count",
    "number_open_fireplaces": "open_fireplace_count",
    "osg_reference_number": "uprn",
    "photo_supply": "roof_photovoltaic_supply",
    "postcode": "postcode",
    "potential_energy_efficiency": "energy_efficiency_potential",
    "potential_energy_rating": "energy_rating_potential",
    "potential_environmental_rating": "environmental_rating_potential",
    "property_type": "property_type",
    "roof_description": "roof_description",
    "roof_energy_eff": "roof_energy_efficiency",
    "roof_env_eff": "roof_environmental_efficiency",
    "secondheat_description": "second_heating_description",
    "solar_water_heating_flag": "has_solar_water_heating",
    "space_heating_demand": "space_heating_demand",
    "tenure": "tenure",
    "total_floor_area": "total_floor_area",
    "transaction_type": "transaction_type",
    "type_of_assessment": "type_of_assessment",
    "unheated_corridor_length": "unheated_corridor_length",
    "wall_description": "walls_description",
    "wall_energy_eff": "walls_energy_efficiency",
    "wall_env_eff": "walls_environmental_efficiency",
    "water_heating_demand": "water_heating_demand",
    "wind_turbine_count": "wind_turbine_count",
    "windows_description": "windows_description",
    "windows_energy_eff": "windows_energy_efficiency",
    "windows_env_eff": "windows_environmental_efficiency"
}

Note that, in order to align more closely with the England and Wales dataset, enhanced EPCs for properties in Scotland contain the following additional fields with annual (instead of three year) cost projections:

  • heating_cost_current
  • hot_water_cost_current
  • lighting_cost_current
  • energy_saving_potential
  • heating_cost_potential
  • hot_water_cost_potential
  • lighting_cost_potential
  • energy_cost_current

Enhanced EPCs for properties in Scotland also contain a 'co2_emissions_potential' field, which reflects the current estimated co2 emissions minus the potential co2 savings projected in the original EPC.

An enhanced version of each EPC will be returned, as below.

 "epcs_enhanced": [
    {
      "address": "Sea Barn Polrudden Farm, Pentewan",
      "address1": "Sea Barn Polrudden Farm",
      "address2": "Pentewan",
      "address3": null,
      "building_reference_number": "8643871078",
      "built_form": "Detached",
      "co2_emissions_current": 4.8,
      "co2_emissions_per_floor_area_m2_current": 41,
      "co2_emissions_potential": 2.4,
      "constituency": "E14000961",
      "constituency_label": "St Austell and Newquay",
      "construction_age_band": "1996-2002",
      "county": null,
      "energy_consumption_per_floor_area_m2_current": 168,
      "energy_consumption_per_floor_area_m2_potential": 69,
      "energy_efficiency_current": 66,
      "energy_efficiency_potential": 83,
      "energy_rating_current": "D",
      "energy_rating_potential": "B",
      "energy_tariff": "Single",
      "environmental_impact_current": 55,
      "environmental_impact_potential": 74,
      "extension_count": 3,
      "fixed_lighting_outlets_count": 26,
      "flat_storey_count": null,
      "floor_description": "Solid, limited insulation (assumed)",
      "floor_energy_efficiency": "N/A",
      "floor_environmental_efficiency": "N/A",
      "floor_height": null,
      "floor_level": null,
      "glazed_area": "Normal",
      "glazed_type": "Double",
      "habitable_room_count": 5,
      "has_mains_gas": false,
      "has_solar_water_heating": null,
      "heat_loss_corridor": null,
      "heated_room_count": 5,
      "heating_cost_current": 618,
      "heating_cost_potential": 555,
      "hot_water_cost_current": 176,
      "hot_water_cost_potential": 99,
      "hot_water_description": "From main system",
      "hot_water_energy_efficiency": "Average",
      "hot_water_environmental_efficiency": "Average",
      "inspection_date": "2012-09-14T00:00:00.000Z",
      "is_flat_top_storey": null,
      "lighting_cost_current": 118,
      "lighting_cost_potential": 61,
      "lighting_description": "Low energy lighting in 8% of fixed outlets",
      "lighting_energy_efficiency": "Very Poor",
      "lighting_environmental_efficiency": "Very Poor",
      "lmk_key": "836800779642012091820350708129148",
      "local_authority": "E06000052",
      "local_authority_label": "Cornwall",
      "lodgement_date": "2012-09-18T00:00:00.000Z",
      "lodgement_datetime": "2012-09-18T20:35:07.000Z",
      "low_energy_fixed_light_count": 2,
      "low_energy_lighting_percentage": 8,
      "main_fuel": "Oil (not community)",
      "main_heating_controls": "2107",
      "main_heating_controls_description": "Programmer, TRVs and bypass",
      "main_heating_controls_energy_efficiency": "Average",
      "main_heating_controls_environmental_efficiency": "Average",
      "main_heating_description": "Boiler and radiators, oil",
      "main_heating_energy_efficiency": "Good",
      "main_heating_environmental_efficiency": "Good",
      "mechanical_ventilation": "Natural",
      "multi_glaze_percentage": 100,
      "open_fireplace_count": 0,
      "post_town": "St. Austell",
      "postcode": "PL26 6BJ",
      "property_type": "House",
      "roof_description": "Pitched, insulated (assumed)",
      "roof_energy_efficiency": "Good",
      "roof_environmental_efficiency": "Good",
      "roof_photovoltaic_supply": 0,
      "second_heating_description": null,
      "tenure": "Owner-Occupied",
      "total_floor_area": 116,
      "transaction_type": "Marketed Sale",
      "unheated_corridor_length": null,
      "uprn": 10034632229,
      "uprn_source": "Address Matched",
      "walls_description": "Granite or whinstone, as built, insulated (assumed)",
      "walls_energy_efficiency": "Good",
      "walls_environmental_efficiency": "Good",
      "wind_turbine_count": 0,
      "windows_description": "Fully Double Glazed",
      "windows_energy_efficiency": "Average",
      "windows_environmental_efficiency": "Average"
    }
  ],

EPC Estimate

Unfortunately, many domestic properties do not have an EPC. In such cases, the API provides an estimated assessment (where possible) for a number of EPC fields, based on the attributes of nearby properties. If there is not enough information available to generate a useful estimate, this will be returned as null.

"epc_estimate": {
        "avg_co2_emissions_current": 5.9,
        "avg_co2_emissions_potential": 3.55,
        "avg_energy_efficiency_current": 69.5,
        "avg_energy_efficiency_potential": 82.5,
        "avg_energy_rating_current": "D",
        "avg_energy_rating_current_numerical": 4.5,
        "avg_energy_rating_potential": "B",
        "avg_energy_rating_potential_numerical": 6,
        "avg_floor_energy_efficiency": null,
        "avg_floor_energy_efficiency_numerical": null,
        "avg_hot_water_energy_efficiency": "Average",
        "avg_hot_water_energy_efficiency_numerical": 3,
        "avg_lighting_energy_efficiency": "Very Poor",
        "avg_lighting_energy_efficiency_numerical": 1,
        "avg_main_heating_controls_energy_efficiency": "Good",
        "avg_main_heating_controls_energy_efficiency_numerical": 4,
        "avg_main_heating_energy_efficiency": "Average",
        "avg_main_heating_energy_efficiency_numerical": 3.5,
        "avg_roof_energy_efficiency": "Good",
        "avg_roof_energy_efficiency_numerical": 4,
        "avg_total_floor_area": 186,
        "avg_walls_energy_efficiency": "Good",
        "avg_walls_energy_efficiency_numerical": 4,
        "avg_windows_energy_efficiency": "Average",
        "avg_windows_energy_efficiency_numerical": 3.5,
        "median_co2_emissions_current": 4.8,
        "median_co2_emissions_potential": 2.4,
        "median_energy_efficiency_current": 66,
        "median_energy_efficiency_potential": 82,
        "median_energy_rating_current": "C",
        "median_energy_rating_potential": "B",
        "median_floor_energy_efficiency": null,
        "median_hot_water_energy_efficiency": "Average",
        "median_lighting_energy_efficiency": "Very Poor",
        "median_main_heating_controls_energy_efficiency": "Average",
        "median_main_heating_energy_efficiency": "Average",
        "median_roof_energy_efficiency": "Good",
        "median_total_floor_area": 116,
        "median_walls_energy_efficiency": "Good",
        "median_windows_energy_efficiency": "Average",
        "mode_built_form": "Detached",
        "mode_construction_age_band": "1996-2002",
        "mode_energy_rating_current": "C",
        "mode_energy_rating_potential": "B",
        "mode_floor_energy_efficiency": "N/A",
        "mode_hot_water_energy_efficiency": "Average",
        "mode_lighting_energy_efficiency": "Very Poor",
        "mode_main_heating_controls_energy_efficiency": "Average",
        "mode_main_heating_energy_efficiency": "Average",
        "mode_property_type": "House",
        "mode_roof_energy_efficiency": "Good",
        "mode_walls_energy_efficiency": "Good",
        "mode_windows_energy_efficiency": "Average",
        "property_count": 2
    }

EPC Stats

The API also provides various summary statistics for a subset of EPC fields:

  1. Current energy rating
  2. Potential energy rating
  3. Current energy consumption
  4. Potential energy consumption
  5. Current energy efficiency
  6. Potential energy efficiency
  7. Current CO2 emissions
  8. Potential CO2 emissions

Statistics provided include:

  1. Counts
  2. Average
  3. Standard deviation
  4. Mode
  5. Min
  6. Max
  7. Percentiles: 10, 25, 50, 75, 90

These have been grouped by:

  • Postcode
  • Local authority
  • Region
  • Country
  • Local authority and property type
  • Country and property type
"epc_stats": {
        "postcode_stats": {
            "avg_co2_emissions_current": 5.9,
            "avg_co2_emissions_potential": 3.55,
            "avg_energy_consumption_current": 139.5,
            "avg_energy_consumption_potential": 67.5,
            "avg_energy_efficiency_current": 69.5,
            "avg_energy_efficiency_potential": 82.5,
            "avg_energy_rating_current": "D",
            "avg_energy_rating_current_numerical": 4.5,
            "avg_energy_rating_potential": "B",
            "avg_energy_rating_potential_numerical": 6,
            "energy_rating_a_count_current": 0,
            "energy_rating_a_count_potential": 0,
            "energy_rating_b_count_current": 0,
            "energy_rating_b_count_potential": 2,
            "energy_rating_c_count_current": 1,
            "energy_rating_c_count_potential": 0,
            "energy_rating_d_count_current": 1,
            "energy_rating_d_count_potential": 0,
            "energy_rating_e_count_current": 0,
            "energy_rating_e_count_potential": 0,
            "energy_rating_f_count_current": 0,
            "energy_rating_f_count_potential": 0,
            "energy_rating_g_count_current": 0,
            "energy_rating_g_count_potential": 0,
            "max_co2_emissions_current": 7,
            "max_co2_emissions_potential": 4.7,
            "max_energy_consumption_current": 168,
            "max_energy_consumption_potential": 69,
            "max_energy_efficiency_current": 73,
            "max_energy_efficiency_potential": 83,
            "max_energy_rating_current": "D",
            "max_energy_rating_potential": "B",
            "min_co2_emissions_current": 4.8,
            "min_co2_emissions_potential": 2.4,
            "min_energy_consumption_current": 111,
            "min_energy_consumption_potential": 66,
            "min_energy_efficiency_current": 66,
            "min_energy_efficiency_potential": 82,
            "min_energy_rating_current": "C",
            "min_energy_rating_potential": "B",
            "mode_energy_rating_current": "C",
            "mode_energy_rating_potential": "B",
            "perc_10_co2_emissions_current": 5.02,
            "perc_10_co2_emissions_potential": 2.63,
            "perc_10_energy_consumption_current": 116.7,
            "perc_10_energy_consumption_potential": 66.3,
            "perc_10_energy_efficiency_current": 66.7,
            "perc_10_energy_efficiency_potential": 82.1,
            "perc_10_energy_rating_current": 4.1,
            "perc_10_energy_rating_potential": 6,
            "perc_25_co2_emissions_current": 5.35,
            "perc_25_co2_emissions_potential": 2.975,
            "perc_25_energy_consumption_current": 125.25,
            "perc_25_energy_consumption_potential": 66.75,
            "perc_25_energy_efficiency_current": 67.75,
            "perc_25_energy_efficiency_potential": 82.25,
            "perc_25_energy_rating_current": 4.25,
            "perc_25_energy_rating_potential": 6,
            "perc_50_co2_emissions_current": 5.9,
            "perc_50_co2_emissions_potential": 3.55,
            "perc_50_energy_consumption_current": 139.5,
            "perc_50_energy_consumption_potential": 67.5,
            "perc_50_energy_efficiency_current": 69.5,
            "perc_50_energy_efficiency_potential": 82.5,
            "perc_50_energy_rating_current": 4.5,
            "perc_50_energy_rating_potential": 6,
            "perc_75_co2_emissions_current": 6.45,
            "perc_75_co2_emissions_potential": 4.125,
            "perc_75_energy_consumption_current": 153.75,
            "perc_75_energy_consumption_potential": 68.25,
            "perc_75_energy_efficiency_current": 71.25,
            "perc_75_energy_efficiency_potential": 82.75,
            "perc_75_energy_rating_current": 4.75,
            "perc_75_energy_rating_potential": 6,
            "perc_90_co2_emissions_current": 6.78,
            "perc_90_co2_emissions_potential": 4.470000000000001,
            "perc_90_energy_consumption_current": 162.3,
            "perc_90_energy_consumption_potential": 68.7,
            "perc_90_energy_efficiency_current": 72.3,
            "perc_90_energy_efficiency_potential": 82.9,
            "perc_90_energy_rating_current": 4.9,
            "perc_90_energy_rating_potential": 6,
            "postcode": "PL26 6BJ",
            "property_count": 2,
            "stddev_co2_emissions_current": 1.5556349186104041,
            "stddev_co2_emissions_potential": 1.6263455967290599,
            "stddev_energy_consumption_current": 40.30508652763321,
            "stddev_energy_consumption_potential": 2.1213203435596424,
            "stddev_energy_efficiency_current": 4.949747468305833,
            "stddev_energy_efficiency_potential": 0.7071067811865476,
            "stddev_energy_rating_current": 0.7071067811865476,
            "stddev_energy_rating_potential": 0
        },
        "local_authority_stats": {
            "avg_co2_emissions_current": 4.437100299939336,
            "avg_co2_emissions_potential": 2.237936320564951,
            "avg_energy_consumption_current": 266.4836321101459,
            "avg_energy_consumption_potential": 133.30414578392126,
            "avg_energy_efficiency_current": 60.72280558670609,
            "avg_energy_efficiency_potential": 80.09752053699341,
            "avg_energy_rating_current": "D",
            "avg_energy_rating_current_numerical": 4.068422662324074,
            "avg_energy_rating_potential": "C",
            "avg_energy_rating_potential_numerical": 5.4987900478078675,
            "energy_rating_a_count_current": 828,
            "energy_rating_a_count_potential": 24932,
            "energy_rating_b_count_current": 23279,
            "energy_rating_b_count_potential": 79316,
            "energy_rating_c_count_current": 47336,
            "energy_rating_c_count_potential": 57362,
            "energy_rating_d_count_current": 58055,
            "energy_rating_d_count_potential": 16498,
            "energy_rating_e_count_current": 35938,
            "energy_rating_e_count_potential": 5628,
            "energy_rating_f_count_current": 15117,
            "energy_rating_f_count_potential": 2074,
            "energy_rating_g_count_current": 5818,
            "energy_rating_g_count_potential": 561,
            "local_authority_district_code": "E06000052",
            "max_co2_emissions_current": 180,
            "max_co2_emissions_potential": 180,
            "max_energy_consumption_current": 53064,
            "max_energy_consumption_potential": 53064,
            "max_energy_efficiency_current": 235,
            "max_energy_efficiency_potential": 256,
            "max_energy_rating_current": "G",
            "max_energy_rating_potential": "G",
            "min_co2_emissions_current": -18.1,
            "min_co2_emissions_potential": -20,
            "min_energy_consumption_current": -887,
            "min_energy_consumption_potential": -1132,
            "min_energy_efficiency_current": 1,
            "min_energy_efficiency_potential": 1,
            "min_energy_rating_current": "A",
            "min_energy_rating_potential": "A",
            "mode_energy_rating_current": "D",
            "mode_energy_rating_potential": "B",
            "perc_10_co2_emissions_current": 1.4,
            "perc_10_co2_emissions_potential": 0.3,
            "perc_10_energy_consumption_current": 94,
            "perc_10_energy_consumption_potential": 15,
            "perc_10_energy_efficiency_current": 36,
            "perc_10_energy_efficiency_potential": 65,
            "perc_10_energy_rating_current": 2,
            "perc_10_energy_rating_potential": 4,
            "perc_25_co2_emissions_current": 2.2,
            "perc_25_co2_emissions_potential": 1,
            "perc_25_energy_consumption_current": 156,
            "perc_25_energy_consumption_potential": 61,
            "perc_25_energy_efficiency_current": 51,
            "perc_25_energy_efficiency_potential": 75,
            "perc_25_energy_rating_current": 3,
            "perc_25_energy_rating_potential": 5,
            "perc_50_co2_emissions_current": 3.5,
            "perc_50_co2_emissions_potential": 1.7,
            "perc_50_energy_consumption_current": 224,
            "perc_50_energy_consumption_potential": 101,
            "perc_50_energy_efficiency_current": 64,
            "perc_50_energy_efficiency_potential": 82,
            "perc_50_energy_rating_current": 4,
            "perc_50_energy_rating_potential": 6,
            "perc_75_co2_emissions_current": 5.6,
            "perc_75_co2_emissions_potential": 2.9,
            "perc_75_energy_consumption_current": 336,
            "perc_75_energy_consumption_potential": 184,
            "perc_75_energy_efficiency_current": 74,
            "perc_75_energy_efficiency_potential": 87,
            "perc_75_energy_rating_current": 5,
            "perc_75_energy_rating_potential": 6,
            "perc_90_co2_emissions_current": 8.3,
            "perc_90_co2_emissions_potential": 4.6,
            "perc_90_energy_consumption_current": 488,
            "perc_90_energy_consumption_potential": 276,
            "perc_90_energy_efficiency_current": 82,
            "perc_90_energy_efficiency_potential": 94,
            "perc_90_energy_rating_current": 6,
            "perc_90_energy_rating_potential": 7,
            "property_count": 186371,
            "stddev_co2_emissions_current": 3.6578806329077453,
            "stddev_co2_emissions_potential": 2.3332289044836854,
            "stddev_energy_consumption_current": 207.53474065241767,
            "stddev_energy_consumption_potential": 176.75632269977794,
            "stddev_energy_efficiency_current": 17.851077540554293,
            "stddev_energy_efficiency_potential": 13.158309520176651,
            "stddev_energy_rating_current": 1.259826374978173,
            "stddev_energy_rating_potential": 1.03418127899752
        },
        "region_stats": {
            "avg_co2_emissions_current": 3.937637686133994,
            "avg_co2_emissions_potential": 2.102898516649709,
            "avg_energy_consumption_current": 240.80757463945952,
            "avg_energy_consumption_potential": 129.64510951845295,
            "avg_energy_efficiency_current": 64.84901462756068,
            "avg_energy_efficiency_potential": 80.39520156515471,
            "avg_energy_rating_current": "D",
            "avg_energy_rating_current_numerical": 4.331635460822507,
            "avg_energy_rating_potential": "C",
            "avg_energy_rating_potential_numerical": 5.52445211004136,
            "energy_rating_a_count_current": 7805,
            "energy_rating_a_count_potential": 168860,
            "energy_rating_b_count_current": 237645,
            "energy_rating_b_count_potential": 798422,
            "energy_rating_c_count_current": 530946,
            "energy_rating_c_count_potential": 614735,
            "energy_rating_d_count_current": 629976,
            "energy_rating_d_count_potential": 125161,
            "energy_rating_e_count_current": 253980,
            "energy_rating_e_count_potential": 30514,
            "energy_rating_f_count_current": 67206,
            "energy_rating_f_count_potential": 8342,
            "energy_rating_g_count_current": 20511,
            "energy_rating_g_count_potential": 2032,
            "max_co2_emissions_current": 888,
            "max_co2_emissions_potential": 308,
            "max_energy_consumption_current": 275795,
            "max_energy_consumption_potential": 169561,
            "max_energy_efficiency_current": 991,
            "max_energy_efficiency_potential": 993,
            "max_energy_rating_current": null,
            "max_energy_rating_potential": null,
            "min_co2_emissions_current": -126.6,
            "min_co2_emissions_potential": -127.1,
            "min_energy_consumption_current": -5574,
            "min_energy_consumption_potential": -5597,
            "min_energy_efficiency_current": 1,
            "min_energy_efficiency_potential": 1,
            "min_energy_rating_current": "A",
            "min_energy_rating_potential": "A",
            "mode_energy_rating_current": "D",
            "mode_energy_rating_potential": "B",
            "perc_10_co2_emissions_current": 1.3,
            "perc_10_co2_emissions_potential": 0.5,
            "perc_10_energy_consumption_current": 94,
            "perc_10_energy_consumption_potential": 32,
            "perc_10_energy_efficiency_current": 46,
            "perc_10_energy_efficiency_potential": 69,
            "perc_10_energy_rating_current": 3,
            "perc_10_energy_rating_potential": 5,
            "perc_25_co2_emissions_current": 2,
            "perc_25_co2_emissions_potential": 1,
            "perc_25_energy_consumption_current": 160,
            "perc_25_energy_consumption_potential": 70,
            "perc_25_energy_efficiency_current": 57,
            "perc_25_energy_efficiency_potential": 76,
            "perc_25_energy_rating_current": 4,
            "perc_25_energy_rating_potential": 5,
            "perc_50_co2_emissions_current": 3.2,
            "perc_50_co2_emissions_potential": 1.6,
            "perc_50_energy_consumption_current": 217,
            "perc_50_energy_consumption_potential": 106,
            "perc_50_energy_efficiency_current": 67,
            "perc_50_energy_efficiency_potential": 82,
            "perc_50_energy_rating_current": 4,
            "perc_50_energy_rating_potential": 6,
            "perc_75_co2_emissions_current": 4.9,
            "perc_75_co2_emissions_potential": 2.6,
            "perc_75_energy_consumption_current": 291,
            "perc_75_energy_consumption_potential": 172,
            "perc_75_energy_efficiency_current": 74,
            "perc_75_energy_efficiency_potential": 86,
            "perc_75_energy_rating_current": 5,
            "perc_75_energy_rating_potential": 6,
            "perc_90_co2_emissions_current": 7.1,
            "perc_90_co2_emissions_potential": 4.1,
            "perc_90_energy_consumption_current": 401,
            "perc_90_energy_consumption_potential": 252,
            "perc_90_energy_efficiency_current": 83,
            "perc_90_energy_efficiency_potential": 91,
            "perc_90_energy_rating_current": 6,
            "perc_90_energy_rating_potential": 6,
            "property_count": 1748070,
            "region_code": "E12000009",
            "stddev_co2_emissions_current": 3.3191326299260906,
            "stddev_co2_emissions_potential": 2.0797853714063295,
            "stddev_energy_consumption_current": 251.45320902253826,
            "stddev_energy_consumption_potential": 169.93537135620997,
            "stddev_energy_efficiency_current": 14.592358159838831,
            "stddev_energy_efficiency_potential": 10.493253075710879,
            "stddev_energy_rating_current": 1.0873866076542773,
            "stddev_energy_rating_potential": 0.878131569112218
        },
        "country_stats": {
            "avg_co2_emissions_current": 3.78411252977858,
            "avg_co2_emissions_potential": 2.096093502189741,
            "avg_energy_consumption_current": 243.78051092252227,
            "avg_energy_consumption_potential": 136.87876980898295,
            "avg_energy_efficiency_current": 65.65676609047483,
            "avg_energy_efficiency_potential": 80.3037023464566,
            "avg_energy_rating_current": "D",
            "avg_energy_rating_current_numerical": 4.3761749794427445,
            "avg_energy_rating_potential": "C",
            "avg_energy_rating_potential_numerical": 5.515375192133221,
            "country_code": "E92000001",
            "energy_rating_a_count_current": 42589,
            "energy_rating_a_count_potential": 1170128,
            "energy_rating_b_count_current": 2145885,
            "energy_rating_b_count_potential": 8038173,
            "energy_rating_c_count_current": 5301133,
            "energy_rating_c_count_potential": 6156345,
            "energy_rating_d_count_current": 6497813,
            "energy_rating_d_count_potential": 1124046,
            "energy_rating_e_count_current": 2242561,
            "energy_rating_e_count_potential": 212194,
            "energy_rating_f_count_current": 418404,
            "energy_rating_f_count_potential": 46491,
            "energy_rating_g_count_current": 112066,
            "energy_rating_g_count_potential": 13072,
            "max_co2_emissions_current": 2353,
            "max_co2_emissions_potential": 1625.2,
            "max_energy_consumption_current": 312273,
            "max_energy_consumption_potential": 218446,
            "max_energy_efficiency_current": 1705,
            "max_energy_efficiency_potential": 1707,
            "max_energy_rating_current": null,
            "max_energy_rating_potential": null,
            "min_co2_emissions_current": -184,
            "min_co2_emissions_potential": -184.2,
            "min_energy_consumption_current": -9459,
            "min_energy_consumption_potential": -9467,
            "min_energy_efficiency_current": 0,
            "min_energy_efficiency_potential": 0,
            "min_energy_rating_current": "A",
            "min_energy_rating_potential": "A",
            "mode_energy_rating_current": "D",
            "mode_energy_rating_potential": "B",
            "perc_10_co2_emissions_current": 1.3,
            "perc_10_co2_emissions_potential": 0.7,
            "perc_10_energy_consumption_current": 101,
            "perc_10_energy_consumption_potential": 50,
            "perc_10_energy_efficiency_current": 49,
            "perc_10_energy_efficiency_potential": 70,
            "perc_10_energy_rating_current": 3,
            "perc_10_energy_rating_potential": 5,
            "perc_25_co2_emissions_current": 2.1,
            "perc_25_co2_emissions_potential": 1.1,
            "perc_25_energy_consumption_current": 171,
            "perc_25_energy_consumption_potential": 83,
            "perc_25_energy_efficiency_current": 59,
            "perc_25_energy_efficiency_potential": 76,
            "perc_25_energy_rating_current": 4,
            "perc_25_energy_rating_potential": 5,
            "perc_50_co2_emissions_current": 3.2,
            "perc_50_co2_emissions_potential": 1.7,
            "perc_50_energy_consumption_current": 229,
            "perc_50_energy_consumption_potential": 118,
            "perc_50_energy_efficiency_current": 67,
            "perc_50_energy_efficiency_potential": 81,
            "perc_50_energy_rating_current": 4,
            "perc_50_energy_rating_potential": 6,
            "perc_75_co2_emissions_current": 4.7,
            "perc_75_co2_emissions_potential": 2.6,
            "perc_75_energy_consumption_current": 297,
            "perc_75_energy_consumption_potential": 173,
            "perc_75_energy_efficiency_current": 74,
            "perc_75_energy_efficiency_potential": 86,
            "perc_75_energy_rating_current": 5,
            "perc_75_energy_rating_potential": 6,
            "perc_90_co2_emissions_current": 6.6,
            "perc_90_co2_emissions_potential": 3.8,
            "perc_90_energy_consumption_current": 383,
            "perc_90_energy_consumption_potential": 247,
            "perc_90_energy_efficiency_current": 82,
            "perc_90_energy_efficiency_potential": 89,
            "perc_90_energy_rating_current": 6,
            "perc_90_energy_rating_potential": 6,
            "property_count": 16760506,
            "stddev_co2_emissions_current": 2.9934061522481374,
            "stddev_co2_emissions_potential": 1.9251153847258449,
            "stddev_energy_consumption_current": 161.29661017641396,
            "stddev_energy_consumption_potential": 116.78013968890532,
            "stddev_energy_efficiency_current": 13.08446688640545,
            "stddev_energy_efficiency_potential": 9.267396104216859,
            "stddev_energy_rating_current": 1.001829439870276,
            "stddev_energy_rating_potential": 0.8052775984146809
        },
        "property_type_stats": {
            "local_authority_stats": {
                "avg_co2_emissions_current": 4.850302922880819,
                "avg_co2_emissions_potential": 2.3057866794959505,
                "avg_energy_consumption_current": 254.99596552975632,
                "avg_energy_consumption_potential": 113.54140992960481,
                "avg_energy_efficiency_current": 60.36630120105673,
                "avg_energy_efficiency_potential": 81.2806910929363,
                "avg_energy_rating_current": "D",
                "avg_energy_rating_current_numerical": 4.058103123760329,
                "avg_energy_rating_potential": "C",
                "avg_energy_rating_potential_numerical": 5.611880586433039,
                "energy_rating_a_count_current": 628,
                "energy_rating_a_count_potential": 20103,
                "energy_rating_b_count_current": 16332,
                "energy_rating_b_count_potential": 55108,
                "energy_rating_c_count_current": 28476,
                "energy_rating_c_count_potential": 28494,
                "energy_rating_d_count_current": 35778,
                "energy_rating_d_count_potential": 9165,
                "energy_rating_e_count_current": 22588,
                "energy_rating_e_count_potential": 3627,
                "energy_rating_f_count_current": 10479,
                "energy_rating_f_count_potential": 1528,
                "energy_rating_g_count_current": 4198,
                "energy_rating_g_count_potential": 454,
                "local_authority_district_code": "E06000052",
                "max_co2_emissions_current": 180,
                "max_co2_emissions_potential": 180,
                "max_energy_consumption_current": 7097,
                "max_energy_consumption_potential": 2511,
                "max_energy_efficiency_current": 235,
                "max_energy_efficiency_potential": 256,
                "max_energy_rating_current": "G",
                "max_energy_rating_potential": "G",
                "min_co2_emissions_current": -18.1,
                "min_co2_emissions_potential": -20,
                "min_energy_consumption_current": -626,
                "min_energy_consumption_potential": -661,
                "min_energy_efficiency_current": 1,
                "min_energy_efficiency_potential": 1,
                "min_energy_rating_current": "A",
                "min_energy_rating_potential": "A",
                "mode_energy_rating_current": "D",
                "mode_energy_rating_potential": "B",
                "perc_10_co2_emissions_current": 1.5,
                "perc_10_co2_emissions_potential": 0.2,
                "perc_10_energy_consumption_current": 88,
                "perc_10_energy_consumption_potential": 6,
                "perc_10_energy_efficiency_current": 34,
                "perc_10_energy_efficiency_potential": 65,
                "perc_10_energy_rating_current": 2,
                "perc_10_energy_rating_potential": 4,
                "perc_25_co2_emissions_current": 2.3,
                "perc_25_co2_emissions_potential": 0.8,
                "perc_25_energy_consumption_current": 148,
                "perc_25_energy_consumption_potential": 49,
                "perc_25_energy_efficiency_current": 50,
                "perc_25_energy_efficiency_potential": 77,
                "perc_25_energy_rating_current": 3,
                "perc_25_energy_rating_potential": 5,
                "perc_50_co2_emissions_current": 3.8,
                "perc_50_co2_emissions_potential": 1.7,
                "perc_50_energy_consumption_current": 214,
                "perc_50_energy_consumption_potential": 86,
                "perc_50_energy_efficiency_current": 64,
                "perc_50_energy_efficiency_potential": 84,
                "perc_50_energy_rating_current": 4,
                "perc_50_energy_rating_potential": 6,
                "perc_75_co2_emissions_current": 6.1,
                "perc_75_co2_emissions_potential": 3.1,
                "perc_75_energy_consumption_current": 319,
                "perc_75_energy_consumption_potential": 152,
                "perc_75_energy_efficiency_current": 73,
                "perc_75_energy_efficiency_potential": 88,
                "perc_75_energy_rating_current": 5,
                "perc_75_energy_rating_potential": 6,
                "perc_90_co2_emissions_current": 9.2,
                "perc_90_co2_emissions_potential": 5,
                "perc_90_energy_consumption_current": 467,
                "perc_90_energy_consumption_potential": 238,
                "perc_90_energy_efficiency_current": 83,
                "perc_90_energy_efficiency_potential": 95,
                "perc_90_energy_rating_current": 6,
                "perc_90_energy_rating_potential": 7,
                "property_count": 118479,
                "property_type": "House",
                "stddev_co2_emissions_current": 4.095944757530784,
                "stddev_co2_emissions_potential": 2.6506601665359213,
                "stddev_energy_consumption_current": 165.05692375481678,
                "stddev_energy_consumption_potential": 120.87704473545745,
                "stddev_energy_efficiency_current": 18.47638615750222,
                "stddev_energy_efficiency_potential": 13.709282978566085,
                "stddev_energy_rating_current": 1.3036120057429634,
                "stddev_energy_rating_potential": 1.070809240103817
            },
            "country_stats": {
                "avg_co2_emissions_current": 4.431093414822945,
                "avg_co2_emissions_potential": 2.2546705769630075,
                "avg_energy_consumption_current": 241.03171111210267,
                "avg_energy_consumption_potential": 115.39705126150344,
                "avg_energy_efficiency_current": 64.10315860785772,
                "avg_energy_efficiency_potential": 81.83586974826808,
                "avg_energy_rating_current": "D",
                "avg_energy_rating_current_numerical": 4.265000640520938,
                "avg_energy_rating_potential": "C",
                "avg_energy_rating_potential_numerical": 5.668242108278266,
                "country_code": "E92000001",
                "energy_rating_a_count_current": 30828,
                "energy_rating_a_count_potential": 1051331,
                "energy_rating_b_count_current": 1195811,
                "energy_rating_b_count_potential": 5847743,
                "energy_rating_c_count_current": 2739538,
                "energy_rating_c_count_potential": 2765676,
                "energy_rating_d_count_current": 4466632,
                "energy_rating_d_count_potential": 576840,
                "energy_rating_e_count_current": 1595993,
                "energy_rating_e_count_potential": 138510,
                "energy_rating_f_count_current": 311222,
                "energy_rating_f_count_potential": 31803,
                "energy_rating_g_count_current": 81143,
                "energy_rating_g_count_potential": 9262,
                "max_co2_emissions_current": 888,
                "max_co2_emissions_potential": 348,
                "max_energy_consumption_current": 54443,
                "max_energy_consumption_potential": 48964,
                "max_energy_efficiency_current": 349,
                "max_energy_efficiency_potential": 362,
                "max_energy_rating_current": null,
                "max_energy_rating_potential": null,
                "min_co2_emissions_current": -112.1,
                "min_co2_emissions_potential": -112.7,
                "min_energy_consumption_current": -3214,
                "min_energy_consumption_potential": -3230,
                "min_energy_efficiency_current": 0,
                "min_energy_efficiency_potential": 0,
                "min_energy_rating_current": "A",
                "min_energy_rating_potential": "A",
                "mode_energy_rating_current": "D",
                "mode_energy_rating_potential": "B",
                "perc_10_co2_emissions_current": 1.8,
                "perc_10_co2_emissions_potential": 0.6,
                "perc_10_energy_consumption_current": 100,
                "perc_10_energy_consumption_potential": 38,
                "perc_10_energy_efficiency_current": 48,
                "perc_10_energy_efficiency_potential": 71,
                "perc_10_energy_rating_current": 3,
                "perc_10_energy_rating_potential": 5,
                "perc_25_co2_emissions_current": 2.7,
                "perc_25_co2_emissions_potential": 1.1,
                "perc_25_energy_consumption_current": 177,
                "perc_25_energy_consumption_potential": 74,
                "perc_25_energy_efficiency_current": 57,
                "perc_25_energy_efficiency_potential": 78,
                "perc_25_energy_rating_current": 4,
                "perc_25_energy_rating_potential": 5,
                "perc_50_co2_emissions_current": 3.8,
                "perc_50_co2_emissions_potential": 1.8,
                "perc_50_energy_consumption_current": 230,
                "perc_50_energy_consumption_potential": 103,
                "perc_50_energy_efficiency_current": 65,
                "perc_50_energy_efficiency_potential": 83,
                "perc_50_energy_rating_current": 4,
                "perc_50_energy_rating_potential": 6,
                "perc_75_co2_emissions_current": 5.3,
                "perc_75_co2_emissions_potential": 2.8,
                "perc_75_energy_consumption_current": 293,
                "perc_75_energy_consumption_potential": 143,
                "perc_75_energy_efficiency_current": 72,
                "perc_75_energy_efficiency_potential": 87,
                "perc_75_energy_rating_current": 5,
                "perc_75_energy_rating_potential": 6,
                "perc_90_co2_emissions_current": 7.5,
                "perc_90_co2_emissions_potential": 4.3,
                "perc_90_energy_consumption_current": 368,
                "perc_90_energy_consumption_potential": 204,
                "perc_90_energy_efficiency_current": 82,
                "perc_90_energy_efficiency_potential": 92,
                "perc_90_energy_rating_current": 6,
                "perc_90_energy_rating_potential": 7,
                "property_count": 10421205,
                "property_type": "House",
                "stddev_co2_emissions_current": 3.209034290050461,
                "stddev_co2_emissions_potential": 2.1104119881224848,
                "stddev_energy_consumption_current": 112.11916502172338,
                "stddev_energy_consumption_potential": 79.13502446362163,
                "stddev_energy_efficiency_current": 13.215861363492799,
                "stddev_energy_efficiency_potential": 9.494339233400407,
                "stddev_energy_rating_current": 1.010451526858699,
                "stddev_energy_rating_potential": 0.8175731852680579
            }
        }
    }

Code Samples

Request

curl \
  -X GET \
  --header "x-api-key: <API KEY>" \
  https://api.propeco.io/epcs?uprn=UPRN
const results = await fetch(`https://api.propeco.io/epcs?uprn=${uprn}`, {
  headers: {
    "x-api-key": API_KEY
  },
});
const data = await results.json();

Response

{
"epc_country": "England",
"epcs": [
    {
    "address": "Sea Barn Polrudden Farm, Pentewan",
    "address1": "Sea Barn Polrudden Farm",
    "address2": "Pentewan",
    "address3": null,
    "building_reference_number": "8643871078",
    "built_form": "Detached",
    "co2_emiss_curr_per_floor_area": "41",
    "co2_emissions_current": "4.8",
    "co2_emissions_potential": "2.4",
    "constituency": "E14000961",
    "constituency_label": "St Austell and Newquay",
    "construction_age_band": "England and Wales: 1996-2002",
    "county": null,
    "current_energy_efficiency": "66",
    "current_energy_rating": "D",
    "energy_consumption_current": "168",
    "energy_consumption_potential": "69",
    "energy_tariff": "Single",
    "environment_impact_current": "55",
    "environment_impact_potential": "74",
    "extension_count": "3",
    "fixed_lighting_outlets_count": "26",
    "flat_storey_count": null,
    "flat_top_storey": null,
    "floor_description": "Solid, limited insulation (assumed)",
    "floor_energy_eff": "N/A",
    "floor_env_eff": "N/A",
    "floor_height": null,
    "floor_level": "NODATA!",
    "glazed_area": "Normal",
    "glazed_type": "double glazing installed before 2002",
    "heat_loss_corridor": "NO DATA!",
    "heating_cost_current": "618",
    "heating_cost_potential": "555",
    "hot_water_cost_current": "176",
    "hot_water_cost_potential": "99",
    "hot_water_energy_eff": "Average",
    "hot_water_env_eff": "Average",
    "hotwater_description": "From main system",
    "inspection_date": "2012-09-14",
    "lighting_cost_current": "118",
    "lighting_cost_potential": "61",
    "lighting_description": "Low energy lighting in 8% of fixed outlets",
    "lighting_energy_eff": "Very Poor",
    "lighting_env_eff": "Very Poor",
    "lmk_key": "836800779642012091820350708129148",
    "local_authority": "E06000052",
    "local_authority_label": "Cornwall",
    "lodgement_date": "2012-09-18",
    "lodgement_datetime": "2012-09-18 20:35:07",
    "low_energy_fixed_light_count": "2",
    "low_energy_lighting": "8",
    "main_fuel": "oil (not community)",
    "main_heating_controls": "2107",
    "mainheat_description": "Boiler and radiators, oil",
    "mainheat_energy_eff": "Good",
    "mainheat_env_eff": "Good",
    "mainheatc_energy_eff": "Average",
    "mainheatc_env_eff": "Average",
    "mainheatcont_description": "Programmer, TRVs and bypass",
    "mains_gas_flag": "N",
    "mechanical_ventilation": "natural",
    "multi_glaze_proportion": "100",
    "number_habitable_rooms": "5",
    "number_heated_rooms": "5",
    "number_open_fireplaces": "0",
    "photo_supply": "0.0",
    "postcode": "PL26 6BJ",
    "posttown": "ST. AUSTELL",
    "potential_energy_efficiency": "83",
    "potential_energy_rating": "B",
    "property_type": "House",
    "roof_description": "Pitched, insulated (assumed)",
    "roof_energy_eff": "Good",
    "roof_env_eff": "Good",
    "secondheat_description": "None",
    "sheating_energy_eff": "N/A",
    "sheating_env_eff": "N/A",
    "solar_water_heating_flag": null,
    "tenure": "owner-occupied",
    "total_floor_area": "116.0",
    "transaction_type": "marketed sale",
    "unheated_corridor_length": null,
    "uprn": "10034632229",
    "uprn_source": "Address Matched",
    "walls_description": "Granite or whinstone, as built, insulated (assumed)",
    "walls_energy_eff": "Good",
    "walls_env_eff": "Good",
    "wind_turbine_count": "0",
    "windows_description": "Fully double glazed",
    "windows_energy_eff": "Average",
    "windows_env_eff": "Average"
    }
],
"epcs_enhanced": [
    {
    "address": "Sea Barn Polrudden Farm, Pentewan",
    "address1": "Sea Barn Polrudden Farm",
    "address2": "Pentewan",
    "address3": null,
    "building_reference_number": "8643871078",
    "built_form": "Detached",
    "co2_emissions_current": 4.8,
    "co2_emissions_per_floor_area_m2_current": 41,
    "co2_emissions_potential": 2.4,
    "constituency": "E14000961",
    "constituency_label": "St Austell and Newquay",
    "construction_age_band": "1996-2002",
    "county": null,
    "energy_consumption_per_floor_area_m2_current": 168,
    "energy_consumption_per_floor_area_m2_potential": 69,
    "energy_efficiency_current": 66,
    "energy_efficiency_potential": 83,
    "energy_rating_current": "D",
    "energy_rating_potential": "B",
    "energy_tariff": "Single",
    "environmental_impact_current": 55,
    "environmental_impact_potential": 74,
    "extension_count": 3,
    "fixed_lighting_outlets_count": 26,
    "flat_storey_count": null,
    "floor_description": "Solid, limited insulation (assumed)",
    "floor_energy_efficiency": "N/A",
    "floor_environmental_efficiency": "N/A",
    "floor_height": null,
    "floor_level": null,
    "glazed_area": "Normal",
    "glazed_type": "Double",
    "habitable_room_count": 5,
    "has_mains_gas": false,
    "has_solar_water_heating": null,
    "heat_loss_corridor": null,
    "heated_room_count": 5,
    "heating_cost_current": 618,
    "heating_cost_potential": 555,
    "hot_water_cost_current": 176,
    "hot_water_cost_potential": 99,
    "hot_water_description": "From main system",
    "hot_water_energy_efficiency": "Average",
    "hot_water_environmental_efficiency": "Average",
    "inspection_date": "2012-09-14T00:00:00.000Z",
    "is_flat_top_storey": null,
    "lighting_cost_current": 118,
    "lighting_cost_potential": 61,
    "lighting_description": "Low energy lighting in 8% of fixed outlets",
    "lighting_energy_efficiency": "Very Poor",
    "lighting_environmental_efficiency": "Very Poor",
    "lmk_key": "836800779642012091820350708129148",
    "local_authority": "E06000052",
    "local_authority_label": "Cornwall",
    "lodgement_date": "2012-09-18T00:00:00.000Z",
    "lodgement_datetime": "2012-09-18T20:35:07.000Z",
    "low_energy_fixed_light_count": 2,
    "low_energy_lighting_percentage": 8,
    "main_fuel": "Oil (not community)",
    "main_heating_controls": "2107",
    "main_heating_controls_description": "Programmer, TRVs and bypass",
    "main_heating_controls_energy_efficiency": "Average",
    "main_heating_controls_environmental_efficiency": "Average",
    "main_heating_description": "Boiler and radiators, oil",
    "main_heating_energy_efficiency": "Good",
    "main_heating_environmental_efficiency": "Good",
    "mechanical_ventilation": "Natural",
    "multi_glaze_percentage": 100,
    "open_fireplace_count": 0,
    "post_town": "St. Austell",
    "postcode": "PL26 6BJ",
    "property_type": "House",
    "roof_description": "Pitched, insulated (assumed)",
    "roof_energy_efficiency": "Good",
    "roof_environmental_efficiency": "Good",
    "roof_photovoltaic_supply": 0,
    "second_heating_description": null,
    "tenure": "Owner-Occupied",
    "total_floor_area": 116,
    "transaction_type": "Marketed Sale",
    "unheated_corridor_length": null,
    "uprn": 10034632229,
    "uprn_source": "Address Matched",
    "walls_description": "Granite or whinstone, as built, insulated (assumed)",
    "walls_energy_efficiency": "Good",
    "walls_environmental_efficiency": "Good",
    "wind_turbine_count": 0,
    "windows_description": "Fully Double Glazed",
    "windows_energy_efficiency": "Average",
    "windows_environmental_efficiency": "Average"
    }
],
"epc_estimate": null,
"epc_stats": {
    "postcode_stats": {
    "avg_co2_emissions_current": 5.9,
    "avg_co2_emissions_potential": 3.55,
    "avg_energy_consumption_per_floor_area_m2_current": 139.5,
    "avg_energy_consumption_per_floor_area_m2_potential": 67.5,
    "avg_energy_efficiency_current": 69.5,
    "avg_energy_efficiency_potential": 82.5,
    "avg_energy_rating_current": "D",
    "avg_energy_rating_current_numerical": 4.5,
    "avg_energy_rating_potential": "B",
    "avg_energy_rating_potential_numerical": 6,
    "energy_rating_a_count_current": 0,
    "energy_rating_a_count_potential": 0,
    "energy_rating_b_count_current": 0,
    "energy_rating_b_count_potential": 2,
    "energy_rating_c_count_current": 1,
    "energy_rating_c_count_potential": 0,
    "energy_rating_d_count_current": 1,
    "energy_rating_d_count_potential": 0,
    "energy_rating_e_count_current": 0,
    "energy_rating_e_count_potential": 0,
    "energy_rating_f_count_current": 0,
    "energy_rating_f_count_potential": 0,
    "energy_rating_g_count_current": 0,
    "energy_rating_g_count_potential": 0,
    "max_co2_emissions_current": 7,
    "max_co2_emissions_potential": 4.7,
    "max_energy_consumption_per_floor_area_m2_current": 168,
    "max_energy_consumption_per_floor_area_m2_potential": 69,
    "max_energy_efficiency_current": 73,
    "max_energy_efficiency_potential": 83,
    "max_energy_rating_current": "D",
    "max_energy_rating_potential": "B",
    "min_co2_emissions_current": 4.8,
    "min_co2_emissions_potential": 2.4,
    "min_energy_consumption_per_floor_area_m2_current": 111,
    "min_energy_consumption_per_floor_area_m2_potential": 66,
    "min_energy_efficiency_current": 66,
    "min_energy_efficiency_potential": 82,
    "min_energy_rating_current": "C",
    "min_energy_rating_potential": "B",
    "mode_energy_rating_current": "C",
    "mode_energy_rating_potential": "B",
    "perc_10_co2_emissions_current": 5.02,
    "perc_10_co2_emissions_potential": 2.63,
    "perc_10_energy_consumption_per_floor_area_m2_current": 116.7,
    "perc_10_energy_consumption_per_floor_area_m2_potential": 66.3,
    "perc_10_energy_efficiency_current": 66.7,
    "perc_10_energy_efficiency_potential": 82.1,
    "perc_10_energy_rating_current": 4.1,
    "perc_10_energy_rating_potential": 6,
    "perc_25_co2_emissions_current": 5.35,
    "perc_25_co2_emissions_potential": 2.975,
    "perc_25_energy_consumption_per_floor_area_m2_current": 125.25,
    "perc_25_energy_consumption_per_floor_area_m2_potential": 66.75,
    "perc_25_energy_efficiency_current": 67.75,
    "perc_25_energy_efficiency_potential": 82.25,
    "perc_25_energy_rating_current": 4.25,
    "perc_25_energy_rating_potential": 6,
    "perc_50_co2_emissions_current": 5.9,
    "perc_50_co2_emissions_potential": 3.55,
    "perc_50_energy_consumption_per_floor_area_m2_current": 139.5,
    "perc_50_energy_consumption_per_floor_area_m2_potential": 67.5,
    "perc_50_energy_efficiency_current": 69.5,
    "perc_50_energy_efficiency_potential": 82.5,
    "perc_50_energy_rating_current": 4.5,
    "perc_50_energy_rating_potential": 6,
    "perc_75_co2_emissions_current": 6.45,
    "perc_75_co2_emissions_potential": 4.125,
    "perc_75_energy_consumption_per_floor_area_m2_current": 153.75,
    "perc_75_energy_consumption_per_floor_area_m2_potential": 68.25,
    "perc_75_energy_efficiency_current": 71.25,
    "perc_75_energy_efficiency_potential": 82.75,
    "perc_75_energy_rating_current": 4.75,
    "perc_75_energy_rating_potential": 6,
    "perc_90_co2_emissions_current": 6.78,
    "perc_90_co2_emissions_potential": 4.470000000000001,
    "perc_90_energy_consumption_per_floor_area_m2_current": 162.3,
    "perc_90_energy_consumption_per_floor_area_m2_potential": 68.7,
    "perc_90_energy_efficiency_current": 72.3,
    "perc_90_energy_efficiency_potential": 82.9,
    "perc_90_energy_rating_current": 4.9,
    "perc_90_energy_rating_potential": 6,
    "postcode": "PL26 6BJ",
    "property_count": 2,
    "stddev_co2_emissions_current": 1.5556349186104041,
    "stddev_co2_emissions_potential": 1.6263455967290599,
    "stddev_energy_consumption_per_floor_area_m2_current": 40.30508652763321,
    "stddev_energy_consumption_per_floor_area_m2_potential": 2.1213203435596424,
    "stddev_energy_efficiency_current": 4.949747468305833,
    "stddev_energy_efficiency_potential": 0.7071067811865476,
    "stddev_energy_rating_current": 0.7071067811865476,
    "stddev_energy_rating_potential": 0
    },
    "outcode_stats": {
    "avg_co2_emissions_current": 5.381569644119731,
    "avg_co2_emissions_potential": 2.7838086259721835,
    "avg_energy_consumption_per_floor_area_m2_current": 318.60004713646003,
    "avg_energy_consumption_per_floor_area_m2_potential": 162.22937293729373,
    "avg_energy_efficiency_current": 54.86189017204808,
    "avg_energy_efficiency_potential": 78.46523686071176,
    "avg_energy_rating_current": "E",
    "avg_energy_rating_current_numerical": 3.670162620787179,
    "avg_energy_rating_potential": "C",
    "avg_energy_rating_potential_numerical": 5.345156728729672,
    "energy_rating_a_count_current": 53,
    "energy_rating_a_count_potential": 1041,
    "energy_rating_b_count_current": 568,
    "energy_rating_b_count_potential": 3227,
    "energy_rating_c_count_current": 1557,
    "energy_rating_c_count_potential": 2627,
    "energy_rating_d_count_current": 2605,
    "energy_rating_d_count_potential": 1040,
    "energy_rating_e_count_current": 2192,
    "energy_rating_e_count_potential": 356,
    "energy_rating_f_count_current": 1074,
    "energy_rating_f_count_potential": 152,
    "energy_rating_g_count_current": 437,
    "energy_rating_g_count_potential": 43,
    "max_co2_emissions_current": 44,
    "max_co2_emissions_potential": 34,
    "max_energy_consumption_per_floor_area_m2_current": 2676,
    "max_energy_consumption_per_floor_area_m2_potential": 1893,
    "max_energy_efficiency_current": 111,
    "max_energy_efficiency_potential": 134,
    "max_energy_rating_current": "G",
    "max_energy_rating_potential": "G",
    "min_co2_emissions_current": -1.9,
    "min_co2_emissions_potential": -4.9,
    "min_energy_consumption_per_floor_area_m2_current": -89,
    "min_energy_consumption_per_floor_area_m2_potential": -388,
    "min_energy_efficiency_current": 1,
    "min_energy_efficiency_potential": 1,
    "min_energy_rating_current": "A",
    "min_energy_rating_potential": "A",
    "mode_energy_rating_current": "D",
    "mode_energy_rating_potential": "B",
    "outcode": "PL26",
    "perc_10_co2_emissions_current": 1.9,
    "perc_10_co2_emissions_potential": 0.7,
    "perc_10_energy_consumption_per_floor_area_m2_current": 119,
    "perc_10_energy_consumption_per_floor_area_m2_potential": 33,
    "perc_10_energy_efficiency_current": 28,
    "perc_10_energy_efficiency_potential": 60,
    "perc_10_energy_rating_current": 2,
    "perc_10_energy_rating_potential": 4,
    "perc_25_co2_emissions_current": 3.1,
    "perc_25_co2_emissions_potential": 1.5,
    "perc_25_energy_consumption_per_floor_area_m2_current": 176,
    "perc_25_energy_consumption_per_floor_area_m2_potential": 77,
    "perc_25_energy_efficiency_current": 43,
    "perc_25_energy_efficiency_potential": 72,
    "perc_25_energy_rating_current": 3,
    "perc_25_energy_rating_potential": 5,
    "perc_50_co2_emissions_current": 4.8,
    "perc_50_co2_emissions_potential": 2.4,
    "perc_50_energy_consumption_per_floor_area_m2_current": 279,
    "perc_50_energy_consumption_per_floor_area_m2_potential": 133,
    "perc_50_energy_efficiency_current": 57,
    "perc_50_energy_efficiency_potential": 81,
    "perc_50_energy_rating_current": 4,
    "perc_50_energy_rating_potential": 6,
    "perc_75_co2_emissions_current": 6.8,
    "perc_75_co2_emissions_potential": 3.5,
    "perc_75_energy_consumption_per_floor_area_m2_current": 422,
    "perc_75_energy_consumption_per_floor_area_m2_potential": 222,
    "perc_75_energy_efficiency_current": 69,
    "perc_75_energy_efficiency_potential": 87,
    "perc_75_energy_rating_current": 5,
    "perc_75_energy_rating_potential": 6,
    "perc_90_co2_emissions_current": 9.4,
    "perc_90_co2_emissions_potential": 5.3,
    "perc_90_energy_consumption_per_floor_area_m2_current": 568,
    "perc_90_energy_consumption_per_floor_area_m2_potential": 315,
    "perc_90_energy_efficiency_current": 79,
    "perc_90_energy_efficiency_potential": 93,
    "perc_90_energy_rating_current": 5,
    "perc_90_energy_rating_potential": 7,
    "property_count": 8486,
    "stddev_co2_emissions_current": 3.453055447864561,
    "stddev_co2_emissions_potential": 2.229664346981709,
    "stddev_energy_consumption_per_floor_area_m2_current": 188.88103733612752,
    "stddev_energy_consumption_per_floor_area_m2_potential": 137.83323497941373,
    "stddev_energy_efficiency_current": 18.915213032472963,
    "stddev_energy_efficiency_potential": 15.105011499732818,
    "stddev_energy_rating_current": 1.275478588841538,
    "stddev_energy_rating_potential": 1.133412613920596
    },
    "local_authority_stats": {
    "avg_co2_emissions_current": 4.4359722578987855,
    "avg_co2_emissions_potential": 2.236988558523885,
    "avg_energy_consumption_per_floor_area_m2_current": 266.43031830636187,
    "avg_energy_consumption_per_floor_area_m2_potential": 133.24833155830046,
    "avg_energy_efficiency_current": 60.72969111225276,
    "avg_energy_efficiency_potential": 80.10408639438307,
    "avg_energy_rating_current": "D",
    "avg_energy_rating_current_numerical": 4.06886826783115,
    "avg_energy_rating_potential": "C",
    "avg_energy_rating_potential_numerical": 5.4993043068755885,
    "energy_rating_a_count_current": 832,
    "energy_rating_a_count_potential": 25003,
    "energy_rating_b_count_current": 23335,
    "energy_rating_b_count_potential": 79552,
    "energy_rating_c_count_current": 47483,
    "energy_rating_c_count_potential": 57519,
    "energy_rating_d_count_current": 58230,
    "energy_rating_d_count_potential": 16521,
    "energy_rating_e_count_current": 36018,
    "energy_rating_e_count_potential": 5633,
    "energy_rating_f_count_current": 15136,
    "energy_rating_f_count_potential": 2075,
    "energy_rating_g_count_current": 5830,
    "energy_rating_g_count_potential": 561,
    "local_authority_district_code": "E06000052",
    "max_co2_emissions_current": 180,
    "max_co2_emissions_potential": 180,
    "max_energy_consumption_per_floor_area_m2_current": 53064,
    "max_energy_consumption_per_floor_area_m2_potential": 53064,
    "max_energy_efficiency_current": 235,
    "max_energy_efficiency_potential": 256,
    "max_energy_rating_current": "G",
    "max_energy_rating_potential": "G",
    "min_co2_emissions_current": -18.1,
    "min_co2_emissions_potential": -20,
    "min_energy_consumption_per_floor_area_m2_current": -887,
    "min_energy_consumption_per_floor_area_m2_potential": -1132,
    "min_energy_efficiency_current": 1,
    "min_energy_efficiency_potential": 1,
    "min_energy_rating_current": "A",
    "min_energy_rating_potential": "A",
    "mode_energy_rating_current": "D",
    "mode_energy_rating_potential": "B",
    "perc_10_co2_emissions_current": 1.4,
    "perc_10_co2_emissions_potential": 0.3,
    "perc_10_energy_consumption_per_floor_area_m2_current": 94,
    "perc_10_energy_consumption_per_floor_area_m2_potential": 15,
    "perc_10_energy_efficiency_current": 36,
    "perc_10_energy_efficiency_potential": 65,
    "perc_10_energy_rating_current": 2,
    "perc_10_energy_rating_potential": 4,
    "perc_25_co2_emissions_current": 2.2,
    "perc_25_co2_emissions_potential": 1,
    "perc_25_energy_consumption_per_floor_area_m2_current": 156,
    "perc_25_energy_consumption_per_floor_area_m2_potential": 61,
    "perc_25_energy_efficiency_current": 51,
    "perc_25_energy_efficiency_potential": 75,
    "perc_25_energy_rating_current": 3,
    "perc_25_energy_rating_potential": 5,
    "perc_50_co2_emissions_current": 3.5,
    "perc_50_co2_emissions_potential": 1.7,
    "perc_50_energy_consumption_per_floor_area_m2_current": 224,
    "perc_50_energy_consumption_per_floor_area_m2_potential": 101,
    "perc_50_energy_efficiency_current": 64,
    "perc_50_energy_efficiency_potential": 82,
    "perc_50_energy_rating_current": 4,
    "perc_50_energy_rating_potential": 6,
    "perc_75_co2_emissions_current": 5.6,
    "perc_75_co2_emissions_potential": 2.9,
    "perc_75_energy_consumption_per_floor_area_m2_current": 336,
    "perc_75_energy_consumption_per_floor_area_m2_potential": 184,
    "perc_75_energy_efficiency_current": 74,
    "perc_75_energy_efficiency_potential": 87,
    "perc_75_energy_rating_current": 5,
    "perc_75_energy_rating_potential": 6,
    "perc_90_co2_emissions_current": 8.3,
    "perc_90_co2_emissions_potential": 4.6,
    "perc_90_energy_consumption_per_floor_area_m2_current": 487,
    "perc_90_energy_consumption_per_floor_area_m2_potential": 276,
    "perc_90_energy_efficiency_current": 82,
    "perc_90_energy_efficiency_potential": 94,
    "perc_90_energy_rating_current": 6,
    "perc_90_energy_rating_potential": 7,
    "property_count": 186864,
    "stddev_co2_emissions_current": 3.6561042321288255,
    "stddev_co2_emissions_potential": 2.331509703354757,
    "stddev_energy_consumption_per_floor_area_m2_current": 207.45423743010042,
    "stddev_energy_consumption_per_floor_area_m2_potential": 176.63700714793498,
    "stddev_energy_efficiency_current": 17.84784505503356,
    "stddev_energy_efficiency_potential": 13.150362270572469,
    "stddev_energy_rating_current": 1.2595604099565385,
    "stddev_energy_rating_potential": 1.0337313851666705
    },
    "region_stats": {
    "avg_co2_emissions_current": 3.93767921572807,
    "avg_co2_emissions_potential": 2.102842774438744,
    "avg_energy_consumption_per_floor_area_m2_current": 240.80651466878496,
    "avg_energy_consumption_per_floor_area_m2_potential": 129.63869792003314,
    "avg_energy_efficiency_current": 64.84880906016721,
    "avg_energy_efficiency_potential": 80.39600486567078,
    "avg_energy_rating_current": "D",
    "avg_energy_rating_current_numerical": 4.331624515248685,
    "avg_energy_rating_potential": "C",
    "avg_energy_rating_potential_numerical": 5.524511073861775,
    "energy_rating_a_count_current": 7808,
    "energy_rating_a_count_potential": 168948,
    "energy_rating_b_count_current": 237717,
    "energy_rating_b_count_potential": 798656,
    "energy_rating_c_count_current": 531098,
    "energy_rating_c_count_potential": 614886,
    "energy_rating_d_count_current": 630145,
    "energy_rating_d_count_potential": 125187,
    "energy_rating_e_count_current": 254057,
    "energy_rating_e_count_potential": 30522,
    "energy_rating_f_count_current": 67229,
    "energy_rating_f_count_potential": 8343,
    "energy_rating_g_count_current": 20522,
    "energy_rating_g_count_potential": 2031,
    "max_co2_emissions_current": 888,
    "max_co2_emissions_potential": 308,
    "max_energy_consumption_per_floor_area_m2_current": 275795,
    "max_energy_consumption_per_floor_area_m2_potential": 169561,
    "max_energy_efficiency_current": 991,
    "max_energy_efficiency_potential": 993,
    "max_energy_rating_current": "G",
    "max_energy_rating_potential": "G",
    "min_co2_emissions_current": -126.6,
    "min_co2_emissions_potential": -127.1,
    "min_energy_consumption_per_floor_area_m2_current": -5574,
    "min_energy_consumption_per_floor_area_m2_potential": -5597,
    "min_energy_efficiency_current": 1,
    "min_energy_efficiency_potential": 1,
    "min_energy_rating_current": "A",
    "min_energy_rating_potential": "A",
    "mode_energy_rating_current": "D",
    "mode_energy_rating_potential": "B",
    "perc_10_co2_emissions_current": 1.3,
    "perc_10_co2_emissions_potential": 0.5,
    "perc_10_energy_consumption_per_floor_area_m2_current": 94,
    "perc_10_energy_consumption_per_floor_area_m2_potential": 32,
    "perc_10_energy_efficiency_current": 46,
    "perc_10_energy_efficiency_potential": 69,
    "perc_10_energy_rating_current": 3,
    "perc_10_energy_rating_potential": 5,
    "perc_25_co2_emissions_current": 2,
    "perc_25_co2_emissions_potential": 1,
    "perc_25_energy_consumption_per_floor_area_m2_current": 160,
    "perc_25_energy_consumption_per_floor_area_m2_potential": 70,
    "perc_25_energy_efficiency_current": 57,
    "perc_25_energy_efficiency_potential": 76,
    "perc_25_energy_rating_current": 4,
    "perc_25_energy_rating_potential": 5,
    "perc_50_co2_emissions_current": 3.2,
    "perc_50_co2_emissions_potential": 1.6,
    "perc_50_energy_consumption_per_floor_area_m2_current": 217,
    "perc_50_energy_consumption_per_floor_area_m2_potential": 106,
    "perc_50_energy_efficiency_current": 67,
    "perc_50_energy_efficiency_potential": 82,
    "perc_50_energy_rating_current": 4,
    "perc_50_energy_rating_potential": 6,
    "perc_75_co2_emissions_current": 4.9,
    "perc_75_co2_emissions_potential": 2.6,
    "perc_75_energy_consumption_per_floor_area_m2_current": 291,
    "perc_75_energy_consumption_per_floor_area_m2_potential": 172,
    "perc_75_energy_efficiency_current": 74,
    "perc_75_energy_efficiency_potential": 86,
    "perc_75_energy_rating_current": 5,
    "perc_75_energy_rating_potential": 6,
    "perc_90_co2_emissions_current": 7.1,
    "perc_90_co2_emissions_potential": 4.1,
    "perc_90_energy_consumption_per_floor_area_m2_current": 401,
    "perc_90_energy_consumption_per_floor_area_m2_potential": 252,
    "perc_90_energy_efficiency_current": 83,
    "perc_90_energy_efficiency_potential": 91,
    "perc_90_energy_rating_current": 6,
    "perc_90_energy_rating_potential": 6,
    "property_count": 1748577,
    "region_code": "E12000009",
    "stddev_co2_emissions_current": 3.319232167879945,
    "stddev_co2_emissions_potential": 2.079763863004014,
    "stddev_energy_consumption_per_floor_area_m2_current": 251.43241446462625,
    "stddev_energy_consumption_per_floor_area_m2_potential": 169.92511670452234,
    "stddev_energy_efficiency_current": 14.592982284261009,
    "stddev_energy_efficiency_potential": 10.493326257405306,
    "stddev_energy_rating_current": 1.0874109191307215,
    "stddev_energy_rating_potential": 0.8781310621987639
    },
    "country_stats": {
    "avg_co2_emissions_current": 3.784059870696524,
    "avg_co2_emissions_potential": 2.096057239399773,
    "avg_energy_consumption_per_floor_area_m2_current": 243.77680835676327,
    "avg_energy_consumption_per_floor_area_m2_potential": 136.87637229512708,
    "avg_energy_efficiency_current": 65.65711063840907,
    "avg_energy_efficiency_potential": 80.30395048791497,
    "avg_energy_rating_current": "D",
    "avg_energy_rating_current_numerical": 4.3762037385833885,
    "avg_energy_rating_potential": "C",
    "avg_energy_rating_potential_numerical": 5.515397711469298,
    "country_code": "E92000001",
    "energy_rating_a_count_current": 42605,
    "energy_rating_a_count_potential": 1170380,
    "energy_rating_b_count_current": 2146182,
    "energy_rating_b_count_potential": 8038475,
    "energy_rating_c_count_current": 5301362,
    "energy_rating_c_count_potential": 6156589,
    "energy_rating_d_count_current": 6498013,
    "energy_rating_d_count_potential": 1124070,
    "energy_rating_e_count_current": 2242626,
    "energy_rating_e_count_potential": 212190,
    "energy_rating_f_count_current": 418414,
    "energy_rating_f_count_potential": 46491,
    "energy_rating_g_count_current": 112065,
    "energy_rating_g_count_potential": 13070,
    "max_co2_emissions_current": 2353,
    "max_co2_emissions_potential": 1625.2,
    "max_energy_consumption_per_floor_area_m2_current": 312273,
    "max_energy_consumption_per_floor_area_m2_potential": 218446,
    "max_energy_efficiency_current": 1705,
    "max_energy_efficiency_potential": 1707,
    "max_energy_rating_current": "G",
    "max_energy_rating_potential": "G",
    "min_co2_emissions_current": -184,
    "min_co2_emissions_potential": -184.2,
    "min_energy_consumption_per_floor_area_m2_current": -9459,
    "min_energy_consumption_per_floor_area_m2_potential": -9467,
    "min_energy_efficiency_current": 0,
    "min_energy_efficiency_potential": 0,
    "min_energy_rating_current": "A",
    "min_energy_rating_potential": "A",
    "mode_energy_rating_current": "D",
    "mode_energy_rating_potential": "B",
    "perc_10_co2_emissions_current": 1.3,
    "perc_10_co2_emissions_potential": 0.7,
    "perc_10_energy_consumption_per_floor_area_m2_current": 101,
    "perc_10_energy_consumption_per_floor_area_m2_potential": 50,
    "perc_10_energy_efficiency_current": 49,
    "perc_10_energy_efficiency_potential": 70,
    "perc_10_energy_rating_current": 3,
    "perc_10_energy_rating_potential": 5,
    "perc_25_co2_emissions_current": 2.1,
    "perc_25_co2_emissions_potential": 1.1,
    "perc_25_energy_consumption_per_floor_area_m2_current": 171,
    "perc_25_energy_consumption_per_floor_area_m2_potential": 83,
    "perc_25_energy_efficiency_current": 59,
    "perc_25_energy_efficiency_potential": 76,
    "perc_25_energy_rating_current": 4,
    "perc_25_energy_rating_potential": 5,
    "perc_50_co2_emissions_current": 3.2,
    "perc_50_co2_emissions_potential": 1.7,
    "perc_50_energy_consumption_per_floor_area_m2_current": 229,
    "perc_50_energy_consumption_per_floor_area_m2_potential": 118,
    "perc_50_energy_efficiency_current": 67,
    "perc_50_energy_efficiency_potential": 81,
    "perc_50_energy_rating_current": 4,
    "perc_50_energy_rating_potential": 6,
    "perc_75_co2_emissions_current": 4.7,
    "perc_75_co2_emissions_potential": 2.6,
    "perc_75_energy_consumption_per_floor_area_m2_current": 297,
    "perc_75_energy_consumption_per_floor_area_m2_potential": 173,
    "perc_75_energy_efficiency_current": 74,
    "perc_75_energy_efficiency_potential": 86,
    "perc_75_energy_rating_current": 5,
    "perc_75_energy_rating_potential": 6,
    "perc_90_co2_emissions_current": 6.6,
    "perc_90_co2_emissions_potential": 3.8,
    "perc_90_energy_consumption_per_floor_area_m2_current": 383,
    "perc_90_energy_consumption_per_floor_area_m2_potential": 247,
    "perc_90_energy_efficiency_current": 82,
    "perc_90_energy_efficiency_potential": 89,
    "perc_90_energy_rating_current": 6,
    "perc_90_energy_rating_potential": 6,
    "property_count": 16761322,
    "stddev_co2_emissions_current": 2.993379358768125,
    "stddev_co2_emissions_potential": 1.9250978906255374,
    "stddev_energy_consumption_per_floor_area_m2_current": 161.29452437134304,
    "stddev_energy_consumption_per_floor_area_m2_potential": 116.78000577816358,
    "stddev_energy_efficiency_current": 13.084564320809243,
    "stddev_energy_efficiency_potential": 9.267423775360843,
    "stddev_energy_rating_current": 1.0018401551590164,
    "stddev_energy_rating_potential": 0.8052831934464196
    },
    "property_type_stats": {
    "local_authority_stats": {
        "avg_co2_emissions_current": 4.8493564189757805,
        "avg_co2_emissions_potential": 2.3047675162452563,
        "avg_energy_consumption_per_floor_area_m2_current": 254.9183697518602,
        "avg_energy_consumption_per_floor_area_m2_potential": 113.46383387065548,
        "avg_energy_efficiency_current": 60.37541665263796,
        "avg_energy_efficiency_potential": 81.28880340729269,
        "avg_energy_rating_current": "D",
        "avg_energy_rating_current_numerical": 4.0587606477896365,
        "avg_energy_rating_potential": "C",
        "avg_energy_rating_potential_numerical": 5.612462543348709,
        "energy_rating_a_count_current": 631,
        "energy_rating_a_count_potential": 20167,
        "energy_rating_b_count_current": 16376,
        "energy_rating_b_count_potential": 55266,
        "energy_rating_c_count_current": 28575,
        "energy_rating_c_count_potential": 28577,
        "energy_rating_d_count_current": 35889,
        "energy_rating_d_count_potential": 9186,
        "energy_rating_e_count_current": 22635,
        "energy_rating_e_count_potential": 3627,
        "energy_rating_f_count_current": 10490,
        "energy_rating_f_count_potential": 1527,
        "energy_rating_g_count_current": 4208,
        "energy_rating_g_count_potential": 454,
        "local_authority_district_code": "E06000052",
        "max_co2_emissions_current": 180,
        "max_co2_emissions_potential": 180,
        "max_energy_consumption_per_floor_area_m2_current": 7097,
        "max_energy_consumption_per_floor_area_m2_potential": 2511,
        "max_energy_efficiency_current": 235,
        "max_energy_efficiency_potential": 256,
        "max_energy_rating_current": "G",
        "max_energy_rating_potential": "G",
        "min_co2_emissions_current": -18.1,
        "min_co2_emissions_potential": -20,
        "min_energy_consumption_per_floor_area_m2_current": -626,
        "min_energy_consumption_per_floor_area_m2_potential": -661,
        "min_energy_efficiency_current": 1,
        "min_energy_efficiency_potential": 1,
        "min_energy_rating_current": "A",
        "min_energy_rating_potential": "A",
        "mode_energy_rating_current": "D",
        "mode_energy_rating_potential": "B",
        "perc_10_co2_emissions_current": 1.5,
        "perc_10_co2_emissions_potential": 0.2,
        "perc_10_energy_consumption_per_floor_area_m2_current": 88,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 6,
        "perc_10_energy_efficiency_current": 34,
        "perc_10_energy_efficiency_potential": 66,
        "perc_10_energy_rating_current": 2,
        "perc_10_energy_rating_potential": 4,
        "perc_25_co2_emissions_current": 2.3,
        "perc_25_co2_emissions_potential": 0.8,
        "perc_25_energy_consumption_per_floor_area_m2_current": 148,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 49,
        "perc_25_energy_efficiency_current": 50,
        "perc_25_energy_efficiency_potential": 77,
        "perc_25_energy_rating_current": 3,
        "perc_25_energy_rating_potential": 5,
        "perc_50_co2_emissions_current": 3.8,
        "perc_50_co2_emissions_potential": 1.7,
        "perc_50_energy_consumption_per_floor_area_m2_current": 214,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 86,
        "perc_50_energy_efficiency_current": 64,
        "perc_50_energy_efficiency_potential": 84,
        "perc_50_energy_rating_current": 4,
        "perc_50_energy_rating_potential": 6,
        "perc_75_co2_emissions_current": 6.1,
        "perc_75_co2_emissions_potential": 3.1,
        "perc_75_energy_consumption_per_floor_area_m2_current": 318,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 152,
        "perc_75_energy_efficiency_current": 73,
        "perc_75_energy_efficiency_potential": 88,
        "perc_75_energy_rating_current": 5,
        "perc_75_energy_rating_potential": 6,
        "perc_90_co2_emissions_current": 9.2,
        "perc_90_co2_emissions_potential": 5,
        "perc_90_energy_consumption_per_floor_area_m2_current": 466,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 237,
        "perc_90_energy_efficiency_current": 83,
        "perc_90_energy_efficiency_potential": 95,
        "perc_90_energy_rating_current": 6,
        "perc_90_energy_rating_potential": 7,
        "property_count": 118804,
        "property_type": "House",
        "stddev_co2_emissions_current": 4.096310132057178,
        "stddev_co2_emissions_potential": 2.6493550721351657,
        "stddev_energy_consumption_per_floor_area_m2_current": 165.05914057938773,
        "stddev_energy_consumption_per_floor_area_m2_potential": 120.80609113269239,
        "stddev_energy_efficiency_current": 18.473741762777077,
        "stddev_energy_efficiency_potential": 13.698153230268709,
        "stddev_energy_rating_current": 1.3033552134402502,
        "stddev_energy_rating_potential": 1.0702077897149156
    },
    "country_stats": {
        "avg_co2_emissions_current": 4.431022971127694,
        "avg_co2_emissions_potential": 2.2546156123208494,
        "avg_energy_consumption_per_floor_area_m2_current": 241.028093039019,
        "avg_energy_consumption_per_floor_area_m2_potential": 115.3937987928635,
        "avg_energy_efficiency_current": 64.10351447730369,
        "avg_energy_efficiency_potential": 81.83620615539205,
        "avg_energy_rating_current": "D",
        "avg_energy_rating_current_numerical": 4.265032683752312,
        "avg_energy_rating_potential": "C",
        "avg_energy_rating_potential_numerical": 5.668270181080001,
        "country_code": "E92000001",
        "energy_rating_a_count_current": 30842,
        "energy_rating_a_count_potential": 1051567,
        "energy_rating_b_count_current": 1196014,
        "energy_rating_b_count_potential": 5847906,
        "energy_rating_c_count_current": 2739637,
        "energy_rating_c_count_potential": 2765742,
        "energy_rating_d_count_current": 4466743,
        "energy_rating_d_count_potential": 576863,
        "energy_rating_e_count_current": 1596036,
        "energy_rating_e_count_potential": 138512,
        "energy_rating_f_count_current": 311232,
        "energy_rating_f_count_potential": 31801,
        "energy_rating_g_count_current": 81150,
        "energy_rating_g_count_potential": 9261,
        "max_co2_emissions_current": 888,
        "max_co2_emissions_potential": 348,
        "max_energy_consumption_per_floor_area_m2_current": 54443,
        "max_energy_consumption_per_floor_area_m2_potential": 48964,
        "max_energy_efficiency_current": 349,
        "max_energy_efficiency_potential": 362,
        "max_energy_rating_current": "G",
        "max_energy_rating_potential": "G",
        "min_co2_emissions_current": -112.1,
        "min_co2_emissions_potential": -112.7,
        "min_energy_consumption_per_floor_area_m2_current": -3214,
        "min_energy_consumption_per_floor_area_m2_potential": -3230,
        "min_energy_efficiency_current": 0,
        "min_energy_efficiency_potential": 0,
        "min_energy_rating_current": "A",
        "min_energy_rating_potential": "A",
        "mode_energy_rating_current": "D",
        "mode_energy_rating_potential": "B",
        "perc_10_co2_emissions_current": 1.8,
        "perc_10_co2_emissions_potential": 0.6,
        "perc_10_energy_consumption_per_floor_area_m2_current": 100,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 38,
        "perc_10_energy_efficiency_current": 48,
        "perc_10_energy_efficiency_potential": 71,
        "perc_10_energy_rating_current": 3,
        "perc_10_energy_rating_potential": 5,
        "perc_25_co2_emissions_current": 2.7,
        "perc_25_co2_emissions_potential": 1.1,
        "perc_25_energy_consumption_per_floor_area_m2_current": 177,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 74,
        "perc_25_energy_efficiency_current": 57,
        "perc_25_energy_efficiency_potential": 78,
        "perc_25_energy_rating_current": 4,
        "perc_25_energy_rating_potential": 5,
        "perc_50_co2_emissions_current": 3.8,
        "perc_50_co2_emissions_potential": 1.8,
        "perc_50_energy_consumption_per_floor_area_m2_current": 230,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 103,
        "perc_50_energy_efficiency_current": 65,
        "perc_50_energy_efficiency_potential": 83,
        "perc_50_energy_rating_current": 4,
        "perc_50_energy_rating_potential": 6,
        "perc_75_co2_emissions_current": 5.3,
        "perc_75_co2_emissions_potential": 2.8,
        "perc_75_energy_consumption_per_floor_area_m2_current": 293,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 143,
        "perc_75_energy_efficiency_current": 72,
        "perc_75_energy_efficiency_potential": 87,
        "perc_75_energy_rating_current": 5,
        "perc_75_energy_rating_potential": 6,
        "perc_90_co2_emissions_current": 7.5,
        "perc_90_co2_emissions_potential": 4.3,
        "perc_90_energy_consumption_per_floor_area_m2_current": 368,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 204,
        "perc_90_energy_efficiency_current": 82,
        "perc_90_energy_efficiency_potential": 92,
        "perc_90_energy_rating_current": 6,
        "perc_90_energy_rating_potential": 7,
        "property_count": 10421692,
        "property_type": "House",
        "stddev_co2_emissions_current": 3.2089927124779645,
        "stddev_co2_emissions_potential": 2.110390660138771,
        "stddev_energy_consumption_per_floor_area_m2_current": 112.11929951409662,
        "stddev_energy_consumption_per_floor_area_m2_potential": 79.1346214882568,
        "stddev_energy_efficiency_current": 13.216160196304907,
        "stddev_energy_efficiency_potential": 9.494427680143788,
        "stddev_energy_rating_current": 1.0104740592670562,
        "stddev_energy_rating_potential": 0.8175831605524775
    }
    }
}
}
{
    "title": "EPCs (Energy Performance Certificates)",
    "description": "A collection of EPCs and other relevant data for a specific property",
    "type": "object",
    "properties": {
        "epc_country": {
            "description": "The name of the country that the EPC was issued in",
            "type": ["string", "null"],
            "enum": ["England", "Wales", "Scotland", null]
        },
        "epcs": {
            "name": "Raw EPCs",
            "description": "A collection of raw unmodified EPCs",
            "type": "array",
            "items": {
                "anyOf": [
                    {
                        "name": "Raw EPC (England & Wales)",
                        "description": "A raw unmodified English or Welsh EPC",
                        "type": "object",
                        "properties": {
                            "lmk_key": {
                                "type": ["string", "null"]
                            },
                            "address1": {
                                "type": ["string", "null"]
                            },
                            "address2": {
                                "type": ["string", "null"]
                            },
                            "address3": {
                                "type": ["string", "null"]
                            },
                            "postcode": {
                                "type": ["string", "null"]
                            },
                            "building_reference_number": {
                                "type": ["string", "null"]
                            },
                            "current_energy_rating": {
                                "type": ["string", "null"]
                            },
                            "potential_energy_rating": {
                                "type": ["string", "null"]
                            },
                            "current_energy_efficiency": {
                                "type": ["string", "null"]
                            },
                            "potential_energy_efficiency": {
                                "type": ["string", "null"]
                            },
                            "property_type": {
                                "type": ["string", "null"]
                            },
                            "built_form": {
                                "type": ["string", "null"]
                            },
                            "inspection_date": {
                                "type": ["string", "null"]
                            },
                            "local_authority": {
                                "type": ["string", "null"]
                            },
                            "constituency": {
                                "type": ["string", "null"]
                            },
                            "county": {
                                "type": ["string", "null"]
                            },
                            "lodgement_date": {
                                "type": ["string", "null"]
                            },
                            "transaction_type": {
                                "type": ["string", "null"]
                            },
                            "environment_impact_current": {
                                "type": ["string", "null"]
                            },
                            "environment_impact_potential": {
                                "type": ["string", "null"]
                            },
                            "energy_consumption_current": {
                                "type": ["string", "null"]
                            },
                            "energy_consumption_potential": {
                                "type": ["string", "null"]
                            },
                            "co2_emissions_current": {
                                "type": ["string", "null"]
                            },
                            "co2_emiss_curr_per_floor_area": {
                                "type": ["string", "null"]
                            },
                            "co2_emissions_potential": {
                                "type": ["string", "null"]
                            },
                            "lighting_cost_current": {
                                "type": ["string", "null"]
                            },
                            "lighting_cost_potential": {
                                "type": ["string", "null"]
                            },
                            "heating_cost_current": {
                                "type": ["string", "null"]
                            },
                            "heating_cost_potential": {
                                "type": ["string", "null"]
                            },
                            "hot_water_cost_current": {
                                "type": ["string", "null"]
                            },
                            "hot_water_cost_potential": {
                                "type": ["string", "null"]
                            },
                            "total_floor_area": {
                                "type": ["string", "null"]
                            },
                            "energy_tariff": {
                                "type": ["string", "null"]
                            },
                            "mains_gas_flag": {
                                "type": ["string", "null"]
                            },
                            "floor_level": {
                                "type": ["string", "null"]
                            },
                            "flat_top_storey": {
                                "type": ["string", "null"]
                            },
                            "flat_storey_count": {
                                "type": ["string", "null"]
                            },
                            "main_heating_controls": {
                                "type": ["string", "null"]
                            },
                            "multi_glaze_proportion": {
                                "type": ["string", "null"]
                            },
                            "glazed_type": {
                                "type": ["string", "null"]
                            },
                            "glazed_area": {
                                "type": ["string", "null"]
                            },
                            "extension_count": {
                                "type": ["string", "null"]
                            },
                            "number_habitable_rooms": {
                                "type": ["string", "null"]
                            },
                            "number_heated_rooms": {
                                "type": ["string", "null"]
                            },
                            "low_energy_lighting": {
                                "type": ["string", "null"]
                            },
                            "number_open_fireplaces": {
                                "type": ["string", "null"]
                            },
                            "hotwater_description": {
                                "type": ["string", "null"]
                            },
                            "hot_water_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "hot_water_env_eff": {
                                "type": ["string", "null"]
                            },
                            "floor_description": {
                                "type": ["string", "null"]
                            },
                            "floor_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "floor_env_eff": {
                                "type": ["string", "null"]
                            },
                            "windows_description": {
                                "type": ["string", "null"]
                            },
                            "windows_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "windows_env_eff": {
                                "type": ["string", "null"]
                            },
                            "walls_description": {
                                "type": ["string", "null"]
                            },
                            "walls_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "walls_env_eff": {
                                "type": ["string", "null"]
                            },
                            "secondheat_description": {
                                "type": ["string", "null"]
                            },
                            "sheating_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "sheating_env_eff": {
                                "type": ["string", "null"]
                            },
                            "roof_description": {
                                "type": ["string", "null"]
                            },
                            "roof_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "roof_env_eff": {
                                "type": ["string", "null"]
                            },
                            "mainheat_description": {
                                "type": ["string", "null"]
                            },
                            "mainheat_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "mainheat_env_eff": {
                                "type": ["string", "null"]
                            },
                            "mainheatcont_description": {
                                "type": ["string", "null"]
                            },
                            "mainheatc_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "mainheatc_env_eff": {
                                "type": ["string", "null"]
                            },
                            "lighting_description": {
                                "type": ["string", "null"]
                            },
                            "lighting_energy_eff": {
                                "type": ["string", "null"]
                            },
                            "lighting_env_eff": {
                                "type": ["string", "null"]
                            },
                            "main_fuel": {
                                "type": ["string", "null"]
                            },
                            "wind_turbine_count": {
                                "type": ["string", "null"]
                            },
                            "heat_loss_corridor": {
                                "type": ["string", "null"]
                            },
                            "unheated_corridor_length": {
                                "type": ["string", "null"]
                            },
                            "floor_height": {
                                "type": ["string", "null"]
                            },
                            "photo_supply": {
                                "type": ["string", "null"]
                            },
                            "solar_water_heating_flag": {
                                "type": ["string", "null"]
                            },
                            "mechanical_ventilation": {
                                "type": ["string", "null"]
                            },
                            "address": {
                                "type": ["string", "null"]
                            },
                            "local_authority_label": {
                                "type": ["string", "null"]
                            },
                            "constituency_label": {
                                "type": ["string", "null"]
                            },
                            "posttown": {
                                "type": ["string", "null"]
                            },
                            "construction_age_band": {
                                "type": ["string", "null"]
                            },
                            "lodgement_datetime": {
                                "type": ["string", "null"]
                            },
                            "tenure": {
                                "type": ["string", "null"]
                            },
                            "fixed_lighting_outlets_count": {
                                "type": ["string", "null"]
                            },
                            "low_energy_fixed_light_count": {
                                "type": ["string", "null"]
                            },
                            "uprn": {
                                "type": ["string", "null"]
                            },
                            "uprn_source": {
                                "type": ["string", "null"]
                            }
                        }
                    },
                    {
                        "name": "Raw EPC (Scotland)",
                        "description": "A raw unmodified Scottish EPC",
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "integer"
                            },
                            "property_uprn": {
                                "type": "string"
                            },
                            "osg_uprn": {
                                "type": "string"
                            },
                            "address1": {
                                "type": "string"
                            },
                            "address2": {
                                "type": "string"
                            },
                            "post_town": {
                                "type": "string"
                            },
                            "postcode": {
                                "type": "string"
                            },
                            "date_of_assessment": {
                                "type": "string"
                            },
                            "type_of_assessment": {
                                "type": "string"
                            },
                            "date_of_certificate": {
                                "type": "string"
                            },
                            "primary_energy_indicator_kwh_m2_year": {
                                "type": "string"
                            },
                            "total_floor_area_m2": {
                                "type": "string"
                            },
                            "total_current_energy_costs_over_3_years": {
                                "type": "string"
                            },
                            "potential_future_savings_over_3_years": {
                                "type": "string"
                            },
                            "current_energy_efficiency_rating": {
                                "type": "string"
                            },
                            "current_energy_efficiency_rating_band": {
                                "type": "string"
                            },
                            "potential_energy_efficiency_rating": {
                                "type": "string"
                            },
                            "potential_energy_efficiency_rating_band": {
                                "type": "string"
                            },
                            "current_environmental_impact_rating": {
                                "type": "string"
                            },
                            "current_environmental_impact_rating_band": {
                                "type": "string"
                            },
                            "potential_environmental_impact_rating": {
                                "type": "string"
                            },
                            "potential_environmental_impact_rating_band": {
                                "type": "string"
                            },
                            "co2_emissions_current_per_floor_area_kg_co2_m2_yr": {
                                "type": "string"
                            },
                            "improvements": {
                                "type": "string"
                            },
                            "wall_description": {
                                "type": "string"
                            },
                            "wall_energy_eff": {
                                "type": "string"
                            },
                            "wall_env_eff": {
                                "type": "string"
                            },
                            "roof_description": {
                                "type": "string"
                            },
                            "roof_energy_eff": {
                                "type": "string"
                            },
                            "roof_env_eff": {
                                "type": "string"
                            },
                            "floor_description": {
                                "type": "string"
                            },
                            "floor_energy_eff": {
                                "type": "string"
                            },
                            "floor_env_eff": {
                                "type": "string"
                            },
                            "windows_description": {
                                "type": "string"
                            },
                            "windows_energy_eff": {
                                "type": "string"
                            },
                            "windows_env_eff": {
                                "type": "string"
                            },
                            "mainheat_description": {
                                "type": "string"
                            },
                            "mainheat_energy_eff": {
                                "type": "string"
                            },
                            "mainheat_env_eff": {
                                "type": "string"
                            },
                            "mainheatcont_description": {
                                "type": "string"
                            },
                            "mainheatc_energy_eff": {
                                "type": "string"
                            },
                            "mainheatc_env_eff": {
                                "type": "string"
                            },
                            "secondheat_description": {
                                "type": "string"
                            },
                            "sheating_energy_eff": {
                                "type": "string"
                            },
                            "sheating_env_eff": {
                                "type": "string"
                            },
                            "hotwater_description": {
                                "type": "string"
                            },
                            "hot_water_energy_eff": {
                                "type": "string"
                            },
                            "hot_water_env_eff": {
                                "type": "string"
                            },
                            "lighting_description": {
                                "type": "string"
                            },
                            "lighting_energy_eff": {
                                "type": "string"
                            },
                            "lighting_env_eff": {
                                "type": "string"
                            },
                            "air_tightness_description": {
                                "type": "string"
                            },
                            "air_tightness_energy_eff": {
                                "type": "string"
                            },
                            "air_tightness_env_eff": {
                                "type": "string"
                            },
                            "current_emissions_t_co2_yr": {
                                "type": "string"
                            },
                            "potential_reduction_in_emissions_t_co2_yr": {
                                "type": "string"
                            },
                            "current_heating_costs_over_3_years": {
                                "type": "string"
                            },
                            "potential_heating_costs_over_3_years": {
                                "type": "string"
                            },
                            "current_hot_water_costs_over_3_years": {
                                "type": "string"
                            },
                            "potential_hot_water_costs_over_3_years": {
                                "type": "string"
                            },
                            "current_lighting_costs_over_3_years": {
                                "type": "string"
                            },
                            "potential_lighting_costs_over_3_years": {
                                "type": "string"
                            },
                            "alternative_measures_2": {
                                "type": "string"
                            },
                            "lzc_energy_source": {
                                "type": "string"
                            },
                            "space_heating": {
                                "type": "string"
                            },
                            "water_heating": {
                                "type": "string"
                            },
                            "impact_of_loft_insulation": {
                                "type": "string"
                            },
                            "impact_of_cavity_wall_insulation": {
                                "type": "string"
                            },
                            "impact_of_solid_wall_insulation": {
                                "type": "string"
                            },
                            "addendum_text": {
                                "type": "string"
                            },
                            "part_1_construction_age_band": {
                                "type": "string"
                            },
                            "part_1_floor_0_room_height": {
                                "type": "string"
                            },
                            "data_zone": {
                                "type": "string"
                            },
                            "energy_consumption_potential": {
                                "type": "string"
                            },
                            "extensions_count": {
                                "type": "string"
                            },
                            "fixed_lighting_outlets_count": {
                                "type": "string"
                            },
                            "low_energy_lighting_outlets_count": {
                                "type": "string"
                            },
                            "low_energy_lighting_percentage": {
                                "type": "string"
                            },
                            "flat_level": {
                                "type": "string"
                            },
                            "flat_location": {
                                "type": "string"
                            },
                            "glazed_area": {
                                "type": "string"
                            },
                            "habitable_room_count": {
                                "type": "string"
                            },
                            "heat_loss_corridor": {
                                "type": "string"
                            },
                            "heated_room_count": {
                                "type": "string"
                            },
                            "local_authority": {
                                "type": "string"
                            },
                            "main_gas": {
                                "type": "string"
                            },
                            "main_heating_1_category": {
                                "type": "string"
                            },
                            "main_heating_1_fuel_type": {
                                "type": "string"
                            },
                            "main_heating_1_control": {
                                "type": "string"
                            },
                            "mechanical_ventilation": {
                                "type": "string"
                            },
                            "meter_type": {
                                "type": "string"
                            },
                            "multiple_glazed_proportion": {
                                "type": "string"
                            },
                            "multiple_glazing_type": {
                                "type": "string"
                            },
                            "open_fireplaces_count": {
                                "type": "string"
                            },
                            "photovoltaic_supply": {
                                "type": "string"
                            },
                            "solar_water_heating": {
                                "type": "string"
                            },
                            "tenure": {
                                "type": "string"
                            },
                            "transaction_type": {
                                "type": "string"
                            },
                            "unheated_corridor_length": {
                                "type": "string"
                            },
                            "ward_code": {
                                "type": "string"
                            },
                            "ward_name": {
                                "type": "string"
                            },
                            "wind_turbines_count": {
                                "type": "string"
                            },
                            "built_form": {
                                "type": "string"
                            },
                            "property_type": {
                                "type": "string"
                            },
                            "data_zone_2011": {
                                "type": "string"
                            }
                        }
                    }
                ]
            }
        },
        "epcs_enhanced": {
            "name": "Enhanced EPCs",
            "description": "A collection of enhanced EPCs",
            "type": "array",
            "items": {
                "anyOf": [
                    {
                        "name": "Enhanced EPC (England & Wales)",
                        "description": "An enhanced energy performance certificate for an English or Welsh property",
                        "type": "object",
                        "properties": {
                            "address": {
                                "description": "The full address of the property",
                                "type": ["null", "string"]
                            },
                            "address1": {
                                "description": "Address line 1 of the property",
                                "type": ["null", "string"]
                            },
                            "address2": {
                                "description": "Address line 2 of the property",
                                "type": ["null", "string"]
                            },
                            "address3": {
                                "description": "Address line 3 of the property",
                                "type": ["null", "string"]
                            },
                            "building_reference_number": {
                                "description": "A unique identifier for the parent property",
                                "type": ["null", "string"]
                            },
                            "built_form": {
                                "description": "The built form of the property (e.g. Detached)",
                                "type": ["null", "string"]
                            },
                            "co2_emissions_current": {
                                "description": "CO2 emmissions in tonnes/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_current_per_floor_area_m2_current": {
                                "description": "CO2 emmissions per unit of floor area in kg/m^2/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_potential": {
                                "description": "Potential CO2 emmissions in tonnes/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_reduction_potential": {
                                "description": "The average potential CO2 emissions reduction in tonnes/year",
                                "type": ["number", "null"]
                            },
                            "constituency": {
                                "description": "The idenfifier of the consituency in which the property resides",
                                "type": ["null", "string"]
                            },
                            "constituency_label": {
                                "description": "The name of the consituency in which the property resides",
                                "type": ["null", "string"]
                            },
                            "construction_age_band": {
                                "description": "The age band in which the property was built (e.g. 1996-2002)",
                                "type": ["null", "string"]
                            },
                            "county": {
                                "description": "The name of the county in which the property resides",
                                "type": ["null", "string"]
                            },
                            "energy_consumption_current": {
                                "description": "An integer representation of the current energy consumption of the property",
                                "type": ["null", "number"]
                            },
                            "energy_consumption_potential": {
                                "description": "An integer representation of the potential energy consumption of the property",
                                "type": ["null", "number"]
                            },
                            "energy_efficiency_current": {
                                "description": "An integer representation of the current energy efficiency of the property",
                                "type": ["null", "number"]
                            },
                            "energy_efficiency_potential": {
                                "description": "An integer representation of the potential energy efficiency of the property",
                                "type": ["null", "number"]
                            },
                            "energy_rating_current": {
                                "description": "The current energy rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "energy_rating_potential": {
                                "description": "The potential energy rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "energy_tariff": {
                                "description": "The energy tariff of the property (e.g. Single)",
                                "type": ["null", "string"]
                            },
                            "environmental_impact_current": {
                                "description": "An integer representation of the current environmental impact of the property",
                                "type": ["null", "number"]
                            },
                            "environmental_impact_potential": {
                                "description": "An integer representation of the potential environmental impact of the property",
                                "type": ["null", "number"]
                            },
                            "extension_count": {
                                "description": "The number of extensions that have been added to the property",
                                "type": ["integer", "null"]
                            },
                            "fixed_lighting_outlets_count": {
                                "description": "The number of fixed lighting outlets",
                                "type": ["integer", "null"]
                            },
                            "flat_storey_count": {
                                "description": "The number of storeys in the block of flats in which this property resides, if it is a flat",
                                "type": ["integer", "null"]
                            },
                            "floor_description": {
                                "description": "A text description of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_height": {
                                "description": "The average height of the floor of the property in metres",
                                "type": ["null", "number"]
                            },
                            "floor_level": {
                                "description": "A description of the floor level of the property, if it is a flat",
                                "type": ["null", "string"]
                            },
                            "glazed_area": {
                                "description": "A text description of how much of the property's habitable area is glazed",
                                "type": ["null", "string"]
                            },
                            "glazed_type": {
                                "description": "A description of the property's window glazing (e.g. Double)",
                                "type": ["null", "string"]
                            },
                            "has_mains_gas": {
                                "description": "true if the property has mains gas",
                                "type": ["null", "boolean"]
                            },
                            "has_solar_water_heating": {
                                "description": "true if the property has solar water heating",
                                "type": ["null", "boolean"]
                            },
                            "heat_loss_corridor": {
                                "description": "A text description of if the property has an unheated corridor through which heat is lost",
                                "type": ["null", "string"]
                            },
                            "heating_cost_current": {
                                "description": "Estimated annual heating cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "heating_cost_potential": {
                                "description": "Potential annual heating cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_cost_current": {
                                "description": "Estimated annual hot water cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_cost_potential": {
                                "description": "Potential annual hot water cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_description": {
                                "description": "A text description of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "hot_water_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "hot_water_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "inspection_date": {
                                "description": "The date that the property was inspected",
                                "type": ["null", "string"]
                            },
                            "is_flat_top_storey": {
                                "description": "A description of if the flat is top storey, if it is a flat",
                                "type": ["null", "string"]
                            },
                            "lighting_cost_current": {
                                "description": "Estimated annual lighting cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "lighting_cost_potential": {
                                "description": "Potential annual lighting cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "lighting_description": {
                                "description": "A text description of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "lighting_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "lighting_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "lmk_key": {
                                "description": "A unique identifier for the EPC",
                                "type": "string"
                            },
                            "local_authority": {
                                "description": "The idenfifier of the local authority district in which the property resides",
                                "type": ["null", "string"]
                            },
                            "local_authority_label": {
                                "description": "The name of the local authority district in which the property resides",
                                "type": ["null", "string"]
                            },
                            "lodgement_date": {
                                "description": "The date that the certificate was lodged",
                                "type": ["null", "string"]
                            },
                            "lodgement_datetime": {
                                "description": "The date and time that the certificate was lodged",
                                "type": ["null", "string"]
                            },
                            "low_energy_fixed_light_count": {
                                "description": "The number of low-energy fixed lighting outlets",
                                "type": ["integer", "null"]
                            },
                            "low_energy_lighting_percentage": {
                                "description": "The proportion of lighting that is low-energy in the property",
                                "maximum": 100,
                                "minimum": 0,
                                "type": ["integer", "null"]
                            },
                            "main_fuel": {
                                "description": "A description of the main fuel type used by the property",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls": {
                                "description": "The property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_description": {
                                "description": "A text description of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_description": {
                                "description": "A text description of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "main_heating_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "main_heating_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "mechanical_ventilation": {
                                "description": "A text description of the property's mechanical ventilation means (e.g. Natural)",
                                "type": ["null", "string"]
                            },
                            "multi_glaze_percentage": {
                                "description": "The proportion of double or triple-glazed windows in the property",
                                "maximum": 100,
                                "minimum": 0,
                                "type": ["integer", "null"]
                            },
                            "habitable_room_count": {
                                "description": "The number of habitable rooms in the property",
                                "type": ["integer", "null"]
                            },
                            "heated_room_count": {
                                "description": "The number of heated rooms in the property",
                                "type": ["integer", "null"]
                            },
                            "open_fireplace_count": {
                                "description": "The number of open fireplaces in the property",
                                "type": ["integer", "null"]
                            },
                            "postcode": {
                                "description": "The postcode of the property",
                                "type": ["null", "string"]
                            },
                            "post_town": {
                                "description": "The post town of the property",
                                "type": ["null", "string"]
                            },
                            "property_type": {
                                "description": "The type of the property (e.g. House)",
                                "type": ["null", "string"]
                            },
                            "roof_description": {
                                "description": "A text description of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_photovoltaic_supply": {
                                "description": "The proportion of roof space that is covered by photovoltaic panels",
                                "maximum": 100,
                                "minimum": 0,
                                "type": ["integer", "null"]
                            },
                            "second_heating_description": {
                                "description": "A text description of the property's secondary heating system",
                                "type": ["null", "string"]
                            },
                            "tenure": {
                                "description": "The tenure of the property (e.g. Owner-Occupied)",
                                "type": ["null", "string"]
                            },
                            "total_floor_area": {
                                "description": "The total floor area of the property in m^2",
                                "type": ["null", "number"]
                            },
                            "transaction_type": {
                                "description": "The type of transaction that the property was sold under (e.g. Marketed Sale)",
                                "type": ["null", "string"]
                            },
                            "unheated_corridor_length": {
                                "description": "The length of the unheated corridor, if it exists",
                                "type": ["null", "number"]
                            },
                            "uprn": {
                                "description": "The UPRN of the parent property",
                                "type": "integer"
                            },
                            "uprn_source": {
                                "description": "A description of how the UPRN was sourced for the EPC (e.g. Address Matched)",
                                "type": ["null", "string"]
                            },
                            "walls_description": {
                                "description": "A text description of the property's walls",
                                "type": ["null", "string"]
                            },
                            "walls_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's walls",
                                "type": ["null", "string"]
                            },
                            "walls_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's walls",
                                "type": ["null", "string"]
                            },
                            "wind_turbine_count": {
                                "description": "The number of wind turbines on the property",
                                "type": ["integer", "null"]
                            },
                            "windows_description": {
                                "description": "A text description of the property's windows",
                                "type": ["null", "string"]
                            },
                            "windows_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's windows",
                                "type": ["null", "string"]
                            },
                            "windows_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's windows",
                                "type": ["null", "string"]
                            }
                        }
                    },
                    {
                        "name": "Enhanced EPC (Scotland)",
                        "description": "An enhanced energy performance certificate for a Scottish property",
                        "type": "object",
                        "properties": {
                            "address1": {
                                "description": "Address line 1 of the property",
                                "type": ["null", "string"]
                            },
                            "address2": {
                                "description": "Address line 2 of the property",
                                "type": ["null", "string"]
                            },
                            "air_tightness_description": {
                                "description": "A text description of the property's air tightness",
                                "type": ["null", "string"]
                            },
                            "air_tightness_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's air tightness",
                                "type": ["null", "string"]
                            },
                            "air_tightness_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's air tightness",
                                "type": ["null", "string"]
                            },
                            "alternative_improvements": {
                                "description": "A text description of alternative improvements that could be made to the property",
                                "type": ["null", "string"]
                            },
                            "building_reference_number": {
                                "description": "A unique identifier for the parent property",
                                "type": ["null", "string"]
                            },
                            "built_form": {
                                "description": "The built form of the property (e.g. Detached)",
                                "type": ["null", "string"]
                            },
                            "co2_emissions_current": {
                                "description": "CO2 emmissions in tonnes/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_per_floor_area_m2_current": {
                                "description": "CO2 emmissions per unit of floor area in kg/m^2/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_potential": {
                                "description": "Potential CO2 emmissions  in tonnes/year",
                                "type": ["null", "number"]
                            },
                            "co2_emissions_reduction_potential": {
                                "description": "The average potential CO2 emissions reduction in tonnes/year",
                                "type": ["number", "null"]
                            },
                            "constituency": {
                                "description": "The idenfifier of the consituency in which the property resides",
                                "type": ["null", "string"]
                            },
                            "constituency_label": {
                                "description": "The name of the consituency in which the property resides",
                                "type": ["null", "string"]
                            },
                            "construction_age_band": {
                                "description": "The age band in which the property was built (e.g. 1996-2002)",
                                "type": ["null", "string"]
                            },
                            "data_zone": {
                                "description": "A text description of the property's data zone",
                                "type": ["null", "string"]
                            },
                            "data_zone_2011": {
                                "description": "A text description of the property's data zone (2011)",
                                "type": ["null", "string"]
                            },
                            "energy_consumption_current": {
                                "description": "An integer representation of the current energy consumption of the property",
                                "type": ["null", "number"]
                            },
                            "energy_consumption_potential": {
                                "description": "An integer representation of the potential energy consumption of the property",
                                "type": ["null", "number"]
                            },
                            "energy_efficiency_current": {
                                "description": "An integer representation of the current energy efficiency of the property",
                                "type": ["null", "number"]
                            },
                            "energy_efficiency_potential": {
                                "description": "An integer representation of the potential energy efficiency of the property",
                                "type": ["null", "number"]
                            },
                            "energy_rating_current": {
                                "description": "The current energy rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "energy_rating_potential": {
                                "description": "The potential energy rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "energy_tariff": {
                                "description": "The energy tariff of the property (e.g. Single)",
                                "type": ["null", "string"]
                            },
                            "environmental_impact_current": {
                                "description": "An integer representation of the current environmental impact of the property",
                                "type": ["null", "number"]
                            },
                            "environmental_impact_potential": {
                                "description": "An integer representation of the potential environmental impact of the property",
                                "type": ["null", "number"]
                            },
                            "environmental_rating_current": {
                                "description": "The current environmental rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "environmental_rating_potential": {
                                "description": "The potential environmental rating of the property as a letter grade (A-G)",
                                "type": ["null", "string"]
                            },
                            "extension_count": {
                                "description": "The number of extensions that have been added to the property",
                                "type": ["integer", "null"]
                            },
                            "fixed_lighting_outlets_count": {
                                "description": "The number of fixed lighting outlets",
                                "type": ["integer", "null"]
                            },
                            "flat_storey_count": {
                                "description": "The number of storeys in the block of flats in which this property resides, if it is a flat",
                                "type": ["integer", "null"]
                            },
                            "floor_description": {
                                "description": "A text description of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's floor",
                                "type": ["null", "string"]
                            },
                            "floor_height": {
                                "description": "The average height of the floor of the property in metres",
                                "type": ["null", "number"]
                            },
                            "floor_level": {
                                "description": "A description of the floor level of the property, if it is a flat",
                                "type": ["null", "string"]
                            },
                            "glazed_area": {
                                "description": "The amount of the property that is glazed",
                                "type": ["null", "number"]
                            },
                            "glazed_type": {
                                "description": "A description of the property's window glazing (e.g. Double)",
                                "type": ["null", "string"]
                            },
                            "has_mains_gas": {
                                "description": "true if the property has mains gas",
                                "type": ["null", "boolean"]
                            },
                            "has_solar_water_heating": {
                                "description": "true if the property has solar water heating",
                                "type": ["null", "boolean"]
                            },
                            "heat_loss_corridor": {
                                "description": "A text description of if the property has an unheated corridor through which heat is lost",
                                "type": ["null", "string"]
                            },
                            "heating_cost_current": {
                                "description": "Estimated annual heating cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "heating_cost_potential": {
                                "description": "Potential annual heating cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_cost_current": {
                                "description": "Estimated annual hot water cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_cost_potential": {
                                "description": "Potential annual hot water cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "hot_water_description": {
                                "description": "A text description of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "hot_water_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "hot_water_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's hot water system",
                                "type": ["null", "string"]
                            },
                            "id": {
                                "description": "A unique identifier for the EPC",
                                "type": "integer"
                            },
                            "impact_cavity_wall_insulation": {
                                "description": "Energy saving impact of cavity wall insulation in kWh/year",
                                "type": ["null", "number"]
                            },
                            "impact_loft_insulation": {
                                "description": "Energy saving impact of loft insulation in kWh/year",
                                "type": ["null", "number"]
                            },
                            "improvements": {
                                "type": "array",
                                "description": "A collection of improvements that can be made to the property to improve its energy efficiency",
                                "items": {
                                    "type": "object",
                                    "description": "An improvment that can be made to the property",
                                    "properties": {
                                        "description": {
                                            "type": "string",
                                            "description": "A description of the improvement"
                                        },
                                        "indicative_cost": {
                                            "type": "string",
                                            "description": "The indicative cost of the improvement"
                                        },
                                        "typical_saving": {
                                            "type": "string",
                                            "description": "The typical saving that can be made by making the improvement"
                                        },
                                        "energy_rating_after_improvement": {
                                            "type": "string",
                                            "description": "Energy rating after making the improvement"
                                        },
                                        "environmental_rating_after_improvement": {
                                            "type": "string",
                                            "description": "Environmental rating after making the improvement"
                                        },
                                        "green_deal_eligible": {
                                            "type": "string",
                                            "description": ""
                                        }
                                    }
                                }
                            },
                            "inspection_date": {
                                "description": "The date that the property was inspected",
                                "type": ["null", "string"]
                            },
                            "lighting_cost_current": {
                                "description": "Estimated annual lighting cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "lighting_cost_potential": {
                                "description": "Potential annual lighting cost in GBP/year",
                                "type": ["null", "number"]
                            },
                            "lighting_description": {
                                "description": "A text description of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "lighting_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "lighting_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's lighting",
                                "type": ["null", "string"]
                            },
                            "local_authority_label": {
                                "description": "The name of the local authority district in which the property resides",
                                "type": ["null", "string"]
                            },
                            "lodgement_date": {
                                "description": "The date that the certificate was lodged",
                                "type": ["null", "string"]
                            },
                            "low_energy_fixed_light_count": {
                                "description": "The number of low-energy fixed lighting outlets",
                                "type": ["integer", "null"]
                            },
                            "low_energy_lighting_percentage": {
                                "description": "The proportion of lighting that is low-energy in the property",
                                "maximum": 100,
                                "minimum": 0,
                                "type": ["integer", "null"]
                            },
                            "lzc_energy_sources": {
                                "description": "A text description low and zero carbon energy sources used by the property",
                                "type": ["null", "string"]
                            },
                            "main_fuel": {
                                "description": "A description of the main fuel type used by the property",
                                "type": ["null", "string"]
                            },
                            "main_heating_category": {
                                "description": "A description of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls": {
                                "description": "The property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_description": {
                                "description": "A text description of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_controls_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's main heating controls",
                                "type": ["null", "string"]
                            },
                            "main_heating_description": {
                                "description": "A text description of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "main_heating_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "main_heating_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's main heating system",
                                "type": ["null", "string"]
                            },
                            "mechanical_ventilation": {
                                "description": "A text description of the property's mechanical ventilation means (e.g. Natural)",
                                "type": ["null", "string"]
                            },
                            "multiple_glazed_percentage": {
                                "description": "The proportion of double or triple-glazed windows in the property",
                                "maximum": 100,
                                "minimum": 0,
                                "type": ["integer", "null"]
                            },
                            "habitable_room_count": {
                                "description": "The number of habitable rooms in the property",
                                "type": ["integer", "null"]
                            },
                            "heated_room_count": {
                                "description": "The number of heated rooms in the property",
                                "type": ["integer", "null"]
                            },
                            "open_fireplace_count": {
                                "description": "The number of open fireplaces in the property",
                                "type": ["integer", "null"]
                            },
                            "postcode": {
                                "description": "The postcode of the property",
                                "type": ["null", "string"]
                            },
                            "post_town": {
                                "description": "The post town of the property",
                                "type": ["null", "string"]
                            },
                            "property_type": {
                                "description": "The type of the property (e.g. House)",
                                "type": ["null", "string"]
                            },
                            "roof_description": {
                                "description": "A text description of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's roof",
                                "type": ["null", "string"]
                            },
                            "roof_photovoltaic_supply": {
                                "description": "A text description of the roof's photovoltaic supply",
                                "type": ["null", "string"]
                            },
                            "second_heating_description": {
                                "description": "A text description of the property's secondary heating system",
                                "type": ["null", "string"]
                            },
                            "space_heating_demand": {
                                "description": "Estimated space heating demand in kWh/year",
                                "type": ["null", "number"]
                            },
                            "tenure": {
                                "description": "The tenure of the property (e.g. Owner-Occupied)",
                                "type": ["null", "string"]
                            },
                            "three_year_energy_cost_current": {
                                "description": "Estimated energy cost over 3 years in GBP",
                                "type": ["null", "number"]
                            },
                            "three_year_energy_saving_potential": {
                                "description": "Potential energy saving over 3 years",
                                "type": ["null", "number"]
                            },
                            "three_year_heating_cost_current": {
                                "description": "Estimated heating cost over 3 years in GBP",
                                "type": ["null", "number"]
                            },
                            "three_year_heating_saving_potential": {
                                "description": "Potential heating cost over 3 years",
                                "type": ["null", "number"]
                            },
                            "three_year_hot_water_cost_current": {
                                "description": "Estimated hot water cost over 3 years in GBP",
                                "type": ["null", "number"]
                            },
                            "three_year_hot_water_saving_potential": {
                                "description": "Potential hot water cost over 3 years",
                                "type": ["null", "number"]
                            },
                            "three_year_lighting_cost_current": {
                                "description": "Estimated lighting cost over 3 years in GBP",
                                "type": ["null", "number"]
                            },
                            "three_year_lighting_saving_potential": {
                                "description": "Potential lighting cost over 3 years",
                                "type": ["null", "number"]
                            },
                            "total_floor_area": {
                                "description": "The total floor area of the property in m^2",
                                "type": ["null", "number"]
                            },
                            "transaction_type": {
                                "description": "The type of transaction that the property was sold under (e.g. Marketed Sale)",
                                "type": ["null", "string"]
                            },
                            "type_of_assessment": {
                                "description": "A text description of the type of assessment conducted (e.g. SAP, new dwelling)"
                            },
                            "unheated_corridor_length": {
                                "description": "The length of the unheated corridor, if it exists",
                                "type": ["null", "number"]
                            },
                            "uprn": {
                                "description": "The UPRN of the parent property",
                                "type": "integer"
                            },
                            "wall_description": {
                                "description": "A text description of the property's walls",
                                "type": ["null", "string"]
                            },
                            "wall_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's walls",
                                "type": ["null", "string"]
                            },
                            "wall_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's walls",
                                "type": ["null", "string"]
                            },
                            "water_heating_demand": {
                                "description": "Estimated water heating demand in kWh/year",
                                "type": ["null", "number"]
                            },
                            "wind_turbine_count": {
                                "description": "The number of wind turbines on the property",
                                "type": ["integer", "null"]
                            },
                            "windows_description": {
                                "description": "A text description of the property's windows",
                                "type": ["null", "string"]
                            },
                            "windows_energy_efficiency": {
                                "description": "A text description of the energy efficiency of the property's windows",
                                "type": ["null", "string"]
                            },
                            "windows_environmental_efficiency": {
                                "description": "A text description of the environmental efficiency of the property's windows",
                                "type": ["null", "string"]
                            }
                        }
                    }
                ]
            }
        },
        "epc_estimate": {
            "name": "EPC Estimate",
            "description": "An estimated energy performance certificate",
            "type": ["object", "null"],
            "properties": {
                "property_count": {
                    "description": "The number of properties in the postcode",
                    "type": "integer"
                },
                "avg_current_energy_rating": {
                    "description": "The average current energy rating",
                    "type": ["number", "null"]
                },
                "mode_current_energy_rating": {
                    "description": "The modal current energy rating as a letter grade",
                    "type": ["string", "null"]
                },
                "avg_potential_energy_rating": {
                    "description": "The average potential energy rating",
                    "type": ["number", "null"]
                },
                "mode_potential_energy_rating": {
                    "description": "The modal potential energy rating as a letter grade",
                    "type": ["string", "null"]
                },
                "avg_current_energy_efficiency": {
                    "description": "The average current energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_potential_energy_efficiency": {
                    "description": "The average potential energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_total_floor_area": {
                    "description": "The average total floor area",
                    "type": ["number", "null"]
                },
                "mode_construction_age_band": {
                    "description": "The modal construction age band",
                    "type": ["string", "null"]
                },
                "mode_property_type": {
                    "description": "The modal property type",
                    "type": ["string", "null"]
                },
                "mode_built_form": {
                    "description": "The modal built form",
                    "type": ["string", "null"]
                },
                "avg_main_heating_energy_efficiency": {
                    "description": "The average main heating energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_main_heating_energy_efficiency": {
                    "description": "The modal main heating energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_main_heating_controls_energy_efficiency": {
                    "description": "The average main heating controls energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_main_heating_controls_energy_efficiency": {
                    "description": "The modal main heating controls energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_hot_water_energy_efficiency": {
                    "description": "The average hot water energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_hot_water_energy_efficiency": {
                    "description": "The modal hot water energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_floor_energy_efficiency": {
                    "description": "The average floor energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_floor_energy_efficiency": {
                    "description": "The modal floor energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_windows_energy_efficiency": {
                    "description": "The average windows energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_windows_energy_efficiency": {
                    "description": "The modal windows energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_walls_energy_efficiency": {
                    "description": "The average walls energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_walls_energy_efficiency": {
                    "description": "The modal walls energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_roof_energy_efficiency": {
                    "description": "The average roof energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_roof_energy_efficiency": {
                    "description": "The modal roof energy efficiency",
                    "type": ["number", "null"]
                },
                "avg_lighting_energy_efficiency": {
                    "description": "The average lighting energy efficiency",
                    "type": ["number", "null"]
                },
                "mode_lighting_energy_efficiency": {
                    "description": "The modal lighting energy efficiency",
                    "type": ["number", "null"]
                },
                "co2_emissions_current": {
                    "description": "The average current CO2 emissions",
                    "type": ["number", "null"]
                },
                "co2_emissions_potential": {
                    "description": "The average potential CO2 emissions",
                    "type": ["number", "null"]
                }
            }
        },
        "epc_stats": {
            "name": "EPC Stats",
            "description": "A collection of stats about EPCs",
            "type": ["object", "null"],
            "properties": {
                "postcode_stats": {
                    "name": "EPC Stats (Postcode)",
                    "description": "Aggregate EPC stats for an Postcode",
                    "type": "object",
                    "properties": {
                        "avg_co2_emissions_current": {
                            "description": "The average current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_co2_emissions_potential": {
                            "description": "The average potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_current": {
                            "description": "The average current energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_potential": {
                            "description": "The average potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_current": {
                            "description": "The average current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_potential": {
                            "description": "The average potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_current": {
                            "description": "The average current energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_current_numerical": {
                            "description": "The average current energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_potential": {
                            "description": "The average potential energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_potential_numerical": {
                            "description": "The average potential energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "energy_rating_a_count_current": {
                            "description": "The number of A energy rated properties in the postcode"
                        },
                        "energy_rating_a_count_potential": {
                            "description": "The number of properties that could potentially achieve A energy rating in the postcode"
                        },
                        "energy_rating_b_count_current": {
                            "description": "The number of B energy rated properties in the postcode"
                        },
                        "energy_rating_b_count_potential": {
                            "description": "The number of properties that could potentially achieve B energy rating in the postcode"
                        },
                        "energy_rating_c_count_current": {
                            "description": "The number of C energy rated properties in the postcode"
                        },
                        "energy_rating_c_count_potential": {
                            "description": "The number of properties that could potentially achieve C energy rating in the postcode"
                        },
                        "energy_rating_d_count_current": {
                            "description": "The number of D energy rated properties in the postcode"
                        },
                        "energy_rating_d_count_potential": {
                            "description": "The number of properties that could potentially achieve D energy rating in the postcode"
                        },
                        "energy_rating_e_count_current": {
                            "description": "The number of E energy rated properties in the postcode"
                        },
                        "energy_rating_e_count_potential": {
                            "description": "The number of properties that could potentially achieve E energy rating in the postcode"
                        },
                        "energy_rating_f_count_current": {
                            "description": "The number of F energy rated properties in the postcode"
                        },
                        "energy_rating_f_count_potential": {
                            "description": "The number of properties that could potentially achieve F energy rating in the postcode"
                        },
                        "energy_rating_g_count_current": {
                            "description": "The number of G energy rated properties in the postcode"
                        },
                        "energy_rating_g_count_potential": {
                            "description": "The number of properties that could potentially achieve G energy rating in the postcode"
                        },
                        "max_co2_emissions_current": {
                            "description": "The maximum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_co2_emissions_potential": {
                            "description": "The maximum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_current": {
                            "description": "The maximum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_potential": {
                            "description": "The maximum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_current": {
                            "description": "The maximum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_potential": {
                            "description": "The maximum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_rating_current": {
                            "description": "The maximum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "max_energy_rating_potential": {
                            "description": "The maximum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_co2_emissions_current": {
                            "description": "The minimum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_co2_emissions_potential": {
                            "description": "The minimum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_current": {
                            "description": "The minimum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_potential": {
                            "description": "The minimum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_current": {
                            "description": "The minimum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_potential": {
                            "description": "The minimum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_rating_current": {
                            "description": "The minimum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_energy_rating_potential": {
                            "description": "The minimum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_current": {
                            "description": "The modal current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_potential": {
                            "description": "The modal potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "perc_10_co2_emissions_current": {
                            "description": "The 10th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_co2_emissions_potential": {
                            "description": "The 10th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_current": {
                            "description": "The 10th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_potential": {
                            "description": "The 10th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_current": {
                            "description": "The 10th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_potential": {
                            "description": "The 10th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_current": {
                            "description": "The 10th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_potential": {
                            "description": "The 10th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_current": {
                            "description": "The 25th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_potential": {
                            "description": "The 25th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_current": {
                            "description": "The 25th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_potential": {
                            "description": "The 25th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_current": {
                            "description": "The 25th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_potential": {
                            "description": "The 25th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_current": {
                            "description": "The 25th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_potential": {
                            "description": "The 25th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_current": {
                            "description": "The 50th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_potential": {
                            "description": "The 50th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_current": {
                            "description": "The 50th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_potential": {
                            "description": "The 50th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_current": {
                            "description": "The 50th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_potential": {
                            "description": "The 50th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_current": {
                            "description": "The 50th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_potential": {
                            "description": "The 50th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_current": {
                            "description": "The 75th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_potential": {
                            "description": "The 75th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_current": {
                            "description": "The 75th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_potential": {
                            "description": "The 75th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_current": {
                            "description": "The 75th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_potential": {
                            "description": "The 75th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_current": {
                            "description": "The 75th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_potential": {
                            "description": "The 75th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_current": {
                            "description": "The 90th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_potential": {
                            "description": "The 90th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_current": {
                            "description": "The 90th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_potential": {
                            "description": "The 90th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_current": {
                            "description": "The 90th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_potential": {
                            "description": "The 90th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_current": {
                            "description": "The 90th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_potential": {
                            "description": "The 90th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "postcode": {
                            "description": "The postcode being aggregated on",
                            "type": "string"
                        },
                        "property_count": {
                            "description": "The number of properties in the postcode",
                            "type": "integer"
                        },
                        "stddev_co2_emissions_current": {
                            "description": "The standard deviation of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_co2_emissions_potential": {
                            "description": "The standard deviation of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_current": {
                            "description": "The standard deviation of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_potential": {
                            "description": "The standard deviation of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_current": {
                            "description": "The standard deviation of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_potential": {
                            "description": "The standard deviation of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_current": {
                            "description": "The standard deviation of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_potential": {
                            "description": "The standard deviation of the potential energy rating",
                            "type": ["null", "number"]
                        }
                    }
                },
                "outcode_stats": {
                    "name": "EPC Stats (Outcode)",
                    "description": "Aggregate EPC stats for an Outcode",
                    "type": "object",
                    "properties": {
                        "avg_co2_emissions_current": {
                            "description": "The average current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_co2_emissions_potential": {
                            "description": "The average potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_current": {
                            "description": "The average current energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_potential": {
                            "description": "The average potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_current": {
                            "description": "The average current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_potential": {
                            "description": "The average potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_current": {
                            "description": "The average current energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_current_numerical": {
                            "description": "The average current energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_potential": {
                            "description": "The average potential energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_potential_numerical": {
                            "description": "The average potential energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "energy_rating_a_count_current": {
                            "description": "The number of A energy rated properties in the postcode"
                        },
                        "energy_rating_a_count_potential": {
                            "description": "The number of properties that could potentially achieve A energy rating in the postcode"
                        },
                        "energy_rating_b_count_current": {
                            "description": "The number of B energy rated properties in the postcode"
                        },
                        "energy_rating_b_count_potential": {
                            "description": "The number of properties that could potentially achieve B energy rating in the postcode"
                        },
                        "energy_rating_c_count_current": {
                            "description": "The number of C energy rated properties in the postcode"
                        },
                        "energy_rating_c_count_potential": {
                            "description": "The number of properties that could potentially achieve C energy rating in the postcode"
                        },
                        "energy_rating_d_count_current": {
                            "description": "The number of D energy rated properties in the postcode"
                        },
                        "energy_rating_d_count_potential": {
                            "description": "The number of properties that could potentially achieve D energy rating in the postcode"
                        },
                        "energy_rating_e_count_current": {
                            "description": "The number of E energy rated properties in the postcode"
                        },
                        "energy_rating_e_count_potential": {
                            "description": "The number of properties that could potentially achieve E energy rating in the postcode"
                        },
                        "energy_rating_f_count_current": {
                            "description": "The number of F energy rated properties in the postcode"
                        },
                        "energy_rating_f_count_potential": {
                            "description": "The number of properties that could potentially achieve F energy rating in the postcode"
                        },
                        "energy_rating_g_count_current": {
                            "description": "The number of G energy rated properties in the postcode"
                        },
                        "energy_rating_g_count_potential": {
                            "description": "The number of properties that could potentially achieve G energy rating in the postcode"
                        },
                        "max_co2_emissions_current": {
                            "description": "The maximum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_co2_emissions_potential": {
                            "description": "The maximum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_current": {
                            "description": "The maximum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_potential": {
                            "description": "The maximum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_current": {
                            "description": "The maximum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_potential": {
                            "description": "The maximum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_rating_current": {
                            "description": "The maximum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "max_energy_rating_potential": {
                            "description": "The maximum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_co2_emissions_current": {
                            "description": "The minimum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_co2_emissions_potential": {
                            "description": "The minimum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_current": {
                            "description": "The minimum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_potential": {
                            "description": "The minimum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_current": {
                            "description": "The minimum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_potential": {
                            "description": "The minimum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_rating_current": {
                            "description": "The minimum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_energy_rating_potential": {
                            "description": "The minimum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_current": {
                            "description": "The modal current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_potential": {
                            "description": "The modal potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "outcode": {
                            "description": "The outcode being aggregated on",
                            "type": "string"
                        },
                        "perc_10_co2_emissions_current": {
                            "description": "The 10th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_co2_emissions_potential": {
                            "description": "The 10th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_current": {
                            "description": "The 10th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_potential": {
                            "description": "The 10th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_current": {
                            "description": "The 10th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_potential": {
                            "description": "The 10th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_current": {
                            "description": "The 10th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_potential": {
                            "description": "The 10th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_current": {
                            "description": "The 25th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_potential": {
                            "description": "The 25th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_current": {
                            "description": "The 25th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_potential": {
                            "description": "The 25th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_current": {
                            "description": "The 25th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_potential": {
                            "description": "The 25th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_current": {
                            "description": "The 25th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_potential": {
                            "description": "The 25th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_current": {
                            "description": "The 50th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_potential": {
                            "description": "The 50th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_current": {
                            "description": "The 50th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_potential": {
                            "description": "The 50th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_current": {
                            "description": "The 50th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_potential": {
                            "description": "The 50th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_current": {
                            "description": "The 50th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_potential": {
                            "description": "The 50th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_current": {
                            "description": "The 75th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_potential": {
                            "description": "The 75th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_current": {
                            "description": "The 75th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_potential": {
                            "description": "The 75th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_current": {
                            "description": "The 75th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_potential": {
                            "description": "The 75th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_current": {
                            "description": "The 75th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_potential": {
                            "description": "The 75th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_current": {
                            "description": "The 90th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_potential": {
                            "description": "The 90th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_current": {
                            "description": "The 90th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_potential": {
                            "description": "The 90th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_current": {
                            "description": "The 90th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_potential": {
                            "description": "The 90th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_current": {
                            "description": "The 90th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_potential": {
                            "description": "The 90th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "property_count": {
                            "description": "The number of properties in the postcode",
                            "type": "integer"
                        },
                        "stddev_co2_emissions_current": {
                            "description": "The standard deviation of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_co2_emissions_potential": {
                            "description": "The standard deviation of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_current": {
                            "description": "The standard deviation of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_potential": {
                            "description": "The standard deviation of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_current": {
                            "description": "The standard deviation of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_potential": {
                            "description": "The standard deviation of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_current": {
                            "description": "The standard deviation of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_potential": {
                            "description": "The standard deviation of the potential energy rating",
                            "type": ["null", "number"]
                        }
                    }
                },
                "local_authority_stats": {
                    "description": "A collection of stats about EPCs in the property's parent local authority",
                    "type": ["object", "null"],
                    "properties": {
                        "avg_co2_emissions_current": {
                            "description": "The average current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_co2_emissions_potential": {
                            "description": "The average potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_current": {
                            "description": "The average current energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_potential": {
                            "description": "The average potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_current": {
                            "description": "The average current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_potential": {
                            "description": "The average potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_current": {
                            "description": "The average current energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_current_numerical": {
                            "description": "The average current energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_potential": {
                            "description": "The average potential energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_potential_numerical": {
                            "description": "The average potential energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "energy_rating_a_count_current": {
                            "description": "The number of A energy rated properties in the postcode"
                        },
                        "energy_rating_a_count_potential": {
                            "description": "The number of properties that could potentially achieve A energy rating in the postcode"
                        },
                        "energy_rating_b_count_current": {
                            "description": "The number of B energy rated properties in the postcode"
                        },
                        "energy_rating_b_count_potential": {
                            "description": "The number of properties that could potentially achieve B energy rating in the postcode"
                        },
                        "energy_rating_c_count_current": {
                            "description": "The number of C energy rated properties in the postcode"
                        },
                        "energy_rating_c_count_potential": {
                            "description": "The number of properties that could potentially achieve C energy rating in the postcode"
                        },
                        "energy_rating_d_count_current": {
                            "description": "The number of D energy rated properties in the postcode"
                        },
                        "energy_rating_d_count_potential": {
                            "description": "The number of properties that could potentially achieve D energy rating in the postcode"
                        },
                        "energy_rating_e_count_current": {
                            "description": "The number of E energy rated properties in the postcode"
                        },
                        "energy_rating_e_count_potential": {
                            "description": "The number of properties that could potentially achieve E energy rating in the postcode"
                        },
                        "energy_rating_f_count_current": {
                            "description": "The number of F energy rated properties in the postcode"
                        },
                        "energy_rating_f_count_potential": {
                            "description": "The number of properties that could potentially achieve F energy rating in the postcode"
                        },
                        "energy_rating_g_count_current": {
                            "description": "The number of G energy rated properties in the postcode"
                        },
                        "energy_rating_g_count_potential": {
                            "description": "The number of properties that could potentially achieve G energy rating in the postcode"
                        },
                        "local_authority_district_code": {
                            "description": "The local authority district code being aggregated on",
                            "type": "string"
                        },
                        "max_co2_emissions_current": {
                            "description": "The maximum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_co2_emissions_potential": {
                            "description": "The maximum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_current": {
                            "description": "The maximum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_potential": {
                            "description": "The maximum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_current": {
                            "description": "The maximum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_potential": {
                            "description": "The maximum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_rating_current": {
                            "description": "The maximum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "max_energy_rating_potential": {
                            "description": "The maximum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_co2_emissions_current": {
                            "description": "The minimum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_co2_emissions_potential": {
                            "description": "The minimum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_current": {
                            "description": "The minimum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_potential": {
                            "description": "The minimum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_current": {
                            "description": "The minimum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_potential": {
                            "description": "The minimum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_rating_current": {
                            "description": "The minimum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_energy_rating_potential": {
                            "description": "The minimum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_current": {
                            "description": "The modal current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_potential": {
                            "description": "The modal potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "perc_10_co2_emissions_current": {
                            "description": "The 10th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_co2_emissions_potential": {
                            "description": "The 10th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_current": {
                            "description": "The 10th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_potential": {
                            "description": "The 10th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_current": {
                            "description": "The 10th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_potential": {
                            "description": "The 10th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_current": {
                            "description": "The 10th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_potential": {
                            "description": "The 10th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_current": {
                            "description": "The 25th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_potential": {
                            "description": "The 25th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_current": {
                            "description": "The 25th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_potential": {
                            "description": "The 25th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_current": {
                            "description": "The 25th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_potential": {
                            "description": "The 25th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_current": {
                            "description": "The 25th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_potential": {
                            "description": "The 25th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_current": {
                            "description": "The 50th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_potential": {
                            "description": "The 50th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_current": {
                            "description": "The 50th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_potential": {
                            "description": "The 50th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_current": {
                            "description": "The 50th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_potential": {
                            "description": "The 50th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_current": {
                            "description": "The 50th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_potential": {
                            "description": "The 50th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_current": {
                            "description": "The 75th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_potential": {
                            "description": "The 75th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_current": {
                            "description": "The 75th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_potential": {
                            "description": "The 75th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_current": {
                            "description": "The 75th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_potential": {
                            "description": "The 75th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_current": {
                            "description": "The 75th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_potential": {
                            "description": "The 75th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_current": {
                            "description": "The 90th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_potential": {
                            "description": "The 90th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_current": {
                            "description": "The 90th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_potential": {
                            "description": "The 90th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_current": {
                            "description": "The 90th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_potential": {
                            "description": "The 90th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_current": {
                            "description": "The 90th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_potential": {
                            "description": "The 90th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "property_count": {
                            "description": "The number of properties",
                            "type": "integer"
                        },
                        "stddev_co2_emissions_current": {
                            "description": "The standard deviation of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_co2_emissions_potential": {
                            "description": "The standard deviation of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_current": {
                            "description": "The standard deviation of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_potential": {
                            "description": "The standard deviation of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_current": {
                            "description": "The standard deviation of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_potential": {
                            "description": "The standard deviation of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_current": {
                            "description": "The standard deviation of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_potential": {
                            "description": "The standard deviation of the potential energy rating",
                            "type": ["null", "number"]
                        }
                    }
                },
                "region_stats": {
                    "description": "A collection of stats about EPCs in the property's parent region",
                    "type": ["object", "null"],
                    "properties": {
                        "avg_co2_emissions_current": {
                            "description": "The average current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_co2_emissions_potential": {
                            "description": "The average potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_current": {
                            "description": "The average current energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_potential": {
                            "description": "The average potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_current": {
                            "description": "The average current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_potential": {
                            "description": "The average potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_current": {
                            "description": "The average current energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_current_numerical": {
                            "description": "The average current energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_potential": {
                            "description": "The average potential energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_potential_numerical": {
                            "description": "The average potential energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "energy_rating_a_count_current": {
                            "description": "The number of A energy rated properties in the postcode"
                        },
                        "energy_rating_a_count_potential": {
                            "description": "The number of properties that could potentially achieve A energy rating in the postcode"
                        },
                        "energy_rating_b_count_current": {
                            "description": "The number of B energy rated properties in the postcode"
                        },
                        "energy_rating_b_count_potential": {
                            "description": "The number of properties that could potentially achieve B energy rating in the postcode"
                        },
                        "energy_rating_c_count_current": {
                            "description": "The number of C energy rated properties in the postcode"
                        },
                        "energy_rating_c_count_potential": {
                            "description": "The number of properties that could potentially achieve C energy rating in the postcode"
                        },
                        "energy_rating_d_count_current": {
                            "description": "The number of D energy rated properties in the postcode"
                        },
                        "energy_rating_d_count_potential": {
                            "description": "The number of properties that could potentially achieve D energy rating in the postcode"
                        },
                        "energy_rating_e_count_current": {
                            "description": "The number of E energy rated properties in the postcode"
                        },
                        "energy_rating_e_count_potential": {
                            "description": "The number of properties that could potentially achieve E energy rating in the postcode"
                        },
                        "energy_rating_f_count_current": {
                            "description": "The number of F energy rated properties in the postcode"
                        },
                        "energy_rating_f_count_potential": {
                            "description": "The number of properties that could potentially achieve F energy rating in the postcode"
                        },
                        "energy_rating_g_count_current": {
                            "description": "The number of G energy rated properties in the postcode"
                        },
                        "energy_rating_g_count_potential": {
                            "description": "The number of properties that could potentially achieve G energy rating in the postcode"
                        },
                        "max_co2_emissions_current": {
                            "description": "The maximum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_co2_emissions_potential": {
                            "description": "The maximum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_current": {
                            "description": "The maximum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_potential": {
                            "description": "The maximum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_current": {
                            "description": "The maximum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_potential": {
                            "description": "The maximum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_rating_current": {
                            "description": "The maximum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "max_energy_rating_potential": {
                            "description": "The maximum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_co2_emissions_current": {
                            "description": "The minimum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_co2_emissions_potential": {
                            "description": "The minimum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_current": {
                            "description": "The minimum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_potential": {
                            "description": "The minimum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_current": {
                            "description": "The minimum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_efficiency_potential": {
                            "description": "The minimum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "min_energy_rating_current": {
                            "description": "The minimum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_energy_rating_potential": {
                            "description": "The minimum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_current": {
                            "description": "The modal current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "mode_energy_rating_potential": {
                            "description": "The modal potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "perc_10_co2_emissions_current": {
                            "description": "The 10th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_co2_emissions_potential": {
                            "description": "The 10th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_current": {
                            "description": "The 10th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_consumption_potential": {
                            "description": "The 10th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_current": {
                            "description": "The 10th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_efficiency_potential": {
                            "description": "The 10th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_current": {
                            "description": "The 10th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_10_energy_rating_potential": {
                            "description": "The 10th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_current": {
                            "description": "The 25th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_co2_emissions_potential": {
                            "description": "The 25th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_current": {
                            "description": "The 25th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_consumption_potential": {
                            "description": "The 25th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_current": {
                            "description": "The 25th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_efficiency_potential": {
                            "description": "The 25th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_current": {
                            "description": "The 25th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_25_energy_rating_potential": {
                            "description": "The 25th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_current": {
                            "description": "The 50th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_co2_emissions_potential": {
                            "description": "The 50th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_current": {
                            "description": "The 50th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_consumption_potential": {
                            "description": "The 50th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_current": {
                            "description": "The 50th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_efficiency_potential": {
                            "description": "The 50th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_current": {
                            "description": "The 50th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_50_energy_rating_potential": {
                            "description": "The 50th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_current": {
                            "description": "The 75th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_co2_emissions_potential": {
                            "description": "The 75th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_current": {
                            "description": "The 75th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_consumption_potential": {
                            "description": "The 75th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_current": {
                            "description": "The 75th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_efficiency_potential": {
                            "description": "The 75th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_current": {
                            "description": "The 75th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_75_energy_rating_potential": {
                            "description": "The 75th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_current": {
                            "description": "The 90th percentile of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_co2_emissions_potential": {
                            "description": "The 90th percentile of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_current": {
                            "description": "The 90th percentile of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_consumption_potential": {
                            "description": "The 90th percentile of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_current": {
                            "description": "The 90th percentile of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_efficiency_potential": {
                            "description": "The 90th percentile of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_current": {
                            "description": "The 90th percentile of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "perc_90_energy_rating_potential": {
                            "description": "The 90th percentile of the potential energy rating",
                            "type": ["null", "number"]
                        },
                        "property_count": {
                            "description": "The number of properties in the region",
                            "type": "integer"
                        },
                        "region_code": {
                            "description": "The region code being aggregated on",
                            "type": "string"
                        },
                        "stddev_co2_emissions_current": {
                            "description": "The standard deviation of the current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_co2_emissions_potential": {
                            "description": "The standard deviation of the potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_current": {
                            "description": "The standard deviation of the current energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_consumption_potential": {
                            "description": "The standard deviation of the potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_current": {
                            "description": "The standard deviation of the current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_efficiency_potential": {
                            "description": "The standard deviation of the potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_current": {
                            "description": "The standard deviation of the current energy rating",
                            "type": ["null", "number"]
                        },
                        "stddev_energy_rating_potential": {
                            "description": "The standard deviation of the potential energy rating",
                            "type": ["null", "number"]
                        }
                    }
                },
                "country": {
                    "description": "A collection of stats about EPCs in the property's parent country",
                    "type": ["object", "null"],
                    "properties": {
                        "avg_co2_emissions_current": {
                            "description": "The average current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_co2_emissions_potential": {
                            "description": "The average potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_current": {
                            "description": "The average current energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_consumption_potential": {
                            "description": "The average potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_current": {
                            "description": "The average current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_efficiency_potential": {
                            "description": "The average potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_current": {
                            "description": "The average current energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_current_numerical": {
                            "description": "The average current energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "avg_energy_rating_potential": {
                            "description": "The average potential energy rating",
                            "type": ["null", "string"]
                        },
                        "avg_energy_rating_potential_numerical": {
                            "description": "The average potential energy rating as a number",
                            "type": ["null", "number"]
                        },
                        "country_code": {
                            "description": "The local country code being aggregated on",
                            "type": "string"
                        },
                        "energy_rating_a_count_current": {
                            "description": "The number of A energy rated properties in the postcode"
                        },
                        "energy_rating_a_count_potential": {
                            "description": "The number of properties that could potentially achieve A energy rating in the postcode"
                        },
                        "energy_rating_b_count_current": {
                            "description": "The number of B energy rated properties in the postcode"
                        },
                        "energy_rating_b_count_potential": {
                            "description": "The number of properties that could potentially achieve B energy rating in the postcode"
                        },
                        "energy_rating_c_count_current": {
                            "description": "The number of C energy rated properties in the postcode"
                        },
                        "energy_rating_c_count_potential": {
                            "description": "The number of properties that could potentially achieve C energy rating in the postcode"
                        },
                        "energy_rating_d_count_current": {
                            "description": "The number of D energy rated properties in the postcode"
                        },
                        "energy_rating_d_count_potential": {
                            "description": "The number of properties that could potentially achieve D energy rating in the postcode"
                        },
                        "energy_rating_e_count_current": {
                            "description": "The number of E energy rated properties in the postcode"
                        },
                        "energy_rating_e_count_potential": {
                            "description": "The number of properties that could potentially achieve E energy rating in the postcode"
                        },
                        "energy_rating_f_count_current": {
                            "description": "The number of F energy rated properties in the postcode"
                        },
                        "energy_rating_f_count_potential": {
                            "description": "The number of properties that could potentially achieve F energy rating in the postcode"
                        },
                        "energy_rating_g_count_current": {
                            "description": "The number of G energy rated properties in the postcode"
                        },
                        "energy_rating_g_count_potential": {
                            "description": "The number of properties that could potentially achieve G energy rating in the postcode"
                        },
                        "max_co2_emissions_current": {
                            "description": "The maximum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_co2_emissions_potential": {
                            "description": "The maximum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_current": {
                            "description": "The maximum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_consumption_potential": {
                            "description": "The maximum potential energy consumption",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_current": {
                            "description": "The maximum current energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_efficiency_potential": {
                            "description": "The maximum potential energy efficiency",
                            "type": ["null", "number"]
                        },
                        "max_energy_rating_current": {
                            "description": "The maximum current energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "max_energy_rating_potential": {
                            "description": "The maximum potential energy rating as a letter grade",
                            "type": ["null", "string"]
                        },
                        "min_co2_emissions_current": {
                            "description": "The minimum current CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_co2_emissions_potential": {
                            "description": "The minimum potential CO2 emissions",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_current": {
                            "description": "The minimum current energy consumption",
                            "type": ["null", "number"]
                        },
                        "min_energy_consumption_potential": {
                            "description": "The minimum potential energy consumption",
                            "type": ["null",