{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-admin-settings-get-response-schema.json",
  "title": "AdminSettingsGetResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-administrators-api-openapi.yml#/components/schemas/AdminSettingsGetResponse",
  "allOf": [
    {
      "$ref": "#/$defs/AdminSettingsResponse"
    },
    {
      "type": "object",
      "properties": {
        "more_items_remaining": {
          "description": "Returns a value of `true` if subsequent items can be retrieved.\n",
          "type": "boolean"
        },
        "total_item_count": {
          "description": "The total number of records after applying all filter query parameters.\nThe `total_item_count` will be calculated if and only if the corresponding\nquery parameter `total_item_count` is set to `true`. If this query parameter\nis not set or set to `false`, a value of `null` will be returned.\n",
          "type": "integer",
          "format": "int32"
        }
      }
    }
  ],
  "$defs": {
    "AdminSettings": {
      "description": "Global settings for administrative accounts.",
      "type": "object",
      "properties": {
        "lockout_duration": {
          "description": "The lockout duration, in milliseconds, if a user is locked out after reaching the maximum\nnumber of login attempts. Ranges from 1 second to 90 days.\n",
          "type": "integer",
          "format": "int64",
          "minimum": 1000,
          "maximum": 7776000000
        },
        "max_login_attempts": {
          "description": "Maximum number of failed login attempts allowed before the user is locked out.\n",
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "maximum": 20
        },
        "min_password_length": {
          "description": "Minimum password length. If not specified, defaults to 1.\n",
          "type": "integer",
          "format": "int32"
        },
        "required_authentication_methods": {
          "$ref": "#/$defs/_adminSettingsRequiredAuthenticationMethods"
        },
        "single_sign_on_enabled": {
          "description": "If `true`, then single sign-on is enabled for the array.\n",
          "type": "boolean"
        }
      }
    },
    "AdminSettingsResponse": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdminSettings"
          }
        }
      }
    },
    "_adminSettingsRequiredAuthenticationMethods": {
      "description": "Authentication methods that are required for the array on specific user\ninterfaces.\n",
      "type": "object",
      "properties": {
        "ssh": {
          "description": "List of authentication methods that are required for SSH.\nPossible values include `password`, `key`, and `default`.\n`securid-am` is a possible value, but it cannot be changed through PATCH.\nIf not specified, defaults to `default`.\nSpecify `password` and `key` authentication methods to set up\nlocal multi-factor authentication for SSH.\n",
          "type": "array",
          "items": {
            "type": "string",
            "description": "Authentication method required for SSH.\n"
          }
        },
        "web_ui": {
          "description": "List of authentication methods that are required for the web UI.\nPossible values include `password`, `webauthn`, and `default`.\nOther possible values include `saml2` and `securid-am`\nbut these cannot be changed through PATCH.\nIf not specified, defaults to `default`.\nSpecify `password` and `webauthn` authentication methods\nto set up local multi-factor authentication for web UI.\nExternal multi-factor authentication is configured through SAML2 SSO endpoints.\n",
          "type": "array",
          "items": {
            "type": "string",
            "description": "Authentication method required for the web UI.\n"
          }
        }
      }
    }
  }
}