1 | {
|
2 | "$id": "requestPassword",
|
3 | "type": "object",
|
4 | "required": [
|
5 | "username"
|
6 | ],
|
7 | "properties": {
|
8 | "username": {
|
9 | "description": "User `id` or `alias`",
|
10 | "type": "string",
|
11 | "minLength": 3,
|
12 | "maxLength": 50
|
13 | },
|
14 | "remoteip": {
|
15 | "description": "IP address of the requester",
|
16 | "type": "string",
|
17 | "format": "ipv4"
|
18 | },
|
19 | "generateNewPassword": {
|
20 | "description": "Send password immediately",
|
21 | "default": false,
|
22 | "type": "boolean"
|
23 | },
|
24 | "challengeType": {
|
25 | "default": "email",
|
26 | "$ref": "common.json#/definitions/challengeType"
|
27 | }
|
28 | }
|
29 | } |
\ | No newline at end of file |