// school-aid-web — 画面固有設定（app-core.js が window.SYSTEM_CONFIG を読む）
window.SYSTEM_CONFIG = {
  domains: [
  { id: "school-aid-applicants", label: "就学援助申請世帯", endpoint: "/api/school-aid-applicants",
    cols: [{ key: "applicantNumber", label: "申請番号" }, { key: "householdHead", label: "世帯主" }, { key: "address", label: "住所" }, { key: "childCount", label: "児童数" }, { key: "status", label: "状態", badge: true }],
    createFields: [{ name: "householdHead", label: "世帯主氏名", required: true, placeholder: "山田 太郎" }, { name: "address", label: "住所", required: true, placeholder: "東京都..." }, { name: "childCount", label: "児童数", type: "number", placeholder: "2" }, { name: "income", label: "所得額（円）", type: "number", placeholder: "2000000" }] },
  { id: "school-aid-applications", label: "就学援助申請", endpoint: "/api/school-aid-applications",
    cols: [{ key: "applicantId", label: "申請世帯ID" }, { key: "fiscalYear", label: "年度" }, { key: "applicationType", label: "申請種別", badge: true }, { key: "status", label: "状態", badge: true }, { key: "createdAt", label: "申請日時" }],
    createFields: [{ name: "applicantId", label: "申請世帯ID", required: true, placeholder: "登録済み申請世帯のIDを入力" }, { name: "fiscalYear", label: "年度", required: true, placeholder: "2026" }, { name: "applicationType", label: "申請種別", required: true, type: "select", options: ["new", "renewal"] }] },
],
  calc: { title: "就学援助 認定の試算", endpoint: "/api/school-aid/eligibility", primary: { key: "category", label: "判定", format: "text" }, fields: [ { key: "householdIncome", label: "世帯の所得（円）", type: "number", placeholder: "2000000" }, { key: "protectionStandard", label: "生活保護基準額（円）", type: "number", placeholder: "1800000" }, { key: "multiplier", label: "認定倍率", type: "number", default: 1.3 } ] },
};
