38 lines
651 B
JSON
38 lines
651 B
JSON
|
{
|
||
|
"name": "UserPassword",
|
||
|
"description": "User password requirements",
|
||
|
"base": "PersistedModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "account.userPassword"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "Number",
|
||
|
"id": true,
|
||
|
"description": "Identifier"
|
||
|
},
|
||
|
"length": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"nAlpha": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"nUpper": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"nDigits": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
},
|
||
|
"nPunct": {
|
||
|
"type": "Number",
|
||
|
"required": true
|
||
|
}
|
||
|
}
|
||
|
}
|