{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/x1wealth-com/json-schema/x1wealth-com-persona-result-schema.json",
  "title": "PersonaResult",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/x1wealth-com-openapi.json#/components/schemas/PersonaResult",
  "type": "object",
  "required": [
    "id",
    "name",
    "cashFlowRecoveryRange",
    "summaryTemplate",
    "topWins",
    "ctaPrimary"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "cashFlowRecoveryRange": {
      "type": "string"
    },
    "summaryTemplate": {
      "type": "string"
    },
    "topWins": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PersonaWin"
      }
    },
    "ctaPrimary": {
      "$ref": "#/$defs/PersonaCta"
    },
    "ctaSecondary": {
      "$ref": "#/$defs/PersonaCta"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PersonaCta": {
      "type": "object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string"
        },
        "link": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "PersonaWin": {
      "type": "object",
      "required": [
        "title"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}