{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-fabric-summary-response-schema.json",
  "title": "FabricSummaryResponse",
  "description": "Fabric summmary response schema",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-fabricsummary-api-openapi.yml#/components/schemas/FabricSummaryResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/FabricSummary"
    },
    "version": {
      "type": "string",
      "description": "The version of the response"
    }
  },
  "$defs": {
    "FabricSummary": {
      "type": "object",
      "properties": {
        "protocolSummaries": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FabricSummary_protocolSummaries"
          }
        }
      },
      "description": "Summary of fabric entities with health info. Used for fabric sites, l2vns, l3vns and transit networks"
    },
    "FabricSummary_protocolSummaries": {
      "type": "object",
      "properties": {
        "fabricSiteGoodHealthCount": {
          "$ref": "#/$defs/fabricSiteGoodHealthCount"
        },
        "fabricSiteCount": {
          "$ref": "#/$defs/fabricSiteCount"
        },
        "fabricSiteGoodHealthPercentage": {
          "$ref": "#/$defs/fabricSiteGoodHealthPercentage"
        },
        "fabricSiteNoHealthCount": {
          "$ref": "#/$defs/fabricSiteNoHealthCount"
        },
        "fabricSitePoorHealthCount": {
          "$ref": "#/$defs/fabricSitePoorHealthCount"
        },
        "fabricSiteFairHealthCount": {
          "$ref": "#/$defs/fabricSiteFairHealthCount"
        },
        "l3VnGoodHealthCount": {
          "$ref": "#/$defs/l3VnGoodHealthCount"
        },
        "l3VnCount": {
          "$ref": "#/$defs/l3VnCount"
        },
        "l3VnGoodHealthPercentage": {
          "$ref": "#/$defs/l3VnGoodHealthPercentage"
        },
        "l3VnNoHealthCount": {
          "$ref": "#/$defs/l3VnNoHealthCount"
        },
        "l3VnFairHealthCount": {
          "$ref": "#/$defs/l3VnFairHealthCount"
        },
        "l3VnPoorHealthCount": {
          "$ref": "#/$defs/l3VnPoorHealthCount"
        },
        "l2VnGoodHealthCount": {
          "$ref": "#/$defs/l2VnGoodHealthCount"
        },
        "l2VnCount": {
          "$ref": "#/$defs/l2VnCount"
        },
        "l2VnGoodHealthPercentage": {
          "$ref": "#/$defs/l2VnGoodHealthPercentage"
        },
        "l2VnNoHealthCount": {
          "$ref": "#/$defs/l2VnNoHealthCount"
        },
        "l2VnPoorHealthCount": {
          "$ref": "#/$defs/l2VnPoorHealthCount"
        },
        "l2VnFairHealthCount": {
          "$ref": "#/$defs/l2VnFairHealthCount"
        },
        "transitNetworkGoodHealthCount": {
          "$ref": "#/$defs/transitNetworkGoodHealthCount"
        },
        "transitNetworkCount": {
          "$ref": "#/$defs/transitNetworkCount"
        },
        "transitNetworkGoodHealthPercentage": {
          "$ref": "#/$defs/transitNetworkGoodHealthPercentage"
        },
        "transitNetworkNoHealthCount": {
          "$ref": "#/$defs/transitNetworkNoHealthCount"
        },
        "transitNetworkPoorHealthCount": {
          "$ref": "#/$defs/transitNetworkPoorHealthCount"
        },
        "transitNetworkFairHealthCount": {
          "$ref": "#/$defs/transitNetworkFairHealthCount"
        },
        "fabricDeviceCount": {
          "$ref": "#/$defs/fabricDeviceCount"
        },
        "p1IssueCount": {
          "$ref": "#/$defs/p1IssueCount"
        },
        "p2IssueCount": {
          "$ref": "#/$defs/p2IssueCount"
        },
        "networkSegmentProtocol": {
          "$ref": "#/$defs/networkSegmentProtocol"
        }
      }
    },
    "fabricDeviceCount": {
      "type": "integer",
      "description": "total number of Fabric Devices across all fabric sites",
      "format": "int64"
    },
    "fabricSiteCount": {
      "type": "integer",
      "description": "total number of fabric sites",
      "format": "int64"
    },
    "fabricSiteFairHealthCount": {
      "type": "integer",
      "description": "number of fabric sites with fair health (score range of 40-80)",
      "format": "int64"
    },
    "fabricSiteGoodHealthCount": {
      "type": "integer",
      "description": "number of fabric sites with good health (score range of 80-100)",
      "format": "int64"
    },
    "fabricSiteGoodHealthPercentage": {
      "type": "number",
      "description": "percentage of fabric sites with good health over total fabric sites",
      "format": "double"
    },
    "fabricSiteNoHealthCount": {
      "type": "integer",
      "description": "number of fabric sites with No health (score of --)",
      "format": "int64"
    },
    "fabricSitePoorHealthCount": {
      "type": "integer",
      "description": "number of fabric sites with Poor health (score of 0-40)",
      "format": "int64"
    },
    "l2VnCount": {
      "type": "integer",
      "description": "total number of l2 virtual networks",
      "format": "int64"
    },
    "l2VnFairHealthCount": {
      "type": "integer",
      "description": "number of l2 virtual network with Fair health (score of 40-80)",
      "format": "int64"
    },
    "l2VnGoodHealthCount": {
      "type": "integer",
      "description": "number of l2 virtual network with good health (score range of 80-100)",
      "format": "int64"
    },
    "l2VnGoodHealthPercentage": {
      "type": "number",
      "description": "percentage of l2 virtual network with good health over total l2 virtual networks",
      "format": "double"
    },
    "l2VnNoHealthCount": {
      "type": "integer",
      "description": "number of l2 virtual network with No health (score of --)",
      "format": "int64"
    },
    "l2VnPoorHealthCount": {
      "type": "integer",
      "description": "number of l2 virtual network with No health (score of 0-40)",
      "format": "int64"
    },
    "l3VnCount": {
      "type": "integer",
      "description": "total number of l3 virtual networks.",
      "format": "int64"
    },
    "l3VnFairHealthCount": {
      "type": "integer",
      "description": "number of l3 virtual network with Fair health (score of 40-80)",
      "format": "int64"
    },
    "l3VnGoodHealthCount": {
      "type": "integer",
      "description": "number of l3 virtual network with good health (score range of 80-100)",
      "format": "int64"
    },
    "l3VnGoodHealthPercentage": {
      "type": "number",
      "description": "percentage of l3 virtual network with good health over total l3 virtual networks",
      "format": "double"
    },
    "l3VnNoHealthCount": {
      "type": "integer",
      "description": "number of l3 virtual network with No health (score of --)",
      "format": "int64"
    },
    "l3VnPoorHealthCount": {
      "type": "integer",
      "description": "number of l3 virtual network with No health (score of 0-40)",
      "format": "int64"
    },
    "networkSegmentProtocol": {
      "type": "string",
      "description": "type of fabric deployment",
      "enum": [
        "LISP",
        "EVPN",
        "UNKNOWN",
        "HYBRID"
      ]
    },
    "p1IssueCount": {
      "type": "integer",
      "description": "the number of p1 issues",
      "format": "int64"
    },
    "p2IssueCount": {
      "type": "integer",
      "description": "the number of p2 issues",
      "format": "int64"
    },
    "transitNetworkCount": {
      "type": "integer",
      "description": "total number of transit sites",
      "format": "int64"
    },
    "transitNetworkFairHealthCount": {
      "type": "integer",
      "description": "number of transit sites with Fair health (score of 40-80)",
      "format": "int64"
    },
    "transitNetworkGoodHealthCount": {
      "type": "integer",
      "description": "number of transit sites with good health (score range of 80-100)",
      "format": "int64"
    },
    "transitNetworkGoodHealthPercentage": {
      "type": "number",
      "description": "percentage of transit sites with good health over total transit sites",
      "format": "double"
    },
    "transitNetworkNoHealthCount": {
      "type": "integer",
      "description": "number of transit sites with No health (score of --)",
      "format": "int64"
    },
    "transitNetworkPoorHealthCount": {
      "type": "integer",
      "description": "number of transit sites with Poor health (score of 0-40)",
      "format": "int64"
    }
  }
}