{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "帳戶申請與核准",
    "quality_profile": "showcase",
    "legend": { "entries": { "frontend": { "label": "輸入／入口" }, "backend": { "label": "處理結果" }, "security": { "label": "條件／分支" } } }
  },
  "lanes": [
    {
      "id": "main",
      "label": "本概念主線"
    },
    {
      "id": "alternate",
      "label": "另一結果",
      "variant": "exception"
    }
  ],
  "mainPath": [
    "account-setup-input",
    "account-setup-gate",
    "account-setup-result"
  ],
  "nodes": [
    {
      "id": "account-setup-input",
      "lane": "main",
      "col": 0,
      "type": "frontend",
      "label": "CH 已建立",
      "sublabel": "提出 Application",
      "width": 164
    },
    {
      "id": "account-setup-gate",
      "lane": "main",
      "col": 2,
      "type": "security",
      "label": "合法審核通過？",
      "sublabel": "reviewer／scope",
      "width": 164
    },
    {
      "id": "account-setup-result",
      "lane": "main",
      "col": 4,
      "type": "backend",
      "label": "建立 Account",
      "sublabel": "ACTIVE／UNFROZEN",
      "width": 164
    },
    {
      "id": "account-setup-alternate",
      "lane": "alternate",
      "col": 2,
      "type": "security",
      "label": "不建立 Account",
      "sublabel": "拒絕或失敗",
      "width": 164
    }
  ],
  "edges": [
    {
      "id": "account-setup-check",
      "from": "account-setup-input",
      "to": "account-setup-gate",
      "label": "核對",
      "role": "main"
    },
    {
      "id": "account-setup-yes",
      "from": "account-setup-gate",
      "to": "account-setup-result",
      "label": "通過",
      "variant": "emphasis",
      "role": "main"
    },
    {
      "id": "account-setup-no",
      "from": "account-setup-gate",
      "to": "account-setup-alternate",
      "label": "未通過",
      "variant": "security",
      "role": "branch"
    }
  ]
}
