{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-anonymous-access-settings-xo-schema.json",
  "title": "AnonymousAccessSettingsXO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-security-management-anonymous-access-api-openapi.yml#/components/schemas/AnonymousAccessSettingsXO",
  "required": [
    "realmName",
    "userId"
  ],
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether or not Anonymous Access is enabled"
    },
    "userId": {
      "minLength": 1,
      "type": "string",
      "description": "The username of the anonymous account"
    },
    "realmName": {
      "minLength": 1,
      "type": "string",
      "description": "The name of the authentication realm for the anonymous account"
    }
  }
}