{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prowlarr/json-schema/prowlarr-system-resource-schema.json",
  "title": "SystemResource",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prowlarr-openapi.json#/components/schemas/SystemResource",
  "type": "object",
  "properties": {
    "appName": {
      "type": [
        "string",
        "null"
      ]
    },
    "instanceName": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "buildTime": {
      "type": "string",
      "format": "date-time"
    },
    "isDebug": {
      "type": "boolean"
    },
    "isProduction": {
      "type": "boolean"
    },
    "isAdmin": {
      "type": "boolean"
    },
    "isUserInteractive": {
      "type": "boolean"
    },
    "startupPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "appData": {
      "type": [
        "string",
        "null"
      ]
    },
    "osName": {
      "type": [
        "string",
        "null"
      ]
    },
    "osVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "isNetCore": {
      "type": "boolean"
    },
    "isLinux": {
      "type": "boolean"
    },
    "isOsx": {
      "type": "boolean"
    },
    "isWindows": {
      "type": "boolean"
    },
    "isDocker": {
      "type": "boolean"
    },
    "mode": {
      "$ref": "#/$defs/RuntimeMode"
    },
    "branch": {
      "type": [
        "string",
        "null"
      ]
    },
    "databaseType": {
      "$ref": "#/$defs/DatabaseType"
    },
    "databaseVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "authentication": {
      "$ref": "#/$defs/AuthenticationType"
    },
    "migrationVersion": {
      "type": "integer",
      "format": "int32"
    },
    "urlBase": {
      "type": [
        "string",
        "null"
      ]
    },
    "runtimeVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "runtimeName": {
      "type": [
        "string",
        "null"
      ]
    },
    "startTime": {
      "type": "string",
      "format": "date-time"
    },
    "packageVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "packageAuthor": {
      "type": [
        "string",
        "null"
      ]
    },
    "packageUpdateMechanism": {
      "$ref": "#/$defs/UpdateMechanism"
    },
    "packageUpdateMechanismMessage": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AuthenticationType": {
      "enum": [
        "none",
        "basic",
        "forms",
        "external"
      ],
      "type": "string"
    },
    "DatabaseType": {
      "enum": [
        "sqLite",
        "postgreSQL"
      ],
      "type": "string"
    },
    "RuntimeMode": {
      "enum": [
        "console",
        "service",
        "tray"
      ],
      "type": "string"
    },
    "UpdateMechanism": {
      "enum": [
        "builtIn",
        "script",
        "external",
        "apt",
        "docker"
      ],
      "type": "string"
    }
  }
}