From 5ab07d69030cb60cd62040ed82d68be3eb516ef5 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 27 Jan 2026 09:07:12 +0000 Subject: [PATCH] make element keys and values consistent --- backend/condition/domain/element.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/condition/domain/element.py b/backend/condition/domain/element.py index f78f2d52..2f6bac42 100644 --- a/backend/condition/domain/element.py +++ b/backend/condition/domain/element.py @@ -55,7 +55,7 @@ class Element(str, Enum): GARAGE_WALLS = "garage_walls" PARTY_WALL_FIRE_BREAK = "party_wall_fire_break" EXTERNAL_BRICKWORK_POINTING = "external_brickwork_pointing" - INTERNAL_DOWNPIPES_EXTERNAL_AREA = "internal_downpipes_in_external_area" + INTERNAL_DOWNPIPES_EXTERNAL_AREA = "internal_downpipes_external_area" # ====================== # EXTERNAL – WINDOWS @@ -157,7 +157,7 @@ class Element(str, Enum): HEAT_DETECTION = "heat_detection" CARBON_MONOXIDE_DETECTION = "carbon_monoxide_detection" FIRE_DOOR_RATING = "fire_door_rating" - FIRE_RISK_ASSESSMENT = "fire" + FIRE_RISK_ASSESSMENT = "fire_risk_assessment" INTERNAL_WIRING = ( "internal_wiring" # Is this definitely different from ELECTRICAL_WIRING? ) @@ -175,7 +175,7 @@ class Element(str, Enum): COMMUNAL_CCTV = "communal_cctv" COMMUNAL_BIN_STORE = "communal_bin_store" COMMUNAL_BIN_STORE_DOORS = "communal_bin_store_doors" - COMMUNAL_BIN_STORE_WALLS = "communal_bin_store_wall" + COMMUNAL_BIN_STORE_WALLS = "communal_bin_store_walls" COMMUNAL_BIN_STORE_ROOF = "communal_bin_store_roof" COMMUNAL_REFUSE_CHUTE = "communal_refuse_chute" COMMUNAL_FLOOR_COVERING = "communal_floor_covering" @@ -216,11 +216,11 @@ class Element(str, Enum): # ====================== FFHH_DAMP = "ffhh_damp" FFHH_HOT_AND_COLD_WATER = "ffhh_hold_and_cold_water" - FFHH_DRAINAGE_LAVATORIES = "ffhh_drainage_or_lavatories" - FFHH_NEGLECTED = "ffhh_neglected_and_in_bad_condition" + FFHH_DRAINAGE_LAVATORIES = "ffhh_drainage_lavatories" + FFHH_NEGLECTED = "ffhh_neglected" FFHH_NATURAL_LIGHT = "ffhh_natural_light" FFHH_VENTILATION = "ffhh_ventilation" - FFHH_FOOD_PREP_AND_WASHUP = "ffhh_prepare_and_cook_food_or_wash_up" + FFHH_FOOD_PREP_AND_WASHUP = "ffhh_food_prep_and_washup" FFHH_UNSAFE_LAYOUT = "ffhh_unsafe_layout" FFHH_UNSTABLE_BUILDING = "ffhh_unstable_building"