mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
finished condition report
This commit is contained in:
parent
94917dd795
commit
9b606a5adf
1 changed files with 26 additions and 4 deletions
|
|
@ -1,10 +1,23 @@
|
|||
from etl.transform.preSiteNoteTypes import BaseModel, Optional, List
|
||||
|
||||
class ConditionReport(BaseModel):
|
||||
property_reference_code: str
|
||||
|
||||
class AssessorInformationFromConditionReport(BaseModel):
|
||||
assessor_name: str
|
||||
assessor_id: str
|
||||
|
||||
class InspectionAndProject(BaseModel):
|
||||
inspection_date: str
|
||||
risk_assessment_pathway: str
|
||||
|
||||
class TheProperty(BaseModel):
|
||||
property_address: str
|
||||
is_the_building_classed_as_protected: bool
|
||||
type_of_proerty: str
|
||||
|
||||
class GeneralInformation(BaseModel):
|
||||
pass
|
||||
assessor: AssessorInformationFromConditionReport
|
||||
inspection_and_project: InspectionAndProject
|
||||
property: TheProperty
|
||||
|
||||
class PropertyAccess(BaseModel):
|
||||
are_there_any_road_restrictions_in_the_locality: bool
|
||||
|
|
@ -209,4 +222,13 @@ class OccupancyAssessment(BaseModel):
|
|||
class VentilationChecklist(BaseModel):
|
||||
intermittent_extract_ventilation: bool
|
||||
continous_mechanical_extract_ventilation: bool
|
||||
mechanical_ventilation_with_heat_recovery: bool
|
||||
mechanical_ventilation_with_heat_recovery: bool
|
||||
|
||||
class ConditionReport(BaseModel):
|
||||
property_reference_code: str
|
||||
general_information: GeneralInformation
|
||||
access_and_elevation: AccessAndElevations
|
||||
rooms: Rooms
|
||||
heating_system: HeatingSystem
|
||||
occupancy_assessment: OccupancyAssessment
|
||||
ventilation_checklist: VentilationChecklist
|
||||
Loading…
Add table
Reference in a new issue