{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/axway/main/json-schema/axway-password-policy-schema.json",
  "title": "PasswordPolicy",
  "description": "Password policy",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axway-auth-api-openapi.yml#/components/schemas/PasswordPolicy",
  "type": "object",
  "properties": {
    "length": {
      "type": "integer",
      "minimum": 9,
      "maximum": 127,
      "default": 8
    },
    "max_length": {
      "type": "integer",
      "minimum": 9,
      "maximum": 127,
      "default": 128
    },
    "lower": {
      "type": "integer",
      "minimum": 1
    },
    "upper": {
      "type": "integer",
      "minimum": 1
    },
    "special": {
      "type": "integer",
      "minimum": 1
    },
    "digit": {
      "type": "integer",
      "minimum": 1
    },
    "lockout": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "default": 5
    },
    "renewal": {
      "type": "integer",
      "minimum": 1
    },
    "history": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  }
}