{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lucasandersen-ai/json-schema/lucasandersen-ai-estate-data-schema.json",
  "title": "EstateData",
  "description": "Data of /v1/mlp/estate (fields named in OBS-158; other fields as returned).",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lucasandersen-ai-openapi.json#/components/schemas/EstateData",
  "type": "object",
  "properties": {
    "positions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "projectedFMV": {
            "type": "number",
            "description": "Projected market value of the position."
          },
          "ifYouSellInstead": {
            "type": "object",
            "description": "For comparison only: a sale by the holder, kept apart from the estate figures.",
            "properties": {
              "saleTaxAtProjectedValue": {
                "type": "number",
                "description": "Tax on a sale by the holder at the projected market value at the end of the horizon. Not a measure of tax saved or avoided at death; the successor's tax is not computed. The position is priced as if sold alone."
              }
            }
          },
          "deferredTaxEliminated": {
            "type": "number",
            "deprecated": true,
            "x-sunset": "2027-01-31",
            "description": "Deprecated: the same value as ifYouSellInstead.saleTaxAtProjectedValue, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death."
          },
          "projectedValueLessBasis": {
            "type": "number",
            "description": "Projected market value less the holder's adjusted basis: a difference between two figures, not a tax."
          },
          "stepUpAmount": {
            "type": "number",
            "deprecated": true,
            "x-sunset": "2027-01-31",
            "description": "Deprecated: the same value as projectedValueLessBasis, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death. It is not a §1014 basis figure."
          }
        }
      }
    },
    "aggregate": {
      "type": "object",
      "properties": {
        "totalFMV": {
          "type": "number",
          "description": "Total projected market value."
        },
        "totalTaxEliminated": {
          "type": "number",
          "deprecated": true,
          "x-sunset": "2027-01-31",
          "description": "Deprecated: the same value as ifYouSellInstead.totalSaleTaxAtProjectedValue, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death."
        },
        "totalSection751Eliminated": {
          "type": "number",
          "deprecated": true,
          "x-sunset": "2027-01-31",
          "description": "Deprecated: the same value as ifYouSellInstead.totalSection751OrdinaryIncomeOnSale, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death."
        },
        "totalProjectedValueLessBasis": {
          "type": "number",
          "description": "Projected market value less the holder's adjusted basis: a difference between two figures, not a tax."
        },
        "totalStepUpAmount": {
          "type": "number",
          "deprecated": true,
          "x-sunset": "2027-01-31",
          "description": "Deprecated: the same value as totalProjectedValueLessBasis, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death. It is not a §1014 basis figure."
        }
      }
    },
    "ifYouSellInstead": {
      "type": "object",
      "description": "For comparison only: a sale by the holder at the projected values, kept apart from the estate figures.",
      "properties": {
        "totalSaleTaxAtProjectedValue": {
          "type": "number",
          "description": "Tax on a sale by the holder at the projected market value at the end of the horizon. Not a measure of tax saved or avoided at death; the successor's tax is not computed. Each position is priced as if sold alone."
        },
        "totalSection751OrdinaryIncomeOnSale": {
          "type": "number",
          "description": "The §751 ordinary income in that sale (an income amount, not a tax)."
        }
      }
    },
    "comparison": {
      "type": "object",
      "properties": {
        "holdNoSaleProjectedValue": {
          "type": "number",
          "description": "The projected market value with no tax deducted (hold, no sale by the holder)."
        },
        "holdAndInherit": {
          "type": "number",
          "deprecated": true,
          "x-sunset": "2027-01-31",
          "description": "Deprecated: the same value as holdNoSaleProjectedValue, under an earlier name; it will be removed on 2027-01-31. It is not an amount eliminated or saved at death."
        }
      }
    }
  }
}