{
  "format": "grad-route-comparison-v1",
  "decision": "not_assessed",
  "plans": {
    "a": {
      "label": "国立・自宅の例",
      "input": {
        "childAge": 18,
        "course": "public",
        "univType": "national-arts",
        "living": "home",
        "livingMonthly": 120000,
        "initialSavings": 0,
        "monthlySaving": 30000,
        "annualRate": 0
      },
      "result": {
        "yearly": [
          {
            "age": 18,
            "school": "大学",
            "schoolCost": 817800,
            "entryCost": 282000,
            "livingCost": 0,
            "annualCost": 817800
          },
          {
            "age": 19,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800
          },
          {
            "age": 20,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800
          },
          {
            "age": 21,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800
          }
        ],
        "totalRemaining": 2425200,
        "graduationAge": 22,
        "universityYears": 4,
        "univCost": 2425200,
        "livingCost": 0,
        "remainingYears": 4,
        "funding": {
          "yearly": [
            {
              "age": 18,
              "opening": 0,
              "payment": 817800,
              "externalNeeded": 817800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 19,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 20,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 21,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          ],
          "endBalance": 360000,
          "externalNeeded": 1345200,
          "contributions": 1440000,
          "investmentReturn": 0
        },
        "initialNeeded": 817800,
        "monthlyRequired": 44650,
        "additionalMonthly": 14650,
        "firstShortfallAge": 18
      },
      "timeline": {
        "rows": [
          {
            "age": 18,
            "school": "大学",
            "schoolCost": 817800,
            "entryCost": 282000,
            "livingCost": 0,
            "annualCost": 817800,
            "recurringSchoolCost": 535800,
            "events": [
              "今回の試算開始",
              "大学開始の目安",
              "期間内の年額最大（同額を含む）"
            ],
            "peak": true,
            "annualChange": null,
            "funding": {
              "age": 18,
              "opening": 0,
              "payment": 817800,
              "externalNeeded": 817800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 19,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800,
            "recurringSchoolCost": 535800,
            "events": [],
            "peak": false,
            "annualChange": -282000,
            "funding": {
              "age": 19,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 20,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800,
            "recurringSchoolCost": 535800,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 20,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 21,
            "school": "大学",
            "schoolCost": 535800,
            "entryCost": 0,
            "livingCost": 0,
            "annualCost": 535800,
            "recurringSchoolCost": 535800,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 21,
              "opening": 360000,
              "payment": 535800,
              "externalNeeded": 175800,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          }
        ],
        "peakAges": [
          18
        ],
        "maxAnnual": 817800,
        "graduationAge": 22,
        "graduationPayment": 0,
        "assumptions": "年齢は学年開始の目安、実際の入学/納期の確定ではない。各年初に年額確保・月末積立。入学料と下宿費は年額に含む内訳で再加算しない。幼稚園〜高校は学校外活動費等を含む年平均統計で、入学時一時金を別算定しない。大学の授業料/施設費は据置、大学入学料は18歳1回。期間内最大は同額年を全て表示し、本人の実費/将来上昇を予測しない。前年差は今回の期間内だけ。不足は都度外部補填した仮定で、卒業時残高で過去の不足を消さない。卒業年の費用や追加積立年は足さない。"
      }
    },
    "b": {
      "label": "医歯系6年・下宿の例",
      "input": {
        "childAge": 18,
        "course": "public",
        "univType": "private-medical",
        "living": "alone",
        "livingMonthly": 90000,
        "initialSavings": 0,
        "monthlySaving": 30000,
        "annualRate": 0
      },
      "result": {
        "yearly": [
          {
            "age": 18,
            "school": "大学",
            "schoolCost": 4779142,
            "entryCost": 1088248,
            "livingCost": 1080000,
            "annualCost": 5859142
          },
          {
            "age": 19,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894
          },
          {
            "age": 20,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894
          },
          {
            "age": 21,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894
          },
          {
            "age": 22,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894
          },
          {
            "age": 23,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894
          }
        ],
        "totalRemaining": 29713612,
        "graduationAge": 24,
        "universityYears": 6,
        "univCost": 23233612,
        "livingCost": 6480000,
        "remainingYears": 6,
        "funding": {
          "yearly": [
            {
              "age": 18,
              "opening": 0,
              "payment": 5859142,
              "externalNeeded": 5859142,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 19,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 20,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 21,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 22,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            },
            {
              "age": 23,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          ],
          "endBalance": 360000,
          "externalNeeded": 27913612,
          "contributions": 2160000,
          "investmentReturn": 0
        },
        "initialNeeded": 5859142,
        "monthlyRequired": 397575,
        "additionalMonthly": 367575,
        "firstShortfallAge": 18
      },
      "timeline": {
        "rows": [
          {
            "age": 18,
            "school": "大学",
            "schoolCost": 4779142,
            "entryCost": 1088248,
            "livingCost": 1080000,
            "annualCost": 5859142,
            "recurringSchoolCost": 3690894,
            "events": [
              "今回の試算開始",
              "大学開始の目安",
              "下宿予算の計上開始",
              "期間内の年額最大（同額を含む）"
            ],
            "peak": true,
            "annualChange": null,
            "funding": {
              "age": 18,
              "opening": 0,
              "payment": 5859142,
              "externalNeeded": 5859142,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 19,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894,
            "recurringSchoolCost": 3690894,
            "events": [],
            "peak": false,
            "annualChange": -1088248,
            "funding": {
              "age": 19,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 20,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894,
            "recurringSchoolCost": 3690894,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 20,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 21,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894,
            "recurringSchoolCost": 3690894,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 21,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 22,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894,
            "recurringSchoolCost": 3690894,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 22,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          },
          {
            "age": 23,
            "school": "大学",
            "schoolCost": 3690894,
            "entryCost": 0,
            "livingCost": 1080000,
            "annualCost": 4770894,
            "recurringSchoolCost": 3690894,
            "events": [],
            "peak": false,
            "annualChange": 0,
            "funding": {
              "age": 23,
              "opening": 360000,
              "payment": 4770894,
              "externalNeeded": 4410894,
              "contributions": 360000,
              "investmentReturn": 0,
              "closing": 360000
            }
          }
        ],
        "peakAges": [
          18
        ],
        "maxAnnual": 5859142,
        "graduationAge": 24,
        "graduationPayment": 0,
        "assumptions": "年齢は学年開始の目安、実際の入学/納期の確定ではない。各年初に年額確保・月末積立。入学料と下宿費は年額に含む内訳で再加算しない。幼稚園〜高校は学校外活動費等を含む年平均統計で、入学時一時金を別算定しない。大学の授業料/施設費は据置、大学入学料は18歳1回。期間内最大は同額年を全て表示し、本人の実費/将来上昇を予測しない。前年差は今回の期間内だけ。不足は都度外部補填した仮定で、卒業時残高で過去の不足を消さない。卒業年の費用や追加積立年は足さない。"
      }
    }
  },
  "changedInputs": [
    {
      "key": "univType",
      "label": "大学・課程"
    },
    {
      "key": "living",
      "label": "大学時の住居"
    },
    {
      "key": "livingMonthly",
      "label": "下宿月予算（下宿時だけ使用）"
    }
  ],
  "differences": [
    {
      "key": "totalRemaining",
      "label": "今からの総費用",
      "unit": "円",
      "a": 2425200,
      "b": 29713612,
      "difference": 27288412
    },
    {
      "key": "univCost",
      "label": "大学費用（入学料を含む）",
      "unit": "円",
      "a": 2425200,
      "b": 23233612,
      "difference": 20808412
    },
    {
      "key": "livingCost",
      "label": "設定下宿予算の総額",
      "unit": "円",
      "a": 0,
      "b": 6480000,
      "difference": 6480000
    },
    {
      "key": "initialNeeded",
      "label": "今すぐの追加資金",
      "unit": "円",
      "a": 817800,
      "b": 5859142,
      "difference": 5041342
    },
    {
      "key": "monthlyRequired",
      "label": "初回資金を確保した後の月積立総額",
      "unit": "円",
      "a": 44650,
      "b": 397575,
      "difference": 352925
    },
    {
      "key": "additionalMonthly",
      "label": "現在の月積立からの増額",
      "unit": "円",
      "a": 14650,
      "b": 367575,
      "difference": 352925
    },
    {
      "key": "externalNeeded",
      "label": "支払時点の不足累計",
      "unit": "円",
      "a": 1345200,
      "b": 27913612,
      "difference": 26568412
    },
    {
      "key": "remainingYears",
      "label": "残りの費用年数",
      "unit": "年",
      "a": 4,
      "b": 6,
      "difference": 2
    }
  ],
  "yearly": [
    {
      "age": 18,
      "a": {
        "age": 18,
        "school": "大学",
        "schoolCost": 817800,
        "entryCost": 282000,
        "livingCost": 0,
        "annualCost": 817800,
        "recurringSchoolCost": 535800,
        "events": [
          "今回の試算開始",
          "大学開始の目安",
          "期間内の年額最大（同額を含む）"
        ],
        "peak": true,
        "annualChange": null,
        "funding": {
          "age": 18,
          "opening": 0,
          "payment": 817800,
          "externalNeeded": 817800,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "b": {
        "age": 18,
        "school": "大学",
        "schoolCost": 4779142,
        "entryCost": 1088248,
        "livingCost": 1080000,
        "annualCost": 5859142,
        "recurringSchoolCost": 3690894,
        "events": [
          "今回の試算開始",
          "大学開始の目安",
          "下宿予算の計上開始",
          "期間内の年額最大（同額を含む）"
        ],
        "peak": true,
        "annualChange": null,
        "funding": {
          "age": 18,
          "opening": 0,
          "payment": 5859142,
          "externalNeeded": 5859142,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 5041342
    },
    {
      "age": 19,
      "a": {
        "age": 19,
        "school": "大学",
        "schoolCost": 535800,
        "entryCost": 0,
        "livingCost": 0,
        "annualCost": 535800,
        "recurringSchoolCost": 535800,
        "events": [],
        "peak": false,
        "annualChange": -282000,
        "funding": {
          "age": 19,
          "opening": 360000,
          "payment": 535800,
          "externalNeeded": 175800,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "b": {
        "age": 19,
        "school": "大学",
        "schoolCost": 3690894,
        "entryCost": 0,
        "livingCost": 1080000,
        "annualCost": 4770894,
        "recurringSchoolCost": 3690894,
        "events": [],
        "peak": false,
        "annualChange": -1088248,
        "funding": {
          "age": 19,
          "opening": 360000,
          "payment": 4770894,
          "externalNeeded": 4410894,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 4235094
    },
    {
      "age": 20,
      "a": {
        "age": 20,
        "school": "大学",
        "schoolCost": 535800,
        "entryCost": 0,
        "livingCost": 0,
        "annualCost": 535800,
        "recurringSchoolCost": 535800,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 20,
          "opening": 360000,
          "payment": 535800,
          "externalNeeded": 175800,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "b": {
        "age": 20,
        "school": "大学",
        "schoolCost": 3690894,
        "entryCost": 0,
        "livingCost": 1080000,
        "annualCost": 4770894,
        "recurringSchoolCost": 3690894,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 20,
          "opening": 360000,
          "payment": 4770894,
          "externalNeeded": 4410894,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 4235094
    },
    {
      "age": 21,
      "a": {
        "age": 21,
        "school": "大学",
        "schoolCost": 535800,
        "entryCost": 0,
        "livingCost": 0,
        "annualCost": 535800,
        "recurringSchoolCost": 535800,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 21,
          "opening": 360000,
          "payment": 535800,
          "externalNeeded": 175800,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "b": {
        "age": 21,
        "school": "大学",
        "schoolCost": 3690894,
        "entryCost": 0,
        "livingCost": 1080000,
        "annualCost": 4770894,
        "recurringSchoolCost": 3690894,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 21,
          "opening": 360000,
          "payment": 4770894,
          "externalNeeded": 4410894,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 4235094
    },
    {
      "age": 22,
      "a": null,
      "b": {
        "age": 22,
        "school": "大学",
        "schoolCost": 3690894,
        "entryCost": 0,
        "livingCost": 1080000,
        "annualCost": 4770894,
        "recurringSchoolCost": 3690894,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 22,
          "opening": 360000,
          "payment": 4770894,
          "externalNeeded": 4410894,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 4770894
    },
    {
      "age": 23,
      "a": null,
      "b": {
        "age": 23,
        "school": "大学",
        "schoolCost": 3690894,
        "entryCost": 0,
        "livingCost": 1080000,
        "annualCost": 4770894,
        "recurringSchoolCost": 3690894,
        "events": [],
        "peak": false,
        "annualChange": 0,
        "funding": {
          "age": 23,
          "opening": 360000,
          "payment": 4770894,
          "externalNeeded": 4410894,
          "contributions": 360000,
          "investmentReturn": 0,
          "closing": 360000
        }
      },
      "difference": 4770894
    }
  ],
  "assumptions": "開始年齢は共通。各案の費用・資金・積立/利率は記録時の独立条件。差はB−Aで優劣ではない。4年/6年等の費用年数差を含む。各年初確保・月末積立、大学入学料を再加算しない。費用期間外は年額差だけ0として扱い、年初資金/不足/残高はnullのまま延長計算しない。卒業時残高同士を同じ時点として差し引かない。不足は都度外部補填した仮定であり、後の資金で過去不足を消さない。奨学金/補助/借入返済/実納期/物価上昇/運用成果は未反映。自動保存・入力外部送信・JSON復元なし。"
}