Skip to content

Retrofit

The PropEco Retrofit API can be used to retrieve a wide range of property-specific data that is relevant to retrofit processes.

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


GET /retrofit?uprn={uprn}

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

Retrieves information about a specific UK property, identified by its unique property reference number (UPRN).

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, as follows:

Location

"location": {
    "uprn": 34076006,
    "x_coord": 526131,
    "y_coord": 176355,
    "latitude": 51.47211,
    "longitude": -0.1853445
},

The geographical location of the property, provided in both WGS84 / EPSG:4326 and BNG / EPSG:27700 coordinate systems.

See API Reference → Coordinate Systems for more information about locations.

Admin Boundaries

{
    "postcode": "SW6 2QT",
    "census_output_area_code": "E00009707",
    "county_code": "E13000001",
    "county_electoral_division_code": "E99999999",
    "local_authority_district_code": "E09000013",
    "electoral_area_code": "E05013747",
    "health_area_code": "E18000007",
    "country_code": "E92000001",
    "region_code": "E12000007",
    "parliamentary_constituency_code": "E14001160",
    "european_electoral_region_code": "E15000007",
    "travel_to_work_area_code": "E30000234",
    "itl_area_code": "E09000013",
    "national_park_code": "E65000001",
    "census_lower_layer_super_output_area_code": "E01035487",
    "census_middle_layer_super_output_area_code": "E02000394",
    "census_workplace_zone": "E33033988",
    "ccg_lhb_chp_area_code": "E38000256",
    "built_up_area_code": "E63012087",
    "census_rural_urban_classification": "UN1",
    "census_output_area_classification": null,
    "local_enterprise_partnership_code": "E37000051",
    "local_enterprise_partnership_secondary_code": null,
    "police_force_area_code": "E23000001",
    "electoral_area_name": "Sands End",
    "local_authority_district_name": "Hammersmith and Fulham",
    "county_name": "Hammersmith and Fulham",
    "region_name": "London",
    "country_name": "England"
}

An object containing the names and identifiers of various administrative boundaries and regions within which the property resides.

This combines data from sources including the Office for National Statistics and Ordnance Survey.

Planning Restrictions

The API provides information to help you determine whether a property is affected by any planning restrictions that could hinder upgrades such as adding an extension, incorporating solar panels or replacing windows. These include:

Conservation Areas

{
    "in_conservation_area": true,
    "conservation_area_area": 2273828.5525359632,
    "conservation_area_proportion": 0.7284537903512821,
    "nearest_conservation_area": {
        "name": "No data available for publication by HE",
        "distance": 0,
        "nearest_point": null
    }
}

These are areas that are deemed to have special architectural or historic interest. Properties or locations that fall within one will be subject to planning controls that are designed to preserve the character and appearance of the areas.

The API provides an assessment of whether or not the property or location sits within a conservation area. It also assesses the extent to which the surrounding area (within a 1km radius of the property) sits within a conservation area, both as a proportion and as an absolute value (in m²).

If a property or location is not within a conservation area, the API provides details of the closest one.

Listed Buildings

{
    "nearest_listed_buildings": [
        {
            "distance": 272.65926201169736,
            "x_coord": 525867.650000001,
            "y_coord": 176425.638875,
            "latitude": 51.472803363681365,
            "longitude": -0.18910933363089522,
            "name": "LANGFORD SCHOOL INCLUDING WALL, RAILINGS, GATES AND ENTRANCES, AND FORMER SCHOOL KEEPER'S HOUSE AND SPECIAL SCHOOL",
            "grade": "II",
            "date_listed": "2009-08-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393408"
        },
        {
            "distance": 404.2988160209559,
            "x_coord": 526507.3075,
            "y_coord": 176502.818125004,
            "latitude": 51.473354479784355,
            "longitude": -0.17987667978798275,
            "name": "CREMORNE BRIDGE, WEST LONDON EXTENSION RAILWAY BRIDGE",
            "grade": "II*",
            "date_listed": "2008-11-26T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393006"
        },
        {
            "distance": 459.0246555692252,
            "x_coord": 526003.950000001,
            "y_coord": 176796.091750003,
            "latitude": 51.47610236703256,
            "longitude": -0.187015978762473,
            "name": "FORMER LABORATORY AT THE IMPERIAL GAS WORKS",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392024"
        },
        {
            "distance": 475.47437878733615,
            "x_coord": 526020.825000001,
            "y_coord": 176817.533625003,
            "latitude": 51.47629131271065,
            "longitude": -0.18676548323922187,
            "name": "OFFICE BUILDING AT THE FORMER IMPERIAL GAS WORKS",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392025"
        },
        {
            "distance": 494.79545054752094,
            "x_coord": 526618.171500001,
            "y_coord": 176441.524375001,
            "latitude": 51.47277885538365,
            "longitude": -0.17830319242949452,
            "name": "Cremorne Bridge, West London Extension Railway Bridge, Battersea",
            "grade": "II*",
            "date_listed": "2008-11-26T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393005"
        },
        {
            "distance": 495.9440400961927,
            "x_coord": 525992.145,
            "y_coord": 176831.109000001,
            "latitude": 51.47641969688287,
            "longitude": -0.1871734055456125,
            "name": "WAR MEMORIAL",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392026"
        },
        {
            "distance": 564.5638515564086,
            "x_coord": 526042.855809047,
            "y_coord": 176912.640515104,
            "latitude": 51.47714114501708,
            "longitude": -0.18641454604452504,
            "name": "Gasholder No 2, Fulham Gasworks",
            "grade": "II*",
            "date_listed": "1970-05-12T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1261959"
        },
        {
            "distance": 654.1070248826896,
            "x_coord": 526747,
            "y_coord": 176575.000000002,
            "latitude": 51.47394959321589,
            "longitude": -0.17640147952629298,
            "name": "OLD BATTERSEA HOUSE",
            "grade": "II*",
            "date_listed": "1954-06-28T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1065500"
        },
        {
            "distance": 693.9798267983115,
            "x_coord": 525549,
            "y_coord": 176733.000000004,
            "latitude": 51.47563638690696,
            "longitude": -0.19358588507184643,
            "name": "NOS 71 TO 77 INCLUDING IRON RAILINGS",
            "grade": "II",
            "date_listed": "1970-05-12T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1192382"
        },
        {
            "distance": 702.7560031786114,
            "x_coord": 526776.000000001,
            "y_coord": 176634.000000004,
            "latitude": 51.47447333832597,
            "longitude": -0.17596300838318335,
            "name": "ST MARY'S VICARAGE (INCLUDING RAILINGS AND GATES)",
            "grade": "II",
            "date_listed": "1954-06-28T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1299844"
        }
    ]
}

These are individual buildings that have been deemed to be of special architectural or historic interest. Listed buildings are classified into three grades:

The API returns a list of the nearest listed buildings, with links to more information on each.

World Heritage Sites

{
    "in_world_heritage_site": false,
    "world_heritage_site_area": 0,
    "world_heritage_site_proportion": 0,
    "nearest_world_heritage_site": {
        "name": "Palace of Westminster, Westminster Abbey and St. Margaret's Church",
        "inscription_date": "1987-01-01T00:00:00.000Z",
        "notes": "Core Area",
        "url": "https://historicengland.org.uk/listing/the-list/list-entry/1000095",
        "distance": 4821.2320112402185,
        "nearest_point": {
            "x_coord": 529916.025999069,
            "y_coord": 179341.277999882,
            "latitude": 51.49809161098811,
            "longitude": -0.12978059568154365
        }
    }
}

World Heritage Sites are sites, places, monuments or buildings of ‘outstanding universal value’ to all humanity. Planning policies in such locations therefore place great weight on preserving their character.

The API provides an assessment of whether or not a property or location sits within a World Heritage Site. It also assesses the extent to which the surrounding area (within a 1km radius of the property) sits within a World Heritage Site, both as a proportion and as an absolute value (in m²).

If a property or location is not within a World Heritage Site, the API provides details of the closest one.

National Parks

{
    "in_national_park": false,
    "national_park_area": 0,
    "national_park_proportion": 0,
    "nearest_national_park": {
        "code": "E26000010",
        "name": "South Downs",
        "distance": 52414.49214631459,
        "nearest_point": {
            "x_coord": 496678.7996,
            "y_coord": 132997.799000001,
            "latitude": 51.088152792361065,
            "longitude": -0.6209624707641703
        }
    }
}

These are designated areas of natural beauty and ecological significance within the UK that provide habitats to a wide array of plant and animal species. As with world heritage sites, planning policies in these locations place significant weight on preserving their existing character, and conserving their natural landscape and ecosystem.

The API provides an assessment of whether or not the property or location sits within a national park. It also assesses the extent to which the surrounding area (within a 1km radius of the property) sits within a national park, both as a proportion and as an absolute value (in m²).

If a property or location is not within a national park, the API provides details of the closest one.

Area Attributes

House Price Index

{
    "date": "2026-01-07T00:00:00.000Z",
    "region_name": "Hammersmith and Fulham",
    "average_price": 738048,
    "average_price_seasonally_adjusted": null,
    "house_price_index": 87.4,
    "house_price_index_seasonally_adjusted": null,
    "percentage_change_1_month": 1.4,
    "percentage_change_12_months": -9,
    "sales_volume": null,
    "average_price_detached": 1716974,
    "house_price_index_detached": 89.9,
    "percentage_change_1_month_detached": 2.3,
    "percentage_change_12_months_detached": -6.1,
    "average_price_semi_detached": 1503460,
    "house_price_index_semi_detached": 91.5,
    "percentage_change_1_month_semi_detached": 3.2,
    "percentage_change_12_months_semi_detached": -4.4,
    "average_price_terraced": 1139759,
    "house_price_index_terraced": 91.6,
    "percentage_change_1_month_terraced": 2.1,
    "percentage_change_12_months_terraced": -6.7,
    "average_price_flat": 568235,
    "house_price_index_flat": 85.7,
    "percentage_change_1_month_flat": 1,
    "percentage_change_12_months_flat": -10,
    "average_price_cash": 736198,
    "house_price_index_cash": 87.4,
    "percentage_change_1_month_cash": 1.4,
    "percentage_change_12_months_cash": -9,
    "sales_volume_cash": null,
    "average_price_mortgage": 738831,
    "house_price_index_mortgage": 87.5,
    "percentage_change_1_month_mortgage": 1.4,
    "percentage_change_12_months_mortgage": -9,
    "sales_volume_mortgage": null,
    "average_price_first_time_buyer": 629368,
    "house_price_index_first_time_buyer": 86.6,
    "percentage_change_1_month_first_time_buyer": 1.2,
    "percentage_change_12_months_first_time_buyer": -9.4,
    "average_price_former_owner_occupier": 908993,
    "house_price_index_former_owner_occupier": 88.9,
    "percentage_change_1_month_former_owner_occupier": 1.5,
    "percentage_change_12_months_former_owner_occupier": -8.2,
    "average_price_new": null,
    "house_price_index_new": null,
    "percentage_change_1_month_new": null,
    "percentage_change_12_months_new": null,
    "sales_volume_new": null,
    "average_price_existing": null,
    "house_price_index_existing": null,
    "percentage_change_1_month_existing": null,
    "percentage_change_12_months_existing": null,
    "sales_volume_existing": null
}

This provides information on monthly property price changes, calculated using data from HM Land Registry, Registers of Scotland, and Land and Property Services Northern Ireland.

Fuel poverty

{
    "lower_layer_super_output_area": {
        "lower_layer_super_output_area_code": "E01035487",
        "lower_layer_super_output_area_name": "Hammersmith and Fulham 023H",
        "household_count": 809,
        "fuel_poor_household_count": 60,
        "fuel_poor_household_percentage": 7
    },
    "local_authority": {
        "local_authority_district_code": "E09000013",
        "local_authority_district_name": "Hammersmith and Fulham",
        "household_count": 88809,
        "fuel_poor_household_count": 8657,
        "fuel_poor_household_percentage": 9.747885912463827
    },
    "region": {
        "region_code": "E12000007",
        "region_name": "London",
        "household_count": 3731959,
        "fuel_poor_household_count": 359488,
        "fuel_poor_household_percentage": 9.632688890740761
    }
}

The API provides fuel poverty statistics for the relevant region, local authority and LSOA. Note that this is currently only available for properties or locations in England.

Average energy consumption

{
    "middle_layer_super_output_area": {
        "middle_layer_super_output_area_code": "E02000394",
        "electricity_meter_count": 6608,
        "mean_electricity_usage": 3796.8767,
        "mean_electricity_cost": 1200.1080063699999,
        "median_electricity_usage": 2628.25,
        "median_electricity_cost": 894.9795750000001,
        "gas_meter_count": 2360,
        "mean_gas_usage": 10129.2705,
        "mean_gas_cost": 848.4715276500001,
        "median_gas_usage": 8211.192,
        "median_gas_cost": 707.8763736
    },
    "lower_layer_super_output_area": {
        "lower_layer_super_output_area_code": "E01035487",
        "electricity_meter_count": 904,
        "mean_electricity_usage": 2816.2676,
        "mean_electricity_cost": 944.07097036,
        "median_electricity_usage": 2086.15,
        "median_electricity_cost": 753.437265,
        "gas_meter_count": 612,
        "mean_gas_usage": 8822.37,
        "mean_gas_cost": 752.6757210000001,
        "median_gas_usage": 7172.616,
        "median_gas_cost": 631.7487528
    }
}

The API provides statistics on electricity and gas consumption, broken down by Lower Super Output Area (LSOA) and Middle Super Output Area (MSOA).

Retrofit Grants

[
    {
        "name": "Boiler Upgrade Scheme",
        "description": "Grant of up to £7,500 to cover part of the cost of replacing fossil fuel heating systems with a heat pump or biomass boiler.",
        "grant_value": 7500,
        "url": "https://www.gov.uk/apply-boiler-upgrade-scheme"
    }
]

The API provides a list of retrofit grants available in the area, alongside their value and the URL of the associated web page.

Urban Rural Classification

   "urban_rural_classification": {
      "output_area_code": "E00009707",
      "rural_urban_classification_code": "A1",
      "rural_urban_classification_10_fold": "Urban major conurbation",
      "rural_urban_classification_2_fold": "Urban"
    }

The API provides the rural/urban classification for the area in which the property is located.

EPCs

Energy Performance Certificates (EPCs) for the property are provided (if available). These are enhanced versions of the raw EPC data provided by the UK or Scottish governments (see here for information about how these have been enhanced).

Note that EPCs for properties in England and Wales differ from those for properties in Scotland, as follows:

Enhanced EPCs (England & Wales)

{
    "address": "30, Tynemouth Street",
    "address1": "30, Tynemouth Street",
    "address2": null,
    "address3": null,
    "adjusted_costs": {
        "heating_cost_current": 1500.5,
        "heating_cost_potential": 1170.1,
        "hot_water_cost_current": 255.6,
        "hot_water_cost_potential": 157,
        "lighting_cost_current": 145.9,
        "lighting_cost_potential": 145.9,
        "total_fuel_cost_current": 1902,
        "total_fuel_cost_potential": 1473,
        "standing_charges": 289
    },
    "built_form": "Mid-Terrace",
    "certificate_number": "8788-7424-5370-3747-2996",
    "co2_emissions_current": 4.9,
    "co2_emissions_per_floor_area_m2_current": 35,
    "co2_emissions_potential": 2.7,
    "co2_emissions_reduction_potential": 2.2,
    "constituency": "E14001160",
    "constituency_label": "Chelsea and Fulham",
    "construction_age_band": "1900-1929",
    "country": "England",
    "dwelling_type": "Existing dwellings",
    "energy_consumption_per_floor_area_m2_current": 197,
    "energy_consumption_per_floor_area_m2_potential": 107,
    "energy_efficiency_current": 64,
    "energy_efficiency_potential": 78,
    "energy_rating_current": "D",
    "energy_rating_potential": "C",
    "energy_tariff": "Single",
    "environmental_impact_current": 55,
    "environmental_impact_potential": 72,
    "extension_count": 1,
    "fixed_lighting_outlet_count": 23,
    "flat_storey_count": 2,
    "floor_description": "Suspended, no insulation (assumed)",
    "floor_energy_efficiency": "N/A",
    "floor_environmental_efficiency": "N/A",
    "floor_height": 2.62,
    "floor_level": null,
    "floor_thermal_transmittance": null,
    "floor_type": "suspended",
    "glazed_area": "Normal",
    "glazed_type": "Double",
    "habitable_room_count": 6,
    "has_mains_gas": true,
    "has_solar_water_heating": false,
    "heat_loss_corridor": null,
    "heat_pump": false,
    "heated_room_count": 6,
    "heating_cost_current": 822,
    "heating_cost_potential": 641,
    "hot_water_cost_current": 140,
    "hot_water_cost_potential": 86,
    "hot_water_description": "From main system",
    "hot_water_energy_efficiency": "Good",
    "hot_water_environmental_efficiency": "Good",
    "inspection_date": "2018-04-13T00:00:00.000Z",
    "is_flat_top_storey": false,
    "lighting_cost_current": 85,
    "lighting_cost_potential": 85,
    "lighting_description": "Low energy lighting in 96% of fixed outlets",
    "lighting_energy_efficiency": "Very Good",
    "lighting_environmental_efficiency": "Very Good",
    "local_authority": "E09000013",
    "local_authority_label": "Hammersmith and Fulham",
    "lodgement_date": "2018-04-13T00:00:00.000Z",
    "lodgement_datetime": "2018-04-13T17:05:00.000Z",
    "low_energy_fixed_light_count": 22,
    "low_energy_lighting_percentage": 96,
    "main_fuel": "Mains gas (not community)",
    "main_heating_controls": "Programmer, room thermostat and TRVs",
    "main_heating_controls_description": "Programmer, room thermostat and TRVs",
    "main_heating_controls_energy_efficiency": "Good",
    "main_heating_controls_environmental_efficiency": "Good",
    "main_heating_description": "Boiler and radiators, mains gas",
    "main_heating_energy_efficiency": "Good",
    "main_heating_environmental_efficiency": "Good",
    "mechanical_ventilation": "Natural",
    "multi_glaze_percentage": 100,
    "open_fireplace_count": 2,
    "post_town": "London",
    "postcode": "SW6 2QT",
    "property_type": "House",
    "region": "E12000007",
    "report_type": "Reduced Standard Assessment Procedure (RdSAP)",
    "roof_description": "Pitched, 300 mm loft insulation",
    "roof_energy_efficiency": "Very Good",
    "roof_environmental_efficiency": "Very Good",
    "roof_photovoltaic_supply": 0,
    "roof_thermal_transmittance": null,
    "roof_type": "pitched",
    "second_heating_description": "Room heaters, mains gas",
    "second_heating_energy_efficiency": "N/A",
    "second_heating_environmental_efficiency": "N/A",
    "tenure": "Owner-Occupied",
    "total_energy_consumption_current": 27777,
    "total_energy_consumption_potential": 15087,
    "total_floor_area": 141,
    "transaction_type": "Marketed sale",
    "unheated_corridor_length": null,
    "uprn": 34076006,
    "uprn_source": "Energy Assessor",
    "walls_description": "Solid brick, as built, no insulation (assumed)",
    "walls_energy_efficiency": "Very Poor",
    "walls_environmental_efficiency": "Very Poor",
    "walls_thermal_transmittance": null,
    "walls_type": "solid",
    "wind_turbine_count": 0,
    "windows_description": "Fully Double Glazed",
    "windows_energy_efficiency": "Good",
    "windows_environmental_efficiency": "Good"
}

Enhanced EPCs (Scotland)

{
    "address1": "136 Newhaven Road",
    "address2": null,
    "adjusted_costs": {
        "heating_cost_current": 1596.5,
        "heating_cost_potential": 1227,
        "hot_water_cost_current": 240.5,
        "hot_water_cost_potential": 153.4,
        "lighting_cost_current": 252.8,
        "lighting_cost_potential": 128.2,
        "total_fuel_cost_current": 2089.8,
        "total_fuel_cost_potential": 1508.6,
        "standing_charges": 289
    },
    "air_tightness_description": null,
    "air_tightness_energy_efficiency": null,
    "air_tightness_environmental_efficiency": null,
    "alternative_improvements": [],
    "building_reference_number": "1001366242",
    "built_form": "Detached",
    "co2_emissions_current": 5.4,
    "co2_emissions_per_floor_area_m2_current": 44,
    "co2_emissions_potential": 2.9000000000000004,
    "co2_emissions_reduction_potential": 2.5,
    "constituency": "00QPMD",
    "constituency_label": "Forth",
    "construction_age_band": "1965-1975",
    "created_at": "2017-03-28T00:00:00.000Z",
    "data_zone": "S01002294 (East Trinity and Bonnyhaugh)",
    "data_zone_2011": "S01008823 (Trinity East and The Dudleys - 03)",
    "energy_consumption_per_floor_area_m2_current": 249,
    "energy_consumption_per_floor_area_m2_potential": 132,
    "energy_cost_current": 1196,
    "energy_efficiency_current": 65,
    "energy_efficiency_potential": 83,
    "energy_rating_current": "D",
    "energy_rating_potential": "B",
    "energy_saving_potential": 332,
    "energy_tariff": "Single",
    "environmental_impact_current": 59,
    "environmental_impact_potential": 79,
    "environmental_rating_current": "D",
    "environmental_rating_potential": "C",
    "extension_count": 0,
    "fixed_lighting_outlet_count": 12,
    "flat_storey_count": null,
    "floor_description": "Suspended, no insulation (assumed)",
    "floor_energy_efficiency": "N/A",
    "floor_environmental_efficiency": "N/A",
    "floor_height": 2.4,
    "floor_level": null,
    "floor_thermal_transmittance": null,
    "floor_type": "suspended",
    "glazed_area": 1,
    "glazed_type": "not defined",
    "habitable_room_count": 4,
    "has_mains_gas": null,
    "has_solar_water_heating": false,
    "heat_loss_corridor": null,
    "heat_pump": false,
    "heated_room_count": 4,
    "heating_cost_current": 916,
    "heating_cost_potential": 704,
    "historic": false,
    "hot_water_cost_current": 138,
    "hot_water_cost_potential": 88,
    "hot_water_description": "From main system",
    "hot_water_energy_efficiency": "Good",
    "hot_water_environmental_efficiency": "Good",
    "id": "1814841",
    "impact_cavity_wall_insulation": 0,
    "impact_loft_insulation": 0,
    "impact_solid_wall_insulation": 0,
    "improvements": [
        {
            "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 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": "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-24T00:00:00.000Z",
    "lighting_cost_current": 142,
    "lighting_cost_potential": 72,
    "lighting_description": "No low energy lighting",
    "lighting_energy_efficiency": "Very Poor",
    "lighting_environmental_efficiency": "Very Poor",
    "local_authority_label": "Edinburgh City",
    "lodgement_date": "2017-03-28T00:00:00.000Z",
    "low_energy_fixed_light_count": 0,
    "low_energy_lighting_percentage": 0,
    "lzc_energy_sources": null,
    "main_fuel": "Mains gas (not community)",
    "main_heating_category": "Boiler with radiators or underfloor heating",
    "main_heating_controls": "2106",
    "main_heating_controls_description": "Programmer, room thermostat and TRVs",
    "main_heating_controls_energy_efficiency": "Good",
    "main_heating_controls_environmental_efficiency": "Good",
    "main_heating_description": "Boiler and radiators, mains gas",
    "main_heating_energy_efficiency": "Good",
    "main_heating_environmental_efficiency": "Good",
    "mechanical_ventilation": "Natural",
    "multi_glaze_percentage": 0,
    "open_fireplace_count": 0,
    "post_town": "Edinburgh",
    "postcode": "EH6 4NR",
    "property_type": "Bungalow",
    "report_reference_number": null,
    "roof_description": "Pitched, 200 mm loft insulation",
    "roof_energy_efficiency": "Good",
    "roof_environmental_efficiency": "Good",
    "roof_photovoltaic_supply": "Array: Roof Area: 0%; Connection: not applicable (FGHRS or no PV);  |",
    "roof_thermal_transmittance": null,
    "roof_type": "pitched",
    "second_heating_description": null,
    "space_heating_demand": 17136,
    "tenure": "Owner-Occupied",
    "three_year_energy_cost_current": 3588,
    "three_year_energy_saving_potential": 996,
    "three_year_heating_cost_current": 2748,
    "three_year_heating_cost_potential": 2112,
    "three_year_hot_water_cost_current": 414,
    "three_year_hot_water_cost_potential": 264,
    "three_year_lighting_cost_current": 426,
    "three_year_lighting_cost_potential": 216,
    "total_energy_consumption_current": 30627,
    "total_energy_consumption_potential": 16236,
    "total_floor_area": 123,
    "transaction_type": "None of the Above",
    "type_of_assessment": "RdSAP, existing dwelling",
    "unheated_corridor_length": null,
    "uprn": 906178651,
    "walls_description": "Cavity wall, filled cavity",
    "walls_energy_efficiency": "Good",
    "walls_environmental_efficiency": "Good",
    "walls_thermal_transmittance": null,
    "walls_type": "cavity",
    "water_heating_demand": 2822,
    "wind_turbine_count": 0,
    "windows_description": "Single Glazed",
    "windows_energy_efficiency": "Very Poor",
    "windows_environmental_efficiency": "Very Poor"
}

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:

  • Current energy rating
  • Potential energy rating
  • Current energy consumption
  • Potential energy consumption
  • Current energy efficiency
  • Potential energy efficiency
  • Current CO2 emissions
  • Potential CO2 emissions

Statistics provided include:

  • Counts
  • Average
  • Standard deviation
  • Mode
  • Min
  • Max
  • Percentiles: 10, 25, 50, 75, 90

These have been grouped by:

  • Postcode
  • Outcode
  • Local authority
  • Region
  • Country
  • Local authority and property type
  • Country and property type
{
    "postcode_stats": {
        "postcode": "SW6 2QT",
        "property_count": 30,
        "mode_energy_rating_current": "D",
        "avg_energy_rating_current": "D",
        "stddev_energy_rating_current": 0.5306686305052324,
        "min_energy_rating_current": "C",
        "max_energy_rating_current": "E",
        "perc_10_energy_rating_current": 4,
        "perc_25_energy_rating_current": 4,
        "perc_50_energy_rating_current": 4,
        "perc_75_energy_rating_current": 4,
        "perc_90_energy_rating_current": 5,
        "energy_rating_a_count_current": 0,
        "energy_rating_b_count_current": 0,
        "energy_rating_c_count_current": 7,
        "energy_rating_d_count_current": 21,
        "energy_rating_e_count_current": 2,
        "energy_rating_f_count_current": 0,
        "energy_rating_g_count_current": 0,
        "mode_energy_rating_potential": "C",
        "avg_energy_rating_potential": "D",
        "stddev_energy_rating_potential": 0.5560534167675355,
        "min_energy_rating_potential": "B",
        "max_energy_rating_potential": "E",
        "perc_10_energy_rating_potential": 4.9,
        "perc_25_energy_rating_potential": 5,
        "perc_50_energy_rating_potential": 5,
        "perc_75_energy_rating_potential": 5,
        "perc_90_energy_rating_potential": 5.1000000000000005,
        "energy_rating_a_count_potential": 0,
        "energy_rating_b_count_potential": 3,
        "energy_rating_c_count_potential": 24,
        "energy_rating_d_count_potential": 2,
        "energy_rating_e_count_potential": 1,
        "energy_rating_f_count_potential": 0,
        "energy_rating_g_count_potential": 0,
        "avg_energy_consumption_per_floor_area_m2_current": 235.2,
        "stddev_energy_consumption_per_floor_area_m2_current": 53.09094344482935,
        "min_energy_consumption_per_floor_area_m2_current": 132,
        "max_energy_consumption_per_floor_area_m2_current": 351,
        "perc_10_energy_consumption_per_floor_area_m2_current": 181.5,
        "perc_25_energy_consumption_per_floor_area_m2_current": 197.25,
        "perc_50_energy_consumption_per_floor_area_m2_current": 225,
        "perc_75_energy_consumption_per_floor_area_m2_current": 272.75,
        "perc_90_energy_consumption_per_floor_area_m2_current": 307.3,
        "avg_energy_consumption_per_floor_area_m2_potential": 145.6,
        "stddev_energy_consumption_per_floor_area_m2_potential": 53.885318837387395,
        "min_energy_consumption_per_floor_area_m2_potential": 60,
        "max_energy_consumption_per_floor_area_m2_potential": 338,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 105,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 119.25,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 136,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 157.5,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 213.4,
        "avg_energy_efficiency_current": 65.1,
        "stddev_energy_efficiency_current": 5.358525273193015,
        "min_energy_efficiency_current": 53,
        "max_energy_efficiency_current": 73,
        "perc_10_energy_efficiency_current": 57.8,
        "perc_25_energy_efficiency_current": 62.25,
        "perc_50_energy_efficiency_current": 67,
        "perc_75_energy_efficiency_current": 68,
        "perc_90_energy_efficiency_current": 70.2,
        "avg_energy_efficiency_potential": 75.93333333333334,
        "stddev_energy_efficiency_potential": 5.999616846003632,
        "min_energy_efficiency_potential": 54,
        "max_energy_efficiency_potential": 87,
        "perc_10_energy_efficiency_potential": 71.4,
        "perc_25_energy_efficiency_potential": 74,
        "perc_50_energy_efficiency_potential": 77.5,
        "perc_75_energy_efficiency_potential": 79,
        "perc_90_energy_efficiency_potential": 79.3,
        "avg_total_floor_area": 71.96666666666667,
        "avg_co2_emissions_current": 2.903333333333333,
        "stddev_co2_emissions_current": 0.8519686465549327,
        "min_co2_emissions_current": 1.5,
        "max_co2_emissions_current": 4.9,
        "perc_10_co2_emissions_current": 1.99,
        "perc_25_co2_emissions_current": 2.3,
        "perc_50_co2_emissions_current": 2.8,
        "perc_75_co2_emissions_current": 3.3,
        "perc_90_co2_emissions_current": 3.8800000000000003,
        "avg_co2_emissions_potential": 1.7933333333333334,
        "stddev_co2_emissions_potential": 0.7234654786861462,
        "min_co2_emissions_potential": 1,
        "max_co2_emissions_potential": 3.8,
        "perc_10_co2_emissions_potential": 1.2,
        "perc_25_co2_emissions_potential": 1.3,
        "perc_50_co2_emissions_potential": 1.4,
        "perc_75_co2_emissions_potential": 2.4,
        "perc_90_co2_emissions_potential": 2.7,
        "avg_energy_rating_current_numerical": 4.166666666666667,
        "avg_energy_rating_potential_numerical": 4.966666666666667
    },
    "outcode_stats": {
        "outcode": "SW6",
        "property_count": 26770,
        "mode_energy_rating_current": "C",
        "avg_energy_rating_current": "D",
        "stddev_energy_rating_current": 0.888148397233671,
        "min_energy_rating_current": "A",
        "max_energy_rating_current": "G",
        "perc_10_energy_rating_current": 4,
        "perc_25_energy_rating_current": 4,
        "perc_50_energy_rating_current": 5,
        "perc_75_energy_rating_current": 5,
        "perc_90_energy_rating_current": 6,
        "energy_rating_a_count_current": 11,
        "energy_rating_b_count_current": 3975,
        "energy_rating_c_count_current": 11220,
        "energy_rating_d_count_current": 9067,
        "energy_rating_e_count_current": 2194,
        "energy_rating_f_count_current": 216,
        "energy_rating_g_count_current": 87,
        "mode_energy_rating_potential": "C",
        "avg_energy_rating_potential": "C",
        "stddev_energy_rating_potential": 0.6657838723033511,
        "min_energy_rating_potential": "A",
        "max_energy_rating_potential": "G",
        "perc_10_energy_rating_potential": 5,
        "perc_25_energy_rating_potential": 5,
        "perc_50_energy_rating_potential": 5,
        "perc_75_energy_rating_potential": 6,
        "perc_90_energy_rating_potential": 6,
        "energy_rating_a_count_potential": 93,
        "energy_rating_b_count_potential": 9306,
        "energy_rating_c_count_potential": 14880,
        "energy_rating_d_count_potential": 2151,
        "energy_rating_e_count_potential": 301,
        "energy_rating_f_count_potential": 23,
        "energy_rating_g_count_potential": 16,
        "avg_energy_consumption_per_floor_area_m2_current": 203.41654976930596,
        "stddev_energy_consumption_per_floor_area_m2_current": 102.32199611363619,
        "min_energy_consumption_per_floor_area_m2_current": -1,
        "max_energy_consumption_per_floor_area_m2_current": 2196,
        "perc_10_energy_consumption_per_floor_area_m2_current": 88,
        "perc_25_energy_consumption_per_floor_area_m2_current": 141,
        "perc_50_energy_consumption_per_floor_area_m2_current": 192,
        "perc_75_energy_consumption_per_floor_area_m2_current": 252,
        "perc_90_energy_consumption_per_floor_area_m2_current": 320,
        "avg_energy_consumption_per_floor_area_m2_potential": 138.91291221516624,
        "stddev_energy_consumption_per_floor_area_m2_potential": 73.58440457653407,
        "min_energy_consumption_per_floor_area_m2_potential": -79,
        "max_energy_consumption_per_floor_area_m2_potential": 1616,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 68,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 95,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 124,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 163,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 232,
        "avg_energy_efficiency_current": 68.85595816212178,
        "stddev_energy_efficiency_current": 11.16365708531887,
        "min_energy_efficiency_current": 1,
        "max_energy_efficiency_current": 94,
        "perc_10_energy_efficiency_current": 55,
        "perc_25_energy_efficiency_current": 63,
        "perc_50_energy_efficiency_current": 70,
        "perc_75_energy_efficiency_current": 76,
        "perc_90_energy_efficiency_current": 83,
        "avg_energy_efficiency_potential": 77.6120283899888,
        "stddev_energy_efficiency_potential": 7.185274639739932,
        "min_energy_efficiency_potential": 1,
        "max_energy_efficiency_potential": 110,
        "perc_10_energy_efficiency_potential": 69,
        "perc_25_energy_efficiency_potential": 75,
        "perc_50_energy_efficiency_potential": 79,
        "perc_75_energy_efficiency_potential": 82,
        "perc_90_energy_efficiency_potential": 85,
        "avg_total_floor_area": 92.42943912659055,
        "avg_co2_emissions_current": 3.1464546133731806,
        "stddev_co2_emissions_current": 2.4311229111489503,
        "min_co2_emissions_current": 0,
        "max_co2_emissions_current": 84,
        "perc_10_co2_emissions_current": 1,
        "perc_25_co2_emissions_current": 1.6,
        "perc_50_co2_emissions_current": 2.4,
        "perc_75_co2_emissions_current": 4,
        "perc_90_co2_emissions_current": 6.2,
        "avg_co2_emissions_potential": 2.0952670900261348,
        "stddev_co2_emissions_potential": 1.6978154933030236,
        "min_co2_emissions_potential": -1.2,
        "max_co2_emissions_potential": 70,
        "perc_10_co2_emissions_potential": 0.8,
        "perc_25_co2_emissions_potential": 1.2,
        "perc_50_co2_emissions_potential": 1.6,
        "perc_75_co2_emissions_potential": 2.5,
        "perc_90_co2_emissions_potential": 3.8,
        "avg_energy_rating_current_numerical": 4.60948823309675,
        "avg_energy_rating_potential_numerical": 5.246768771012327
    },
    "local_authority_stats": {
        "local_authority_district_code": "E09000013",
        "property_count": 73760,
        "mode_energy_rating_current": "C",
        "avg_energy_rating_current": "D",
        "stddev_energy_rating_current": 0.8877637631385785,
        "min_energy_rating_current": "A",
        "max_energy_rating_current": "G",
        "perc_10_energy_rating_current": 4,
        "perc_25_energy_rating_current": 4,
        "perc_50_energy_rating_current": 5,
        "perc_75_energy_rating_current": 5,
        "perc_90_energy_rating_current": 6,
        "energy_rating_a_count_current": 30,
        "energy_rating_b_count_current": 12078,
        "energy_rating_c_count_current": 30979,
        "energy_rating_d_count_current": 24329,
        "energy_rating_e_count_current": 5561,
        "energy_rating_f_count_current": 586,
        "energy_rating_g_count_current": 197,
        "mode_energy_rating_potential": "C",
        "avg_energy_rating_potential": "C",
        "stddev_energy_rating_potential": 0.659122166804919,
        "min_energy_rating_potential": "A",
        "max_energy_rating_potential": "G",
        "perc_10_energy_rating_potential": 5,
        "perc_25_energy_rating_potential": 5,
        "perc_50_energy_rating_potential": 5,
        "perc_75_energy_rating_potential": 6,
        "perc_90_energy_rating_potential": 6,
        "energy_rating_a_count_potential": 240,
        "energy_rating_b_count_potential": 26577,
        "energy_rating_c_count_potential": 40496,
        "energy_rating_d_count_potential": 5622,
        "energy_rating_e_count_potential": 721,
        "energy_rating_f_count_potential": 62,
        "energy_rating_g_count_potential": 42,
        "avg_energy_consumption_per_floor_area_m2_current": 205.80424530616196,
        "stddev_energy_consumption_per_floor_area_m2_current": 109.73044253649111,
        "min_energy_consumption_per_floor_area_m2_current": -27,
        "max_energy_consumption_per_floor_area_m2_current": 2196,
        "perc_10_energy_consumption_per_floor_area_m2_current": 65,
        "perc_25_energy_consumption_per_floor_area_m2_current": 141,
        "perc_50_energy_consumption_per_floor_area_m2_current": 196,
        "perc_75_energy_consumption_per_floor_area_m2_current": 258,
        "perc_90_energy_consumption_per_floor_area_m2_current": 330,
        "avg_energy_consumption_per_floor_area_m2_potential": 139.06614235357915,
        "stddev_energy_consumption_per_floor_area_m2_potential": 79.40024380705366,
        "min_energy_consumption_per_floor_area_m2_potential": -117,
        "max_energy_consumption_per_floor_area_m2_potential": 1616,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 57,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 93,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 124,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 165,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 240,
        "avg_energy_efficiency_current": 69.41332700650759,
        "stddev_energy_efficiency_current": 11.15936521896996,
        "min_energy_efficiency_current": 1,
        "max_energy_efficiency_current": 105,
        "perc_10_energy_efficiency_current": 56,
        "perc_25_energy_efficiency_current": 63,
        "perc_50_energy_efficiency_current": 70,
        "perc_75_energy_efficiency_current": 77,
        "perc_90_energy_efficiency_current": 84,
        "avg_energy_efficiency_potential": 78.01041214750542,
        "stddev_energy_efficiency_potential": 7.079679114401601,
        "min_energy_efficiency_potential": 1,
        "max_energy_efficiency_potential": 115,
        "perc_10_energy_efficiency_potential": 70,
        "perc_25_energy_efficiency_potential": 76,
        "perc_50_energy_efficiency_potential": 79,
        "perc_75_energy_efficiency_potential": 82,
        "perc_90_energy_efficiency_potential": 86,
        "avg_total_floor_area": 80.92231540362667,
        "avg_co2_emissions_current": 2.787951328633384,
        "stddev_co2_emissions_current": 2.2404708310845143,
        "min_co2_emissions_current": -0.2,
        "max_co2_emissions_current": 84,
        "perc_10_co2_emissions_current": 0.8,
        "perc_25_co2_emissions_current": 1.4,
        "perc_50_co2_emissions_current": 2.2,
        "perc_75_co2_emissions_current": 3.5,
        "perc_90_co2_emissions_current": 5.4,
        "avg_co2_emissions_potential": 1.8287120390455207,
        "stddev_co2_emissions_potential": 1.5089524780758483,
        "min_co2_emissions_potential": -1.5,
        "max_co2_emissions_potential": 70,
        "perc_10_co2_emissions_potential": 0.7,
        "perc_25_co2_emissions_potential": 1,
        "perc_50_co2_emissions_potential": 1.4,
        "perc_75_co2_emissions_potential": 2.1,
        "perc_90_co2_emissions_potential": 3.3,
        "avg_energy_rating_current_numerical": 4.649417028199566,
        "avg_energy_rating_potential_numerical": 5.266255422993493
    },
    "region_stats": {
        "region_code": "E12000007",
        "property_count": 2891820,
        "mode_energy_rating_current": "C",
        "avg_energy_rating_current": "D",
        "stddev_energy_rating_current": 0.9302431050082642,
        "min_energy_rating_current": "A",
        "max_energy_rating_current": "G",
        "perc_10_energy_rating_current": 3,
        "perc_25_energy_rating_current": 4,
        "perc_50_energy_rating_current": 5,
        "perc_75_energy_rating_current": 5,
        "perc_90_energy_rating_current": 6,
        "energy_rating_a_count_current": 6038,
        "energy_rating_b_count_current": 470326,
        "energy_rating_c_count_current": 1110494,
        "energy_rating_d_count_current": 997681,
        "energy_rating_e_count_current": 266540,
        "energy_rating_f_count_current": 32451,
        "energy_rating_g_count_current": 8290,
        "mode_energy_rating_potential": "C",
        "avg_energy_rating_potential": "C",
        "stddev_energy_rating_potential": 0.6838563752466628,
        "min_energy_rating_potential": "A",
        "max_energy_rating_potential": "G",
        "perc_10_energy_rating_potential": 5,
        "perc_25_energy_rating_potential": 5,
        "perc_50_energy_rating_potential": 5,
        "perc_75_energy_rating_potential": 6,
        "perc_90_energy_rating_potential": 6,
        "energy_rating_a_count_potential": 26914,
        "energy_rating_b_count_potential": 1253692,
        "energy_rating_c_count_potential": 1380800,
        "energy_rating_d_count_potential": 198155,
        "energy_rating_e_count_potential": 27004,
        "energy_rating_f_count_potential": 3791,
        "energy_rating_g_count_potential": 1464,
        "avg_energy_consumption_per_floor_area_m2_current": 213.0565811348577,
        "stddev_energy_consumption_per_floor_area_m2_current": 130.45640868845675,
        "min_energy_consumption_per_floor_area_m2_current": -2818,
        "max_energy_consumption_per_floor_area_m2_current": 20509,
        "perc_10_energy_consumption_per_floor_area_m2_current": 73,
        "perc_25_energy_consumption_per_floor_area_m2_current": 144,
        "perc_50_energy_consumption_per_floor_area_m2_current": 203,
        "perc_75_energy_consumption_per_floor_area_m2_current": 268,
        "perc_90_energy_consumption_per_floor_area_m2_current": 343,
        "avg_energy_consumption_per_floor_area_m2_potential": 137.20650595818546,
        "stddev_energy_consumption_per_floor_area_m2_potential": 105.39507824824028,
        "min_energy_consumption_per_floor_area_m2_potential": -2818,
        "max_energy_consumption_per_floor_area_m2_potential": 20509,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 55,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 85,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 121,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 164,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 244,
        "avg_energy_efficiency_current": 68.5626636512646,
        "stddev_energy_efficiency_current": 11.767368388725588,
        "min_energy_efficiency_current": 1,
        "max_energy_efficiency_current": 478,
        "perc_10_energy_efficiency_current": 54,
        "perc_25_energy_efficiency_current": 62,
        "perc_50_energy_efficiency_current": 70,
        "perc_75_energy_efficiency_current": 77,
        "perc_90_energy_efficiency_current": 83,
        "avg_energy_efficiency_potential": 78.84985026730571,
        "stddev_energy_efficiency_potential": 7.465447187428901,
        "min_energy_efficiency_potential": 1,
        "max_energy_efficiency_potential": 478,
        "perc_10_energy_efficiency_potential": 70,
        "perc_25_energy_efficiency_potential": 76,
        "perc_50_energy_efficiency_potential": 80,
        "perc_75_energy_efficiency_potential": 84,
        "perc_90_energy_efficiency_potential": 86,
        "avg_total_floor_area": 80.86463834988994,
        "avg_co2_emissions_current": 2.960776787628643,
        "stddev_co2_emissions_current": 2.394493559999003,
        "min_co2_emissions_current": -38.4,
        "max_co2_emissions_current": 242,
        "perc_10_co2_emissions_current": 0.8,
        "perc_25_co2_emissions_current": 1.5,
        "perc_50_co2_emissions_current": 2.4,
        "perc_75_co2_emissions_current": 3.8,
        "perc_90_co2_emissions_current": 5.5,
        "avg_co2_emissions_potential": 1.8204498654828742,
        "stddev_co2_emissions_potential": 1.5297808114138756,
        "min_co2_emissions_potential": -38.4,
        "max_co2_emissions_potential": 180.5,
        "perc_10_co2_emissions_potential": 0.7,
        "perc_25_co2_emissions_potential": 1,
        "perc_50_co2_emissions_potential": 1.5,
        "perc_75_co2_emissions_potential": 2.2,
        "perc_90_co2_emissions_potential": 3.2,
        "avg_energy_rating_current_numerical": 4.592342538608904,
        "avg_energy_rating_potential_numerical": 5.3589877654902445
    },
    "country_stats": {
        "country_code": "E92000001",
        "property_count": 18977304,
        "mode_energy_rating_current": "D",
        "avg_energy_rating_current": "D",
        "stddev_energy_rating_current": 0.9925321539498203,
        "min_energy_rating_current": "A",
        "max_energy_rating_current": "G",
        "perc_10_energy_rating_current": 3,
        "perc_25_energy_rating_current": 4,
        "perc_50_energy_rating_current": 5,
        "perc_75_energy_rating_current": 5,
        "perc_90_energy_rating_current": 6,
        "energy_rating_a_count_current": 143006,
        "energy_rating_b_count_current": 2670261,
        "energy_rating_c_count_current": 6783967,
        "energy_rating_d_count_current": 6800588,
        "energy_rating_e_count_current": 2088105,
        "energy_rating_f_count_current": 386675,
        "energy_rating_g_count_current": 104702,
        "mode_energy_rating_potential": "B",
        "avg_energy_rating_potential": "C",
        "stddev_energy_rating_potential": 0.7772749978773327,
        "min_energy_rating_potential": "A",
        "max_energy_rating_potential": "G",
        "perc_10_energy_rating_potential": 5,
        "perc_25_energy_rating_potential": 5,
        "perc_50_energy_rating_potential": 6,
        "perc_75_energy_rating_potential": 6,
        "perc_90_energy_rating_potential": 6,
        "energy_rating_a_count_potential": 1506667,
        "energy_rating_b_count_potential": 9072569,
        "energy_rating_c_count_potential": 7165795,
        "energy_rating_d_count_potential": 1001907,
        "energy_rating_e_count_potential": 181205,
        "energy_rating_f_count_potential": 38228,
        "energy_rating_g_count_potential": 10933,
        "avg_energy_consumption_per_floor_area_m2_current": 228.12560908136157,
        "stddev_energy_consumption_per_floor_area_m2_current": 144.45794850616323,
        "min_energy_consumption_per_floor_area_m2_current": -320866,
        "max_energy_consumption_per_floor_area_m2_current": 54443,
        "perc_10_energy_consumption_per_floor_area_m2_current": 93,
        "perc_25_energy_consumption_per_floor_area_m2_current": 158,
        "perc_50_energy_consumption_per_floor_area_m2_current": 214,
        "perc_75_energy_consumption_per_floor_area_m2_current": 279,
        "perc_90_energy_consumption_per_floor_area_m2_current": 361,
        "avg_energy_consumption_per_floor_area_m2_potential": 130.3043236262642,
        "stddev_energy_consumption_per_floor_area_m2_potential": 120.86375769942079,
        "min_energy_consumption_per_floor_area_m2_potential": -320884,
        "max_energy_consumption_per_floor_area_m2_potential": 53064,
        "perc_10_energy_consumption_per_floor_area_m2_potential": 47,
        "perc_25_energy_consumption_per_floor_area_m2_potential": 82,
        "perc_50_energy_consumption_per_floor_area_m2_potential": 117,
        "perc_75_energy_consumption_per_floor_area_m2_potential": 162,
        "perc_90_energy_consumption_per_floor_area_m2_potential": 227,
        "avg_energy_efficiency_current": 67.14704438522985,
        "stddev_energy_efficiency_current": 12.795104697958548,
        "min_energy_efficiency_current": 1,
        "max_energy_efficiency_current": 1705,
        "perc_10_energy_efficiency_current": 51,
        "perc_25_energy_efficiency_current": 61,
        "perc_50_energy_efficiency_current": 69,
        "perc_75_energy_efficiency_current": 75,
        "perc_90_energy_efficiency_current": 83,
        "avg_energy_efficiency_potential": 80.85997874092126,
        "stddev_energy_efficiency_potential": 9.745599655652425,
        "min_energy_efficiency_potential": 1,
        "max_energy_efficiency_potential": 8397,
        "perc_10_energy_efficiency_potential": 71,
        "perc_25_energy_efficiency_potential": 77,
        "perc_50_energy_efficiency_potential": 82,
        "perc_75_energy_efficiency_potential": 86,
        "perc_90_energy_efficiency_potential": 90,
        "avg_total_floor_area": 89.69660392727035,
        "avg_co2_emissions_current": 3.5533397246521385,
        "stddev_co2_emissions_current": 2.925909482700728,
        "min_co2_emissions_current": -2854.8,
        "max_co2_emissions_current": 1217,
        "perc_10_co2_emissions_current": 1.2,
        "perc_25_co2_emissions_current": 1.9,
        "perc_50_co2_emissions_current": 3,
        "perc_75_co2_emissions_current": 4.4,
        "perc_90_co2_emissions_current": 6.3,
        "avg_co2_emissions_potential": 2.0069209230147154,
        "stddev_co2_emissions_potential": 1.9804407305727239,
        "min_co2_emissions_potential": -2855,
        "max_co2_emissions_potential": 1180,
        "perc_10_co2_emissions_potential": 0.6,
        "perc_25_co2_emissions_potential": 1.1,
        "perc_50_co2_emissions_potential": 1.6,
        "perc_75_co2_emissions_potential": 2.5,
        "perc_90_co2_emissions_potential": 3.7,
        "avg_energy_rating_current_numerical": 4.494166400032375,
        "avg_energy_rating_potential_numerical": 5.556621214478095
    },
    "property_type_stats": {
        "local_authority_stats": {
            "local_authority_district_code": "E09000013",
            "property_type": "House",
            "property_count": 15000,
            "mode_energy_rating_current": "D",
            "avg_energy_rating_current": "D",
            "stddev_energy_rating_current": 0.8226376736952984,
            "min_energy_rating_current": "A",
            "max_energy_rating_current": "G",
            "perc_10_energy_rating_current": 3,
            "perc_25_energy_rating_current": 4,
            "perc_50_energy_rating_current": 4,
            "perc_75_energy_rating_current": 5,
            "perc_90_energy_rating_current": 5,
            "energy_rating_a_count_current": 7,
            "energy_rating_b_count_current": 403,
            "energy_rating_c_count_current": 4214,
            "energy_rating_d_count_current": 7536,
            "energy_rating_e_count_current": 2452,
            "energy_rating_f_count_current": 297,
            "energy_rating_g_count_current": 91,
            "mode_energy_rating_potential": "B",
            "avg_energy_rating_potential": "C",
            "stddev_energy_rating_potential": 0.795664002838946,
            "min_energy_rating_potential": "A",
            "max_energy_rating_potential": "G",
            "perc_10_energy_rating_potential": 4,
            "perc_25_energy_rating_potential": 5,
            "perc_50_energy_rating_potential": 6,
            "perc_75_energy_rating_potential": 6,
            "perc_90_energy_rating_potential": 6,
            "energy_rating_a_count_potential": 200,
            "energy_rating_b_count_potential": 7990,
            "energy_rating_c_count_potential": 5221,
            "energy_rating_d_count_potential": 1151,
            "energy_rating_e_count_potential": 383,
            "energy_rating_f_count_potential": 32,
            "energy_rating_g_count_potential": 23,
            "avg_energy_consumption_per_floor_area_m2_current": 222.14746666666667,
            "stddev_energy_consumption_per_floor_area_m2_current": 83.14482660431511,
            "min_energy_consumption_per_floor_area_m2_current": -27,
            "max_energy_consumption_per_floor_area_m2_current": 1219,
            "perc_10_energy_consumption_per_floor_area_m2_current": 135,
            "perc_25_energy_consumption_per_floor_area_m2_current": 169,
            "perc_50_energy_consumption_per_floor_area_m2_current": 212,
            "perc_75_energy_consumption_per_floor_area_m2_current": 262,
            "perc_90_energy_consumption_per_floor_area_m2_current": 320,
            "avg_energy_consumption_per_floor_area_m2_potential": 115.63993333333333,
            "stddev_energy_consumption_per_floor_area_m2_potential": 69.81807256157005,
            "min_energy_consumption_per_floor_area_m2_potential": -117,
            "max_energy_consumption_per_floor_area_m2_potential": 1022,
            "perc_10_energy_consumption_per_floor_area_m2_potential": 60,
            "perc_25_energy_consumption_per_floor_area_m2_potential": 78,
            "perc_50_energy_consumption_per_floor_area_m2_potential": 98,
            "perc_75_energy_consumption_per_floor_area_m2_potential": 127,
            "perc_90_energy_consumption_per_floor_area_m2_potential": 202,
            "avg_energy_efficiency_current": 62.48226666666667,
            "stddev_energy_efficiency_current": 11.016117397631078,
            "min_energy_efficiency_current": 1,
            "max_energy_efficiency_current": 105,
            "perc_10_energy_efficiency_current": 49,
            "perc_25_energy_efficiency_current": 57,
            "perc_50_energy_efficiency_current": 64,
            "perc_75_energy_efficiency_current": 70,
            "perc_90_energy_efficiency_current": 74,
            "avg_energy_efficiency_potential": 79.06346666666667,
            "stddev_energy_efficiency_potential": 9.286247229535878,
            "min_energy_efficiency_potential": 1,
            "max_energy_efficiency_potential": 115,
            "perc_10_energy_efficiency_potential": 68,
            "perc_25_energy_efficiency_potential": 77,
            "perc_50_energy_efficiency_potential": 81,
            "perc_75_energy_efficiency_potential": 85,
            "perc_90_energy_efficiency_potential": 87,
            "avg_total_floor_area": 143.61380686902058,
            "avg_co2_emissions_current": 5.44084000000001,
            "stddev_co2_emissions_current": 2.958371324190524,
            "min_co2_emissions_current": -0.2,
            "max_co2_emissions_current": 84,
            "perc_10_co2_emissions_current": 2.6,
            "perc_25_co2_emissions_current": 3.5,
            "perc_50_co2_emissions_current": 4.8,
            "perc_75_co2_emissions_current": 6.7,
            "perc_90_co2_emissions_current": 9,
            "avg_co2_emissions_potential": 3.0640533333333337,
            "stddev_co2_emissions_potential": 2.4169735803082495,
            "min_co2_emissions_potential": -1.5,
            "max_co2_emissions_potential": 70,
            "perc_10_co2_emissions_potential": 1,
            "perc_25_co2_emissions_potential": 1.6,
            "perc_50_co2_emissions_potential": 2.4,
            "perc_75_co2_emissions_potential": 3.8,
            "perc_90_co2_emissions_potential": 5.8,
            "avg_energy_rating_current_numerical": 4.1148,
            "avg_energy_rating_potential_numerical": 5.419
        },
        "country_stats": {
            "country_code": "E92000001",
            "property_type": "House",
            "property_count": 11862318,
            "mode_energy_rating_current": "D",
            "avg_energy_rating_current": "D",
            "stddev_energy_rating_current": 1.0122814886468625,
            "min_energy_rating_current": "A",
            "max_energy_rating_current": "G",
            "perc_10_energy_rating_current": 3,
            "perc_25_energy_rating_current": 4,
            "perc_50_energy_rating_current": 4,
            "perc_75_energy_rating_current": 5,
            "perc_90_energy_rating_current": 6,
            "energy_rating_a_count_current": 114713,
            "energy_rating_b_count_current": 1501818,
            "energy_rating_c_count_current": 3665136,
            "energy_rating_d_count_current": 4733477,
            "energy_rating_e_count_current": 1479942,
            "energy_rating_f_count_current": 290911,
            "energy_rating_g_count_current": 76321,
            "mode_energy_rating_potential": "B",
            "avg_energy_rating_potential": "C",
            "stddev_energy_rating_potential": 0.7851979821167834,
            "min_energy_rating_potential": "A",
            "max_energy_rating_potential": "G",
            "perc_10_energy_rating_potential": 5,
            "perc_25_energy_rating_potential": 5,
            "perc_50_energy_rating_potential": 6,
            "perc_75_energy_rating_potential": 6,
            "perc_90_energy_rating_potential": 7,
            "energy_rating_a_count_potential": 1353744,
            "energy_rating_b_count_potential": 6577112,
            "energy_rating_c_count_potential": 3279959,
            "energy_rating_d_count_potential": 501082,
            "energy_rating_e_count_potential": 116201,
            "energy_rating_f_count_potential": 26544,
            "energy_rating_g_count_potential": 7676,
            "avg_energy_consumption_per_floor_area_m2_current": 226.13340897075247,
            "stddev_energy_consumption_per_floor_area_m2_current": 143.00607452095898,
            "min_energy_consumption_per_floor_area_m2_current": -320866,
            "max_energy_consumption_per_floor_area_m2_current": 54443,
            "perc_10_energy_consumption_per_floor_area_m2_current": 92,
            "perc_25_energy_consumption_per_floor_area_m2_current": 165,
            "perc_50_energy_consumption_per_floor_area_m2_current": 216,
            "perc_75_energy_consumption_per_floor_area_m2_current": 277,
            "perc_90_energy_consumption_per_floor_area_m2_current": 348,
            "avg_energy_consumption_per_floor_area_m2_potential": 110.66956997443498,
            "stddev_energy_consumption_per_floor_area_m2_potential": 120.43890500814346,
            "min_energy_consumption_per_floor_area_m2_potential": -320884,
            "max_energy_consumption_per_floor_area_m2_potential": 48964,
            "perc_10_energy_consumption_per_floor_area_m2_potential": 35,
            "perc_25_energy_consumption_per_floor_area_m2_potential": 73,
            "perc_50_energy_consumption_per_floor_area_m2_potential": 104,
            "perc_75_energy_consumption_per_floor_area_m2_potential": 139,
            "perc_90_energy_consumption_per_floor_area_m2_potential": 187,
            "avg_energy_efficiency_current": 65.80844587036025,
            "stddev_energy_efficiency_current": 13.051872886053104,
            "min_energy_efficiency_current": 1,
            "max_energy_efficiency_current": 349,
            "perc_10_energy_efficiency_current": 50,
            "perc_25_energy_efficiency_current": 59,
            "perc_50_energy_efficiency_current": 67,
            "perc_75_energy_efficiency_current": 73,
            "perc_90_energy_efficiency_current": 83,
            "avg_energy_efficiency_potential": 82.44722877940045,
            "stddev_energy_efficiency_potential": 10.100330061051059,
            "min_energy_efficiency_potential": 1,
            "max_energy_efficiency_potential": 8388,
            "perc_10_energy_efficiency_potential": 73,
            "perc_25_energy_efficiency_potential": 79,
            "perc_50_energy_efficiency_potential": 83,
            "perc_75_energy_efficiency_potential": 87,
            "perc_90_energy_efficiency_potential": 92,
            "avg_total_floor_area": 104.96741701285087,
            "avg_co2_emissions_current": 4.175951627667091,
            "stddev_co2_emissions_current": 3.233741744415999,
            "min_co2_emissions_current": -2854.8,
            "max_co2_emissions_current": 999,
            "perc_10_co2_emissions_current": 1.6,
            "perc_25_co2_emissions_current": 2.5,
            "perc_50_co2_emissions_current": 3.5,
            "perc_75_co2_emissions_current": 5,
            "perc_90_co2_emissions_current": 7.1,
            "avg_co2_emissions_potential": 2.1772530048511607,
            "stddev_co2_emissions_potential": 2.2750896353362258,
            "min_co2_emissions_potential": -2855,
            "max_co2_emissions_potential": 867,
            "perc_10_co2_emissions_potential": 0.6,
            "perc_25_co2_emissions_potential": 1.1,
            "perc_50_co2_emissions_potential": 1.8,
            "perc_75_co2_emissions_potential": 2.7,
            "perc_90_co2_emissions_potential": 4.1,
            "avg_energy_rating_current_numerical": 4.3980827356002425,
            "avg_energy_rating_potential_numerical": 5.711562445046575
        }
    }
}

EPC Compare

If the property has an EPC, the API provides an assessment of how its energy efficiency and carbon footprint compare to average values within relevant administrative boundaries. Where possible, an assessment against similar properties is provided.

{
    "relative_to_postcode": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 65.1,
        "average_carbon_footprint": 2.903333333333333
    },
    "relative_to_outcode": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 68.85595816212178,
        "average_carbon_footprint": 3.1464546133731806
    },
    "relative_to_local_authority": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 69.41332700650759,
        "average_carbon_footprint": 2.787951328633384
    },
    "relative_to_region": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 68.5626636512646,
        "average_carbon_footprint": 2.960776787628643
    },
    "relative_to_country": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 67.14704438522985,
        "average_carbon_footprint": 3.5533397246521385
    },
    "relative_to_similar_properties_local_authority": {
        "energy_efficiency": "better",
        "carbon_footprint": "lower",
        "average_energy_efficiency_score": 62.48226666666667,
        "average_carbon_footprint": 5.44084000000001
    },
    "relative_to_similar_properties_country": {
        "energy_efficiency": "worse",
        "carbon_footprint": "higher",
        "average_energy_efficiency_score": 65.80844587036025,
        "average_carbon_footprint": 4.175951627667091
    }
}

EPC Retrofit Recommendations

The API response provides EPC retrofit recommendations (if they exist) for properties in England and Wales (these are included within the EPC itself for properties in Scotland). Results comprise a brief description of the upgrade and an indicative cost range.

[
    {
        "certificate_number": "8788-7424-5370-3747-2996",
        "improvement_id": 34,
        "improvement_summary_text": "Solar photovoltaic panels, 2.5 kWp",
        "improvement_description_text": "A solar PV system is one which converts light directly into electricity via panels placed on the roof with no waste and no emissions. This electricity is used throughout the home in the same way as the electricity purchased from an energy supplier. The British Photovoltaic Association has up-to-date information on local installers who are qualified electricians. It is best to obtain advice from a qualified electrician. Ask the electrician to explain the options.",
        "indicative_cost_min": 5000,
        "indicative_cost_max": 8000
    },
    {
        "certificate_number": "8788-7424-5370-3747-2996",
        "improvement_id": 57,
        "improvement_summary_text": "Floor insulation (suspended floor)",
        "improvement_description_text": "Insulation of a floor will significantly reduce heat loss; this will improve levels of comfort, reduce energy use and lower fuel bills. Suspended floors can often be insulated from below. . Further information about floor insulation is available from many sources including www.energysavingtrust.org.uk/northernireland/Insulation/Floor-insulation.",
        "indicative_cost_min": 800,
        "indicative_cost_max": 1200
    },
    {
        "certificate_number": "8788-7424-5370-3747-2996",
        "improvement_id": 19,
        "improvement_summary_text": "Solar water heating",
        "improvement_description_text": "A solar water heating panel, usually fixed to the roof, uses the sun to pre-heat the hot water supply. This will significantly reduce the demand on the heating system to provide hot water and hence save fuel and money. The Solar Trade Association has up-to-date information on local installers.",
        "indicative_cost_min": 4000,
        "indicative_cost_max": 6000
    },
    {
        "certificate_number": "8788-7424-5370-3747-2996",
        "improvement_id": 7,
        "improvement_summary_text": "50 mm internal or external wall insulation",
        "improvement_description_text": "Solid wall insulation involves adding a layer of insulation to either the inside or the outside surface of the external walls, which reduces heat loss and lowers fuel bills. As it is more expensive than cavity wall insulation it is only recommended for walls without a cavity, or where for technical reasons a cavity cannot be filled. Internal insulation, known as dry-lining, is where a layer of insulation is fixed to the inside surface of external walls; this type of insulation is best applied when rooms require redecorating and can be installed by a competent DIY enthusiast. External solid wall insulation is the application of an insulant and a weather-protective finish to the outside of the wall. This may improve the look of the home, particularly where existing brickwork or rendering is poor, and will provide long-lasting weather protection. Further information can be obtained from the National Insulation Association (www.nationalinsulationassociation.org.uk).",
        "indicative_cost_min": 4000,
        "indicative_cost_max": 14000
    }
]

Code Samples

Request

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

Response

{
    "location": {
      "uprn": 34076006,
      "x_coord": 526131,
      "y_coord": 176355,
      "latitude": 51.47211,
      "longitude": -0.1853445
    },
    "admin_boundaries": {
      "postcode": "SW6 2QT",
      "census_output_area_code": "E00009707",
      "county_code": "E13000001",
      "county_electoral_division_code": "E99999999",
      "local_authority_district_code": "E09000013",
      "electoral_area_code": "E05013747",
      "health_area_code": "E18000007",
      "country_code": "E92000001",
      "region_code": "E12000007",
      "parliamentary_constituency_code": "E14001160",
      "european_electoral_region_code": "E15000007",
      "travel_to_work_area_code": "E30000234",
      "itl_area_code": "E09000013",
      "national_park_code": "E65000001",
      "census_lower_layer_super_output_area_code": "E01035487",
      "census_middle_layer_super_output_area_code": "E02000394",
      "census_workplace_zone": "E33033988",
      "ccg_lhb_chp_area_code": "E38000256",
      "built_up_area_code": "E63012087",
      "census_rural_urban_classification": "UN1",
      "census_output_area_classification": null,
      "local_enterprise_partnership_code": "E37000051",
      "local_enterprise_partnership_secondary_code": null,
      "police_force_area_code": "E23000001",
      "electoral_area_name": "Sands End",
      "local_authority_district_name": "Hammersmith and Fulham",
      "county_name": "Hammersmith and Fulham",
      "region_name": "London",
      "country_name": "England"
    },
    "planning": {
      "conservation_areas": {
        "in_conservation_area": true,
        "conservation_area": 2273828.5525359632,
        "conservation_area_proportion": 0.7284537903512821,
        "nearest_conservation_area": {
          "name": "No data available for publication by HE",
          "distance": 0,
          "nearest_point": null
        }
      },
      "listed_buildings": {
        "nearest_listed_buildings": [
          {
            "distance": 272.65926201169736,
            "x_coord": 525867.650000001,
            "y_coord": 176425.638875,
            "latitude": 51.472803363681365,
            "longitude": -0.18910933363089522,
            "name": "LANGFORD SCHOOL INCLUDING WALL, RAILINGS, GATES AND ENTRANCES, AND FORMER SCHOOL KEEPER'S HOUSE AND SPECIAL SCHOOL",
            "grade": "II",
            "date_listed": "2009-08-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393408"
          },
          {
            "distance": 404.2988160209559,
            "x_coord": 526507.3075,
            "y_coord": 176502.818125004,
            "latitude": 51.473354479784355,
            "longitude": -0.17987667978798275,
            "name": "CREMORNE BRIDGE, WEST LONDON EXTENSION RAILWAY BRIDGE",
            "grade": "II*",
            "date_listed": "2008-11-26T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393006"
          },
          {
            "distance": 459.0246555692252,
            "x_coord": 526003.950000001,
            "y_coord": 176796.091750003,
            "latitude": 51.47610236703256,
            "longitude": -0.187015978762473,
            "name": "FORMER LABORATORY AT THE IMPERIAL GAS WORKS",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392024"
          },
          {
            "distance": 475.47437878733615,
            "x_coord": 526020.825000001,
            "y_coord": 176817.533625003,
            "latitude": 51.47629131271065,
            "longitude": -0.18676548323922187,
            "name": "OFFICE BUILDING AT THE FORMER IMPERIAL GAS WORKS",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392025"
          },
          {
            "distance": 494.79545054752094,
            "x_coord": 526618.171500001,
            "y_coord": 176441.524375001,
            "latitude": 51.47277885538365,
            "longitude": -0.17830319242949452,
            "name": "Cremorne Bridge, West London Extension Railway Bridge, Battersea",
            "grade": "II*",
            "date_listed": "2008-11-26T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1393005"
          },
          {
            "distance": 495.9440400961927,
            "x_coord": 525992.145,
            "y_coord": 176831.109000001,
            "latitude": 51.47641969688287,
            "longitude": -0.1871734055456125,
            "name": "WAR MEMORIAL",
            "grade": "II",
            "date_listed": "2007-06-07T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1392026"
          },
          {
            "distance": 564.5638515564086,
            "x_coord": 526042.855809047,
            "y_coord": 176912.640515104,
            "latitude": 51.47714114501708,
            "longitude": -0.18641454604452504,
            "name": "Gasholder No 2, Fulham Gasworks",
            "grade": "II*",
            "date_listed": "1970-05-12T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1261959"
          },
          {
            "distance": 654.1070248826896,
            "x_coord": 526747,
            "y_coord": 176575.000000002,
            "latitude": 51.47394959321589,
            "longitude": -0.17640147952629298,
            "name": "OLD BATTERSEA HOUSE",
            "grade": "II*",
            "date_listed": "1954-06-28T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1065500"
          },
          {
            "distance": 693.9798267983115,
            "x_coord": 525549,
            "y_coord": 176733.000000004,
            "latitude": 51.47563638690696,
            "longitude": -0.19358588507184643,
            "name": "NOS 71 TO 77 INCLUDING IRON RAILINGS",
            "grade": "II",
            "date_listed": "1970-05-12T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1192382"
          },
          {
            "distance": 702.7560031786114,
            "x_coord": 526776.000000001,
            "y_coord": 176634.000000004,
            "latitude": 51.47447333832597,
            "longitude": -0.17596300838318335,
            "name": "ST MARY'S VICARAGE (INCLUDING RAILINGS AND GATES)",
            "grade": "II",
            "date_listed": "1954-06-28T00:00:00.000Z",
            "url": "https://historicengland.org.uk/listing/the-list/list-entry/1299844"
          }
        ]
      },
      "world_heritage_sites": {
        "in_world_heritage_site": false,
        "world_heritage_site_area": 0,
        "world_heritage_site_proportion": 0,
        "nearest_world_heritage_site": {
          "name": "Palace of Westminster, Westminster Abbey and St. Margaret's Church",
          "inscription_date": "1987-01-01T00:00:00.000Z",
          "notes": "Core Area",
          "url": "https://historicengland.org.uk/listing/the-list/list-entry/1000095",
          "distance": 4821.2320112402185,
          "nearest_point": {
            "x_coord": 529916.025999069,
            "y_coord": 179341.277999882,
            "latitude": 51.49809161098811,
            "longitude": -0.12978059568154365
          }
        }
      },
      "national_parks": {
        "in_national_park": false,
        "national_park_area": 0,
        "national_park_proportion": 0,
        "nearest_national_park": {
          "code": "E26000010",
          "name": "South Downs",
          "distance": 52414.49214631459,
          "nearest_point": {
            "x_coord": 496678.7996,
            "y_coord": 132997.799000001,
            "latitude": 51.088152792361065,
            "longitude": -0.6209624707641703
          }
        }
      }
    },
    "area_attributes": {
      "house_price_index": {
        "date": "2026-01-07T00:00:00.000Z",
        "region_name": "Hammersmith and Fulham",
        "average_price": 738048,
        "average_price_seasonally_adjusted": null,
        "house_price_index": 87.4,
        "house_price_index_seasonally_adjusted": null,
        "percentage_change_1_month": 1.4,
        "percentage_change_12_months": -9,
        "sales_volume": null,
        "average_price_detached": 1716974,
        "house_price_index_detached": 89.9,
        "percentage_change_1_month_detached": 2.3,
        "percentage_change_12_months_detached": -6.1,
        "average_price_semi_detached": 1503460,
        "house_price_index_semi_detached": 91.5,
        "percentage_change_1_month_semi_detached": 3.2,
        "percentage_change_12_months_semi_detached": -4.4,
        "average_price_terraced": 1139759,
        "house_price_index_terraced": 91.6,
        "percentage_change_1_month_terraced": 2.1,
        "percentage_change_12_months_terraced": -6.7,
        "average_price_flat": 568235,
        "house_price_index_flat": 85.7,
        "percentage_change_1_month_flat": 1,
        "percentage_change_12_months_flat": -10,
        "average_price_cash": 736198,
        "house_price_index_cash": 87.4,
        "percentage_change_1_month_cash": 1.4,
        "percentage_change_12_months_cash": -9,
        "sales_volume_cash": null,
        "average_price_mortgage": 738831,
        "house_price_index_mortgage": 87.5,
        "percentage_change_1_month_mortgage": 1.4,
        "percentage_change_12_months_mortgage": -9,
        "sales_volume_mortgage": null,
        "average_price_first_time_buyer": 629368,
        "house_price_index_first_time_buyer": 86.6,
        "percentage_change_1_month_first_time_buyer": 1.2,
        "percentage_change_12_months_first_time_buyer": -9.4,
        "average_price_former_owner_occupier": 908993,
        "house_price_index_former_owner_occupier": 88.9,
        "percentage_change_1_month_former_owner_occupier": 1.5,
        "percentage_change_12_months_former_owner_occupier": -8.2,
        "average_price_new": null,
        "house_price_index_new": null,
        "percentage_change_1_month_new": null,
        "percentage_change_12_months_new": null,
        "sales_volume_new": null,
        "average_price_existing": null,
        "house_price_index_existing": null,
        "percentage_change_1_month_existing": null,
        "percentage_change_12_months_existing": null,
        "sales_volume_existing": null
      },
      "fuel_poverty": {
        "lower_layer_super_output_area": {
          "lower_layer_super_output_area_code": "E01035487",
          "lower_layer_super_output_area_name": "Hammersmith and Fulham 023H",
          "household_count": 809,
          "fuel_poor_household_count": 60,
          "fuel_poor_household_percentage": 7
        },
        "local_authority": {
          "local_authority_district_code": "E09000013",
          "local_authority_district_name": "Hammersmith and Fulham",
          "household_count": 88809,
          "fuel_poor_household_count": 8657,
          "fuel_poor_household_percentage": 9.747885912463827
        },
        "region": {
          "region_code": "E12000007",
          "region_name": "London",
          "household_count": 3731959,
          "fuel_poor_household_count": 359488,
          "fuel_poor_household_percentage": 9.632688890740761
        }
      },
      "average_energy_usage_stats": {
        "middle_layer_super_output_area": {
          "middle_layer_super_output_area_code": "E02000394",
          "electricity_meter_count": 6608,
          "mean_electricity_usage": 3796.8767,
          "mean_electricity_cost": 1200.1080063699999,
          "median_electricity_usage": 2628.25,
          "median_electricity_cost": 894.9795750000001,
          "gas_meter_count": 2360,
          "mean_gas_usage": 10129.2705,
          "mean_gas_cost": 848.4715276500001,
          "median_gas_usage": 8211.192,
          "median_gas_cost": 707.8763736
        },
        "lower_layer_super_output_area": {
          "lower_layer_super_output_area_code": "E01035487",
          "electricity_meter_count": 904,
          "mean_electricity_usage": 2816.2676,
          "mean_electricity_cost": 944.07097036,
          "median_electricity_usage": 2086.15,
          "median_electricity_cost": 753.437265,
          "gas_meter_count": 612,
          "mean_gas_usage": 8822.37,
          "mean_gas_cost": 752.6757210000001,
          "median_gas_usage": 7172.616,
          "median_gas_cost": 631.7487528
        }
      },
      "retrofit_grants": [
        {
          "name": "Boiler Upgrade Scheme",
          "description": "Grant of up to £7,500 to cover part of the cost of replacing fossil fuel heating systems with a heat pump or biomass boiler.",
          "grant_value": 7500,
          "url": "https://www.gov.uk/apply-boiler-upgrade-scheme"
        }
      ],
      "urban_rural_classification": {
        "output_area_code": "E00009707",
        "rural_urban_classification_code": "UN1",
        "rural_urban_description": "Urban: Nearer to a major town or city",
        "rural_urban_flag": "Urban"
      },
      "indices_of_deprivation": {
        "lsoa_code": "E01035487",
        "lsoa_name": "Hammersmith and Fulham 023H",
        "local_authority_district_code": "E09000013",
        "local_authority_district_name": "Hammersmith and Fulham",
        "index_of_multiple_deprivation_score": 20.633,
        "index_of_multiple_deprivation_rank": 14227,
        "index_of_multiple_deprivation_decile": 5,
        "income_score": 0.297,
        "income_rank": 9684,
        "income_decile": 3,
        "employment_score": 0.133,
        "employment_rank": 13364,
        "employment_decile": 4,
        "education_skills_and_training_score": 9.443,
        "education_skills_and_training_rank": 23267,
        "education_skills_and_training_decile": 7,
        "health_deprivation_and_disability_score": 0.064,
        "health_deprivation_and_disability_rank": 15505,
        "health_deprivation_and_disability_decile": 5,
        "crime_score": -0.031,
        "crime_rank": 17238,
        "crime_decile": 6,
        "barriers_to_housing_and_services_score": 23.746,
        "barriers_to_housing_and_services_rank": 12324,
        "barriers_to_housing_and_services_decile": 4,
        "living_environment_score": 29.34,
        "living_environment_rank": 9629,
        "living_environment_decile": 3,
        "income_deprivation_affecting_children_score": 0.404,
        "income_deprivation_affecting_children_rank": 11804,
        "income_deprivation_affecting_children_decile": 4,
        "income_deprivation_affecting_older_people_score": 0.561,
        "income_deprivation_affecting_older_people_rank": 1571,
        "income_deprivation_affecting_older_people_decile": 1,
        "children_and_young_people_sub_domain_score": -0.359,
        "children_and_young_people_sub_domain_rank": 21941,
        "children_and_young_people_sub_domain_decile": 7,
        "adult_skills_sub_domain_score": 0.184,
        "adult_skills_sub_domain_rank": 22544,
        "adult_skills_sub_domain_decile": 7,
        "geographical_barriers_sub_domain_score": 10.132,
        "geographical_barriers_sub_domain_rank": 32590,
        "geographical_barriers_sub_domain_decile": 10,
        "wider_barriers_sub_domain_score": 3.849,
        "wider_barriers_sub_domain_rank": 4049,
        "wider_barriers_sub_domain_decile": 2,
        "indoors_sub_domain_score": -0.245,
        "indoors_sub_domain_rank": 20945,
        "indoors_sub_domain_decile": 7,
        "outdoors_sub_domain_score": 1.628,
        "outdoors_sub_domain_rank": 1014,
        "outdoors_sub_domain_decile": 1,
        "total_population_mid_2015_excluding_prisoners": 1576,
        "dependent_children_aged_0_15_mid_2015_excluding_prisoners": 235,
        "older_population_aged_60_and_over_mid_2015_excluding_prisoners": 266,
        "working_age_population_18_59_64_for_use_with_employment_depriva": 1141
      }
    },
    "epcs": {
      "epc_in_date": true,
      "epc_age": 267050809580,
      "epc_expiry": "2028-04-13T00:00:00.000Z",
      "enhanced_epcs": [
        {
          "address": "30, Tynemouth Street",
          "address1": "30, Tynemouth Street",
          "address2": null,
          "address3": null,
          "adjusted_costs": {
            "heating_cost_current": 1500.5,
            "heating_cost_potential": 1170.1,
            "hot_water_cost_current": 255.6,
            "hot_water_cost_potential": 157,
            "lighting_cost_current": 145.9,
            "lighting_cost_potential": 145.9,
            "total_fuel_cost_current": 1902,
            "total_fuel_cost_potential": 1473,
            "standing_charges": 289
          },
          "built_form": "Mid-Terrace",
          "certificate_number": "8788-7424-5370-3747-2996",
          "co2_emissions_current": 4.9,
          "co2_emissions_per_floor_area_m2_current": 35,
          "co2_emissions_potential": 2.7,
          "co2_emissions_reduction_potential": 2.2,
          "constituency": "E14001160",
          "constituency_label": "Chelsea and Fulham",
          "construction_age_band": "1900-1929",
          "country": "England",
          "dwelling_type": "Existing dwellings",
          "energy_consumption_per_floor_area_m2_current": 197,
          "energy_consumption_per_floor_area_m2_potential": 107,
          "energy_efficiency_current": 64,
          "energy_efficiency_potential": 78,
          "energy_rating_current": "D",
          "energy_rating_potential": "C",
          "energy_tariff": "Single",
          "environmental_impact_current": 55,
          "environmental_impact_potential": 72,
          "extension_count": 1,
          "fixed_lighting_outlet_count": 23,
          "flat_storey_count": 2,
          "floor_description": "Suspended, no insulation (assumed)",
          "floor_energy_efficiency": "N/A",
          "floor_environmental_efficiency": "N/A",
          "floor_height": 2.62,
          "floor_level": null,
          "floor_thermal_transmittance": null,
          "floor_type": "suspended",
          "glazed_area": "Normal",
          "glazed_type": "Double",
          "habitable_room_count": 6,
          "has_mains_gas": true,
          "has_solar_water_heating": false,
          "heat_loss_corridor": null,
          "heat_pump": false,
          "heated_room_count": 6,
          "heating_cost_current": 822,
          "heating_cost_potential": 641,
          "hot_water_cost_current": 140,
          "hot_water_cost_potential": 86,
          "hot_water_description": "From main system",
          "hot_water_energy_efficiency": "Good",
          "hot_water_environmental_efficiency": "Good",
          "inspection_date": "2018-04-13T00:00:00.000Z",
          "is_flat_top_storey": false,
          "lighting_cost_current": 85,
          "lighting_cost_potential": 85,
          "lighting_description": "Low energy lighting in 96% of fixed outlets",
          "lighting_energy_efficiency": "Very Good",
          "lighting_environmental_efficiency": "Very Good",
          "local_authority": "E09000013",
          "local_authority_label": "Hammersmith and Fulham",
          "lodgement_date": "2018-04-13T00:00:00.000Z",
          "lodgement_datetime": "2018-04-13T17:05:00.000Z",
          "low_energy_fixed_light_count": 22,
          "low_energy_lighting_percentage": 96,
          "main_fuel": "Mains gas (not community)",
          "main_heating_controls": "Programmer, room thermostat and TRVs",
          "main_heating_controls_description": "Programmer, room thermostat and TRVs",
          "main_heating_controls_energy_efficiency": "Good",
          "main_heating_controls_environmental_efficiency": "Good",
          "main_heating_description": "Boiler and radiators, mains gas",
          "main_heating_energy_efficiency": "Good",
          "main_heating_environmental_efficiency": "Good",
          "mechanical_ventilation": "Natural",
          "multi_glaze_percentage": 100,
          "open_fireplace_count": 2,
          "post_town": "London",
          "postcode": "SW6 2QT",
          "property_type": "House",
          "region": "E12000007",
          "report_type": "Reduced Standard Assessment Procedure (RdSAP)",
          "roof_description": "Pitched, 300 mm loft insulation",
          "roof_energy_efficiency": "Very Good",
          "roof_environmental_efficiency": "Very Good",
          "roof_photovoltaic_supply": 0,
          "roof_thermal_transmittance": null,
          "roof_type": "pitched",
          "second_heating_description": "Room heaters, mains gas",
          "second_heating_energy_efficiency": "N/A",
          "second_heating_environmental_efficiency": "N/A",
          "tenure": "Owner-Occupied",
          "total_energy_consumption_current": 27777,
          "total_energy_consumption_potential": 15087,
          "total_floor_area": 141,
          "transaction_type": "Marketed sale",
          "unheated_corridor_length": null,
          "uprn": 34076006,
          "uprn_source": "Energy Assessor",
          "walls_description": "Solid brick, as built, no insulation (assumed)",
          "walls_energy_efficiency": "Very Poor",
          "walls_environmental_efficiency": "Very Poor",
          "walls_thermal_transmittance": null,
          "walls_type": "solid",
          "wind_turbine_count": 0,
          "windows_description": "Fully Double Glazed",
          "windows_energy_efficiency": "Good",
          "windows_environmental_efficiency": "Good"
        }
      ],
      "epc_stats": {
        "postcode_stats": {
          "postcode": "SW6 2QT",
          "property_count": 30,
          "mode_energy_rating_current": "D",
          "avg_energy_rating_current": "D",
          "stddev_energy_rating_current": 0.5306686305052324,
          "min_energy_rating_current": "C",
          "max_energy_rating_current": "E",
          "perc_10_energy_rating_current": 4,
          "perc_25_energy_rating_current": 4,
          "perc_50_energy_rating_current": 4,
          "perc_75_energy_rating_current": 4,
          "perc_90_energy_rating_current": 5,
          "energy_rating_a_count_current": 0,
          "energy_rating_b_count_current": 0,
          "energy_rating_c_count_current": 7,
          "energy_rating_d_count_current": 21,
          "energy_rating_e_count_current": 2,
          "energy_rating_f_count_current": 0,
          "energy_rating_g_count_current": 0,
          "mode_energy_rating_potential": "C",
          "avg_energy_rating_potential": "D",
          "stddev_energy_rating_potential": 0.5560534167675355,
          "min_energy_rating_potential": "B",
          "max_energy_rating_potential": "E",
          "perc_10_energy_rating_potential": 4.9,
          "perc_25_energy_rating_potential": 5,
          "perc_50_energy_rating_potential": 5,
          "perc_75_energy_rating_potential": 5,
          "perc_90_energy_rating_potential": 5.1000000000000005,
          "energy_rating_a_count_potential": 0,
          "energy_rating_b_count_potential": 3,
          "energy_rating_c_count_potential": 24,
          "energy_rating_d_count_potential": 2,
          "energy_rating_e_count_potential": 1,
          "energy_rating_f_count_potential": 0,
          "energy_rating_g_count_potential": 0,
          "avg_energy_consumption_per_floor_area_m2_current": 235.2,
          "stddev_energy_consumption_per_floor_area_m2_current": 53.09094344482935,
          "min_energy_consumption_per_floor_area_m2_current": 132,
          "max_energy_consumption_per_floor_area_m2_current": 351,
          "perc_10_energy_consumption_per_floor_area_m2_current": 181.5,
          "perc_25_energy_consumption_per_floor_area_m2_current": 197.25,
          "perc_50_energy_consumption_per_floor_area_m2_current": 225,
          "perc_75_energy_consumption_per_floor_area_m2_current": 272.75,
          "perc_90_energy_consumption_per_floor_area_m2_current": 307.3,
          "avg_energy_consumption_per_floor_area_m2_potential": 145.6,
          "stddev_energy_consumption_per_floor_area_m2_potential": 53.885318837387395,
          "min_energy_consumption_per_floor_area_m2_potential": 60,
          "max_energy_consumption_per_floor_area_m2_potential": 338,
          "perc_10_energy_consumption_per_floor_area_m2_potential": 105,
          "perc_25_energy_consumption_per_floor_area_m2_potential": 119.25,
          "perc_50_energy_consumption_per_floor_area_m2_potential": 136,
          "perc_75_energy_consumption_per_floor_area_m2_potential": 157.5,
          "perc_90_energy_consumption_per_floor_area_m2_potential": 213.4,
          "avg_energy_efficiency_current": 65.1,
          "stddev_energy_efficiency_current": 5.358525273193015,
          "min_energy_efficiency_current": 53,
          "max_energy_efficiency_current": 73,
          "perc_10_energy_efficiency_current": 57.8,
          "perc_25_energy_efficiency_current": 62.25,
          "perc_50_energy_efficiency_current": 67,
          "perc_75_energy_efficiency_current": 68,
          "perc_90_energy_efficiency_current": 70.2,
          "avg_energy_efficiency_potential": 75.93333333333334,
          "stddev_energy_efficiency_potential": 5.999616846003632,
          "min_energy_efficiency_potential": 54,
          "max_energy_efficiency_potential": 87,
          "perc_10_energy_efficiency_potential": 71.4,
          "perc_25_energy_efficiency_potential": 74,
          "perc_50_energy_efficiency_potential": 77.5,
          "perc_75_energy_efficiency_potential": 79,
          "perc_90_energy_efficiency_potential": 79.3,
          "avg_total_floor_area": 71.96666666666667,
          "avg_co2_emissions_current": 2.903333333333333,
          "stddev_co2_emissions_current": 0.8519686465549327,
          "min_co2_emissions_current": 1.5,
          "max_co2_emissions_current": 4.9,
          "perc_10_co2_emissions_current": 1.99,
          "perc_25_co2_emissions_current": 2.3,
          "perc_50_co2_emissions_current": 2.8,
          "perc_75_co2_emissions_current": 3.3,
          "perc_90_co2_emissions_current": 3.8800000000000003,
          "avg_co2_emissions_potential": 1.7933333333333334,
          "stddev_co2_emissions_potential": 0.7234654786861462,
          "min_co2_emissions_potential": 1,
          "max_co2_emissions_potential": 3.8,
          "perc_10_co2_emissions_potential": 1.2,
          "perc_25_co2_emissions_potential": 1.3,
          "perc_50_co2_emissions_potential": 1.4,
          "perc_75_co2_emissions_potential": 2.4,
          "perc_90_co2_emissions_potential": 2.7,
          "avg_energy_rating_current_numerical": 4.166666666666667,
          "avg_energy_rating_potential_numerical": 4.966666666666667
        },
        "outcode_stats": {
          "outcode": "SW6",
          "property_count": 26770,
          "mode_energy_rating_current": "C",
          "avg_energy_rating_current": "D",
          "stddev_energy_rating_current": 0.888148397233671,
          "min_energy_rating_current": "A",
          "max_energy_rating_current": "G",
          "perc_10_energy_rating_current": 4,
          "perc_25_energy_rating_current": 4,
          "perc_50_energy_rating_current": 5,
          "perc_75_energy_rating_current": 5,
          "perc_90_energy_rating_current": 6,
          "energy_rating_a_count_current": 11,
          "energy_rating_b_count_current": 3975,
          "energy_rating_c_count_current": 11220,
          "energy_rating_d_count_current": 9067,
          "energy_rating_e_count_current": 2194,
          "energy_rating_f_count_current": 216,
          "energy_rating_g_count_current": 87,
          "mode_energy_rating_potential": "C",
          "avg_energy_rating_potential": "C",
          "stddev_energy_rating_potential": 0.6657838723033511,
          "min_energy_rating_potential": "A",
          "max_energy_rating_potential": "G",
          "perc_10_energy_rating_potential": 5,
          "perc_25_energy_rating_potential": 5,
          "perc_50_energy_rating_potential": 5,
          "perc_75_energy_rating_potential": 6,
          "perc_90_energy_rating_potential": 6,
          "energy_rating_a_count_potential": 93,
          "energy_rating_b_count_potential": 9306,
          "energy_rating_c_count_potential": 14880,
          "energy_rating_d_count_potential": 2151,
          "energy_rating_e_count_potential": 301,
          "energy_rating_f_count_potential": 23,
          "energy_rating_g_count_potential": 16,
          "avg_energy_consumption_per_floor_area_m2_current": 203.41654976930596,
          "stddev_energy_consumption_per_floor_area_m2_current": 102.32199611363619,
          "min_energy_consumption_per_floor_area_m2_current": -1,
          "max_energy_consumption_per_floor_area_m2_current": 2196,
          "perc_10_energy_consumption_per_floor_area_m2_current": 88,
          "perc_25_energy_consumption_per_floor_area_m2_current": 141,
          "perc_50_energy_consumption_per_floor_area_m2_current": 192,
          "perc_75_energy_consumption_per_floor_area_m2_current": 252,
          "perc_90_energy_consumption_per_floor_area_m2_current": 320,
          "avg_energy_consumption_per_floor_area_m2_potential": 138.91291221516624,
          "stddev_energy_consumption_per_floor_area_m2_potential": 73.58440457653407,
          "min_energy_consumption_per_floor_area_m2_potential": -79,
          "max_energy_consumption_per_floor_area_m2_potential": 1616,
          "perc_10_energy_consumption_per_floor_area_m2_potential": 68,
          "perc_25_energy_consumption_per_floor_area_m2_potential": 95,
          "perc_50_energy_consumption_per_floor_area_m2_potential": 124,
          "perc_75_energy_consumption_per_floor_area_m2_potential": 163,
          "perc_90_energy_consumption_per_floor_area_m2_potential": 232,
          "avg_energy_efficiency_current": 68.85595816212178,
          "stddev_energy_efficiency_current": 11.16365708531887,
          "min_energy_efficiency_current": 1,
          "max_energy_efficiency_current": 94,
          "perc_10_energy_efficiency_current": 55,
          "perc_25_energy_efficiency_current": 63,
          "perc_50_energy_efficiency_current": 70,
          "perc_75_energy_efficiency_current": 76,
          "perc_90_energy_efficiency_current": 83,
          "avg_energy_efficiency_potential": 77.6120283899888,
          "stddev_energy_efficiency_potential": 7.185274639739932,
          "min_energy_efficiency_potential": 1,
          "max_energy_efficiency_potential": 110,
          "perc_10_energy_efficiency_potential": 69,
          "perc_25_energy_efficiency_potential": 75,
          "perc_50_energy_efficiency_potential": 79,
          "perc_75_energy_efficiency_potential": 82,
          "perc_90_energy_efficiency_potential": 85,
          "avg_total_floor_area": 92.42943912659055,
          "avg_co2_emissions_current": 3.1464546133731806,
          "stddev_co2_emissions_current": 2.4311229111489503,
          "min_co2_emissions_current": 0,
          "max_co2_emissions_current": 84,
          "perc_10_co2_emissions_current": 1,
          "perc_25_co2_emissions_current": 1.6,
          "perc_50_co2_emissions_current": 2.4,
          "perc_75_co2_emissions_current": 4,
          "perc_90_co2_emissions_current": 6.2,
          "avg_co2_emissions_potential": 2.0952670900261348,
          "stddev_co2_emissions_potential": 1.6978154933030236,
          "min_co2_emissions_potential": -1.2,
          "max_co2_emissions_potential": 70,
          "perc_10_co2_emissions_potential": 0.8,
          "perc_25_co2_emissions_potential": 1.2,
          "perc_50_co2_emissions_potential": 1.6,
          "perc_75_co2_emissions_potential": 2.5,
          "perc_90_co2_emissions_potential": 3.8,
          "avg_energy_rating_current_numerical": 4.60948823309675,
          "avg_energy_rating_potential_numerical": 5.246768771012327
        },
        "local_authority_stats": {
          "local_authority_district_code": "E09000013",
          "property_count": 73760,
          "mode_energy_rating_current": "C",
          "avg_energy_rating_current": "D",
          "stddev_energy_rating_current": 0.8877637631385785,
          "min_energy_rating_current": "A",
          "max_energy_rating_current": "G",
          "perc_10_energy_rating_current": 4,
          "perc_25_energy_rating_current": 4,
          "perc_50_energy_rating_current": 5,
          "perc_75_energy_rating_current": 5,
          "perc_90_energy_rating_current": 6,
          "energy_rating_a_count_current": 30,
          "energy_rating_b_count_current": 12078,
          "energy_rating_c_count_current": 30979,
          "energy_rating_d_count_current": 24329,
          "energy_rating_e_count_current": 5561,
          "energy_rating_f_count_current": 586,
          "energy_rating_g_count_current": 197,
          "mode_energy_rating_potential": "C",
          "avg_energy_rating_potential": "C",
          "stddev_energy_rating_potential": 0.659122166804919,
          "min_energy_rating_potential": "A",
          "max_energy_rating_potential": "G",
          "perc_10_energy_rating_potential": 5,
          "perc_25_energy_rating_potential": 5,
          "perc_50_energy_rating_potential": 5,
          "perc_75_energy_rating_potential": 6,
          "perc_90_energy_rating_potential": 6,
          "energy_rating_a_count_potential": 240,
          "energy_rating_b_count_potential": 26577,
          "energy_rating_c_count_potential": 40496,
          "energy_rating_d_count_potential": 5622,
          "energy_rating_e_count_potential": 721,
          "energy_rating_f_count_potential": 62,
          "energy_rating_g_count_potential": 42,
          "avg_energy_consumption_per_floor_area_m2_current": 205.80424530616196,
          "stddev_energy_consumption_per_floor_area_m2_current": 109.73044253649111,
          "min_energy_consumption_per_floor_area_m2_current": -27,
          "max_energy_consumption_per_floor_area_m2_current": 2196,
          "perc_10_energy_consumption_per_floor_area_m2_current": 65,
          "perc_25_energy_consumption_per_floor_area_m2_current": 141,
          "perc_50_energy_consumption_per_floor_area_m2_current": 196,
          "perc_75_energy_consumption_per_floor_area_m2_current": 258,
          "perc_90_energy_consumption_per_floor_area_m2_current": 330,
          "avg_energy_consumption_per_floor_area_m2_potential": 139.06614235357915,
          "stddev_energy_consumption_per_floor_area_m2_potential": 79.40024380705366,
          "min_energy_consumption_per_floor_area_m2_potential": -117,
          "max_energy_consumption_per_floor_area_m2_potential": 1616,
          "perc_10_energy_consumption_per_floor_area_m2_potential": 57,
          "perc_25_energy_consumption_per_floor_area_m2_potential": 93,
          "perc_50_energy_consumption_per_floor_area_m2_potential": 124,
          "perc_75_energy_consumption_per_floor_area_m2_potential": 165,
          "perc_90_energy_consumption_per_floor_area_m2_potential": 240,
          "avg_energy_efficiency_current": 69.41332700650759,
          "stddev_energy_efficiency_current": 11.15936521896996,
          "min_energy_efficiency_current": 1,
          "max_energy_efficiency_current": 105,
          "perc_10_energy_efficiency_current": 56,
          "perc_25_energy_efficiency_current": 63,
          "perc_50_energy_efficiency_current": 70,
          "perc_75_energy_efficiency_current": 77,
          "perc_90_energy_efficiency_current": 84,
          "avg_energy_efficiency_potential": 78.01041214750542,
          "stddev_energy_efficiency_potential": 7.079679114401601,
          "min_energy_efficiency_potential": 1,
          "max_energy_efficiency_potential": 115,
          "perc_10_energy_efficiency_potential": 70,
          "perc_25_energy_efficiency_potential": 76,
          "perc_50_energy_efficiency_potential": 79,
          "perc_75_energy_efficiency_potential": 82,
          "perc_90_energy_efficiency_potential": 86,
          "avg_total_floor_area": 80.92231540362667,
          "avg_co2_emissions_current": 2.787951328633384,
          "stddev_co2_emissions_current": 2.2404708310845143,
          "min_co2_emissions_current": -0.2,
          "max_co2_emissions_current": 84,
          "perc_10_co2_emissions_current": 0.8,
          "perc_25_co2_emissions_current": 1.4,
          "perc_50_co2_emissions_current": 2.2,
          "perc_75_co2_emissions_current": 3.5,
          "perc_90_co2_emissions_current": 5.4,
          "avg_co2_emissions_potential": 1.8287120390455207,
          "stddev_co2_emissions_potential": 1.5089524780758483,
          "min_co2_emissions_potential": -1.5,
          "max_co2_emissions_potential": 70,
          "perc_10_co2_emissions_potential": 0.7,
          "perc_25_co2_emissions_potential": 1,
          "perc_50_co2_emissions_potential": 1.4,
          "perc_75_co2_emissions_potential": 2.1,
          "perc_90_co2_emissions_potential": 3.3,
          "avg_energy_rating_current_numerical": 4.649417028199566,
          "avg_energy_rating_potential_numerical": 5.266255422993493
        },
        "region_stats": {
          "region_code": "E12000007",
          "property_count": 2891820,
          "mode_energy_rating_current": "C",
          "avg_energy_rating_current": "D",
          "stddev_energy_rating_current": 0.9302431050082642,
          "min_energy_rating_current": "A",
          "max_energy_rating_current": "G",
          "perc_10_energy_rating_current": 3,
          "perc_25_energy_rating_current": 4,
          "perc_50_energy_rating_current": 5,
          "perc_75_energy_rating_current": 5,
          "perc_90_energy_rating_current": 6,
          "energy_rating_a_count_current": 6038,
          "energy_rating_b_count_current": 470326,
          "energy_rating_c_count_current": 1110494,
          "energy_rating_d_count_current": 997681,
          "energy_rating_e_count_current": 266540,
          "energy_rating_f_count_current": 32451,
          "energy_rating_g_count_current": 8290,
          "mode_energy_rating_potential": "C",
          "avg_energy_rating_potential": "C",
          "stddev_energy_rating_potential": 0.6838563752466628,
          "min_energy_rating_potential": "A",
          "max_energy_rating_potential": "G",
          "perc_10_energy_rating_potential": 5,
          "perc_25_energy_rating_potential": 5,
          "perc_50_energy_rating_potential": 5,
          "perc_75_energy_rating_potential": 6,
          "perc_90_energy_rating_potential": 6,
          "energy_rating_a_count_potential": 26914,
          "energy_rating_b_count_potential": 1253692,
          "energy_rating_c_count_potential": 1380800,
          "energy_rating_d_count_potential": 198155,
          "energy_rating_e_count_potential": 27004,
          "energy_rating_f_count_potential": 3791,
          "energy_rating_g_count_potential": 1464,
          "avg_energy_consumption_per_floor_area_m2_current": 213.0565811348577,
          "stddev_energy_consumption_per_floor_area_m2_current": 130.45640868845675,
          "min_energy_consumption_per_floor_area_m2_current": -2818,
          "max_energy_consumption_per_floor_area_m2_current": 20509,
          "perc_10_energy_consumption_per_floor_area_m2_current": 73,
          "perc_25_energy_consumption_per_floor_area_m2_current": 144,
          "perc_50_energy_consumption_per_floor_area_m2_current": 203,
          "perc_75_energy_consumption_per_floor_area_m2_current": 268,
          "perc_90_energy_consumption_per_floor_area_m2_current": 343,
          "avg_energy_consumption_per_floor_area_m2_potential": 137.20650595818546,
          "stddev_energy_consumption_per_floor_area_m2_potential": 105.39507824824028,
          "min_energy_consumption_per_floor_area_m2_potential": -2818,
          "max_energy_consumption_per_floor_area_m2_potential": 20509,
          "perc_10_energy_consumption_per_floor_area_m2_potential": 55,
          "perc_25_energy_consumption_per_floor_area_m2_potential": 85,
          "perc_50_energy_consumption_per_floor_area_m2_potential": 121,
          "perc_75_energy_consumption_per_floor_area_m2_potential": 164,
          "perc_90_energy_consumption_per_floor_area_m2_potential": 244,
          "avg_energy_efficiency_current": 68.5626636512646,
          "stddev_energy_efficiency_current": 11.767368388725588,
          "min_energy_efficiency_current": 1,
          "max_energy_efficiency_current": 478,
          "perc_10_energy_efficiency_current": 54,
          "perc_25_energy_efficiency_current": 62,
          "perc_50_energy_efficiency_current": 70,
          "perc_75_energy_efficiency_current": 77,
          "perc_90_energy_efficiency_current": 83,
          "avg_energy_efficiency_potential": 78.84985026730571,
          "stddev_energy_efficiency_potential": 7.465447187428901,
          "min_energy_efficiency_potential": 1,
          "max_energy_efficiency_potential": 478,
          "perc_10_energy_efficiency_potential": 70,
          "perc_25_energy_efficiency_potential": 76,
          "perc_50_energy_efficiency_potential": 80,
          "perc_75_energy_efficiency_potential": 84,
          "perc_90_energy_efficiency_potential": 86,
          "avg_total_floor_area": 80.86463834988994,
          "avg_co2_emissions_current": 2.960776787628643,
          "stddev_co2_emissions_current": 2.394493559999003,
          "min_co2_emissions_current": -38.4,
          "max_co2_emissions_current": 242,
          "perc_10_co2_emissions_current": 0.8,
          "perc_25_co2_emissions_current": 1.5,
          "perc_50_co2_emissions_current": 2.4,
          "perc_75_co2_emissions_current": 3.8,
          "perc_90_co2_emissions_current": 5.5,
          "avg_co2_emissions_potential": 1.8204498654828742,
          "stddev_co2_emissions_potential": 1.5297808114138756,
          "min_co2_emissions_potential": -38.4,
          "max_co2_emissions_potential": 180.5,
          "perc_10_co2_emissions_potential": 0.7,
          "perc_25_co2_emissions_potential": 1,
          "perc_50_co2_emissions_potential": 1.5,
          "perc_75_co2_emissions_potential": 2.2,
          "perc_90_co2_emissions_potential": 3.2,
          "avg_energy_rating_current_numerical": 4.592342538608904,
          "avg_energy_rating_potential_numerical": 5.3589877654902445
        },
        "country_stats": {
          "country_code": "E92000001",
          "property_count": 18977304,
          "mode_energy_rating_current": "D",
          "avg_energy_rating_current": "D",
          "stddev_energy_rating_current": 0.9925321539498203,
          "min_energy_rating_current": "A",
          "max_energy_rating_current": "G",
          "perc_10_energy_rating_current": 3,
          "perc_25_energy_rating_current": 4,
          "perc_50_energy_rating_current": 5,
          "perc_75_energy_rating_current": 5,
          "perc_90_energy_rating_current": 6,
          "energy_rating_a_count_current": 143006,
          "energy_rating_b_count_current": 2670261,
          "energy_rating_c_count_current": 6783967,
          "energy_rating_d_count_current": 6800588,
          "energy_rating_e_count_current": 2088105,
          "energy_rating_f_count_current": 386675,
          "energy_rating_g_count_current": 104702,
          "mode_energy_rating_potential": "B",
          "avg_energy_rating_potential": "C",
          "stddev_energy_rating_potential": 0.7772749978773327,
          "min_energy_rating_potential": "A",
          "max_energy_rating_potential": "G",
          "perc_10_energy_rating_potential": 5,
          "perc_25_energy_rating_potential": 5,
          "perc_50_energy_rating_potential": 6,
          "perc_75_energy_rating_potential": 6,
          "perc_90_energy_rating_potential": 6,
          "energy_rating_a_count_potential": 1506667,
          "energy_rating_b_count_potential": 9072569,
          "energy_rating_c_count_potential": 7165795,
          "energy_rating_d_count_potential": 1001907,
          "energy_rating_e_count_potential": 181205,
          "energy_rating_f_count_potential": 38228,
          "energy_rating_g_count_potential": 10933,
          "avg_energy_consumption_per_floor_area_m2_current": 228.12560908136157,
          "stddev_energy_consumption_per_floor_area_m2_current": 144.45794850616323,
          "min_energy_consumption_per_floor_area_m2_current": -320866,
          "max_energy_consumption_per_floor_area_m2_current": 54443,
          "perc_10_energy_consumption_per_floor_area_m2_current": 93,
          "perc_25_energy_consumption_per_floor_area_m2_current": 158,
          "perc_50_energy_consumption_per_floor_area_m2_current": 214,
          "perc_75_energy_consumption_per_floor_area_m2_current": 279,
          "perc_90_energy_consumption_per_floor_area_m2_current": 361,
          "avg_energy_consumption_per_floor_area_m2_potential": 130.3043236262642,
          "stddev_energy_consumption_per_floor_area_m2_potential": 120.86375769942079,
          "min_energy_consumption_per_floor_area_m2_potential": -320884,
          "max_energy_consumption_per_floor_area_m2_potential": 53064,
          "perc_10_energy_consumption_per_floor_area_m2_potential": 47,
          "perc_25_energy_consumption_per_floor_area_m2_potential": 82,
          "perc_50_energy_consumption_per_floor_area_m2_potential": 117,
          "perc_75_energy_consumption_per_floor_area_m2_potential": 162,
          "perc_90_energy_consumption_per_floor_area_m2_potential": 227,
          "avg_energy_efficiency_current": 67.14704438522985,
          "stddev_energy_efficiency_current": 12.795104697958548,
          "min_energy_efficiency_current": 1,
          "max_energy_efficiency_current": 1705,
          "perc_10_energy_efficiency_current": 51,
          "perc_25_energy_efficiency_current": 61,
          "perc_50_energy_efficiency_current": 69,
          "perc_75_energy_efficiency_current": 75,
          "perc_90_energy_efficiency_current": 83,
          "avg_energy_efficiency_potential": 80.85997874092126,
          "stddev_energy_efficiency_potential": 9.745599655652425,
          "min_energy_efficiency_potential": 1,
          "max_energy_efficiency_potential": 8397,
          "perc_10_energy_efficiency_potential": 71,
          "perc_25_energy_efficiency_potential": 77,
          "perc_50_energy_efficiency_potential": 82,
          "perc_75_energy_efficiency_potential": 86,
          "perc_90_energy_efficiency_potential": 90,
          "avg_total_floor_area": 89.69660392727035,
          "avg_co2_emissions_current": 3.5533397246521385,
          "stddev_co2_emissions_current": 2.925909482700728,
          "min_co2_emissions_current": -2854.8,
          "max_co2_emissions_current": 1217,
          "perc_10_co2_emissions_current": 1.2,
          "perc_25_co2_emissions_current": 1.9,
          "perc_50_co2_emissions_current": 3,
          "perc_75_co2_emissions_current": 4.4,
          "perc_90_co2_emissions_current": 6.3,
          "avg_co2_emissions_potential": 2.0069209230147154,
          "stddev_co2_emissions_potential": 1.9804407305727239,
          "min_co2_emissions_potential": -2855,
          "max_co2_emissions_potential": 1180,
          "perc_10_co2_emissions_potential": 0.6,
          "perc_25_co2_emissions_potential": 1.1,
          "perc_50_co2_emissions_potential": 1.6,
          "perc_75_co2_emissions_potential": 2.5,
          "perc_90_co2_emissions_potential": 3.7,
          "avg_energy_rating_current_numerical": 4.494166400032375,
          "avg_energy_rating_potential_numerical": 5.556621214478095
        },
        "property_type_stats": {
          "local_authority_stats": {
            "local_authority_district_code": "E09000013",
            "property_type": "House",
            "property_count": 15000,
            "mode_energy_rating_current": "D",
            "avg_energy_rating_current": "D",
            "stddev_energy_rating_current": 0.8226376736952984,
            "min_energy_rating_current": "A",
            "max_energy_rating_current": "G",
            "perc_10_energy_rating_current": 3,
            "perc_25_energy_rating_current": 4,
            "perc_50_energy_rating_current": 4,
            "perc_75_energy_rating_current": 5,
            "perc_90_energy_rating_current": 5,
            "energy_rating_a_count_current": 7,
            "energy_rating_b_count_current": 403,
            "energy_rating_c_count_current": 4214,
            "energy_rating_d_count_current": 7536,
            "energy_rating_e_count_current": 2452,
            "energy_rating_f_count_current": 297,
            "energy_rating_g_count_current": 91,
            "mode_energy_rating_potential": "B",
            "avg_energy_rating_potential": "C",
            "stddev_energy_rating_potential": 0.795664002838946,
            "min_energy_rating_potential": "A",
            "max_energy_rating_potential": "G",
            "perc_10_energy_rating_potential": 4,
            "perc_25_energy_rating_potential": 5,
            "perc_50_energy_rating_potential": 6,
            "perc_75_energy_rating_potential": 6,
            "perc_90_energy_rating_potential": 6,
            "energy_rating_a_count_potential": 200,
            "energy_rating_b_count_potential": 7990,
            "energy_rating_c_count_potential": 5221,
            "energy_rating_d_count_potential": 1151,
            "energy_rating_e_count_potential": 383,
            "energy_rating_f_count_potential": 32,
            "energy_rating_g_count_potential": 23,
            "avg_energy_consumption_per_floor_area_m2_current": 222.14746666666667,
            "stddev_energy_consumption_per_floor_area_m2_current": 83.14482660431511,
            "min_energy_consumption_per_floor_area_m2_current": -27,
            "max_energy_consumption_per_floor_area_m2_current": 1219,
            "perc_10_energy_consumption_per_floor_area_m2_current": 135,
            "perc_25_energy_consumption_per_floor_area_m2_current": 169,
            "perc_50_energy_consumption_per_floor_area_m2_current": 212,
            "perc_75_energy_consumption_per_floor_area_m2_current": 262,
            "perc_90_energy_consumption_per_floor_area_m2_current": 320,
            "avg_energy_consumption_per_floor_area_m2_potential": 115.63993333333333,
            "stddev_energy_consumption_per_floor_area_m2_potential": 69.81807256157005,
            "min_energy_consumption_per_floor_area_m2_potential": -117,
            "max_energy_consumption_per_floor_area_m2_potential": 1022,
            "perc_10_energy_consumption_per_floor_area_m2_potential": 60,
            "perc_25_energy_consumption_per_floor_area_m2_potential": 78,
            "perc_50_energy_consumption_per_floor_area_m2_potential": 98,
            "perc_75_energy_consumption_per_floor_area_m2_potential": 127,
            "perc_90_energy_consumption_per_floor_area_m2_potential": 202,
            "avg_energy_efficiency_current": 62.48226666666667,
            "stddev_energy_efficiency_current": 11.016117397631078,
            "min_energy_efficiency_current": 1,
            "max_energy_efficiency_current": 105,
            "perc_10_energy_efficiency_current": 49,
            "perc_25_energy_efficiency_current": 57,
            "perc_50_energy_efficiency_current": 64,
            "perc_75_energy_efficiency_current": 70,
            "perc_90_energy_efficiency_current": 74,
            "avg_energy_efficiency_potential": 79.06346666666667,
            "stddev_energy_efficiency_potential": 9.286247229535878,
            "min_energy_efficiency_potential": 1,
            "max_energy_efficiency_potential": 115,
            "perc_10_energy_efficiency_potential": 68,
            "perc_25_energy_efficiency_potential": 77,
            "perc_50_energy_efficiency_potential": 81,
            "perc_75_energy_efficiency_potential": 85,
            "perc_90_energy_efficiency_potential": 87,
            "avg_total_floor_area": 143.61380686902058,
            "avg_co2_emissions_current": 5.44084000000001,
            "stddev_co2_emissions_current": 2.958371324190524,
            "min_co2_emissions_current": -0.2,
            "max_co2_emissions_current": 84,
            "perc_10_co2_emissions_current": 2.6,
            "perc_25_co2_emissions_current": 3.5,
            "perc_50_co2_emissions_current": 4.8,
            "perc_75_co2_emissions_current": 6.7,
            "perc_90_co2_emissions_current": 9,
            "avg_co2_emissions_potential": 3.0640533333333337,
            "stddev_co2_emissions_potential": 2.4169735803082495,
            "min_co2_emissions_potential": -1.5,
            "max_co2_emissions_potential": 70,
            "perc_10_co2_emissions_potential": 1,
            "perc_25_co2_emissions_potential": 1.6,
            "perc_50_co2_emissions_potential": 2.4,
            "perc_75_co2_emissions_potential": 3.8,
            "perc_90_co2_emissions_potential": 5.8,
            "avg_energy_rating_current_numerical": 4.1148,
            "avg_energy_rating_potential_numerical": 5.419
          },
          "country_stats": {
            "country_code": "E92000001",
            "property_type": "House",
            "property_count": 11862318,
            "mode_energy_rating_current": "D",
            "avg_energy_rating_current": "D",
            "stddev_energy_rating_current": 1.0122814886468625,
            "min_energy_rating_current": "A",
            "max_energy_rating_current": "G",
            "perc_10_energy_rating_current": 3,
            "perc_25_energy_rating_current": 4,
            "perc_50_energy_rating_current": 4,
            "perc_75_energy_rating_current": 5,
            "perc_90_energy_rating_current": 6,
            "energy_rating_a_count_current": 114713,
            "energy_rating_b_count_current": 1501818,
            "energy_rating_c_count_current": 3665136,
            "energy_rating_d_count_current": 4733477,
            "energy_rating_e_count_current": 1479942,
            "energy_rating_f_count_current": 290911,
            "energy_rating_g_count_current": 76321,
            "mode_energy_rating_potential": "B",
            "avg_energy_rating_potential": "C",
            "stddev_energy_rating_potential": 0.7851979821167834,
            "min_energy_rating_potential": "A",
            "max_energy_rating_potential": "G",
            "perc_10_energy_rating_potential": 5,
            "perc_25_energy_rating_potential": 5,
            "perc_50_energy_rating_potential": 6,
            "perc_75_energy_rating_potential": 6,
            "perc_90_energy_rating_potential": 7,
            "energy_rating_a_count_potential": 1353744,
            "energy_rating_b_count_potential": 6577112,
            "energy_rating_c_count_potential": 3279959,
            "energy_rating_d_count_potential": 501082,
            "energy_rating_e_count_potential": 116201,
            "energy_rating_f_count_potential": 26544,
            "energy_rating_g_count_potential": 7676,
            "avg_energy_consumption_per_floor_area_m2_current": 226.13340897075247,
            "stddev_energy_consumption_per_floor_area_m2_current": 143.00607452095898,
            "min_energy_consumption_per_floor_area_m2_current": -320866,
            "max_energy_consumption_per_floor_area_m2_current": 54443,
            "perc_10_energy_consumption_per_floor_area_m2_current": 92,
            "perc_25_energy_consumption_per_floor_area_m2_current": 165,
            "perc_50_energy_consumption_per_floor_area_m2_current": 216,
            "perc_75_energy_consumption_per_floor_area_m2_current": 277,
            "perc_90_energy_consumption_per_floor_area_m2_current": 348,
            "avg_energy_consumption_per_floor_area_m2_potential": 110.66956997443498,
            "stddev_energy_consumption_per_floor_area_m2_potential": 120.43890500814346,
            "min_energy_consumption_per_floor_area_m2_potential": -320884,
            "max_energy_consumption_per_floor_area_m2_potential": 48964,
            "perc_10_energy_consumption_per_floor_area_m2_potential": 35,
            "perc_25_energy_consumption_per_floor_area_m2_potential": 73,
            "perc_50_energy_consumption_per_floor_area_m2_potential": 104,
            "perc_75_energy_consumption_per_floor_area_m2_potential": 139,
            "perc_90_energy_consumption_per_floor_area_m2_potential": 187,
            "avg_energy_efficiency_current": 65.80844587036025,
            "stddev_energy_efficiency_current": 13.051872886053104,
            "min_energy_efficiency_current": 1,
            "max_energy_efficiency_current": 349,
            "perc_10_energy_efficiency_current": 50,
            "perc_25_energy_efficiency_current": 59,
            "perc_50_energy_efficiency_current": 67,
            "perc_75_energy_efficiency_current": 73,
            "perc_90_energy_efficiency_current": 83,
            "avg_energy_efficiency_potential": 82.44722877940045,
            "stddev_energy_efficiency_potential": 10.100330061051059,
            "min_energy_efficiency_potential": 1,
            "max_energy_efficiency_potential": 8388,
            "perc_10_energy_efficiency_potential": 73,
            "perc_25_energy_efficiency_potential": 79,
            "perc_50_energy_efficiency_potential": 83,
            "perc_75_energy_efficiency_potential": 87,
            "perc_90_energy_efficiency_potential": 92,
            "avg_total_floor_area": 104.96741701285087,
            "avg_co2_emissions_current": 4.175951627667091,
            "stddev_co2_emissions_current": 3.233741744415999,
            "min_co2_emissions_current": -2854.8,
            "max_co2_emissions_current": 999,
            "perc_10_co2_emissions_current": 1.6,
            "perc_25_co2_emissions_current": 2.5,
            "perc_50_co2_emissions_current": 3.5,
            "perc_75_co2_emissions_current": 5,
            "perc_90_co2_emissions_current": 7.1,
            "avg_co2_emissions_potential": 2.1772530048511607,
            "stddev_co2_emissions_potential": 2.2750896353362258,
            "min_co2_emissions_potential": -2855,
            "max_co2_emissions_potential": 867,
            "perc_10_co2_emissions_potential": 0.6,
            "perc_25_co2_emissions_potential": 1.1,
            "perc_50_co2_emissions_potential": 1.8,
            "perc_75_co2_emissions_potential": 2.7,
            "perc_90_co2_emissions_potential": 4.1,
            "avg_energy_rating_current_numerical": 4.3980827356002425,
            "avg_energy_rating_potential_numerical": 5.711562445046575
          }
        }
      },
      "epc_compare": {
        "relative_to_postcode": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 65.1,
          "average_carbon_footprint": 2.903333333333333
        },
        "relative_to_outcode": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 68.85595816212178,
          "average_carbon_footprint": 3.1464546133731806
        },
        "relative_to_local_authority": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 69.41332700650759,
          "average_carbon_footprint": 2.787951328633384
        },
        "relative_to_region": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 68.5626636512646,
          "average_carbon_footprint": 2.960776787628643
        },
        "relative_to_country": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 67.14704438522985,
          "average_carbon_footprint": 3.5533397246521385
        },
        "relative_to_similar_properties_local_authority": {
          "energy_efficiency": "better",
          "carbon_footprint": "lower",
          "average_energy_efficiency_score": 62.48226666666667,
          "average_carbon_footprint": 5.44084000000001
        },
        "relative_to_similar_properties_country": {
          "energy_efficiency": "worse",
          "carbon_footprint": "higher",
          "average_energy_efficiency_score": 65.80844587036025,
          "average_carbon_footprint": 4.175951627667091
        }
      },
      "epc_estimate": null,
      "epc_retrofit_recommendations": [
        {
          "certificate_number": "8788-7424-5370-3747-2996",
          "improvement_id": 34,
          "improvement_summary_text": "Solar photovoltaic panels, 2.5 kWp",
          "improvement_description_text": "A solar PV system is one which converts light directly into electricity via panels placed on the roof with no waste and no emissions. This electricity is used throughout the home in the same way as the electricity purchased from an energy supplier. The British Photovoltaic Association has up-to-date information on local installers who are qualified electricians. It is best to obtain advice from a qualified electrician. Ask the electrician to explain the options.",
          "indicative_cost_min": 5000,
          "indicative_cost_max": 8000
        },
        {
          "certificate_number": "8788-7424-5370-3747-2996",
          "improvement_id": 57,
          "improvement_summary_text": "Floor insulation (suspended floor)",
          "improvement_description_text": "Insulation of a floor will significantly reduce heat loss; this will improve levels of comfort, reduce energy use and lower fuel bills. Suspended floors can often be insulated from below. . Further information about floor insulation is available from many sources including www.energysavingtrust.org.uk/northernireland/Insulation/Floor-insulation.",
          "indicative_cost_min": 800,
          "indicative_cost_max": 1200
        },
        {
          "certificate_number": "8788-7424-5370-3747-2996",
          "improvement_id": 19,
          "improvement_summary_text": "Solar water heating",
          "improvement_description_text": "A solar water heating panel, usually fixed to the roof, uses the sun to pre-heat the hot water supply. This will significantly reduce the demand on the heating system to provide hot water and hence save fuel and money. The Solar Trade Association has up-to-date information on local installers.",
          "indicative_cost_min": 4000,
          "indicative_cost_max": 6000
        },
        {
          "certificate_number": "8788-7424-5370-3747-2996",
          "improvement_id": 7,
          "improvement_summary_text": "50 mm internal or external wall insulation",
          "improvement_description_text": "Solid wall insulation involves adding a layer of insulation to either the inside or the outside surface of the external walls, which reduces heat loss and lowers fuel bills. As it is more expensive than cavity wall insulation it is only recommended for walls without a cavity, or where for technical reasons a cavity cannot be filled. Internal insulation, known as dry-lining, is where a layer of insulation is fixed to the inside surface of external walls; this type of insulation is best applied when rooms require redecorating and can be installed by a competent DIY enthusiast. External solid wall insulation is the application of an insulant and a weather-protective finish to the outside of the wall. This may improve the look of the home, particularly where existing brickwork or rendering is poor, and will provide long-lasting weather protection. Further information can be obtained from the National Insulation Association (www.nationalinsulationassociation.org.uk).",
          "indicative_cost_min": 4000,
          "indicative_cost_max": 14000
        }
      ]
    }
  }
{
   "$schema" : "http://json-schema.org/draft-07/schema#",
   "definitions" : {
      "AdminBoundaryByXYInfo" : {
         "properties" : {
            "country_code" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "country_name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "county_code" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "county_name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "electoral_area_code" : {
               "type" : "string"
            },
            "electoral_area_name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "local_authority_district_code" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "local_authority_district_name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "region_code" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "region_name" : {
               "type" : [
                  "null",
                  "string"
               ]
            }
         },
         "required" : [
            "country_code",
            "country_name",
            "county_code",
            "county_name",
            "electoral_area_code",
            "electoral_area_name",
            "local_authority_district_code",
            "local_authority_district_name",
            "region_code",
            "region_name"
         ],
         "type" : "object"
      },
      "CarbonComparisonValue" : {
         "enum" : [
            "equal",
            "higher",
            "lower",
            "unknown"
         ],
         "type" : "string"
      },
      "ComparisonValue" : {
         "enum" : [
            "better",
            "equal",
            "unknown",
            "worse"
         ],
         "type" : "string"
      },
      "ConservationAreaInfo" : {
         "properties" : {
            "conservation_area_area" : {
               "type" : "number"
            },
            "conservation_area_proportion" : {
               "type" : "number"
            },
            "in_conservation_area" : {
               "type" : "boolean"
            },
            "nearest_conservation_area" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/NearestConservationArea"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "conservation_area_area",
            "conservation_area_proportion",
            "in_conservation_area",
            "nearest_conservation_area"
         ],
         "type" : "object"
      },
      "ConservationAreaNearestPoint" : {
         "properties" : {
            "latitude" : {
               "type" : "number"
            },
            "longitude" : {
               "type" : "number"
            },
            "x_coord" : {
               "type" : "number"
            },
            "y_coord" : {
               "type" : "number"
            }
         },
         "required" : [
            "latitude",
            "longitude",
            "x_coord",
            "y_coord"
         ],
         "type" : "object"
      },
      "EPCCompare" : {
         "anyOf" : [
            {
               "$ref" : "#/definitions/EPCCompareResult"
            },
            {
               "type" : "null"
            }
         ]
      },
      "EPCCompareResult" : {
         "properties" : {
            "relative_to_country" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_local_authority" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_outcode" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_postcode" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_region" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_similar_properties_country" : {
               "$ref" : "#/definitions/EPCComparison"
            },
            "relative_to_similar_properties_local_authority" : {
               "$ref" : "#/definitions/EPCComparison"
            }
         },
         "required" : [
            "relative_to_country",
            "relative_to_local_authority",
            "relative_to_outcode",
            "relative_to_postcode",
            "relative_to_region",
            "relative_to_similar_properties_country",
            "relative_to_similar_properties_local_authority"
         ],
         "type" : "object"
      },
      "EPCComparison" : {
         "properties" : {
            "average_carbon_footprint" : {
               "type" : "number"
            },
            "average_energy_efficiency_score" : {
               "type" : "number"
            },
            "carbon_footprint" : {
               "$ref" : "#/definitions/CarbonComparisonValue"
            },
            "energy_efficiency" : {
               "$ref" : "#/definitions/ComparisonValue"
            }
         },
         "required" : [
            "carbon_footprint",
            "energy_efficiency"
         ],
         "type" : "object"
      },
      "EPCEnhancements" : {
         "properties" : {
            "adjusted_costs" : {
               "properties" : {
                  "heating_cost_current" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "heating_cost_potential" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "hot_water_cost_current" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "hot_water_cost_potential" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "lighting_cost_current" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "lighting_cost_potential" : {
                     "type" : [
                        "null",
                        "number"
                     ]
                  },
                  "standing_charges" : {
                     "type" : "number"
                  },
                  "total_fuel_cost_current" : {
                     "type" : "number"
                  },
                  "total_fuel_cost_potential" : {
                     "type" : "number"
                  }
               },
               "type" : "object"
            },
            "floor_thermal_transmittance" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "floor_type" : {
               "anyOf" : [
                  {
                     "enum" : [
                        "solid",
                        "suspended"
                     ],
                     "type" : "string"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "heat_pump" : {
               "type" : [
                  "null",
                  "boolean"
               ]
            },
            "roof_thermal_transmittance" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "roof_type" : {
               "anyOf" : [
                  {
                     "enum" : [
                        "flat",
                        "pitched",
                        "thatched"
                     ],
                     "type" : "string"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "total_energy_consumption_current" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "total_energy_consumption_potential" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "walls_thermal_transmittance" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "walls_type" : {
               "anyOf" : [
                  {
                     "enum" : [
                        "cavity",
                        "solid"
                     ],
                     "type" : "string"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "adjusted_costs",
            "floor_thermal_transmittance",
            "floor_type",
            "heat_pump",
            "roof_thermal_transmittance",
            "roof_type",
            "total_energy_consumption_current",
            "total_energy_consumption_potential",
            "walls_thermal_transmittance",
            "walls_type"
         ],
         "type" : "object"
      },
      "EPCRecommendation" : {
         "properties" : {
            "certificate_number" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "improvement_description_text" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "improvement_id" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "improvement_summary_text" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "indicative_cost_max" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "indicative_cost_min" : {
               "type" : [
                  "null",
                  "number"
               ]
            }
         },
         "required" : [
            "certificate_number",
            "improvement_description_text",
            "improvement_id",
            "improvement_summary_text",
            "indicative_cost_max",
            "indicative_cost_min"
         ],
         "type" : "object"
      },
      "ElectricityGasStats" : {
         "properties" : {
            "lower_layer_super_output_area" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/LSOAElectricityGasStats"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "middle_layer_super_output_area" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/MSOAElectricityGasStats"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "lower_layer_super_output_area",
            "middle_layer_super_output_area"
         ],
         "type" : "object"
      },
      "EnhancedEPC" : {
         "anyOf" : [
            {
               "allOf" : [
                  {
                     "properties" : {
                        "address1" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "address2" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "air_tightness_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "air_tightness_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "air_tightness_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "alternative_improvements" : {
                           "items" : {
                              "$ref" : "#/definitions/ScottishEpcImprovement"
                           },
                           "type" : "array"
                        },
                        "building_reference_number" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "built_form" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "co2_emissions_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_per_floor_area_m2_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_reduction_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "constituency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "constituency_label" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "construction_age_band" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "created_at" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "data_zone" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "data_zone_2011" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_consumption_per_floor_area_m2_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_consumption_per_floor_area_m2_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_efficiency_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_efficiency_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_rating_current" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_rating_potential" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_saving_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_tariff" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "environmental_impact_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "environmental_impact_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "environmental_rating_current" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "environmental_rating_potential" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "extension_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "fixed_lighting_outlet_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "flat_storey_count" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_height" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "floor_level" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "glazed_area" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "glazed_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "habitable_room_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "has_mains_gas" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "has_solar_water_heating" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "heat_loss_corridor" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "heated_room_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "heating_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "heating_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "historic" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "hot_water_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "hot_water_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "hot_water_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "hot_water_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "hot_water_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "id" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "impact_cavity_wall_insulation" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "impact_loft_insulation" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "impact_solid_wall_insulation" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "improvements" : {
                           "items" : {
                              "$ref" : "#/definitions/ScottishEpcImprovement"
                           },
                           "type" : "array"
                        },
                        "inspection_date" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "lighting_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "lighting_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "lighting_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lighting_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lighting_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "local_authority_label" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lodgement_date" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "low_energy_fixed_light_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "low_energy_lighting_percentage" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "lzc_energy_sources" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_fuel" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_category" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "mechanical_ventilation" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "multi_glaze_percentage" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "open_fireplace_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "post_town" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "postcode" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "property_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "report_reference_number" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_photovoltaic_supply" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "second_heating_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "second_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "second_heating_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "space_heating_demand" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "tenure" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "three_year_energy_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_energy_saving_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_heating_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_heating_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_hot_water_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_hot_water_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_lighting_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "three_year_lighting_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "total_floor_area" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "transaction_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "type_of_assessment" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "unheated_corridor_length" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "uprn" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "walls_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "walls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "walls_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "water_heating_demand" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "wind_turbine_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "windows_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "windows_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "windows_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        }
                     },
                     "required" : [
                        "address1",
                        "address2",
                        "air_tightness_description",
                        "air_tightness_energy_efficiency",
                        "air_tightness_environmental_efficiency",
                        "alternative_improvements",
                        "building_reference_number",
                        "built_form",
                        "co2_emissions_current",
                        "co2_emissions_per_floor_area_m2_current",
                        "co2_emissions_potential",
                        "co2_emissions_reduction_potential",
                        "constituency",
                        "constituency_label",
                        "construction_age_band",
                        "created_at",
                        "data_zone",
                        "data_zone_2011",
                        "energy_consumption_per_floor_area_m2_current",
                        "energy_consumption_per_floor_area_m2_potential",
                        "energy_cost_current",
                        "energy_efficiency_current",
                        "energy_efficiency_potential",
                        "energy_rating_current",
                        "energy_rating_potential",
                        "energy_saving_potential",
                        "energy_tariff",
                        "environmental_impact_current",
                        "environmental_impact_potential",
                        "environmental_rating_current",
                        "environmental_rating_potential",
                        "extension_count",
                        "fixed_lighting_outlet_count",
                        "flat_storey_count",
                        "floor_description",
                        "floor_energy_efficiency",
                        "floor_environmental_efficiency",
                        "floor_height",
                        "floor_level",
                        "glazed_area",
                        "glazed_type",
                        "habitable_room_count",
                        "has_mains_gas",
                        "has_solar_water_heating",
                        "heat_loss_corridor",
                        "heated_room_count",
                        "heating_cost_current",
                        "heating_cost_potential",
                        "historic",
                        "hot_water_cost_current",
                        "hot_water_cost_potential",
                        "hot_water_description",
                        "hot_water_energy_efficiency",
                        "hot_water_environmental_efficiency",
                        "id",
                        "impact_cavity_wall_insulation",
                        "impact_loft_insulation",
                        "impact_solid_wall_insulation",
                        "improvements",
                        "inspection_date",
                        "lighting_cost_current",
                        "lighting_cost_potential",
                        "lighting_description",
                        "lighting_energy_efficiency",
                        "lighting_environmental_efficiency",
                        "local_authority_label",
                        "lodgement_date",
                        "low_energy_fixed_light_count",
                        "low_energy_lighting_percentage",
                        "lzc_energy_sources",
                        "main_fuel",
                        "main_heating_category",
                        "main_heating_controls",
                        "main_heating_controls_description",
                        "main_heating_controls_energy_efficiency",
                        "main_heating_controls_environmental_efficiency",
                        "main_heating_description",
                        "main_heating_energy_efficiency",
                        "main_heating_environmental_efficiency",
                        "mechanical_ventilation",
                        "multi_glaze_percentage",
                        "open_fireplace_count",
                        "post_town",
                        "postcode",
                        "property_type",
                        "report_reference_number",
                        "roof_description",
                        "roof_energy_efficiency",
                        "roof_environmental_efficiency",
                        "roof_photovoltaic_supply",
                        "second_heating_description",
                        "second_heating_energy_efficiency",
                        "second_heating_environmental_efficiency",
                        "space_heating_demand",
                        "tenure",
                        "three_year_energy_cost_current",
                        "three_year_energy_saving_potential",
                        "three_year_heating_cost_current",
                        "three_year_heating_cost_potential",
                        "three_year_hot_water_cost_current",
                        "three_year_hot_water_cost_potential",
                        "three_year_lighting_cost_current",
                        "three_year_lighting_cost_potential",
                        "total_floor_area",
                        "transaction_type",
                        "type_of_assessment",
                        "unheated_corridor_length",
                        "uprn",
                        "walls_description",
                        "walls_energy_efficiency",
                        "walls_environmental_efficiency",
                        "water_heating_demand",
                        "wind_turbine_count",
                        "windows_description",
                        "windows_energy_efficiency",
                        "windows_environmental_efficiency"
                     ],
                     "type" : "object"
                  },
                  {
                     "$ref" : "#/definitions/EPCEnhancements"
                  }
               ]
            },
            {
               "allOf" : [
                  {
                     "properties" : {
                        "address" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "address1" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "address2" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "address3" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "built_form" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "certificate_number" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "co2_emissions_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_per_floor_area_m2_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "co2_emissions_reduction_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "constituency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "constituency_label" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "construction_age_band" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "country" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "dwelling_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_consumption_per_floor_area_m2_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_consumption_per_floor_area_m2_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_efficiency_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_efficiency_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "energy_rating_current" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_rating_potential" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "energy_tariff" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "environmental_impact_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "environmental_impact_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "extension_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "fixed_lighting_outlet_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "flat_storey_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "floor_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "floor_height" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "floor_level" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "glazed_area" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "glazed_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "habitable_room_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "has_mains_gas" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "has_solar_water_heating" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "heat_loss_corridor" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "heated_room_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "heating_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "heating_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "hot_water_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "hot_water_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "hot_water_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "hot_water_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "hot_water_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "inspection_date" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "is_flat_top_storey" : {
                           "type" : [
                              "null",
                              "boolean"
                           ]
                        },
                        "lighting_cost_current" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "lighting_cost_potential" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "lighting_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lighting_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lighting_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "local_authority" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "local_authority_label" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "lodgement_date" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "lodgement_datetime" : {
                           "anyOf" : [
                              {
                                 "format" : "date-time",
                                 "type" : "string"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "low_energy_fixed_light_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "low_energy_lighting_percentage" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "main_fuel" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_controls_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "main_heating_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "mechanical_ventilation" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "multi_glaze_percentage" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "open_fireplace_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "post_town" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "postcode" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "property_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "region" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "report_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "roof_photovoltaic_supply" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "second_heating_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "second_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "second_heating_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "tenure" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "total_floor_area" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "transaction_type" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "unheated_corridor_length" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "uprn" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "uprn_source" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "walls_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "walls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "walls_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "wind_turbine_count" : {
                           "type" : [
                              "null",
                              "number"
                           ]
                        },
                        "windows_description" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "windows_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "windows_environmental_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        }
                     },
                     "required" : [
                        "address",
                        "address1",
                        "address2",
                        "address3",
                        "built_form",
                        "certificate_number",
                        "co2_emissions_current",
                        "co2_emissions_per_floor_area_m2_current",
                        "co2_emissions_potential",
                        "co2_emissions_reduction_potential",
                        "constituency",
                        "constituency_label",
                        "construction_age_band",
                        "country",
                        "dwelling_type",
                        "energy_consumption_per_floor_area_m2_current",
                        "energy_consumption_per_floor_area_m2_potential",
                        "energy_efficiency_current",
                        "energy_efficiency_potential",
                        "energy_rating_current",
                        "energy_rating_potential",
                        "energy_tariff",
                        "environmental_impact_current",
                        "environmental_impact_potential",
                        "extension_count",
                        "fixed_lighting_outlet_count",
                        "flat_storey_count",
                        "floor_description",
                        "floor_energy_efficiency",
                        "floor_environmental_efficiency",
                        "floor_height",
                        "floor_level",
                        "glazed_area",
                        "glazed_type",
                        "habitable_room_count",
                        "has_mains_gas",
                        "has_solar_water_heating",
                        "heat_loss_corridor",
                        "heated_room_count",
                        "heating_cost_current",
                        "heating_cost_potential",
                        "hot_water_cost_current",
                        "hot_water_cost_potential",
                        "hot_water_description",
                        "hot_water_energy_efficiency",
                        "hot_water_environmental_efficiency",
                        "inspection_date",
                        "is_flat_top_storey",
                        "lighting_cost_current",
                        "lighting_cost_potential",
                        "lighting_description",
                        "lighting_energy_efficiency",
                        "lighting_environmental_efficiency",
                        "local_authority",
                        "local_authority_label",
                        "lodgement_date",
                        "lodgement_datetime",
                        "low_energy_fixed_light_count",
                        "low_energy_lighting_percentage",
                        "main_fuel",
                        "main_heating_controls",
                        "main_heating_controls_description",
                        "main_heating_controls_energy_efficiency",
                        "main_heating_controls_environmental_efficiency",
                        "main_heating_description",
                        "main_heating_energy_efficiency",
                        "main_heating_environmental_efficiency",
                        "mechanical_ventilation",
                        "multi_glaze_percentage",
                        "open_fireplace_count",
                        "post_town",
                        "postcode",
                        "property_type",
                        "region",
                        "report_type",
                        "roof_description",
                        "roof_energy_efficiency",
                        "roof_environmental_efficiency",
                        "roof_photovoltaic_supply",
                        "second_heating_description",
                        "second_heating_energy_efficiency",
                        "second_heating_environmental_efficiency",
                        "tenure",
                        "total_floor_area",
                        "transaction_type",
                        "unheated_corridor_length",
                        "uprn",
                        "uprn_source",
                        "walls_description",
                        "walls_energy_efficiency",
                        "walls_environmental_efficiency",
                        "wind_turbine_count",
                        "windows_description",
                        "windows_energy_efficiency",
                        "windows_environmental_efficiency"
                     ],
                     "type" : "object"
                  },
                  {
                     "$ref" : "#/definitions/EPCEnhancements"
                  }
               ]
            }
         ]
      },
      "FuelPovertyInfo" : {
         "properties" : {
            "local_authority" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/FuelPovertyLocalAuthority"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "lower_layer_super_output_area" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/FuelPovertyLowerLayerSuperOutputArea"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "region" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/FuelPovertyRegion"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "local_authority",
            "lower_layer_super_output_area",
            "region"
         ],
         "type" : "object"
      },
      "FuelPovertyLocalAuthority" : {
         "properties" : {
            "fuel_poor_household_count" : {
               "type" : "number"
            },
            "fuel_poor_household_percentage" : {
               "type" : "number"
            },
            "household_count" : {
               "type" : "number"
            },
            "local_authority_district_code" : {
               "type" : "string"
            },
            "local_authority_district_name" : {
               "type" : "string"
            }
         },
         "required" : [
            "fuel_poor_household_count",
            "fuel_poor_household_percentage",
            "household_count",
            "local_authority_district_code",
            "local_authority_district_name"
         ],
         "type" : "object"
      },
      "FuelPovertyLowerLayerSuperOutputArea" : {
         "properties" : {
            "fuel_poor_household_count" : {
               "type" : "number"
            },
            "fuel_poor_household_percentage" : {
               "type" : "number"
            },
            "household_count" : {
               "type" : "number"
            },
            "lower_layer_super_output_area_code" : {
               "type" : "string"
            },
            "lower_layer_super_output_area_name" : {
               "type" : "string"
            }
         },
         "required" : [
            "fuel_poor_household_count",
            "fuel_poor_household_percentage",
            "household_count",
            "lower_layer_super_output_area_code",
            "lower_layer_super_output_area_name"
         ],
         "type" : "object"
      },
      "FuelPovertyRegion" : {
         "properties" : {
            "fuel_poor_household_count" : {
               "type" : "number"
            },
            "fuel_poor_household_percentage" : {
               "type" : "number"
            },
            "household_count" : {
               "type" : "number"
            },
            "region_code" : {
               "type" : "string"
            },
            "region_name" : {
               "type" : "string"
            }
         },
         "required" : [
            "fuel_poor_household_count",
            "fuel_poor_household_percentage",
            "household_count",
            "region_code",
            "region_name"
         ],
         "type" : "object"
      },
      "HousePriceIndexInfo" : {
         "properties" : {
            "average_price" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_cash" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_existing" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_first_time_buyer" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_flat" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_former_owner_occupier" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_mortgage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_new" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_seasonally_adjusted" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_semi_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "average_price_terraced" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "date" : {
               "format" : "date-time",
               "type" : "string"
            },
            "house_price_index" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_cash" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_existing" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_first_time_buyer" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_flat" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_former_owner_occupier" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_mortgage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_new" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_seasonally_adjusted" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_semi_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "house_price_index_terraced" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_cash" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_existing" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_first_time_buyer" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_flat" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_former_owner_occupier" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_mortgage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_new" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_semi_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_12_months_terraced" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_cash" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_existing" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_first_time_buyer" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_flat" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_former_owner_occupier" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_mortgage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_new" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_semi_detached" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "percentage_change_1_month_terraced" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "region_name" : {
               "type" : "string"
            },
            "sales_volume" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "sales_volume_cash" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "sales_volume_existing" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "sales_volume_mortgage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "sales_volume_new" : {
               "type" : [
                  "null",
                  "number"
               ]
            }
         },
         "required" : [
            "average_price",
            "average_price_cash",
            "average_price_detached",
            "average_price_existing",
            "average_price_first_time_buyer",
            "average_price_flat",
            "average_price_former_owner_occupier",
            "average_price_mortgage",
            "average_price_new",
            "average_price_seasonally_adjusted",
            "average_price_semi_detached",
            "average_price_terraced",
            "date",
            "house_price_index",
            "house_price_index_cash",
            "house_price_index_detached",
            "house_price_index_existing",
            "house_price_index_first_time_buyer",
            "house_price_index_flat",
            "house_price_index_former_owner_occupier",
            "house_price_index_mortgage",
            "house_price_index_new",
            "house_price_index_seasonally_adjusted",
            "house_price_index_semi_detached",
            "house_price_index_terraced",
            "percentage_change_12_months",
            "percentage_change_12_months_cash",
            "percentage_change_12_months_detached",
            "percentage_change_12_months_existing",
            "percentage_change_12_months_first_time_buyer",
            "percentage_change_12_months_flat",
            "percentage_change_12_months_former_owner_occupier",
            "percentage_change_12_months_mortgage",
            "percentage_change_12_months_new",
            "percentage_change_12_months_semi_detached",
            "percentage_change_12_months_terraced",
            "percentage_change_1_month",
            "percentage_change_1_month_cash",
            "percentage_change_1_month_detached",
            "percentage_change_1_month_existing",
            "percentage_change_1_month_first_time_buyer",
            "percentage_change_1_month_flat",
            "percentage_change_1_month_former_owner_occupier",
            "percentage_change_1_month_mortgage",
            "percentage_change_1_month_new",
            "percentage_change_1_month_semi_detached",
            "percentage_change_1_month_terraced",
            "region_name",
            "sales_volume",
            "sales_volume_cash",
            "sales_volume_existing",
            "sales_volume_mortgage",
            "sales_volume_new"
         ],
         "type" : "object"
      },
      "IndicesOfDeprivationResult" : {
         "properties" : {
            "adult_skills_sub_domain_decile" : {
               "type" : "number"
            },
            "adult_skills_sub_domain_rank" : {
               "type" : "number"
            },
            "adult_skills_sub_domain_score" : {
               "type" : "number"
            },
            "barriers_to_housing_and_services_decile" : {
               "type" : "number"
            },
            "barriers_to_housing_and_services_rank" : {
               "type" : "number"
            },
            "barriers_to_housing_and_services_score" : {
               "type" : "number"
            },
            "children_and_young_people_sub_domain_decile" : {
               "type" : "number"
            },
            "children_and_young_people_sub_domain_rank" : {
               "type" : "number"
            },
            "children_and_young_people_sub_domain_score" : {
               "type" : "number"
            },
            "crime_decile" : {
               "type" : "number"
            },
            "crime_rank" : {
               "type" : "number"
            },
            "crime_score" : {
               "type" : "number"
            },
            "dependent_children_aged_0_15_mid_2015_excluding_prisoners" : {
               "type" : "number"
            },
            "education_skills_and_training_decile" : {
               "type" : "number"
            },
            "education_skills_and_training_rank" : {
               "type" : "number"
            },
            "education_skills_and_training_score" : {
               "type" : "number"
            },
            "employment_decile" : {
               "type" : "number"
            },
            "employment_rank" : {
               "type" : "number"
            },
            "employment_score" : {
               "type" : "number"
            },
            "geographical_barriers_sub_domain_decile" : {
               "type" : "number"
            },
            "geographical_barriers_sub_domain_rank" : {
               "type" : "number"
            },
            "geographical_barriers_sub_domain_score" : {
               "type" : "number"
            },
            "health_deprivation_and_disability_decile" : {
               "type" : "number"
            },
            "health_deprivation_and_disability_rank" : {
               "type" : "number"
            },
            "health_deprivation_and_disability_score" : {
               "type" : "number"
            },
            "income_decile" : {
               "type" : "number"
            },
            "income_deprivation_affecting_children_decile" : {
               "type" : "number"
            },
            "income_deprivation_affecting_children_rank" : {
               "type" : "number"
            },
            "income_deprivation_affecting_children_score" : {
               "type" : "number"
            },
            "income_deprivation_affecting_older_people_decile" : {
               "type" : "number"
            },
            "income_deprivation_affecting_older_people_rank" : {
               "type" : "number"
            },
            "income_deprivation_affecting_older_people_score" : {
               "type" : "number"
            },
            "income_rank" : {
               "type" : "number"
            },
            "income_score" : {
               "type" : "number"
            },
            "index_of_multiple_deprivation_decile" : {
               "type" : "number"
            },
            "index_of_multiple_deprivation_rank" : {
               "type" : "number"
            },
            "index_of_multiple_deprivation_score" : {
               "type" : "number"
            },
            "indoors_sub_domain_decile" : {
               "type" : "number"
            },
            "indoors_sub_domain_rank" : {
               "type" : "number"
            },
            "indoors_sub_domain_score" : {
               "type" : "number"
            },
            "living_environment_decile" : {
               "type" : "number"
            },
            "living_environment_rank" : {
               "type" : "number"
            },
            "living_environment_score" : {
               "type" : "number"
            },
            "local_authority_district_code" : {
               "type" : "string"
            },
            "local_authority_district_name" : {
               "type" : "string"
            },
            "lsoa_code" : {
               "type" : "string"
            },
            "lsoa_name" : {
               "type" : "string"
            },
            "older_population_aged_60_and_over_mid_2015_excluding_prisoners" : {
               "type" : "number"
            },
            "outdoors_sub_domain_decile" : {
               "type" : "number"
            },
            "outdoors_sub_domain_rank" : {
               "type" : "number"
            },
            "outdoors_sub_domain_score" : {
               "type" : "number"
            },
            "total_population_mid_2015_excluding_prisoners" : {
               "type" : "number"
            },
            "wider_barriers_sub_domain_decile" : {
               "type" : "number"
            },
            "wider_barriers_sub_domain_rank" : {
               "type" : "number"
            },
            "wider_barriers_sub_domain_score" : {
               "type" : "number"
            },
            "working_age_population_18_59_64_for_use_with_employment_depriva" : {
               "type" : "number"
            }
         },
         "required" : [
            "adult_skills_sub_domain_decile",
            "adult_skills_sub_domain_rank",
            "adult_skills_sub_domain_score",
            "barriers_to_housing_and_services_decile",
            "barriers_to_housing_and_services_rank",
            "barriers_to_housing_and_services_score",
            "children_and_young_people_sub_domain_decile",
            "children_and_young_people_sub_domain_rank",
            "children_and_young_people_sub_domain_score",
            "crime_decile",
            "crime_rank",
            "crime_score",
            "dependent_children_aged_0_15_mid_2015_excluding_prisoners",
            "education_skills_and_training_decile",
            "education_skills_and_training_rank",
            "education_skills_and_training_score",
            "employment_decile",
            "employment_rank",
            "employment_score",
            "geographical_barriers_sub_domain_decile",
            "geographical_barriers_sub_domain_rank",
            "geographical_barriers_sub_domain_score",
            "health_deprivation_and_disability_decile",
            "health_deprivation_and_disability_rank",
            "health_deprivation_and_disability_score",
            "income_decile",
            "income_deprivation_affecting_children_decile",
            "income_deprivation_affecting_children_rank",
            "income_deprivation_affecting_children_score",
            "income_deprivation_affecting_older_people_decile",
            "income_deprivation_affecting_older_people_rank",
            "income_deprivation_affecting_older_people_score",
            "income_rank",
            "income_score",
            "index_of_multiple_deprivation_decile",
            "index_of_multiple_deprivation_rank",
            "index_of_multiple_deprivation_score",
            "indoors_sub_domain_decile",
            "indoors_sub_domain_rank",
            "indoors_sub_domain_score",
            "living_environment_decile",
            "living_environment_rank",
            "living_environment_score",
            "local_authority_district_code",
            "local_authority_district_name",
            "lsoa_code",
            "lsoa_name",
            "older_population_aged_60_and_over_mid_2015_excluding_prisoners",
            "outdoors_sub_domain_decile",
            "outdoors_sub_domain_rank",
            "outdoors_sub_domain_score",
            "total_population_mid_2015_excluding_prisoners",
            "wider_barriers_sub_domain_decile",
            "wider_barriers_sub_domain_rank",
            "wider_barriers_sub_domain_score",
            "working_age_population_18_59_64_for_use_with_employment_depriva"
         ],
         "type" : "object"
      },
      "LSOAElectricityGasStats" : {
         "properties" : {
            "electricity_meter_count" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "gas_meter_count" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "lower_layer_super_output_area_code" : {
               "type" : "string"
            },
            "mean_electricity_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_electricity_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_gas_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_gas_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_electricity_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_electricity_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_gas_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_gas_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            }
         },
         "required" : [
            "electricity_meter_count",
            "gas_meter_count",
            "lower_layer_super_output_area_code",
            "mean_electricity_cost",
            "mean_electricity_usage",
            "mean_gas_cost",
            "mean_gas_usage",
            "median_electricity_cost",
            "median_electricity_usage",
            "median_gas_cost",
            "median_gas_usage"
         ],
         "type" : "object"
      },
      "ListedBuilding" : {
         "properties" : {
            "date_listed" : {
               "anyOf" : [
                  {
                     "format" : "date-time",
                     "type" : "string"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "distance" : {
               "type" : "number"
            },
            "grade" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "latitude" : {
               "type" : "number"
            },
            "longitude" : {
               "type" : "number"
            },
            "name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "url" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "x_coord" : {
               "type" : "number"
            },
            "y_coord" : {
               "type" : "number"
            }
         },
         "required" : [
            "date_listed",
            "distance",
            "grade",
            "latitude",
            "longitude",
            "name",
            "url",
            "x_coord",
            "y_coord"
         ],
         "type" : "object"
      },
      "ListedBuildingsInfo" : {
         "properties" : {
            "nearest_listed_buildings" : {
               "items" : {
                  "$ref" : "#/definitions/ListedBuilding"
               },
               "type" : "array"
            }
         },
         "required" : [
            "nearest_listed_buildings"
         ],
         "type" : "object"
      },
      "MSOAElectricityGasStats" : {
         "properties" : {
            "electricity_meter_count" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "gas_meter_count" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_electricity_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_electricity_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_gas_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "mean_gas_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_electricity_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_electricity_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_gas_cost" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "median_gas_usage" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "middle_layer_super_output_area_code" : {
               "type" : "string"
            }
         },
         "required" : [
            "electricity_meter_count",
            "gas_meter_count",
            "mean_electricity_cost",
            "mean_electricity_usage",
            "mean_gas_cost",
            "mean_gas_usage",
            "median_electricity_cost",
            "median_electricity_usage",
            "median_gas_cost",
            "median_gas_usage",
            "middle_layer_super_output_area_code"
         ],
         "type" : "object"
      },
      "NationalParkNearestPoint" : {
         "properties" : {
            "latitude" : {
               "type" : "number"
            },
            "longitude" : {
               "type" : "number"
            },
            "x_coord" : {
               "type" : "number"
            },
            "y_coord" : {
               "type" : "number"
            }
         },
         "required" : [
            "latitude",
            "longitude",
            "x_coord",
            "y_coord"
         ],
         "type" : "object"
      },
      "NationalParksInfo" : {
         "properties" : {
            "in_national_park" : {
               "type" : "boolean"
            },
            "national_park_area" : {
               "type" : "number"
            },
            "national_park_proportion" : {
               "type" : "number"
            },
            "nearest_national_park" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/NearestNationalPark"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "in_national_park",
            "national_park_area",
            "national_park_proportion",
            "nearest_national_park"
         ],
         "type" : "object"
      },
      "NearestConservationArea" : {
         "properties" : {
            "distance" : {
               "type" : "number"
            },
            "name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "nearest_point" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/ConservationAreaNearestPoint"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "distance",
            "name",
            "nearest_point"
         ],
         "type" : "object"
      },
      "NearestNationalPark" : {
         "properties" : {
            "code" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "distance" : {
               "type" : "number"
            },
            "name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "nearest_point" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/NationalParkNearestPoint"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "code",
            "distance",
            "name",
            "nearest_point"
         ],
         "type" : "object"
      },
      "RetrofitAreaAttributes" : {
         "properties" : {
            "average_energy_usage_stats" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/ElectricityGasStats"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "fuel_poverty" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/FuelPovertyInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "house_price_index" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/HousePriceIndexInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "indices_of_deprivation" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/IndicesOfDeprivationResult"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "retrofit_grants" : {
               "anyOf" : [
                  {
                     "items" : {
                        "$ref" : "#/definitions/RetrofitGrant"
                     },
                     "type" : "array"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "urban_rural_classification" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/RuralUrbanClassificationResult"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "average_energy_usage_stats",
            "fuel_poverty",
            "house_price_index",
            "indices_of_deprivation",
            "retrofit_grants",
            "urban_rural_classification"
         ],
         "type" : "object"
      },
      "RetrofitEPCData" : {
         "properties" : {
            "enhanced_epcs" : {
               "items" : {
                  "$ref" : "#/definitions/EnhancedEPC"
               },
               "type" : "array"
            },
            "epc_age" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "epc_compare" : {
               "$ref" : "#/definitions/EPCCompare"
            },
            "epc_estimate" : {
               "anyOf" : [
                  {
                     "properties" : {
                        "avg_co2_emissions_current" : {
                           "type" : "number"
                        },
                        "avg_co2_emissions_potential" : {
                           "type" : "number"
                        },
                        "avg_energy_efficiency_current" : {
                           "type" : "number"
                        },
                        "avg_energy_efficiency_potential" : {
                           "type" : "number"
                        },
                        "avg_energy_rating_current" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_energy_rating_current_numerical" : {
                           "type" : "number"
                        },
                        "avg_energy_rating_potential" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_energy_rating_potential_numerical" : {
                           "type" : "number"
                        },
                        "avg_floor_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_floor_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_hot_water_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_hot_water_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_lighting_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_lighting_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_main_heating_controls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_main_heating_controls_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_main_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_main_heating_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_roof_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_roof_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_total_floor_area" : {
                           "type" : "number"
                        },
                        "avg_walls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_walls_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "avg_windows_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "avg_windows_energy_efficiency_numerical" : {
                           "type" : "number"
                        },
                        "median_co2_emissions_current" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_co2_emissions_potential" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_energy_efficiency_current" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_energy_efficiency_potential" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_energy_rating_current" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_energy_rating_potential" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_floor_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_hot_water_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_lighting_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_main_heating_controls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_main_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_roof_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_total_floor_area" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "median_walls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "median_windows_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string"
                           ]
                        },
                        "mode_built_form" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_construction_age_band" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_energy_rating_current" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_energy_rating_potential" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_floor_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_hot_water_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_lighting_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_main_heating_controls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_main_heating_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_property_type" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_roof_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_walls_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "mode_windows_energy_efficiency" : {
                           "type" : [
                              "null",
                              "string",
                              "number"
                           ]
                        },
                        "property_count" : {
                           "type" : "number"
                        }
                     },
                     "required" : [
                        "avg_co2_emissions_current",
                        "avg_co2_emissions_potential",
                        "avg_energy_efficiency_current",
                        "avg_energy_efficiency_potential",
                        "avg_energy_rating_current",
                        "avg_energy_rating_current_numerical",
                        "avg_energy_rating_potential",
                        "avg_energy_rating_potential_numerical",
                        "avg_floor_energy_efficiency",
                        "avg_floor_energy_efficiency_numerical",
                        "avg_hot_water_energy_efficiency",
                        "avg_hot_water_energy_efficiency_numerical",
                        "avg_lighting_energy_efficiency",
                        "avg_lighting_energy_efficiency_numerical",
                        "avg_main_heating_controls_energy_efficiency",
                        "avg_main_heating_controls_energy_efficiency_numerical",
                        "avg_main_heating_energy_efficiency",
                        "avg_main_heating_energy_efficiency_numerical",
                        "avg_roof_energy_efficiency",
                        "avg_roof_energy_efficiency_numerical",
                        "avg_total_floor_area",
                        "avg_walls_energy_efficiency",
                        "avg_walls_energy_efficiency_numerical",
                        "avg_windows_energy_efficiency",
                        "avg_windows_energy_efficiency_numerical",
                        "median_co2_emissions_current",
                        "median_co2_emissions_potential",
                        "median_energy_efficiency_current",
                        "median_energy_efficiency_potential",
                        "median_energy_rating_current",
                        "median_energy_rating_potential",
                        "median_floor_energy_efficiency",
                        "median_hot_water_energy_efficiency",
                        "median_lighting_energy_efficiency",
                        "median_main_heating_controls_energy_efficiency",
                        "median_main_heating_energy_efficiency",
                        "median_roof_energy_efficiency",
                        "median_total_floor_area",
                        "median_walls_energy_efficiency",
                        "median_windows_energy_efficiency",
                        "mode_built_form",
                        "mode_construction_age_band",
                        "mode_energy_rating_current",
                        "mode_energy_rating_potential",
                        "mode_floor_energy_efficiency",
                        "mode_hot_water_energy_efficiency",
                        "mode_lighting_energy_efficiency",
                        "mode_main_heating_controls_energy_efficiency",
                        "mode_main_heating_energy_efficiency",
                        "mode_property_type",
                        "mode_roof_energy_efficiency",
                        "mode_walls_energy_efficiency",
                        "mode_windows_energy_efficiency",
                        "property_count"
                     ],
                     "type" : "object"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "epc_expiry" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "epc_in_date" : {
               "type" : [
                  "null",
                  "boolean"
               ]
            },
            "epc_retrofit_recommendations" : {
               "anyOf" : [
                  {
                     "items" : {
                        "$ref" : "#/definitions/EPCRecommendation"
                     },
                     "type" : "array"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "epc_stats" : {
               "properties" : {
                  "country_stats" : {
                     "anyOf" : [
                        {
                           "properties" : {
                              "avg_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "avg_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_current" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_current_numerical" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_potential" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_potential_numerical" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_potential" : {
                                 "type" : "number"
                              },
                              "property_count" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_potential" : {
                                 "type" : "number"
                              }
                           },
                           "required" : [
                              "avg_energy_efficiency_current",
                              "avg_energy_efficiency_potential",
                              "avg_energy_rating_current",
                              "avg_energy_rating_current_numerical",
                              "avg_energy_rating_potential",
                              "avg_energy_rating_potential_numerical",
                              "energy_rating_a_count_current",
                              "energy_rating_a_count_potential",
                              "energy_rating_b_count_current",
                              "energy_rating_b_count_potential",
                              "energy_rating_c_count_current",
                              "energy_rating_c_count_potential",
                              "energy_rating_d_count_current",
                              "energy_rating_d_count_potential",
                              "energy_rating_e_count_current",
                              "energy_rating_e_count_potential",
                              "energy_rating_f_count_current",
                              "energy_rating_f_count_potential",
                              "energy_rating_g_count_current",
                              "energy_rating_g_count_potential",
                              "property_count",
                              "stddev_energy_efficiency_current",
                              "stddev_energy_efficiency_potential",
                              "stddev_energy_rating_current",
                              "stddev_energy_rating_potential"
                           ],
                           "type" : "object"
                        },
                        {
                           "type" : "null"
                        }
                     ]
                  },
                  "local_authority_stats" : {
                     "anyOf" : [
                        {
                           "properties" : {
                              "avg_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "avg_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_current" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_current_numerical" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_potential" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_potential_numerical" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_potential" : {
                                 "type" : "number"
                              },
                              "property_count" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_potential" : {
                                 "type" : "number"
                              }
                           },
                           "required" : [
                              "avg_energy_efficiency_current",
                              "avg_energy_efficiency_potential",
                              "avg_energy_rating_current",
                              "avg_energy_rating_current_numerical",
                              "avg_energy_rating_potential",
                              "avg_energy_rating_potential_numerical",
                              "energy_rating_a_count_current",
                              "energy_rating_a_count_potential",
                              "energy_rating_b_count_current",
                              "energy_rating_b_count_potential",
                              "energy_rating_c_count_current",
                              "energy_rating_c_count_potential",
                              "energy_rating_d_count_current",
                              "energy_rating_d_count_potential",
                              "energy_rating_e_count_current",
                              "energy_rating_e_count_potential",
                              "energy_rating_f_count_current",
                              "energy_rating_f_count_potential",
                              "energy_rating_g_count_current",
                              "energy_rating_g_count_potential",
                              "property_count",
                              "stddev_energy_efficiency_current",
                              "stddev_energy_efficiency_potential",
                              "stddev_energy_rating_current",
                              "stddev_energy_rating_potential"
                           ],
                           "type" : "object"
                        },
                        {
                           "type" : "null"
                        }
                     ]
                  },
                  "outcode_stats" : {
                     "anyOf" : [
                        {
                           "properties" : {
                              "avg_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "avg_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_current" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_current_numerical" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_potential" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_potential_numerical" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_potential" : {
                                 "type" : "number"
                              },
                              "property_count" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_potential" : {
                                 "type" : "number"
                              }
                           },
                           "required" : [
                              "avg_energy_efficiency_current",
                              "avg_energy_efficiency_potential",
                              "avg_energy_rating_current",
                              "avg_energy_rating_current_numerical",
                              "avg_energy_rating_potential",
                              "avg_energy_rating_potential_numerical",
                              "energy_rating_a_count_current",
                              "energy_rating_a_count_potential",
                              "energy_rating_b_count_current",
                              "energy_rating_b_count_potential",
                              "energy_rating_c_count_current",
                              "energy_rating_c_count_potential",
                              "energy_rating_d_count_current",
                              "energy_rating_d_count_potential",
                              "energy_rating_e_count_current",
                              "energy_rating_e_count_potential",
                              "energy_rating_f_count_current",
                              "energy_rating_f_count_potential",
                              "energy_rating_g_count_current",
                              "energy_rating_g_count_potential",
                              "property_count",
                              "stddev_energy_efficiency_current",
                              "stddev_energy_efficiency_potential",
                              "stddev_energy_rating_current",
                              "stddev_energy_rating_potential"
                           ],
                           "type" : "object"
                        },
                        {
                           "type" : "null"
                        }
                     ]
                  },
                  "postcode_stats" : {
                     "anyOf" : [
                        {
                           "properties" : {
                              "avg_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "avg_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_current" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_current_numerical" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_potential" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_potential_numerical" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_potential" : {
                                 "type" : "number"
                              },
                              "property_count" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_potential" : {
                                 "type" : "number"
                              }
                           },
                           "required" : [
                              "avg_energy_efficiency_current",
                              "avg_energy_efficiency_potential",
                              "avg_energy_rating_current",
                              "avg_energy_rating_current_numerical",
                              "avg_energy_rating_potential",
                              "avg_energy_rating_potential_numerical",
                              "energy_rating_a_count_current",
                              "energy_rating_a_count_potential",
                              "energy_rating_b_count_current",
                              "energy_rating_b_count_potential",
                              "energy_rating_c_count_current",
                              "energy_rating_c_count_potential",
                              "energy_rating_d_count_current",
                              "energy_rating_d_count_potential",
                              "energy_rating_e_count_current",
                              "energy_rating_e_count_potential",
                              "energy_rating_f_count_current",
                              "energy_rating_f_count_potential",
                              "energy_rating_g_count_current",
                              "energy_rating_g_count_potential",
                              "property_count",
                              "stddev_energy_efficiency_current",
                              "stddev_energy_efficiency_potential",
                              "stddev_energy_rating_current",
                              "stddev_energy_rating_potential"
                           ],
                           "type" : "object"
                        },
                        {
                           "type" : "null"
                        }
                     ]
                  },
                  "property_type_stats" : {
                     "properties" : {
                        "country_stats" : {
                           "anyOf" : [
                              {
                                 "properties" : {
                                    "avg_energy_efficiency_current" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_efficiency_potential" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_rating_current" : {
                                       "type" : [
                                          "null",
                                          "string"
                                       ]
                                    },
                                    "avg_energy_rating_current_numerical" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_rating_potential" : {
                                       "type" : [
                                          "null",
                                          "string"
                                       ]
                                    },
                                    "avg_energy_rating_potential_numerical" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_a_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_a_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_b_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_b_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_c_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_c_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_d_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_d_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_e_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_e_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_f_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_f_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_g_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_g_count_potential" : {
                                       "type" : "number"
                                    },
                                    "property_count" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_efficiency_current" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_efficiency_potential" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_rating_current" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_rating_potential" : {
                                       "type" : "number"
                                    }
                                 },
                                 "required" : [
                                    "avg_energy_efficiency_current",
                                    "avg_energy_efficiency_potential",
                                    "avg_energy_rating_current",
                                    "avg_energy_rating_current_numerical",
                                    "avg_energy_rating_potential",
                                    "avg_energy_rating_potential_numerical",
                                    "energy_rating_a_count_current",
                                    "energy_rating_a_count_potential",
                                    "energy_rating_b_count_current",
                                    "energy_rating_b_count_potential",
                                    "energy_rating_c_count_current",
                                    "energy_rating_c_count_potential",
                                    "energy_rating_d_count_current",
                                    "energy_rating_d_count_potential",
                                    "energy_rating_e_count_current",
                                    "energy_rating_e_count_potential",
                                    "energy_rating_f_count_current",
                                    "energy_rating_f_count_potential",
                                    "energy_rating_g_count_current",
                                    "energy_rating_g_count_potential",
                                    "property_count",
                                    "stddev_energy_efficiency_current",
                                    "stddev_energy_efficiency_potential",
                                    "stddev_energy_rating_current",
                                    "stddev_energy_rating_potential"
                                 ],
                                 "type" : "object"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        },
                        "local_authority_stats" : {
                           "anyOf" : [
                              {
                                 "properties" : {
                                    "avg_energy_efficiency_current" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_efficiency_potential" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_rating_current" : {
                                       "type" : [
                                          "null",
                                          "string"
                                       ]
                                    },
                                    "avg_energy_rating_current_numerical" : {
                                       "type" : "number"
                                    },
                                    "avg_energy_rating_potential" : {
                                       "type" : [
                                          "null",
                                          "string"
                                       ]
                                    },
                                    "avg_energy_rating_potential_numerical" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_a_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_a_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_b_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_b_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_c_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_c_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_d_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_d_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_e_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_e_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_f_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_f_count_potential" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_g_count_current" : {
                                       "type" : "number"
                                    },
                                    "energy_rating_g_count_potential" : {
                                       "type" : "number"
                                    },
                                    "property_count" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_efficiency_current" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_efficiency_potential" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_rating_current" : {
                                       "type" : "number"
                                    },
                                    "stddev_energy_rating_potential" : {
                                       "type" : "number"
                                    }
                                 },
                                 "required" : [
                                    "avg_energy_efficiency_current",
                                    "avg_energy_efficiency_potential",
                                    "avg_energy_rating_current",
                                    "avg_energy_rating_current_numerical",
                                    "avg_energy_rating_potential",
                                    "avg_energy_rating_potential_numerical",
                                    "energy_rating_a_count_current",
                                    "energy_rating_a_count_potential",
                                    "energy_rating_b_count_current",
                                    "energy_rating_b_count_potential",
                                    "energy_rating_c_count_current",
                                    "energy_rating_c_count_potential",
                                    "energy_rating_d_count_current",
                                    "energy_rating_d_count_potential",
                                    "energy_rating_e_count_current",
                                    "energy_rating_e_count_potential",
                                    "energy_rating_f_count_current",
                                    "energy_rating_f_count_potential",
                                    "energy_rating_g_count_current",
                                    "energy_rating_g_count_potential",
                                    "property_count",
                                    "stddev_energy_efficiency_current",
                                    "stddev_energy_efficiency_potential",
                                    "stddev_energy_rating_current",
                                    "stddev_energy_rating_potential"
                                 ],
                                 "type" : "object"
                              },
                              {
                                 "type" : "null"
                              }
                           ]
                        }
                     },
                     "required" : [
                        "country_stats",
                        "local_authority_stats"
                     ],
                     "type" : "object"
                  },
                  "region_stats" : {
                     "anyOf" : [
                        {
                           "properties" : {
                              "avg_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "avg_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_current" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_current_numerical" : {
                                 "type" : "number"
                              },
                              "avg_energy_rating_potential" : {
                                 "type" : [
                                    "null",
                                    "string"
                                 ]
                              },
                              "avg_energy_rating_potential_numerical" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_a_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_b_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_c_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_d_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_e_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_f_count_potential" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_current" : {
                                 "type" : "number"
                              },
                              "energy_rating_g_count_potential" : {
                                 "type" : "number"
                              },
                              "property_count" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_efficiency_potential" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_current" : {
                                 "type" : "number"
                              },
                              "stddev_energy_rating_potential" : {
                                 "type" : "number"
                              }
                           },
                           "required" : [
                              "avg_energy_efficiency_current",
                              "avg_energy_efficiency_potential",
                              "avg_energy_rating_current",
                              "avg_energy_rating_current_numerical",
                              "avg_energy_rating_potential",
                              "avg_energy_rating_potential_numerical",
                              "energy_rating_a_count_current",
                              "energy_rating_a_count_potential",
                              "energy_rating_b_count_current",
                              "energy_rating_b_count_potential",
                              "energy_rating_c_count_current",
                              "energy_rating_c_count_potential",
                              "energy_rating_d_count_current",
                              "energy_rating_d_count_potential",
                              "energy_rating_e_count_current",
                              "energy_rating_e_count_potential",
                              "energy_rating_f_count_current",
                              "energy_rating_f_count_potential",
                              "energy_rating_g_count_current",
                              "energy_rating_g_count_potential",
                              "property_count",
                              "stddev_energy_efficiency_current",
                              "stddev_energy_efficiency_potential",
                              "stddev_energy_rating_current",
                              "stddev_energy_rating_potential"
                           ],
                           "type" : "object"
                        },
                        {
                           "type" : "null"
                        }
                     ]
                  }
               },
               "required" : [
                  "country_stats",
                  "local_authority_stats",
                  "outcode_stats",
                  "postcode_stats",
                  "property_type_stats",
                  "region_stats"
               ],
               "type" : "object"
            }
         },
         "required" : [
            "enhanced_epcs",
            "epc_age",
            "epc_compare",
            "epc_estimate",
            "epc_expiry",
            "epc_in_date",
            "epc_retrofit_recommendations",
            "epc_stats"
         ],
         "type" : "object"
      },
      "RetrofitGrant" : {
         "properties" : {
            "description" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "grant_value" : {
               "type" : [
                  "null",
                  "number"
               ]
            },
            "name" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "url" : {
               "type" : [
                  "null",
                  "string"
               ]
            }
         },
         "required" : [
            "description",
            "grant_value",
            "name",
            "url"
         ],
         "type" : "object"
      },
      "RetrofitPlanningData" : {
         "properties" : {
            "conservation_areas" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/ConservationAreaInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "listed_buildings" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/ListedBuildingsInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "national_parks" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/NationalParksInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "world_heritage_sites" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/WorldHeritageSiteInfo"
                  },
                  {
                     "type" : "null"
                  }
               ]
            }
         },
         "required" : [
            "conservation_areas",
            "listed_buildings",
            "national_parks",
            "world_heritage_sites"
         ],
         "type" : "object"
      },
      "RuralUrbanClassificationResult" : {
         "properties" : {
            "output_area_code" : {
               "type" : "string"
            },
            "rural_urban_classification_code" : {
               "type" : "string"
            },
            "rural_urban_description" : {
               "type" : "string"
            },
            "rural_urban_flag" : {
               "type" : "string"
            }
         },
         "required" : [
            "output_area_code",
            "rural_urban_classification_code",
            "rural_urban_description",
            "rural_urban_flag"
         ],
         "type" : "object"
      },
      "ScottishEpcImprovement" : {
         "properties" : {
            "description" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "energy_rating_after_improvement" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "environmental_rating_after_improvement" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "green_deal_eligible" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "indicative_cost" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "typical_saving" : {
               "type" : [
                  "null",
                  "string"
               ]
            }
         },
         "required" : [
            "description",
            "energy_rating_after_improvement",
            "environmental_rating_after_improvement",
            "green_deal_eligible",
            "indicative_cost",
            "typical_saving"
         ],
         "type" : "object"
      },
      "UprnInfo" : {
         "properties" : {
            "latitude" : {
               "type" : "number"
            },
            "longitude" : {
               "type" : "number"
            },
            "uprn" : {
               "type" : "number"
            },
            "x_coord" : {
               "type" : "number"
            },
            "y_coord" : {
               "type" : "number"
            }
         },
         "required" : [
            "latitude",
            "longitude",
            "uprn",
            "x_coord",
            "y_coord"
         ],
         "type" : "object"
      },
      "WorldHeritageSite" : {
         "properties" : {
            "distance" : {
               "type" : "number"
            },
            "inscription_date" : {
               "anyOf" : [
                  {
                     "format" : "date-time",
                     "type" : "string"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "name" : {
               "type" : "string"
            },
            "nearest_point" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/WorldHeritageSiteNearestPoint"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "notes" : {
               "type" : [
                  "null",
                  "string"
               ]
            },
            "url" : {
               "type" : [
                  "null",
                  "string"
               ]
            }
         },
         "required" : [
            "distance",
            "inscription_date",
            "name",
            "nearest_point",
            "notes",
            "url"
         ],
         "type" : "object"
      },
      "WorldHeritageSiteInfo" : {
         "properties" : {
            "in_world_heritage_site" : {
               "type" : "boolean"
            },
            "nearest_world_heritage_site" : {
               "anyOf" : [
                  {
                     "$ref" : "#/definitions/WorldHeritageSite"
                  },
                  {
                     "type" : "null"
                  }
               ]
            },
            "world_heritage_site_area" : {
               "type" : "number"
            },
            "world_heritage_site_proportion" : {
               "type" : "number"
            }
         },
         "required" : [
            "in_world_heritage_site",
            "nearest_world_heritage_site",
            "world_heritage_site_area",
            "world_heritage_site_proportion"
         ],
         "type" : "object"
      },
      "WorldHeritageSiteNearestPoint" : {
         "properties" : {
            "latitude" : {
               "type" : "number"
            },
            "longitude" : {
               "type" : "number"
            },
            "x_coord" : {
               "type" : "number"
            },
            "y_coord" : {
               "type" : "number"
            }
         },
         "required" : [
            "latitude",
            "longitude",
            "x_coord",
            "y_coord"
         ],
         "type" : "object"
      }
   },
   "properties" : {
      "admin_boundaries" : {
         "anyOf" : [
            {
               "$ref" : "#/definitions/AdminBoundaryByXYInfo"
            },
            {
               "type" : "null"
            }
         ]
      },
      "area_attributes" : {
         "$ref" : "#/definitions/RetrofitAreaAttributes"
      },
      "epcs" : {
         "$ref" : "#/definitions/RetrofitEPCData"
      },
      "location" : {
         "$ref" : "#/definitions/UprnInfo"
      },
      "planning" : {
         "$ref" : "#/definitions/RetrofitPlanningData"
      }
   },
   "required" : [
      "admin_boundaries",
      "area_attributes",
      "epcs",
      "location",
      "planning"
   ],
   "type" : "object"
}