Starter contract

building_safety_golden_thread

26 rules · plain YAML · starts in observation mode

OpenDQV Cloud starter template (v0.1) — your tenant inherits this baseline. First customer edit creates v1.0 in your audit trail; pin by yaml_hash for replay. Building Safety Act 2022 — Golden Thread compliance contract for higher-risk buildings (18 metres or more in height, or 7 or more storeys above ground). Enforces accurate, up-to-date building information at the point of write: accountable person appointment, Building Safety Regulator (BSR) registration, safety case documentation, and golden thread audit trail. The law's own phrase is "accurate and up-to-date information throughout the building lifecycle" — this contract makes inaccurate or incomplete records structurally impossible before they enter a building management system.

These are starting points you own. Every rule below ships in the trial, starts in observation mode, and is yours to read, edit, or delete from day one. Rules that reference a lookup list (lookup_file) validate against reference data you control in your tenant.
Rules as at 29 August 2026 — starting points you own, not a maintained regulatory feed. We correct errors in these samples; tracking regulatory change in your active contracts is yours.
RuleFieldSeverityWhat it enforces (the message your team sees)
building_id_requiredbuilding_iderrorbuilding_id is required — every golden thread record must be uniquely identifiable
building_name_requiredbuilding_nameerrorbuilding_name is required
building_address_requiredbuilding_addresserrorbuilding_address is required — the golden thread record must include the full address of the higher-risk building
height_metres_requiredheight_metreserrorheight_metres is required — the golden thread must record the building height; higher-risk threshold is 18 metres
storeys_above_ground_requiredstoreys_above_grounderrorstoreys_above_ground is required — the golden thread must record the number of storeys; higher-risk threshold is 7 storeys
primary_use_requiredprimary_useerrorprimary_use is required
primary_use_validprimary_useerrorprimary_use must be one of: residential, mixed_use, hotel, care_home, student_accommodation, hospital, other
accountable_person_name_requiredaccountable_person_nameerroraccountable_person_name is required — the Building Safety Act mandates a named Accountable Person for every higher-risk building
accountable_person_organisation_requiredaccountable_person_organisationerroraccountable_person_organisation is required — record the organisation of the Accountable Person
accountable_person_contact_requiredaccountable_person_contacterroraccountable_person_contact is required — a contact address or email for the Accountable Person must be recorded in the golden thread
building_safety_manager_name_requiredbuilding_safety_manager_nameerrorbuilding_safety_manager_name is required — the Building Safety Act requires a named Building Safety Manager responsible for day-to-day safety
building_safety_manager_contact_requiredbuilding_safety_manager_contacterrorbuilding_safety_manager_contact is required — a contact address or email for the Building Safety Manager must be recorded
bsr_registration_number_requiredbsr_registration_numbererrorbsr_registration_number is required — all higher-risk buildings must be registered with the Building Safety Regulator (BSR)
bsr_registration_date_requiredbsr_registration_dateerrorbsr_registration_date is required — record the date of BSR registration
bsr_registration_date_formatbsr_registration_dateerrorbsr_registration_date must be a valid date (YYYY-MM-DD)
safety_case_documented_requiredsafety_case_documentederrorsafety_case_documented must be declared (true or false) — the Building Safety Act requires a Safety Case for every higher-risk building
safety_case_documented_validsafety_case_documentederrorsafety_case_documented must be 'true' or 'false'
safety_case_report_date_required_if_documentedsafety_case_report_dateerrorsafety_case_report_date is required when safety_case_documented is true — record the date the Safety Case Report was prepared or last reviewed
safety_case_report_date_formatsafety_case_report_dateerrorsafety_case_report_date must be a valid date (YYYY-MM-DD)
fire_and_emergency_file_maintained_requiredfire_and_emergency_file_maintainederrorfire_and_emergency_file_maintained must be declared (true or false) — a fire and emergency file is a required golden thread document
fire_and_emergency_file_maintained_validfire_and_emergency_file_maintainederrorfire_and_emergency_file_maintained must be 'true' or 'false'
residents_engagement_strategy_requiredresidents_engagement_strategy_documentederrorresidents_engagement_strategy_documented must be declared (true or false) — the Accountable Person must have a residents engagement strategy
residents_engagement_strategy_validresidents_engagement_strategy_documentederrorresidents_engagement_strategy_documented must be 'true' or 'false'
golden_thread_maintained_by_requiredgolden_thread_maintained_byerrorgolden_thread_maintained_by is required — record who is responsible for maintaining the golden thread record
golden_thread_last_updated_requiredgolden_thread_last_updatederrorgolden_thread_last_updated is required — the golden thread must record when it was last updated
golden_thread_last_updated_formatgolden_thread_last_updatederrorgolden_thread_last_updated must be a valid date (YYYY-MM-DD)

Run your own data against this contract in the free trial — drop a CSV in the dashboard, no code, no credit card. Start free trial →