{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-episode-counts-response-schema.json",
  "title": "EpisodeCountsResponse",
  "description": "Counts by tier and by kind, from a grouped read of the same filters.\n\nExists for the same reason the decision counts endpoint does: a page that\ncounts its own rows reports the size of a window, not the size of a store.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-episodes-api-openapi.yml#/components/schemas/EpisodeCountsResponse",
  "properties": {
    "available": {
      "type": "boolean",
      "title": "Available",
      "default": true
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "default": 0
    },
    "by_tier": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "By Tier",
      "default": {}
    },
    "by_kind": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "By Kind",
      "default": {}
    }
  },
  "type": "object"
}