{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apache-httpd/json-schema/apache-httpd-proxy-balancer-schema.json",
  "title": "ProxyBalancer",
  "description": "Apache mod_proxy_balancer pool configuration and status",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-httpd-balancer-api-openapi.yml#/components/schemas/ProxyBalancer",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Balancer URL"
    },
    "lbMethod": {
      "type": "string",
      "description": "Load balancing method"
    },
    "nonce": {
      "type": "string",
      "description": "Security nonce for balancer-manager"
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BalancerMember"
      },
      "description": "Balancer member backends"
    }
  },
  "$defs": {
    "BalancerMember": {
      "type": "object",
      "description": "Member of a mod_proxy_balancer load balancing pool",
      "properties": {
        "url": {
          "type": "string",
          "description": "Backend URL"
        },
        "scheme": {
          "type": "string",
          "description": "Protocol scheme"
        },
        "hostname": {
          "type": "string",
          "description": "Backend hostname"
        },
        "port": {
          "type": "integer",
          "description": "Backend port"
        },
        "loadFactor": {
          "type": "integer",
          "description": "Load factor weight"
        },
        "lbStatus": {
          "type": "string",
          "description": "Load balancer member status"
        }
      }
    }
  }
}