{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-http-settings-xo-schema.json",
  "title": "HttpSettingsXo",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-manage-sonatype-http-system-settings-api-openapi.yml#/components/schemas/HttpSettingsXo",
  "required": [
    "httpProxy",
    "httpsProxy",
    "retries",
    "timeout",
    "userAgent"
  ],
  "type": "object",
  "properties": {
    "nonProxyHosts": {
      "uniqueItems": true,
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "userAgent": {
      "type": "string",
      "description": "User-Agent Customization"
    },
    "timeout": {
      "maximum": 3600,
      "minimum": 1,
      "type": "integer",
      "description": "Connection/Socket Timeout",
      "format": "int32"
    },
    "retries": {
      "maximum": 10,
      "minimum": 0,
      "type": "integer",
      "description": "Connection/Socket Retry Attempts",
      "format": "int32"
    },
    "httpProxy": {
      "$ref": "#/$defs/ProxySettingsXo"
    },
    "httpsProxy": {
      "$ref": "#/$defs/ProxySettingsXo"
    }
  },
  "$defs": {
    "AuthSettingsXo": {
      "required": [
        "enabled",
        "ntlmDomain",
        "ntlmHost",
        "password",
        "username"
      ],
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "auth enabled"
        },
        "username": {
          "type": "string",
          "description": "user name"
        },
        "password": {
          "type": "string",
          "description": "user password"
        },
        "ntlmHost": {
          "type": "string",
          "description": "Windows NTLM Hostname"
        },
        "ntlmDomain": {
          "type": "string",
          "description": "Windows NTLM Domain"
        }
      }
    },
    "ProxySettingsXo": {
      "required": [
        "authInfo",
        "enabled",
        "host",
        "port"
      ],
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "proxy enabled"
        },
        "host": {
          "type": "string",
          "description": "proxy host"
        },
        "port": {
          "type": "string",
          "description": "proxy port"
        },
        "authInfo": {
          "$ref": "#/$defs/AuthSettingsXo"
        }
      }
    }
  }
}