{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BlockRepeatedDigits",
  "title": "BlockRepeatedDigits",
  "type": "object",
  "required": [
    "enabled",
    "max"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "example": true,
      "description": "If enabled, checks for sequence of the same digit being repeated."
    },
    "max": {
      "type": "integer",
      "minimum": 1,
      "maximum": 6,
      "example": 3,
      "description": "Maximum number of repeated digit sequence allowed. The minimum value is 1. The maximum value is 6."
    }
  },
  "description": "Settings to prevent single digits from being repeated in the passcode. For example, with a maximum value of 3, 111222 is allowed but 112222 is not allowed since it contains a repeated digit sequence longer than 3."
}