{
    "conditional": true,
    "conditions": [
      {
        "when": {
          "field": "registrationStatus",
          "operator": "IN",
          "value": ["draft", "save_as_draft"]
        },
        "then": {
          "stageStatus": "pending",
          "markStageComplete": false
        }
      },
      {
        "when": {
          "field": "registrationStatus",
          "operator": "IN",
          "value": ["submitted", "pending"]
        },
        "then": {
          "stageStatus": "completed",
          "markStageComplete": true
        }
      }
    ]
  }