{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sonarr/json-schema/sonarr-queue-resource-schema.json",
  "title": "QueueResource",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sonarr-openapi.json#/components/schemas/QueueResource",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "seriesId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "episodeIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int32"
      }
    },
    "seasonNumbers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int32"
      }
    },
    "series": {
      "$ref": "#/$defs/SeriesResource"
    },
    "episodes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EpisodeResource"
      }
    },
    "languages": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Language"
      }
    },
    "quality": {
      "$ref": "#/$defs/QualityModel"
    },
    "customFormats": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CustomFormatResource"
      }
    },
    "customFormatScore": {
      "type": "integer",
      "format": "int32"
    },
    "size": {
      "type": "number",
      "format": "double"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "sizeLeft": {
      "type": "number",
      "format": "double"
    },
    "timeLeft": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-span"
    },
    "estimatedCompletionTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "added": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "status": {
      "$ref": "#/$defs/QueueStatus"
    },
    "trackedDownloadStatus": {
      "$ref": "#/$defs/TrackedDownloadStatus"
    },
    "trackedDownloadState": {
      "$ref": "#/$defs/TrackedDownloadState"
    },
    "statusMessages": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/TrackedDownloadStatusMessage"
      }
    },
    "errorMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "downloadId": {
      "type": [
        "string",
        "null"
      ]
    },
    "protocol": {
      "$ref": "#/$defs/DownloadProtocol"
    },
    "downloadClient": {
      "type": [
        "string",
        "null"
      ]
    },
    "downloadClientHasPostImportCategory": {
      "type": "boolean"
    },
    "indexer": {
      "type": [
        "string",
        "null"
      ]
    },
    "outputPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "episodesWithFilesCount": {
      "type": "integer",
      "format": "int32"
    },
    "isFullSeason": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AddSeriesOptions": {
      "type": "object",
      "properties": {
        "ignoreEpisodesWithFiles": {
          "type": "boolean"
        },
        "ignoreEpisodesWithoutFiles": {
          "type": "boolean"
        },
        "monitor": {
          "$ref": "#/$defs/MonitorTypes"
        },
        "searchForMissingEpisodes": {
          "type": "boolean"
        },
        "searchForCutoffUnmetEpisodes": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "AlternateTitleResource": {
      "type": "object",
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "seasonNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "sceneSeasonNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "sceneOrigin": {
          "type": [
            "string",
            "null"
          ]
        },
        "comment": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "CustomFormatResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "includeCustomFormatWhenRenaming": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "specifications": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CustomFormatSpecificationSchema"
          }
        }
      },
      "additionalProperties": false
    },
    "CustomFormatSpecificationSchema": {
      "required": [
        "fields",
        "implementation",
        "implementationName",
        "infoLink",
        "name"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "implementation": {
          "type": [
            "string",
            "null"
          ]
        },
        "implementationName": {
          "type": [
            "string",
            "null"
          ]
        },
        "infoLink": {
          "type": [
            "string",
            "null"
          ]
        },
        "negate": {
          "type": "boolean"
        },
        "required": {
          "type": "boolean"
        },
        "fields": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Field"
          }
        },
        "presets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CustomFormatSpecificationSchema"
          }
        }
      },
      "additionalProperties": false
    },
    "DownloadProtocol": {
      "enum": [
        "unknown",
        "usenet",
        "torrent"
      ],
      "type": "string"
    },
    "EpisodeFileResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "seriesId": {
          "type": "integer",
          "format": "int32"
        },
        "seasonNumber": {
          "type": "integer",
          "format": "int32"
        },
        "relativePath": {
          "type": [
            "string",
            "null"
          ]
        },
        "path": {
          "type": [
            "string",
            "null"
          ]
        },
        "size": {
          "type": "integer",
          "format": "int64"
        },
        "dateAdded": {
          "type": "string",
          "format": "date-time"
        },
        "sceneName": {
          "type": [
            "string",
            "null"
          ]
        },
        "releaseGroup": {
          "type": [
            "string",
            "null"
          ]
        },
        "languages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Language"
          }
        },
        "quality": {
          "$ref": "#/$defs/QualityModel"
        },
        "customFormats": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/CustomFormatResource"
          }
        },
        "customFormatScore": {
          "type": "integer",
          "format": "int32"
        },
        "indexerFlags": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "releaseType": {
          "$ref": "#/$defs/ReleaseType"
        },
        "mediaInfo": {
          "$ref": "#/$defs/MediaInfoResource"
        },
        "qualityCutoffNotMet": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "EpisodeResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "seriesId": {
          "type": "integer",
          "format": "int32"
        },
        "tvdbId": {
          "type": "integer",
          "format": "int32"
        },
        "episodeFileId": {
          "type": "integer",
          "format": "int32"
        },
        "seasonNumber": {
          "type": "integer",
          "format": "int32"
        },
        "episodeNumber": {
          "type": "integer",
          "format": "int32"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "airDate": {
          "type": [
            "string",
            "null"
          ]
        },
        "airDateUtc": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastSearchTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "runtime": {
          "type": "integer",
          "format": "int32"
        },
        "finaleType": {
          "type": [
            "string",
            "null"
          ]
        },
        "overview": {
          "type": [
            "string",
            "null"
          ]
        },
        "episodeFile": {
          "$ref": "#/$defs/EpisodeFileResource"
        },
        "hasFile": {
          "type": "boolean"
        },
        "monitored": {
          "type": "boolean"
        },
        "absoluteEpisodeNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "sceneAbsoluteEpisodeNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "sceneEpisodeNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "sceneSeasonNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "unverifiedSceneNumbering": {
          "type": "boolean"
        },
        "endTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "grabDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "series": {
          "$ref": "#/$defs/SeriesResource"
        },
        "images": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MediaCover"
          }
        }
      },
      "additionalProperties": false
    },
    "Field": {
      "type": "object",
      "properties": {
        "order": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "helpText": {
          "type": [
            "string",
            "null"
          ]
        },
        "helpTextWarning": {
          "type": [
            "string",
            "null"
          ]
        },
        "helpLink": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {},
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "advanced": {
          "type": "boolean"
        },
        "selectOptions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/SelectOption"
          }
        },
        "selectOptionsProviderAction": {
          "type": [
            "string",
            "null"
          ]
        },
        "section": {
          "type": [
            "string",
            "null"
          ]
        },
        "hidden": {
          "type": [
            "string",
            "null"
          ]
        },
        "privacy": {
          "$ref": "#/$defs/PrivacyLevel"
        },
        "placeholder": {
          "type": [
            "string",
            "null"
          ]
        },
        "isFloat": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "Language": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "MediaCover": {
      "type": "object",
      "properties": {
        "coverType": {
          "$ref": "#/$defs/MediaCoverTypes"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "remoteUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "MediaCoverTypes": {
      "enum": [
        "unknown",
        "poster",
        "banner",
        "fanart",
        "screenshot",
        "headshot",
        "clearlogo"
      ],
      "type": "string"
    },
    "MediaInfoAudioStreamResource": {
      "type": "object",
      "properties": {
        "language": {
          "type": [
            "string",
            "null"
          ]
        },
        "codec": {
          "type": [
            "string",
            "null"
          ]
        },
        "profile": {
          "type": [
            "string",
            "null"
          ]
        },
        "bitrate": {
          "type": "integer",
          "format": "int64"
        },
        "channels": {
          "type": "number",
          "format": "double"
        },
        "channelPositions": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "MediaInfoResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "videoBitDepth": {
          "type": "integer",
          "format": "int32"
        },
        "videoBitrate": {
          "type": "integer",
          "format": "int64"
        },
        "videoCodec": {
          "type": [
            "string",
            "null"
          ]
        },
        "videoFps": {
          "type": "number",
          "format": "double"
        },
        "videoDynamicRange": {
          "type": [
            "string",
            "null"
          ]
        },
        "videoDynamicRangeType": {
          "type": [
            "string",
            "null"
          ]
        },
        "resolution": {
          "type": [
            "string",
            "null"
          ]
        },
        "runTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "scanType": {
          "type": [
            "string",
            "null"
          ]
        },
        "audioStreams": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MediaInfoAudioStreamResource"
          }
        },
        "subtitleStreams": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MediaInfoSubtitleStreamResource"
          }
        }
      },
      "additionalProperties": false
    },
    "MediaInfoSubtitleStreamResource": {
      "type": "object",
      "properties": {
        "language": {
          "type": [
            "string",
            "null"
          ]
        },
        "format": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "forced": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "hearingImpaired": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "MonitorTypes": {
      "enum": [
        "unknown",
        "all",
        "future",
        "missing",
        "existing",
        "firstSeason",
        "lastSeason",
        "latestSeason",
        "pilot",
        "recent",
        "monitorSpecials",
        "unmonitorSpecials",
        "none",
        "skip"
      ],
      "type": "string"
    },
    "NewItemMonitorTypes": {
      "enum": [
        "all",
        "none"
      ],
      "type": "string"
    },
    "PrivacyLevel": {
      "enum": [
        "normal",
        "password",
        "apiKey",
        "userName"
      ],
      "type": "string"
    },
    "Quality": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "$ref": "#/$defs/QualitySource"
        },
        "resolution": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "QualityModel": {
      "type": "object",
      "properties": {
        "quality": {
          "$ref": "#/$defs/Quality"
        },
        "revision": {
          "$ref": "#/$defs/Revision"
        }
      },
      "additionalProperties": false
    },
    "QualitySource": {
      "enum": [
        "unknown",
        "television",
        "televisionRaw",
        "web",
        "webRip",
        "dvd",
        "bluray",
        "blurayRaw"
      ],
      "type": "string"
    },
    "QueueStatus": {
      "enum": [
        "unknown",
        "queued",
        "paused",
        "downloading",
        "completed",
        "failed",
        "warning",
        "delay",
        "downloadClientUnavailable",
        "fallback"
      ],
      "type": "string"
    },
    "Ratings": {
      "type": "object",
      "properties": {
        "votes": {
          "type": "integer",
          "format": "int32"
        },
        "value": {
          "type": "number",
          "format": "double"
        }
      },
      "additionalProperties": false
    },
    "ReleaseType": {
      "enum": [
        "unknown",
        "singleEpisode",
        "multiEpisode",
        "seasonPack"
      ],
      "type": "string"
    },
    "Revision": {
      "type": "object",
      "properties": {
        "version": {
          "type": "integer",
          "format": "int32"
        },
        "real": {
          "type": "integer",
          "format": "int32"
        },
        "isRepack": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "SeasonResource": {
      "type": "object",
      "properties": {
        "seasonNumber": {
          "type": "integer",
          "format": "int32"
        },
        "monitored": {
          "type": "boolean"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "statistics": {
          "$ref": "#/$defs/SeasonStatisticsResource"
        },
        "images": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MediaCover"
          }
        }
      },
      "additionalProperties": false
    },
    "SeasonStatisticsResource": {
      "type": "object",
      "properties": {
        "nextAiring": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "previousAiring": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "episodeFileCount": {
          "type": "integer",
          "format": "int32"
        },
        "episodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "totalEpisodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "monitoredEpisodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "sizeOnDisk": {
          "type": "integer",
          "format": "int64"
        },
        "releaseGroups": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "releaseTypes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ReleaseType"
          }
        },
        "episodeFileQualities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Quality"
          }
        },
        "percentOfEpisodes": {
          "type": "number",
          "format": "double",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "SeasonTypeResource": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "seasonNumbers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "episodeCount": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "SelectOption": {
      "type": "object",
      "properties": {
        "value": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "order": {
          "type": "integer",
          "format": "int32"
        },
        "hint": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "SeriesFolderResource": {
      "required": [
        "folder",
        "language"
      ],
      "type": "object",
      "properties": {
        "language": {
          "$ref": "#/$defs/Language"
        },
        "folder": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "SeriesResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "alternateTitles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/AlternateTitleResource"
          }
        },
        "sortTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "$ref": "#/$defs/SeriesStatusType"
        },
        "ended": {
          "type": "boolean",
          "readOnly": true
        },
        "profileName": {
          "type": [
            "string",
            "null"
          ]
        },
        "overview": {
          "type": [
            "string",
            "null"
          ]
        },
        "nextAiring": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "previousAiring": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "airTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "images": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/MediaCover"
          }
        },
        "language": {
          "$ref": "#/$defs/Language"
        },
        "originalLanguage": {
          "$ref": "#/$defs/Language"
        },
        "remotePoster": {
          "type": [
            "string",
            "null"
          ]
        },
        "seasonType": {
          "type": [
            "string",
            "null"
          ]
        },
        "seasons": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/SeasonResource"
          }
        },
        "seasonTypes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/SeasonTypeResource"
          }
        },
        "translations": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/SeriesTranslationResource"
          }
        },
        "year": {
          "type": "integer",
          "format": "int32"
        },
        "path": {
          "type": [
            "string",
            "null"
          ]
        },
        "pendingPath": {
          "type": [
            "string",
            "null"
          ]
        },
        "qualityProfileId": {
          "type": "integer",
          "format": "int32"
        },
        "seasonFolder": {
          "type": "boolean"
        },
        "monitored": {
          "type": "boolean"
        },
        "monitorNewItems": {
          "$ref": "#/$defs/NewItemMonitorTypes"
        },
        "useSceneNumbering": {
          "type": "boolean"
        },
        "runtime": {
          "type": "integer",
          "format": "int32"
        },
        "tvdbId": {
          "type": "integer",
          "format": "int32"
        },
        "tvRageId": {
          "type": "integer",
          "format": "int32"
        },
        "tvMazeId": {
          "type": "integer",
          "format": "int32"
        },
        "tmdbId": {
          "type": "integer",
          "format": "int32"
        },
        "malIds": {
          "uniqueItems": true,
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "aniListIds": {
          "uniqueItems": true,
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "firstAired": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastAired": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "seriesType": {
          "$ref": "#/$defs/SeriesTypes"
        },
        "originalTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "cleanTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "cleanOriginalTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "imdbId": {
          "type": [
            "string",
            "null"
          ]
        },
        "titleSlug": {
          "type": [
            "string",
            "null"
          ]
        },
        "rootFolderPath": {
          "type": [
            "string",
            "null"
          ]
        },
        "folder": {
          "type": [
            "string",
            "null"
          ]
        },
        "folders": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/SeriesFolderResource"
          }
        },
        "certification": {
          "type": [
            "string",
            "null"
          ]
        },
        "genres": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "originalCountry": {
          "type": [
            "string",
            "null"
          ]
        },
        "tags": {
          "uniqueItems": true,
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "added": {
          "type": "string",
          "format": "date-time"
        },
        "addOptions": {
          "$ref": "#/$defs/AddSeriesOptions"
        },
        "ratings": {
          "$ref": "#/$defs/Ratings"
        },
        "statistics": {
          "$ref": "#/$defs/SeriesStatisticsResource"
        },
        "episodesChanged": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "SeriesStatisticsResource": {
      "type": "object",
      "properties": {
        "seasonCount": {
          "type": "integer",
          "format": "int32"
        },
        "episodeFileCount": {
          "type": "integer",
          "format": "int32"
        },
        "episodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "totalEpisodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "monitoredEpisodeCount": {
          "type": "integer",
          "format": "int32"
        },
        "sizeOnDisk": {
          "type": "integer",
          "format": "int64"
        },
        "releaseGroups": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "releaseTypes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ReleaseType"
          }
        },
        "episodeFileQualities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Quality"
          }
        },
        "percentOfEpisodes": {
          "type": "number",
          "format": "double",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "SeriesStatusType": {
      "enum": [
        "continuing",
        "ended",
        "upcoming",
        "deleted"
      ],
      "type": "string"
    },
    "SeriesTranslationResource": {
      "type": "object",
      "properties": {
        "language": {
          "$ref": "#/$defs/Language"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "overview": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "SeriesTypes": {
      "enum": [
        "standard",
        "daily",
        "anime"
      ],
      "type": "string"
    },
    "TrackedDownloadState": {
      "enum": [
        "downloading",
        "importBlocked",
        "importPending",
        "importing",
        "imported",
        "failedPending",
        "failed",
        "ignored"
      ],
      "type": "string"
    },
    "TrackedDownloadStatus": {
      "enum": [
        "ok",
        "warning",
        "error"
      ],
      "type": "string"
    },
    "TrackedDownloadStatusMessage": {
      "type": "object",
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "messages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    }
  }
}