[
  {
    "id": "agent-resolves",
    "name": "An enterprise outage goes to the VIP queue and is resolved",
    "inputs": {
      "ticketId": "T-1",
      "plan": "enterprise",
      "impact": "outage"
    },
    "mocks": {
      "kb-search": {
        "outputs": {
          "match": true,
          "articleUrl": "https://kb.example.com/restart"
        }
      },
      "userTask": {},
      "helpdesk-ticket-close": {}
    },
    "expect": {
      "path": [
        "prioritise",
        "known-fix",
        "resolve-l1",
        "close-ticket",
        "ticket-closed"
      ],
      "variables": {
        "routing": {
          "priority": "P1",
          "queue": "support-vip"
        }
      }
    }
  },
  {
    "id": "self-service",
    "name": "A how-to question is answered from the knowledge base",
    "inputs": {
      "ticketId": "T-2",
      "plan": "starter",
      "impact": "question"
    },
    "mocks": {
      "kb-search": {
        "outputs": {
          "match": true,
          "articleUrl": "https://kb.example.com/export"
        }
      },
      "email-send": {}
    },
    "expect": {
      "path": [
        "search-kb",
        "send-article",
        "resolved-self-service"
      ],
      "variables": {
        "kbArticle": "https://kb.example.com/export"
      }
    }
  }
]
