{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-summary-with-category-schema.json",
  "title": "SummaryWithCategory",
  "description": "The properties of the category and summary.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-summaries-by-category-api-openapi.yml#/components/schemas/SummaryWithCategory",
  "type": "object",
  "properties": {
    "category": {
      "$ref": "#/$defs/Category"
    },
    "summary": {
      "$ref": "#/$defs/Summary"
    }
  },
  "required": [
    "category",
    "summary"
  ],
  "$defs": {
    "Category": {
      "type": "object",
      "description": "The properties of the category.",
      "properties": {
        "id": {
          "type": "number",
          "description": "The ID of the category."
        },
        "label": {
          "type": "string",
          "description": "The descriptive label for the category."
        },
        "type": {
          "type": "string",
          "description": "The type of the category."
        },
        "integration": {
          "type": "boolean",
          "description": "Specifies whether the category is an integration."
        },
        "deprecated": {
          "type": "boolean",
          "description": "Specifies whether the category is a legacy category."
        }
      }
    },
    "Summary": {
      "type": "object",
      "description": "The summary information about the requests.",
      "properties": {
        "applications": {
          "type": "number",
          "description": "The total number of applications (avc or total)."
        },
        "domains": {
          "type": "number",
          "description": "The total number of domains."
        },
        "requestsblocked": {
          "type": "number",
          "description": "The total number of domains."
        },
        "filetypes": {
          "type": "number",
          "description": "The total number of domains."
        },
        "policycategories": {
          "type": "number",
          "description": "The total number of blocked categories."
        },
        "policyrequests": {
          "type": "number",
          "description": "The total number of policy requests."
        },
        "requests": {
          "type": "number",
          "description": "The total number of requests."
        },
        "requestsallowed": {
          "type": "number",
          "description": "The total number of allowed requests."
        },
        "categories": {
          "type": "number",
          "description": "The total number of categories."
        },
        "identitytypes": {
          "type": "number",
          "description": "The total number of identity types."
        },
        "applicationsblocked": {
          "type": "number",
          "description": "The total number of blocked applications."
        },
        "files": {
          "type": "number",
          "description": "The total number of files."
        },
        "identities": {
          "type": "number",
          "description": "The total number of identities."
        },
        "applicationsallowed": {
          "type": "number",
          "description": "The total number of allowed applications."
        }
      },
      "required": [
        "applications",
        "applicationsallowed",
        "applicationsblocked",
        "categories",
        "domains",
        "files",
        "filetypes",
        "identities",
        "identitytypes",
        "policycategories",
        "policyrequests",
        "requests",
        "requestsallowed",
        "requestsblocked"
      ]
    }
  }
}