{
  "artifactVersion": "loop.plan.artifact/v1",
  "compilerVersion": "loop.plan.compiler/v1",
  "apiVersion": "loop.plan/v1",
  "digest": "sha256:e2f033ff72d61b900ac6c437583f3de46c9a2418f72b4a75e69cfe957413cb91",
  "contracts": {
    "input": [],
    "output": [],
    "state": []
  },
  "entry": {
    "nodeId": "action",
    "port": "in",
    "bindings": []
  },
  "nodes": [
    {
      "id": "action",
      "opcode": "wait",
      "inputPorts": [
        {
          "name": "in",
          "contract": []
        }
      ],
      "outputPorts": [
        {
          "name": "completed",
          "contract": []
        },
        {
          "name": "failed",
          "contract": []
        },
        {
          "name": "timed_out",
          "contract": []
        }
      ],
      "stateEffects": {
        "reads": [],
        "writes": []
      },
      "scopePath": [],
      "config": {
        "wait": {
          "until": {
            "op": "const",
            "resultType": "duration",
            "value": 60000000000
          },
          "timeoutNanos": 120000000000,
          "retry": {
            "maxAttempts": 2,
            "backoffNanos": 1000000000
          }
        }
      }
    },
    {
      "id": "failure",
      "opcode": "end.failed",
      "inputPorts": [
        {
          "name": "in",
          "contract": []
        }
      ],
      "outputPorts": [],
      "stateEffects": {
        "reads": [],
        "writes": []
      },
      "scopePath": [],
      "config": {
        "end": {
          "code": "action_failed"
        }
      }
    },
    {
      "id": "success",
      "opcode": "end.succeeded",
      "inputPorts": [
        {
          "name": "in",
          "contract": []
        }
      ],
      "outputPorts": [],
      "stateEffects": {
        "reads": [],
        "writes": []
      },
      "scopePath": [],
      "config": {
        "end": {
          "code": ""
        }
      }
    }
  ],
  "edges": [
    {
      "id": "route_completed",
      "source": {
        "nodeId": "action",
        "port": "completed"
      },
      "target": {
        "nodeId": "success",
        "port": "in"
      },
      "bindings": [],
      "scopeTransitions": []
    },
    {
      "id": "route_failed",
      "source": {
        "nodeId": "action",
        "port": "failed"
      },
      "target": {
        "nodeId": "failure",
        "port": "in"
      },
      "bindings": [],
      "scopeTransitions": []
    },
    {
      "id": "route_timed_out",
      "source": {
        "nodeId": "action",
        "port": "timed_out"
      },
      "target": {
        "nodeId": "failure",
        "port": "in"
      },
      "bindings": [],
      "scopeTransitions": []
    }
  ],
  "scopes": []
}
