{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/recorded-future/main/json-schema/recorded-future-malware-categories-response-schema.json",
  "title": "MalwareCategoriesResponse",
  "description": "Complete taxonomy of malware 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/MalwareCategoriesResponse",
  "type": "object",
  "properties": {
    "data": {
      "description": "List of malware categories",
      "type": "array",
      "items": {
        "properties": {
          "id": {
            "description": "Entity ID",
            "type": "string"
          },
          "type": {
            "description": "Entity type",
            "type": "string",
            "enum": [
              "MalwareCategory"
            ]
          },
          "attributes": {
            "$ref": "#/$defs/MalwareCategoryAttributes"
          }
        }
      }
    },
    "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": {
    "MalwareCategoryAlias": {
      "type": "object",
      "properties": {
        "alias": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "MalwareCategoryAttributes": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            }
          }
        },
        {
          "$ref": "#/$defs/MalwareCategoryAlias"
        }
      ]
    }
  }
}