{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lucasandersen-ai/json-schema/lucasandersen-ai-estate-input-schema.json",
  "title": "EstateInput",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lucasandersen-ai-openapi.json#/components/schemas/EstateInput",
  "type": "object",
  "required": [
    "positions"
  ],
  "properties": {
    "positions": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "$ref": "#/$defs/EstatePositionInput"
      }
    },
    "beneficiaries": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 1
    },
    "communityProperty": {
      "type": "boolean",
      "default": false,
      "deprecated": true,
      "description": "Withdrawn (2026-10-19): a request with communityProperty true is rejected (400). The community-property treatment rests on no rule card on this site."
    },
    "taxBracket": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 0.5,
      "default": 0.32
    },
    "state": {
      "type": "string",
      "description": "2-letter state code"
    }
  },
  "$defs": {
    "EstatePositionInput": {
      "type": "object",
      "required": [
        "ticker",
        "units"
      ],
      "properties": {
        "ticker": {
          "$ref": "#/$defs/Ticker"
        },
        "units": {
          "type": "number",
          "minimum": 1,
          "maximum": 1000000
        },
        "purchasePrice": {
          "type": "number",
          "minimum": 0.01,
          "maximum": 10000
        },
        "yearsHeld": {
          "type": "integer",
          "minimum": 0,
          "maximum": 50,
          "default": 10
        }
      }
    },
    "Ticker": {
      "type": "string",
      "enum": [
        "EPD",
        "ET",
        "MPLX",
        "WES",
        "PAA",
        "NRP",
        "USAC",
        "SUN"
      ],
      "description": "Supported MLP ticker symbol"
    }
  }
}