// child-rearing-allowance-web — 画面固有設定（app-core.js が window.SYSTEM_CONFIG を読む）
window.SYSTEM_CONFIG = {
  domains: [
  { id: "cra-receivers", label: "受給者", endpoint: "/api/cra-receivers",
    cols: [{ key: "applicationNumber", label: "申請番号" }, { key: "fullName", label: "氏名" }, { key: "address", label: "住所" }, { key: "certificationStatus", label: "認定状態", badge: true }, { key: "createdAt", label: "申請日時" }],
    createFields: [{ name: "fullName", label: "氏名", required: true, placeholder: "山田 花子" }, { name: "address", label: "住所", required: true, placeholder: "東京都..." }, { name: "birthDate", label: "生年月日", type: "date" }] },
],
  calc: { title: "児童扶養手当 手当額の試算", endpoint: "/api/cra/allowance/calc", primary: { key: "monthly", label: "手当月額", format: "yen" }, fields: [ { key: "income", label: "所得（円）", type: "number", placeholder: "1000000" }, { key: "dependents", label: "扶養親族の数", type: "number", default: 0 }, { key: "childCount", label: "対象児童数", type: "number", default: 1 } ] },
};
