// inkan-registration-web — 画面固有設定（app-core.js が window.SYSTEM_CONFIG を読む）
window.SYSTEM_CONFIG = {
  domains: [
  { id: "seals", label: "印鑑登録", endpoint: "/api/seals",
    cols: [{ key: "registrationNumber", label: "登録番号" }, { key: "ownerName", label: "所有者氏名" }, { key: "birthDate", label: "生年月日" }, { key: "status", label: "状態", badge: true }, { key: "registeredAt", label: "登録日時" }],
    createFields: [{ name: "ownerName", label: "所有者氏名", required: true, placeholder: "山田 太郎" }, { name: "birthDate", label: "生年月日", required: true, type: "date" }, { name: "address", label: "住所", required: true, placeholder: "東京都..." }] },
],
  calc: { title: "印鑑登録 手数料の試算", endpoint: "/api/inkan/fee", primary: { key: "total", label: "手数料合計", format: "yen" }, fields: [ { key: "certType", label: "種別", type: "select", options: ["印鑑登録証明書","印鑑登録","印鑑登録証再交付"] }, { key: "copies", label: "通数", type: "number", default: 1 }, { key: "postal", label: "郵送", type: "select", options: [ { value: false, label: "なし" }, { value: true, label: "あり" } ] } ] },
};
