Skip to main content

Data model

The whole plan is one coherent object (in cloud mode stored as a single jsonb record per household). The key pieces:

Portfolio positions​

Investments and debt (a loan). Each position has, among other things: current value, target contribution, rate (interest/return), goal, instalment/term/maturity date, and its pillar.

Off-portfolio assets​

Real estate, land, cash, vehicles — a value and an optional appreciation rate.

Goals​

Larger expenses with an amount, a deadline and saving progress.

Monthly entries​

Per month: income (per person), contributions/overpayments split by person (the sum feeds the calculations), a savings budget, loan instalment, cost-of-living rating, a note, a marker for "who in the household did the review", and how much has already been applied to portfolio value (so applying is incremental, never double-counted).

Pillars (I–V)​

Grouping of positions: Retirement, Investments, Loan, Bonds, Bitcoin — with a configurable display order.

Profile and preferences​

  • Plan profile (shared in Duo): names, country, birth date, main goal.
  • Device preferences (NOT synced): language, theme, role in the plan.

Net-worth snapshots​

A lightweight record of net worth per month — it powers the wealth trend (30 days / 12 months).

info

Every read and write of the data goes through validation (Zod) — see Security.