{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetCategoryTreeChild",
  "title": "GetCategoryTreeChild",
  "required": [
    "id",
    "name",
    "hasChildren",
    "url",
    "children",
    "Title",
    "MetaTagDescription"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32",
      "description": "Category ID.",
      "example": 1
    },
    "name": {
      "type": "string",
      "description": "Category name.",
      "example": "Dolls"
    },
    "hasChildren": {
      "type": "boolean",
      "description": "If the category has a category child (`true`) or not (`false`).",
      "example": true
    },
    "url": {
      "type": "string",
      "description": "Category URL.",
      "example": "https://lojadobreno.vtexcommercestable.com.br/dolls"
    },
    "children": {
      "type": "array",
      "description": "Array with information about the category's children.",
      "items": {}
    },
    "Title": {
      "type": "string",
      "description": "Category page title.",
      "example": "Dolls"
    },
    "MetaTagDescription": {
      "type": "string",
      "description": "Category page Meta tag description.",
      "example": "New and used dolls for sale."
    }
  },
  "example": {
    "id": 78,
    "name": "Xbox 360",
    "hasChildren": false,
    "url": "https://ambienteqa.vtexcommercestable.com.br/games/xbox-360",
    "children": [
      {
        "id": 79,
        "name": "Consoles",
        "hasChildren": false,
        "url": "https://ambienteqa.vtexcommercestable.com.br/games/xbox-360/consoles",
        "children": []
      },
      {
        "id": 126,
        "name": "Acessorio",
        "hasChildren": false,
        "url": "https://ambienteqa.vtexcommercestable.com.br/games/xbox-360/acessorio",
        "children": []
      }
    ],
    "Title": "Games",
    "MetaTagDescription": "Video games."
  }
}