{
  "schema": 51,
  "accounts": [
    {
      "account_id": "account_dae5b0bc65ce1e56316c5c74",
      "account_id_opaque": "2a24c86768de9ab7cd61afda8238374060a8b5599eb501552a5c071d5f37220a",
      "account_name": "Manual Portfolio",
      "account_type": "brokerage",
      "currency": "CHF",
      "balance_mode": "manual",
      "is_active": 1,
      "notes": "Manual equity/ETF entries only; no DOCX import.",
      "budget_account_id": null,
      "budget_name": null,
      "mappings": [],
      "snapshots": [],
      "matched_source_stats": []
    },
    {
      "account_id": "acct_79977f175997418b",
      "account_id_opaque": "35e1207c741f546688b42d0e32e2d417b486f9bb3fa9066e72a031961e718ddd",
      "account_name": "Raiffeisen Mitglieder-Privatkonto •••• 5632",
      "account_type": "cash",
      "currency": "CHF",
      "balance_mode": "csv_calculated",
      "is_active": 1,
      "notes": null,
      "budget_account_id": "bacc_s16_raiffeisen_a",
      "budget_name": "Raiffeisen Mitglieder-Privatkonto •••• 5632",
      "mappings": [
        {
          "mapping_id": "hhmap_ed04c656db33d2b72c24dc6e",
          "contract_version": "household_import_v1",
          "source_type": "raiffeisen_bank",
          "source_reference_hash": "2b4983a1d7d05c5c9ba5119fcabe611de8ac1497f2f44acd337b8ded31a829cb",
          "budget_account_id": "bacc_s16_raiffeisen_a",
          "canonical_account_id": "acct_79977f175997418b",
          "reference_hint": "ref_2b4983a1d7d0",
          "is_active": 1,
          "created_at": "2026-07-28T18:57:41Z",
          "updated_at": "2026-07-28T18:57:41Z"
        }
      ],
      "snapshots": [
        {
          "snapshot_id": "cashsnap_983129b13f7c48ed",
          "snapshot_type": "csv_anchor_balance",
          "balance_date": "2026-08-25",
          "amount_chf": "29062.37",
          "source": "csv_import",
          "note": "Kontrollierter Quellenstand 26.08.2026",
          "created_at": "2026-08-26T18:57:08Z",
          "audit_id": "audit_ca90b135c4fa43b1"
        }
      ],
      "matched_source_stats": []
    },
    {
      "account_id": "acct_s16_raiffeisen_extra",
      "account_id_opaque": "71d638605d646e58095d30114766c4f2638fc7afbfa7db13853143c4cea0d1fe",
      "account_name": "Raiffeisen Mitglieder-Sparkonto •••• 5031",
      "account_type": "cash",
      "currency": "CHF",
      "balance_mode": "csv_calculated",
      "is_active": 1,
      "notes": "Separate managed Raiffeisen cash asset; no invented opening balance",
      "budget_account_id": "bacc_s16_raiffeisen_b",
      "budget_name": "Raiffeisen Mitglieder-Sparkonto •••• 5031",
      "mappings": [
        {
          "mapping_id": "hhmap_63388a8d2938659b8591640f",
          "contract_version": "household_import_v1",
          "source_type": "raiffeisen_bank",
          "source_reference_hash": "ff10118a2c24a1b568df49aeb4900c0eef87b96638dbfe6839c99a9165e93575",
          "budget_account_id": "bacc_s16_raiffeisen_b",
          "canonical_account_id": "acct_s16_raiffeisen_extra",
          "reference_hint": "ref_ff10118a2c24",
          "is_active": 1,
          "created_at": "2026-07-28T18:57:41Z",
          "updated_at": "2026-07-28T18:57:41Z"
        }
      ],
      "snapshots": [],
      "matched_source_stats": []
    }
  ],
  "raiffeisen_candidate_sources": [
    {
      "account_source": "CH1280808006766055632",
      "opaque": "05a44874ca51982a7d6a0054d9ce87552231d0f61ac2dc685b7976f978d4149e"
    },
    {
      "account_source": "bacc_s16_raiffeisen_a",
      "opaque": "5c45e7089889e12c56ed20da03bc272bfb4dd1b50c4455bdfaf3b60cacacd267"
    },
    {
      "account_source": "bacc_s16_raiffeisen_b",
      "opaque": "a7ddcf1d0963ac5238da0d72290dcb035d68d53eff20dc89d59952116df2b906"
    }
  ],
  "generic_candidate_stats": [
    {
      "account_source": "CH1280808006766055632",
      "n": 47,
      "d0": "2026-01-05",
      "d1": "2026-05-15",
      "confirmed": 11,
      "review": 36
    },
    {
      "account_source": "bacc_s16_raiffeisen_a",
      "n": 87,
      "d0": "2026-01-05",
      "d1": "2026-08-25",
      "confirmed": 55,
      "review": 32
    },
    {
      "account_source": "bacc_s16_raiffeisen_b",
      "n": 1,
      "d0": "2026-06-12",
      "d1": "2026-06-12",
      "confirmed": 0,
      "review": 1
    }
  ]
}