{
  "name": "advanced-bounded-loop",
  "version": "1.0.0",
  "phases": [
    {
      "id": "review",
      "type": "loop",
      "service": "hello",
      "until": {
        "resultPath": "$.approved",
        "equals": true
      },
      "controls": {
        "limits": {
          "maxIterations": 3
        }
      },
      "body": [
        {
          "id": "revise",
          "handler": "hello"
        }
      ],
      "terminal": true
    }
  ]
}
