{
  "agentsJson": "0.1.0",
  "info": {
    "title": "Urgent VISA visa requirements",
    "version": "1.0.0",
    "description": "Answer \"does this passport need a visa for this destination, and on what terms\" for 197 passports and 196 destinations."
  },
  "sources": [
    {
      "id": "uv",
      "path": "https://urgentvisa.org/openapi.json"
    }
  ],
  "flows": [
    {
      "id": "answerVisaQuestion",
      "title": "Answer a traveller visa question end to end",
      "description": "Resolve passport and destination, fetch the requirement, then fetch the extension rule.",
      "actions": [
        {
          "id": "resolve",
          "sourceId": "uv",
          "operationId": "listDestinations"
        },
        {
          "id": "requirement",
          "sourceId": "uv",
          "operationId": "getVisa"
        },
        {
          "id": "extension",
          "sourceId": "uv",
          "operationId": "getExtension"
        }
      ],
      "links": [
        {
          "origin": {
            "actionId": "resolve",
            "fieldPath": "slug"
          },
          "target": {
            "actionId": "requirement",
            "fieldPath": "destination"
          }
        },
        {
          "origin": {
            "actionId": "requirement",
            "fieldPath": "destination"
          },
          "target": {
            "actionId": "extension",
            "fieldPath": "destination"
          }
        }
      ]
    }
  ]
}