Stytch · Schema
api_password_v1_LUDSRequirements
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| has_lower_case | boolean | For LUDS validation, whether the password contains at least one lowercase letter. |
| has_upper_case | boolean | For LUDS validation, whether the password contains at least one uppercase letter. |
| has_digit | boolean | For LUDS validation, whether the password contains at least one digit. |
| has_symbol | boolean | For LUDS validation, whether the password contains at least one symbol. Any UTF8 character outside of a-z or A-Z may count as a valid symbol. |
| missing_complexity | integer | For LUDS validation, the number of complexity requirements that are missing from the password. Check the complexity fields to see which requirements are missing. |
| missing_characters | integer | For LUDS validation, this is the required length of the password that you've set minus the length of the password being checked. The user will need to add this many characters to the password to make |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/api_password_v1_LUDSRequirements",
"title": "api_password_v1_LUDSRequirements",
"type": "object",
"properties": {
"has_lower_case": {
"type": "boolean",
"description": "For LUDS validation, whether the password contains at least one lowercase letter."
},
"has_upper_case": {
"type": "boolean",
"description": "For LUDS validation, whether the password contains at least one uppercase letter."
},
"has_digit": {
"type": "boolean",
"description": "For LUDS validation, whether the password contains at least one digit."
},
"has_symbol": {
"type": "boolean",
"description": "For LUDS validation, whether the password contains at least one symbol. Any UTF8 character outside of a-z or A-Z may count as a valid symbol."
},
"missing_complexity": {
"type": "integer",
"format": "int32",
"description": "For LUDS validation, the number of complexity requirements that are missing from the password. Check the complexity fields to see which requirements are missing."
},
"missing_characters": {
"type": "integer",
"format": "int32",
"description": "For LUDS validation, this is the required length of the password that you've set minus the length of the password being checked. The user will need to add this many characters to the password to make it valid."
}
},
"required": [
"has_lower_case",
"has_upper_case",
"has_digit",
"has_symbol",
"missing_complexity",
"missing_characters"
]
}