{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TopologyPath",
  "title": "TopologyPath",
  "type": "object",
  "description": "Result of a network topology path query",
  "properties": {
    "traffic_allowed": {
      "type": "boolean",
      "description": "Whether traffic is allowed between source and destination"
    },
    "is_fully_routed": {
      "type": "boolean",
      "description": "Whether a complete routed path exists"
    },
    "device_info": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Device name"
          },
          "id": {
            "type": "integer",
            "description": "Device ID"
          }
        }
      },
      "description": "Devices traversed in the path"
    }
  }
}