{
  "format": "open-wealth-format",
  "version": 1,
  "spec": "https://wealthos.cc/open-wealth-format/v1/README.md",
  "files": [
    {
      "name": "manifest",
      "location": "wealthos.vault.yaml",
      "storage": "yaml-file",
      "description": "Identifies the folder as a vault, and its single owner.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/manifest.schema.json"
    },
    {
      "name": "settings",
      "location": "settings.yaml",
      "storage": "yaml-file",
      "description": "Preferences: the currency totals are shown in, and the country.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/settings.schema.json"
    },
    {
      "name": "account",
      "location": "accounts/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A bank, savings, investment, property or debt account and its balance.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/account.schema.json"
    },
    {
      "name": "account-category",
      "location": "account-categories/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A user-defined account category (beyond the built-in bank/savings/investments/real_estate).",
      "schema": "https://wealthos.cc/open-wealth-format/v1/account-category.schema.json"
    },
    {
      "name": "goal",
      "location": "goals/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A savings target: an amount to reach by a month and year.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/goal.schema.json"
    },
    {
      "name": "plan",
      "location": "plans/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A dated, multi-line budget for a project (wedding, home purchase, sabbatical).",
      "schema": "https://wealthos.cc/open-wealth-format/v1/plan.schema.json"
    },
    {
      "name": "plan-template",
      "location": "plan-templates/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A reusable plan body that new plans can be created from.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/plan-template.schema.json"
    },
    {
      "name": "metric",
      "location": "metrics/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A user-defined wealth metric with a compiled expression tree.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/metric.schema.json"
    },
    {
      "name": "simulation",
      "location": "simulations/<id>.yaml",
      "storage": "yaml-per-record",
      "description": "A saved forecast scenario, including any life events.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/simulation.schema.json"
    },
    {
      "name": "expense",
      "location": "expenses.jsonl",
      "storage": "jsonl",
      "description": "A recurring (monthly) or one-time expense. One JSON object per line.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/expense.schema.json"
    },
    {
      "name": "income",
      "location": "income.jsonl",
      "storage": "jsonl",
      "description": "A recurring (monthly) or one-time income source. One JSON object per line.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/income.schema.json"
    },
    {
      "name": "snapshot",
      "location": "snapshots.jsonl",
      "storage": "jsonl",
      "description": "A point-in-time record of total wealth. One JSON object per line.",
      "schema": "https://wealthos.cc/open-wealth-format/v1/snapshot.schema.json"
    }
  ]
}
