{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tubearchivist/json-schema/tubearchivist-download-stats-schema.json",
  "title": "DownloadStats",
  "description": "serialize download stats",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tubearchivist-stats-api-openapi.yml#/components/schemas/DownloadStats",
  "type": "object",
  "properties": {
    "pending": {
      "type": [
        "integer",
        "null"
      ]
    },
    "ignore": {
      "type": [
        "integer",
        "null"
      ]
    },
    "pending_videos": {
      "type": [
        "integer",
        "null"
      ]
    },
    "pending_shorts": {
      "type": [
        "integer",
        "null"
      ]
    },
    "pending_streams": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "ignore",
    "pending",
    "pending_shorts",
    "pending_streams",
    "pending_videos"
  ]
}