{
  "rulesetId": "rs-x",
  "name": "Invalid fixture",
  "contractVersion": "app-contract@v2",
  "strategy": "first-match",
  "nodes": [
    {
      "type": "start",
      "id": "start",
      "inputs": [
        "applicant.*",
        "passport.*",
        "trip.*"
      ],
      "next": "cc"
    },
    {
      "type": "connectorCheck",
      "id": "cc",
      "connectorRef": "conn-interpol-api@v2",
      "operation": "screen",
      "inputMap": {
        "fullName": {
          "field": "applicant.fullName"
        },
        "dob": {
          "field": "applicant.dob"
        },
        "passportNo": {
          "field": "passport.number"
        },
        "foo": {
          "lit": 1
        }
      },
      "outputAs": "watchlist",
      "onSuccess": "c-hit",
      "onError": "o-fail",
      "onErrorBehavior": "Flag"
    },
    {
      "type": "condition",
      "id": "c-hit",
      "expr": {
        "op": "==",
        "left": {
          "field": "watchlist.hit"
        },
        "right": {
          "lit": true
        }
      },
      "onTrue": "o-pass",
      "onFalse": "o-fail"
    },
    {
      "type": "outcome",
      "id": "o-pass",
      "outcome": "PASS",
      "reasonCode": "OK"
    },
    {
      "type": "outcome",
      "id": "o-fail",
      "outcome": "FAIL",
      "reasonCode": "NO"
    }
  ]
}
