{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/recorded-future/main/json-schema/recorded-future-categories-response-schema.json",
  "title": "CategoriesResponse",
  "description": "Complete taxonomy of threat actor categories.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recorded-future-threat-api-openapi.yml#/components/schemas/CategoriesResponse",
  "type": "object",
  "properties": {
    "data": {
      "description": "List of threat actor categories",
      "type": "array",
      "items": {
        "properties": {
          "id": {
            "description": "Entity ID",
            "type": "string"
          },
          "type": {
            "description": "Entity type",
            "type": "string",
            "enum": [
              "CyberThreatActorCategory"
            ]
          },
          "attributes": {
            "$ref": "#/$defs/ActorCategoryAttributes"
          }
        }
      }
    },
    "counts": {
      "type": "object",
      "properties": {
        "returned": {
          "description": "Number of items returned in this response",
          "type": "integer",
          "format": "int32"
        },
        "total": {
          "description": "Total number of items that can be retrieved",
          "type": "integer",
          "format": "int32"
        }
      }
    }
  },
  "$defs": {
    "ActorCategoryAttributes": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            }
          }
        },
        {
          "$ref": "#/$defs/CategoryAlias"
        }
      ]
    },
    "CategoryAlias": {
      "type": "object",
      "properties": {
        "alias": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}