Data model

The 44 lists and their relationships.

See also docs/schema-map.md in the repository.

AreaLists
Brokerage and peopleBrokerage, BrokerageSettings, BrokerageMembership, User, Role, AgentTeam, AgentTask
ListingsProperty, PropertyMedia, OpenHouse, ListingSyndication, MarketComp, PropertyValuation, Neighborhood, SourceFeed
AuthorityListingEngagementAuthority, ListingPublicationAuthority, PractitionerLicenseAuthority, RepresentationAuthority
Leads and showingsLead, LeadActivity, LeadRoutingRule, Showing, ShowingFeedback
Shopper dataSavedProperty, SavedSearch, SavedSearchAlert
DealsDeal, Offer, TransactionMilestone, DealDocument, DocumentEvidenceEvent, Disclosure, PropertyInspection, Escrow, TitleOrder, MortgageApplication
CommissionCommission, CommissionLedgerEntry
RecordsRetentionPolicy, TransactionFileEvent, DomainOutboxEvent, DomainAuditEvent

Relationships

FromTo
PropertyassignedAgent, Lead, Showing, media, open houses, syndication
LeadProperty, assignedAgent, assignedTeam, Showing, LeadActivity
ShowingProperty, Lead, customer, assignedAgent
DealProperty, Lead, offers, evidence, ledger entries
CommissionDeal, Property, agent, ledger entries

Every operational list carries a brokerage; children take it from the parent. Neighborhood has none.

Status values

ListValues
Propertydraft, coming_soon, active, pending, sold, rented, off_market
Leadnew, attempted_contact, qualified, tour_scheduled, offer, closed, lost
Showingrequested, scheduled, completed, no_show, cancelled
Dealprospecting, active_search, offer_drafted, under_contract, inspection, financing, closed_won, closed_lost
Offerdraft, submitted, countered, accepted, rejected, withdrawn
Commissionprojected, approved, paid, clawed_back
DealDocumentdraft, sent, signed, archived
Disclosuredraft, sent, acknowledged, expired
PropertyInspectionscheduled, completed, needs_follow_up, waived

Authority records, evidence, ledger entries, retention policies, file events, and audit events are append-only.

On this page