LoginBody
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
username |
string | Yes | minimum length 3. maximum length 64 |
password |
string | Yes | minimum length 1. maximum length 128 |
totpCode |
string or null | No | |
recoveryCode |
string or null | No |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "username": { "type": "string", "maxLength": 64, "minLength": 3, "title": "Username" }, "password": { "type": "string", "maxLength": 128, "minLength": 1, "title": "Password" }, "totpCode": { "anyOf": [ { "type": "string", "pattern": "^[0-9]{6}$" }, { "type": "null" } ], "title": "Totpcode" }, "recoveryCode": { "anyOf": [ { "type": "string", "maxLength": 80, "minLength": 1 }, { "type": "null" } ], "title": "Recoverycode" } }, "additionalProperties": false, "type": "object", "required": [ "username", "password" ], "title": "LoginBody"}