{
  "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": [
    "withdrawal-expiry-input",
    "withdrawal-expiry-gate",
    "withdrawal-expiry-result"
  ],
  "nodes": [
    {
      "id": "withdrawal-expiry-input",
      "lane": "main",
      "col": 0,
      "type": "frontend",
      "label": "檢查指派狀態",
      "sublabel": "current attempt",
      "width": 164
    },
    {
      "id": "withdrawal-expiry-gate",
      "lane": "main",
      "col": 2,
      "type": "security",
      "label": "符合到期前提？",
      "sublabel": "ASSIGNED／deadline",
      "width": 164
    },
    {
      "id": "withdrawal-expiry-result",
      "lane": "main",
      "col": 4,
      "type": "backend",
      "label": "PENDING_REVIEW",
      "sublabel": "UNREVIEWED／保留占用",
      "width": 164
    },
    {
      "id": "withdrawal-expiry-alternate",
      "lane": "alternate",
      "col": 2,
      "type": "security",
      "label": "不執行 expiry",
      "sublabel": "拒絕／原狀保留",
      "width": 164
    }
  ],
  "edges": [
    {
      "id": "withdrawal-expiry-check",
      "from": "withdrawal-expiry-input",
      "to": "withdrawal-expiry-gate",
      "label": "核對",
      "role": "main"
    },
    {
      "id": "withdrawal-expiry-yes",
      "from": "withdrawal-expiry-gate",
      "to": "withdrawal-expiry-result",
      "label": "通過",
      "variant": "emphasis",
      "role": "main"
    },
    {
      "id": "withdrawal-expiry-no",
      "from": "withdrawal-expiry-gate",
      "to": "withdrawal-expiry-alternate",
      "label": "未通過",
      "variant": "security",
      "role": "branch"
    }
  ]
}
