{
  "arazzo": "1.0.1",
  "info": {
    "title": "Payment workflow",
    "version": "1.0.0"
  },
  "sourceDescriptions": [
    {
      "name": "payment",
      "url": "./payment.openapi.json",
      "type": "openapi"
    }
  ],
  "workflows": [
    {
      "workflowId": "checkout",
      "steps": [
        {
          "stepId": "authorise",
          "operationId": "$sourceDescriptions.payment.authorisePayment",
          "successCriteria": [
            {
              "condition": "$statusCode == 200"
            }
          ]
        }
      ]
    }
  ]
}