{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-insite-brands-web-api-v1-api-models-brand-category-model-schema.json",
  "title": "Insite.Brands.WebApi.V1.ApiModels.BrandCategoryModel",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-brands-api-openapi.yml#/components/schemas/Insite.Brands.WebApi.V1.ApiModels.BrandCategoryModel",
  "type": "object",
  "properties": {
    "uri": {
      "type": "string"
    },
    "brandId": {
      "format": "uuid",
      "type": "string"
    },
    "categoryId": {
      "format": "uuid",
      "type": "string"
    },
    "contentManagerId": {
      "format": "uuid",
      "type": "string"
    },
    "categoryName": {
      "type": "string"
    },
    "categoryShortDescription": {
      "type": "string"
    },
    "featuredImagePath": {
      "type": "string"
    },
    "featuredImageAltText": {
      "type": "string"
    },
    "productListPagePath": {
      "type": "string"
    },
    "htmlContent": {
      "type": "string"
    },
    "subCategories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Insite.Brands.WebApi.V1.ApiModels.BrandCategoryModel"
      }
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "Insite.Brands.WebApi.V1.ApiModels.BrandCategoryModel": {
      "type": "object",
      "properties": {
        "uri": {
          "type": "string"
        },
        "brandId": {
          "format": "uuid",
          "type": "string"
        },
        "categoryId": {
          "format": "uuid",
          "type": "string"
        },
        "contentManagerId": {
          "format": "uuid",
          "type": "string"
        },
        "categoryName": {
          "type": "string"
        },
        "categoryShortDescription": {
          "type": "string"
        },
        "featuredImagePath": {
          "type": "string"
        },
        "featuredImageAltText": {
          "type": "string"
        },
        "productListPagePath": {
          "type": "string"
        },
        "htmlContent": {
          "type": "string"
        },
        "subCategories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Insite.Brands.WebApi.V1.ApiModels.BrandCategoryModel"
          }
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}