{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-networking-services/json-schema/azure-networking-services-express-route-failover-single-test-details-schema.json",
  "title": "ExpressRouteFailoverSingleTestDetails",
  "description": "ExpressRoute failover single test details",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-networking-services-expressroutegateways-api-openapi.yml#/components/schemas/ExpressRouteFailoverSingleTestDetails",
  "type": "object",
  "properties": {
    "peeringLocation": {
      "type": "string",
      "description": "Peering location of the test"
    },
    "status": {
      "$ref": "#/$defs/FailoverTestStatusForSingleTest",
      "description": "The current status of the test"
    },
    "startTimeUtc": {
      "type": "string",
      "description": "Time when the test was started"
    },
    "endTimeUtc": {
      "type": "string",
      "description": "Time when the test was completed"
    },
    "redundantRoutes": {
      "type": "array",
      "description": "List of routes received from this peering as well as some other peering location",
      "items": {
        "$ref": "#/$defs/ExpressRouteFailoverRedundantRoute"
      }
    },
    "nonRedundantRoutes": {
      "type": "array",
      "description": "List of al the routes that were received only from this peering location",
      "items": {
        "type": "string"
      }
    },
    "wasSimulationSuccessful": {
      "type": "boolean",
      "description": "Whether the failover simulation was successful or not"
    },
    "failoverConnectionDetails": {
      "type": "array",
      "description": "List of all the failover connections for this peering location",
      "items": {
        "$ref": "#/$defs/FailoverConnectionDetails"
      }
    }
  },
  "$defs": {
    "ExpressRouteFailoverRedundantRoute": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "FailoverConnectionDetails": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "FailoverTestStatusForSingleTest": {
      "type": "string",
      "description": "The current status of the test",
      "enum": [
        "NotStarted",
        "Starting",
        "Running",
        "StartFailed",
        "Stopping",
        "Completed",
        "StopFailed",
        "Invalid",
        "Expired"
      ],
      "x-ms-enum": {
        "name": "FailoverTestStatusForSingleTest",
        "modelAsString": true,
        "values": [
          {
            "name": "NotStarted",
            "value": "NotStarted",
            "description": "NotStarted"
          },
          {
            "name": "Starting",
            "value": "Starting",
            "description": "Starting"
          },
          {
            "name": "Running",
            "value": "Running",
            "description": "Running"
          },
          {
            "name": "StartFailed",
            "value": "StartFailed",
            "description": "StartFailed"
          },
          {
            "name": "Stopping",
            "value": "Stopping",
            "description": "Stopping"
          },
          {
            "name": "Completed",
            "value": "Completed",
            "description": "Completed"
          },
          {
            "name": "StopFailed",
            "value": "StopFailed",
            "description": "StopFailed"
          },
          {
            "name": "Invalid",
            "value": "Invalid",
            "description": "Invalid"
          },
          {
            "name": "Expired",
            "value": "Expired",
            "description": "Expired"
          }
        ]
      }
    }
  }
}