Skip to content
HomePagesHomePages template kit

PropertyFacts

The fixture/render-time view of a property that this repo's scenarios, tests, and fixture helpers are authored against.

The fixture/render-time view of a property that this repo’s scenarios, tests, and fixture helpers are authored against. It is not a subset of the canonical fact bundle: it carries fill outputs, render-time-only fields, and view-only projections the canonical schema deliberately does not.

Import from @homepages/template-kit.

export type PropertyFacts = {
address: Address;
narrative: Narrative;
lat?: number | null;
lon?: number | null;
coordinates?: Coordinates | null;
listing_intent: "for_sale" | "for_rent";
property_type: "single_family" | "condo_townhome" | "multi_family" | "investment";
units: UnitRow[];
contacts?: Array<Record<string, unknown>>;
comparables?: ComparableRow[];
};