{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/x1wealth-com/json-schema/x1wealth-com-cashflow-analyzer-request-schema.json",
  "title": "CashflowAnalyzerRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/x1wealth-com-openapi.json#/components/schemas/CashflowAnalyzerRequest",
  "type": "object",
  "required": [
    "answers"
  ],
  "properties": {
    "answers": {
      "type": "object",
      "properties": {
        "incomeSource": {
          "type": "string",
          "enum": [
            "w2",
            "biz",
            "both",
            "other_income"
          ]
        },
        "primaryFrustrations": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "taxes",
              "debt_bills",
              "unused_cash",
              "investment_confusion",
              "disorganized",
              "other_frustration"
            ]
          }
        },
        "annualIncome": {
          "type": "string",
          "enum": [
            "<100k",
            "100k-250k",
            "250k-500k",
            "500k+"
          ]
        },
        "hasIdleCash": {
          "type": "string",
          "enum": [
            "yes_idle",
            "no_idle",
            "notsure_idle"
          ]
        },
        "automationLevel": {
          "type": "string",
          "enum": [
            "autopilot",
            "some_automation",
            "mostly_manual",
            "no_system"
          ]
        },
        "primaryFocus": {
          "type": "string",
          "enum": [
            "free_cash",
            "grow_wealth",
            "get_organized",
            "all_focus"
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}