[
  {
    "id": "low-risk",
    "name": "A verified customer with no hits is onboarded automatically",
    "inputs": {
      "applicantId": "C-1",
      "countryRisk": "low"
    },
    "mocks": {
      "kyc-identity-verify": {
        "outputs": {
          "status": "verified"
        }
      },
      "kyc-sanctions-screen": {
        "outputs": {
          "hits": 0
        }
      },
      "core-banking-account-open": {
        "outputs": {
          "accountNumber": "DE00-1234"
        }
      }
    },
    "expect": {
      "path": [
        "assess-risk",
        "risk-route",
        "open-account",
        "account-opened"
      ],
      "variables": {
        "riskTier": "low",
        "accountNumber": "DE00-1234"
      }
    }
  },
  {
    "id": "sanctions-hit-declined",
    "name": "A sanctions hit goes to compliance, who decline",
    "inputs": {
      "applicantId": "C-2",
      "countryRisk": "low"
    },
    "mocks": {
      "kyc-identity-verify": {
        "outputs": {
          "status": "verified"
        }
      },
      "kyc-sanctions-screen": {
        "outputs": {
          "hits": 1
        }
      },
      "userTask": {
        "outputs": {
          "complianceCleared": false
        }
      },
      "customer-notify": {}
    },
    "expect": {
      "path": [
        "compliance-review",
        "decline-application",
        "application-declined"
      ],
      "variables": {
        "riskTier": "high"
      }
    }
  },
  {
    "id": "medium-risk-cleared",
    "name": "A high-risk jurisdiction is reviewed and cleared",
    "inputs": {
      "applicantId": "C-3",
      "countryRisk": "high"
    },
    "mocks": {
      "kyc-identity-verify": {
        "outputs": {
          "status": "verified"
        }
      },
      "kyc-sanctions-screen": {
        "outputs": {
          "hits": 0
        }
      },
      "userTask": {
        "outputs": {
          "complianceCleared": true
        }
      },
      "core-banking-account-open": {
        "outputs": {
          "accountNumber": "DE00-5678"
        }
      }
    },
    "expect": {
      "path": [
        "compliance-review",
        "open-account",
        "account-opened"
      ]
    }
  }
]
