diff --git a/datatypes/epc/domain/mapper.py b/datatypes/epc/domain/mapper.py index 3539fd0eb..ae8682b0e 100644 --- a/datatypes/epc/domain/mapper.py +++ b/datatypes/epc/domain/mapper.py @@ -745,6 +745,9 @@ class EpcPropertyDataMapper: if schema.property_type is not None else None ), + built_form=( + str(schema.built_form) if schema.built_form is not None else None + ), dwelling_type=( schema.dwelling_type if isinstance(schema.dwelling_type, str) diff --git a/datatypes/epc/schema/sap_schema_17_1.py b/datatypes/epc/schema/sap_schema_17_1.py index ab4a33fa3..1f7754bb2 100644 --- a/datatypes/epc/schema/sap_schema_17_1.py +++ b/datatypes/epc/schema/sap_schema_17_1.py @@ -206,6 +206,9 @@ class SapSchema17_1: # home). Feeds the calculator's house/flat heat-transmission split; left # absent the dwelling is classified as neither → mis-scored (ADR-0037). property_type: Optional[int] = None + # gov built_form code (1 detached … 6 enclosed mid-terrace). Carried for the + # property-details panel and exposed-side handling (ADR-0037). + built_form: Optional[int] = None # measured living-room area (m²); the engine consumes it via a back-solved # habitable_rooms_count (Table 27). Optional — 100% present in the corpus. living_area: Optional[Union[int, float]] = None