{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/raiffeisen-ru/main/json-schema/raiffeisen-ru-news-content-counter-resource-schema.json",
  "title": "NewsContentCounterResource",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/raiffeisen-ru-content-interactions-openapi.yml#/components/schemas/NewsContentCounterResource",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int64",
      "description": "Общее число нового контента"
    },
    "digestCount": {
      "type": "integer",
      "format": "int64",
      "description": "Число новых обзоров макроэкономики"
    },
    "productCount": {
      "type": "integer",
      "format": "int64",
      "description": "Число новых продуктовых новостей"
    },
    "webinarCount": {
      "type": "integer",
      "format": "int64",
      "description": "Число новых вебинароа"
    },
    "insightCount": {
      "type": "integer",
      "format": "int64",
      "description": "Число новых инсайтов (API инсайтов пока недоступно)"
    }
  },
  "required": [
    "count",
    "digestCount",
    "insightCount",
    "productCount",
    "webinarCount"
  ]
}