
🏢 Real Estate & PropTech · State Machine
The states of a residential or commercial lease: drafting, signing, active tenancy, renewal, notice and move-out settlement.
Drawing diagram…
State machine for a lease: Draft, Sent for Signature, Signed, Active. Before expiry it can be Renewed (with rent escalation) back to Active, or a Notice Given by tenant or landlord leads to Notice Period, then Move-out Inspection, Deposit Settlement (deductions for damage) and Closed. Non-payment for 60 days leads to Rent Default and then Eviction Proceedings.
stateDiagram-v2 [*] --> Draft Draft --> SentForSignature SentForSignature --> Signed: Both parties sign Signed --> Active: Move-in date Active --> Renewed: Renewal with 5% escalation Renewed --> Active Active --> NoticePeriod: Notice given Active --> RentDefault: Rent unpaid 60 days RentDefault --> Active: Dues cleared RentDefault --> EvictionProceedings NoticePeriod --> MoveOutInspection MoveOutInspection --> DepositSettlement: Deductions for damage DepositSettlement --> Closed EvictionProceedings --> Closed Closed --> [*]
A real estate marketplace: listings by owners and brokers, search with maps, lead capture and site-visit booking.
A tenant's path from enquiry to moving in: site visit, application, verification, agreement and deposit.
How a home buyer books a site visit from a listing: slot selection, broker confirmation, reminders and feedback after the visit.
A schema for property management: properties, units, owners, tenants, leases, rent invoices and maintenance requests.
The network behind secure building access: card and mobile readers, turnstiles, lifts, visitor kiosks and CCTV on a separate security network.
The steps between buyer, builder, bank and registrar when buying a new flat with a home loan.