{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-brand-compliance-categories-response-schema.json",
  "title": "BrandComplianceCategoriesResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-brand-compliance-api-openapi.yml#/components/schemas/BrandComplianceCategoriesResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the category"
    },
    "name": {
      "type": "string",
      "description": "Name of the category"
    },
    "criteria": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the criteria"
          },
          "name": {
            "type": "string",
            "description": "Name of the criteria"
          },
          "description": {
            "type": "string",
            "description": "Details about the criteria"
          }
        },
        "required": [
          "id"
        ]
      }
    }
  },
  "required": [
    "id",
    "criteria"
  ]
}