{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-ip-allow-list-settings-xo-schema.json",
  "title": "IpAllowListSettingsXO",
  "description": "IP Allow List settings",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-security-ip-allow-list-api-openapi.yml#/components/schemas/IpAllowListSettingsXO",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "Current mode: DISABLED, MONITOR, or ENFORCE",
      "enum": [
        "DISABLED",
        "MONITOR",
        "ENFORCE"
      ]
    },
    "effectiveMode": {
      "type": "string",
      "description": "The mode currently being applied. May differ from 'mode' when the feature is force-disabled, or when the mode is ENFORCE with an empty allow list (which is not enforced, as it would deny all requests).",
      "enum": [
        "DISABLED",
        "MONITOR",
        "ENFORCE"
      ]
    },
    "featureEnabled": {
      "type": "boolean",
      "description": "Whether the IP Allow List feature is currently enabled"
    },
    "totalEntries": {
      "type": "integer",
      "description": "Total number of entries in the allow list",
      "format": "int32"
    },
    "maxEntries": {
      "type": "integer",
      "description": "Maximum number of entries allowed",
      "format": "int32"
    },
    "ipv4AddressesCovered": {
      "type": "integer",
      "description": "Number of individual IPv4 addresses covered by IPv4 and CIDR_IPV4 entries",
      "format": "int64"
    },
    "ipv6AddressesCovered": {
      "type": "integer",
      "description": "Number of individual IPv6 addresses covered by IPv6 and CIDR_IPV6 entries",
      "format": "int64"
    }
  }
}