{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prowlarr/json-schema/prowlarr-update-resource-schema.json",
  "title": "UpdateResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prowlarr-update-api-openapi.yml#/components/schemas/UpdateResource",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "branch": {
      "type": [
        "string",
        "null"
      ]
    },
    "releaseDate": {
      "type": "string",
      "format": "date-time"
    },
    "fileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "installed": {
      "type": "boolean"
    },
    "installedOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "installable": {
      "type": "boolean"
    },
    "latest": {
      "type": "boolean"
    },
    "changes": {
      "$ref": "#/$defs/UpdateChanges"
    },
    "hash": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "UpdateChanges": {
      "type": "object",
      "properties": {
        "new": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "fixed": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    }
  }
}