{
  "$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-test-details-schema.json",
  "title": "ExpressRouteFailoverTestDetails",
  "description": "ExpressRoute failover 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/ExpressRouteFailoverTestDetails",
  "type": "object",
  "properties": {
    "peeringLocation": {
      "type": "string",
      "description": "Peering location of the test"
    },
    "circuits": {
      "type": "array",
      "description": "All circuits in the peering location",
      "items": {
        "$ref": "#/$defs/ExpressRouteFailoverCircuitResourceDetails"
      }
    },
    "status": {
      "$ref": "#/$defs/FailoverTestStatus",
      "description": "The current status of the test"
    },
    "startTime": {
      "type": "string",
      "description": "Time when the test was started"
    },
    "endTime": {
      "type": "string",
      "description": "Time when the test was completed"
    },
    "connections": {
      "type": "array",
      "description": "All connections to the circuits in the peering location",
      "items": {
        "$ref": "#/$defs/ExpressRouteFailoverConnectionResourceDetails"
      }
    },
    "testGuid": {
      "type": "string",
      "description": "The unique GUID associated with the test"
    },
    "testType": {
      "$ref": "#/$defs/FailoverTestType",
      "description": "The type of failover test"
    },
    "issues": {
      "type": "array",
      "description": "A list of all issues with the test",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "ExpressRouteFailoverCircuitResourceDetails": {
      "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
    },
    "ExpressRouteFailoverConnectionResourceDetails": {
      "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
    },
    "FailoverTestStatus": {
      "type": "string",
      "description": "The current status of the test",
      "enum": [
        "NotStarted",
        "Starting",
        "Running",
        "StartFailed",
        "Stopping",
        "Completed",
        "StopFailed",
        "Invalid",
        "Expired"
      ],
      "x-ms-enum": {
        "name": "FailoverTestStatus",
        "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"
          }
        ]
      }
    },
    "FailoverTestType": {
      "type": "string",
      "description": "The type of failover test",
      "enum": [
        "SingleSiteFailover",
        "MultiSiteFailover",
        "All"
      ],
      "x-ms-enum": {
        "name": "FailoverTestType",
        "modelAsString": true,
        "values": [
          {
            "name": "SingleSiteFailover",
            "value": "SingleSiteFailover",
            "description": "SingleSiteFailover"
          },
          {
            "name": "MultiSiteFailover",
            "value": "MultiSiteFailover",
            "description": "MultiSiteFailover"
          },
          {
            "name": "All",
            "value": "All",
            "description": "All"
          }
        ]
      }
    }
  }
}