{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-provider-requestsby-destination-schema.json",
  "title": "ProviderRequestsbyDestination",
  "description": "The information about the provider's requests by destination.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-provider-requests-by-destination-api-openapi.yml#/components/schemas/ProviderRequestsbyDestination",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Category"
      }
    },
    "counts": {
      "$ref": "#/$defs/ProviderCountsByDestination"
    }
  },
  "required": [
    "categories",
    "counts",
    "domain"
  ],
  "$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."
        }
      }
    },
    "ProviderCountsByDestination": {
      "type": "object",
      "description": "The information about the provider's destinations.",
      "properties": {
        "total": {
          "type": "number",
          "description": "The total number of requests."
        },
        "totalblocked": {
          "type": "number",
          "description": "The total number of blocked requests."
        },
        "numberoforganizationsaffected": {
          "type": "number",
          "description": "The number of organizations with traffic for that category."
        }
      },
      "required": [
        "numberoforganizationsaffected",
        "total",
        "totalblocked"
      ]
    }
  }
}