{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "Persona chung + module theo nhóm",
    "quality_profile": "showcase",
    "legend": {
      "mode": "hidden"
    },
    "views": [
      {
        "id": "run",
        "label": "Khi chạy",
        "focus": [
          "task",
          "persona",
          "work",
          "answer"
        ],
        "note": "Nhận task, Persona chọn giọng và sở thích, module thêm điền chi tiết, trả lời có căn cứ tư liệu."
      },
      {
        "id": "families",
        "label": "Theo nhóm",
        "focus": [
          "persona",
          "work",
          "dossier"
        ],
        "note": "colleague thêm Work Skill; celebrity thêm hồ sơ nghiên cứu 6 chiều; relationship chỉ có Persona."
      }
    ]
  },
  "lanes": [
    {
      "id": "base",
      "label": "Nền chung (mọi nhóm)"
    },
    {
      "id": "col",
      "label": "colleague"
    },
    {
      "id": "cel",
      "label": "celebrity"
    }
  ],
  "phases": [
    {
      "id": "p1",
      "label": "Persona",
      "fromCol": 0,
      "toCol": 1,
      "variant": "emphasis"
    },
    {
      "id": "p2",
      "label": "Chi tiết + trả lời",
      "fromCol": 2,
      "toCol": 3,
      "variant": "dashed"
    }
  ],
  "mainPath": [
    "task",
    "persona",
    "work",
    "answer"
  ],
  "nodes": [
    {
      "id": "task",
      "lane": "base",
      "col": 0,
      "type": "frontend",
      "label": "Nhận task",
      "sublabel": "câu hỏi, việc cần làm",
      "width": 150
    },
    {
      "id": "persona",
      "lane": "base",
      "col": 1,
      "type": "backend",
      "label": "Persona",
      "sublabel": "giọng, sở thích, cách quyết định",
      "width": 190
    },
    {
      "id": "work",
      "lane": "col",
      "col": 2,
      "type": "database",
      "label": "Work Skill",
      "sublabel": "phạm vi, quy trình, kinh nghiệm",
      "width": 200
    },
    {
      "id": "dossier",
      "lane": "cel",
      "col": 2,
      "type": "database",
      "label": "Hồ sơ 6 chiều",
      "sublabel": "tác phẩm, quyết định, dòng thời gian…",
      "width": 220
    },
    {
      "id": "answer",
      "lane": "base",
      "col": 3,
      "type": "frontend",
      "label": "Trả lời",
      "sublabel": "có căn cứ tư liệu",
      "width": 150
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "task",
      "to": "persona",
      "variant": "emphasis"
    },
    {
      "id": "e2",
      "from": "persona",
      "to": "work",
      "variant": "emphasis"
    },
    {
      "id": "e3",
      "from": "persona",
      "to": "dossier",
      "fromSide": "bottom",
      "toSide": "left"
    },
    {
      "id": "e4",
      "from": "work",
      "to": "answer",
      "variant": "emphasis"
    },
    {
      "id": "e5",
      "from": "dossier",
      "to": "answer"
    },
    {
      "id": "e6",
      "from": "persona",
      "to": "answer",
      "label": "relationship: chỉ Persona",
      "variant": "dashed"
    }
  ]
}