{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prowlarr/json-schema/prowlarr-host-config-resource-schema.json",
  "title": "HostConfigResource",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prowlarr-openapi.json#/components/schemas/HostConfigResource",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "bindAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "port": {
      "type": "integer",
      "format": "int32"
    },
    "sslPort": {
      "type": "integer",
      "format": "int32"
    },
    "enableSsl": {
      "type": "boolean"
    },
    "launchBrowser": {
      "type": "boolean"
    },
    "authenticationMethod": {
      "$ref": "#/$defs/AuthenticationType"
    },
    "authenticationRequired": {
      "$ref": "#/$defs/AuthenticationRequiredType"
    },
    "analyticsEnabled": {
      "type": "boolean"
    },
    "username": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "passwordConfirmation": {
      "type": [
        "string",
        "null"
      ]
    },
    "logLevel": {
      "type": [
        "string",
        "null"
      ]
    },
    "logSizeLimit": {
      "type": "integer",
      "format": "int32"
    },
    "consoleLogLevel": {
      "type": [
        "string",
        "null"
      ]
    },
    "branch": {
      "type": [
        "string",
        "null"
      ]
    },
    "apiKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "sslCertPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "sslCertPassword": {
      "type": [
        "string",
        "null"
      ]
    },
    "urlBase": {
      "type": [
        "string",
        "null"
      ]
    },
    "instanceName": {
      "type": [
        "string",
        "null"
      ]
    },
    "applicationUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "updateAutomatically": {
      "type": "boolean"
    },
    "updateMechanism": {
      "$ref": "#/$defs/UpdateMechanism"
    },
    "updateScriptPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxyEnabled": {
      "type": "boolean"
    },
    "proxyType": {
      "$ref": "#/$defs/ProxyType"
    },
    "proxyHostname": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxyPort": {
      "type": "integer",
      "format": "int32"
    },
    "proxyUsername": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxyPassword": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxyBypassFilter": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxyBypassLocalAddresses": {
      "type": "boolean"
    },
    "certificateValidation": {
      "$ref": "#/$defs/CertificateValidationType"
    },
    "backupFolder": {
      "type": [
        "string",
        "null"
      ]
    },
    "backupInterval": {
      "type": "integer",
      "format": "int32"
    },
    "backupRetention": {
      "type": "integer",
      "format": "int32"
    },
    "historyCleanupDays": {
      "type": "integer",
      "format": "int32"
    },
    "trustCgnatIpAddresses": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AuthenticationRequiredType": {
      "enum": [
        "enabled",
        "disabledForLocalAddresses"
      ],
      "type": "string"
    },
    "AuthenticationType": {
      "enum": [
        "none",
        "basic",
        "forms",
        "external"
      ],
      "type": "string"
    },
    "CertificateValidationType": {
      "enum": [
        "enabled",
        "disabledForLocalAddresses",
        "disabled"
      ],
      "type": "string"
    },
    "ProxyType": {
      "enum": [
        "http",
        "socks4",
        "socks5"
      ],
      "type": "string"
    },
    "UpdateMechanism": {
      "enum": [
        "builtIn",
        "script",
        "external",
        "apt",
        "docker"
      ],
      "type": "string"
    }
  }
}