{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-identity-distribution-schema.json",
  "title": "IdentityDistribution",
  "description": "The information about the identity distribution.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-identity-distribution-api-openapi.yml#/components/schemas/IdentityDistribution",
  "type": "object",
  "properties": {
    "counts": {
      "$ref": "#/$defs/RequestCounts"
    },
    "requests": {
      "type": "number",
      "description": "The requests made by the identity type."
    },
    "unique_identity_count": {
      "type": "number",
      "description": "The number unique identities associated with the identity type."
    },
    "identitytype": {
      "$ref": "#/$defs/IdentityType"
    }
  },
  "required": [
    "counts",
    "identitytype",
    "requests",
    "unique_identity_count"
  ],
  "$defs": {
    "IdentityType": {
      "type": "object",
      "description": "The information about the identity including the type.",
      "properties": {
        "id": {
          "type": "number",
          "description": "The ID of the origin type for the identity."
        },
        "label": {
          "type": "string",
          "description": "The label of the origin type for the identity."
        },
        "type": {
          "type": "string",
          "description": "The name of the origin type for the identity."
        }
      }
    },
    "RequestCounts": {
      "type": "object",
      "description": "The information about the requests.",
      "properties": {
        "requests": {
          "type": "number",
          "description": "The total number of requests."
        },
        "allowedrequests": {
          "type": "number",
          "description": "The number of requests that were allowed."
        },
        "blockedrequests": {
          "type": "number",
          "description": "The number of requests that were blocked."
        }
      }
    }
  }
}