{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/joinposter-com/json-schema/joinposter-com-get-api-menu-getcategory-response-schema.json",
  "title": "GetApiMenuGetcategoryResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/joinposter-com-openapi-generated.yml#/components/schemas/GetApiMenuGetcategoryResponse",
  "type": "object",
  "properties": {
    "response": {
      "type": "object",
      "description": "Объект ответа"
    },
    "response.category_id": {
      "type": "integer",
      "description": "ID категории"
    },
    "response.category_name": {
      "type": "string",
      "description": "Название категории"
    },
    "response.category_photo": {
      "type": "string",
      "description": "Фотография категории"
    },
    "response.category_photo_origin": {
      "type": "string",
      "description": "Оригинал загруженной фотографии"
    },
    "response.parent_category": {
      "type": "integer",
      "description": "ID родительской категории"
    },
    "response.category_color": {
      "type": "string",
      "description": "Цвет категории"
    },
    "response.category_hidden": {
      "type": "integer",
      "description": "Признак, что категория скрыта: 0 — не скрыта, 1 — скрыта"
    },
    "response.sort_order": {
      "type": "integer",
      "description": "Порядок сортировки"
    },
    "response.fiscal": {
      "type": "integer",
      "description": "Признак фискальности категории: 0 — нефискальная, 1 — фискальная"
    },
    "response.nodiscount": {
      "type": "integer",
      "description": "Признак, что распространяются скидки: 0 — не распространяются, 1 — распространяются"
    },
    "response.tax_id": {
      "type": "integer",
      "description": "ID налога"
    },
    "response.left": {
      "type": "integer",
      "description": "ID категории слева (по Nested Set)"
    },
    "response.right": {
      "type": "integer",
      "description": "ID категории справа (по Nested Set)"
    },
    "response.level": {
      "type": "integer",
      "description": "Уровень вложенности ветки дерева категорий (по Nested Set)"
    },
    "response.category_tag": {
      "type": "string",
      "description": "Предполагаемый тип продуктов в категории, который определил алгоритм машинного обучения. Например, `coffee`, `alcohol`, может быть `null`."
    },
    "response.visible": {
      "type": "array",
      "description": "Массив в каждом объекте которого есть признак видимости категории в заведении"
    },
    "response.visible[].spot_id": {
      "type": "integer",
      "description": "ID заведения"
    },
    "response.visible[].visible": {
      "type": "integer",
      "description": "Признак, что категория видна в этом заведении: 0 — скрыта, 1 — видна"
    },
    "response.id_1c": {
      "type": "string",
      "description": "ID категории товаров в системе 1С"
    }
  }
}