{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-container-schema.json",
  "title": "Container",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-containers-api-openapi.yml#/components/schemas/Container",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique container identifier."
    },
    "name": {
      "type": "string",
      "description": "Container name."
    },
    "hostname": {
      "type": "string",
      "description": "Host where the container is running."
    },
    "imageId": {
      "type": "string",
      "description": "ID of the container image."
    },
    "imageName": {
      "type": "string",
      "description": "Full image name including registry, repository, and tag."
    },
    "state": {
      "type": "string",
      "enum": [
        "running",
        "created",
        "exited",
        "paused"
      ],
      "description": "Current container state."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Container creation timestamp."
    },
    "cluster": {
      "type": "string",
      "description": "Kubernetes cluster name."
    },
    "namespace": {
      "type": "string",
      "description": "Kubernetes namespace."
    },
    "vulnerabilitiesCount": {
      "type": "integer",
      "description": "Number of vulnerabilities in the container image."
    },
    "complianceIssuesCount": {
      "type": "integer",
      "description": "Number of compliance issues for this container."
    }
  }
}