{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-category-list-schema.json",
  "title": "CategoryList",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-categories-api-openapi.yml#/components/schemas/CategoryList",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of categories."
    },
    "categories": {
      "type": "array",
      "description": "List of category records.",
      "items": {
        "$ref": "#/$defs/Category"
      }
    }
  },
  "$defs": {
    "Category": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the category."
        },
        "name": {
          "type": "string",
          "description": "Name of the category."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL of the category page."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "UTC date-time when the category was created."
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "UTC date-time when the category was last modified."
        }
      }
    }
  }
}