{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-cloud-compute-api-defender-summary-structure.json",
  "name": "DefenderSummary",
  "description": "DefenderSummary schema from Palo Alto Networks Prisma Cloud Compute API",
  "type": "object",
  "properties": {
    "total": {
      "type": "int32",
      "description": "Total number of deployed Defenders."
    },
    "connected": {
      "type": "int32",
      "description": "Number of currently connected Defenders."
    },
    "disconnected": {
      "type": "int32",
      "description": "Number of disconnected Defenders."
    },
    "by_type": {
      "type": "object",
      "description": "Defender count breakdown by deployment type.",
      "properties": {
        "docker": {
          "type": "int32"
        },
        "dockerWindows": {
          "type": "int32"
        },
        "cri": {
          "type": "int32"
        },
        "fargate": {
          "type": "int32"
        },
        "appEmbedded": {
          "type": "int32"
        },
        "serverless": {
          "type": "int32"
        }
      }
    },
    "version_distribution": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "count": {
            "type": "int32"
          }
        }
      }
    }
  }
}
