{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-category-tree-schema.json",
  "title": "CategoryTree",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-category-trees-api-openapi.yml#/components/schemas/CategoryTree",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tree"
      }
    },
    "meta": {
      "$ref": "#/$defs/metaEmpty_Full"
    }
  },
  "$defs": {
    "Tree": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        "channels": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        }
      },
      "x-tags": [
        "Models"
      ]
    },
    "metaEmpty_Full": {
      "type": "object",
      "title": "Response meta",
      "properties": {},
      "additionalProperties": true,
      "description": "Response metadata."
    }
  }
}