{
  "format": "heir-division-comparison-v1",
  "legalDetermination": "not_assessed",
  "base": {
    "taxable": 100000000,
    "spouse": true,
    "children": 2,
    "parents": 0,
    "siblings": 0
  },
  "a": {
    "input": {
      "taxable": 100000000,
      "spouse": true,
      "children": 2,
      "parents": 0,
      "siblings": 0,
      "spouseRatio": 0.5,
      "allocation": "legal",
      "applySpouseRelief": true
    },
    "result": {
      "heirs": [
        {
          "role": "配偶者",
          "share": 0.5,
          "count": 1,
          "numerator": 1,
          "denominator": 2,
          "addition": false
        },
        {
          "role": "子",
          "share": 0.25,
          "count": 2,
          "numerator": 1,
          "denominator": 4,
          "addition": false
        }
      ],
      "heirCount": 3,
      "spouseLegalShare": 0.5,
      "basicDeduction": 48000000,
      "taxableEstate": 52000000,
      "totalTax": 6300000,
      "spouseRelief": 3150000,
      "totalAddition": 0,
      "payable": 3150000,
      "perHeir": [
        {
          "label": "配偶者",
          "legalAmount": 26000000,
          "tax": 3400000,
          "actualAmount": 50000000,
          "allocationRatio": "0.5000000000",
          "allocatedTax": 3150000,
          "addition": 0,
          "relief": 3150000,
          "payable": 0
        },
        {
          "label": "子（1人目）",
          "legalAmount": 13000000,
          "tax": 1450000,
          "actualAmount": 25000000,
          "allocationRatio": "0.2500000000",
          "allocatedTax": 1575000,
          "addition": 0,
          "relief": 0,
          "payable": 1575000
        },
        {
          "label": "子（2人目）",
          "legalAmount": 13000000,
          "tax": 1450000,
          "actualAmount": 25000000,
          "allocationRatio": "0.2500000000",
          "allocatedTax": 1575000,
          "addition": 0,
          "relief": 0,
          "payable": 1575000
        }
      ]
    }
  },
  "b": {
    "input": {
      "taxable": 100000000,
      "spouse": true,
      "children": 2,
      "parents": 0,
      "siblings": 0,
      "spouseRatio": 0.5,
      "allocation": "amounts",
      "applySpouseRelief": true,
      "amounts": [
        20000000,
        80000000,
        0
      ]
    },
    "result": {
      "heirs": [
        {
          "role": "配偶者",
          "share": 0.5,
          "count": 1,
          "numerator": 1,
          "denominator": 2,
          "addition": false
        },
        {
          "role": "子",
          "share": 0.25,
          "count": 2,
          "numerator": 1,
          "denominator": 4,
          "addition": false
        }
      ],
      "heirCount": 3,
      "spouseLegalShare": 0.5,
      "basicDeduction": 48000000,
      "taxableEstate": 52000000,
      "totalTax": 6300000,
      "spouseRelief": 1260000,
      "totalAddition": 0,
      "payable": 5040000,
      "perHeir": [
        {
          "label": "配偶者",
          "legalAmount": 26000000,
          "tax": 3400000,
          "actualAmount": 20000000,
          "allocationRatio": "0.2000000000",
          "allocatedTax": 1260000,
          "addition": 0,
          "relief": 1260000,
          "payable": 0
        },
        {
          "label": "子（1人目）",
          "legalAmount": 13000000,
          "tax": 1450000,
          "actualAmount": 80000000,
          "allocationRatio": "0.8000000000",
          "allocatedTax": 5040000,
          "addition": 0,
          "relief": 0,
          "payable": 5040000
        },
        {
          "label": "子（2人目）",
          "legalAmount": 13000000,
          "tax": 1450000,
          "actualAmount": 0,
          "allocationRatio": "0.0000000000",
          "allocatedTax": 0,
          "addition": 0,
          "relief": 0,
          "payable": 0
        }
      ]
    }
  },
  "differenceDirection": "B - A",
  "totalTaxDelta": 0,
  "additionDelta": 0,
  "reliefDelta": -1890000,
  "payableDelta": 1890000,
  "people": [
    {
      "label": "配偶者",
      "amountA": 50000000,
      "amountB": 20000000,
      "amountDelta": -30000000,
      "payableA": 0,
      "payableB": 0,
      "payableDelta": 0
    },
    {
      "label": "子（1人目）",
      "amountA": 25000000,
      "amountB": 80000000,
      "amountDelta": 55000000,
      "payableA": 1575000,
      "payableB": 5040000,
      "payableDelta": 3465000
    },
    {
      "label": "子（2人目）",
      "amountA": 25000000,
      "amountB": 0,
      "amountDelta": -25000000,
      "payableA": 1575000,
      "payableB": 0,
      "payableDelta": -1575000
    }
  ],
  "limitations": "保存時に本人が確認した一般例の比較仮定。相続人/税額/申告要否・配偶者軽減の適用は未認定。遺産分割の推奨/最適化・二次相続等の評価ではない。家族構成/課税価格/各人の取得額を含み匿名化しない。自動保存/外部送信/JSON復元なし。"
}