{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SuspiciousIPThrottlingPreLoginStage",
  "title": "SuspiciousIPThrottlingPreLoginStage",
  "type": "object",
  "description": "Configuration options that apply before every login attempt.",
  "additionalProperties": false,
  "properties": {
    "max_attempts": {
      "type": "integer",
      "description": "Total number of attempts allowed per day.",
      "default": 100,
      "minimum": 1,
      "maximum": 2500
    },
    "rate": {
      "type": "integer",
      "description": "Interval of time, given in milliseconds, at which new attempts are granted.",
      "default": 864000,
      "minimum": 34560,
      "maximum": 86400000
    }
  }
}