2019-07-12 16:54:26 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"command": {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"enum" : ["authorize"]
|
|
|
|
},
|
|
|
|
"subcommand" : {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
2019-09-17 21:33:46 +02:00
|
|
|
"enum" : ["requestToken","createToken","deleteToken","getTokenList","logout","login","required","adminRequired","newPasswordRequired","newPassword","answerRequest","getPendingRequests"]
|
2019-07-12 16:54:26 +02:00
|
|
|
},
|
|
|
|
"tan" : {
|
|
|
|
"type" : "integer"
|
|
|
|
},
|
2019-09-17 21:33:46 +02:00
|
|
|
"password": {
|
2019-07-12 16:54:26 +02:00
|
|
|
"type": "string",
|
2019-09-17 21:33:46 +02:00
|
|
|
"minLength" : 8
|
2019-07-12 16:54:26 +02:00
|
|
|
},
|
2019-09-17 21:33:46 +02:00
|
|
|
"newPassword": {
|
2019-07-12 16:54:26 +02:00
|
|
|
"type": "string",
|
|
|
|
"minLength" : 8
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength" : 36
|
|
|
|
},
|
|
|
|
"comment" : {
|
|
|
|
"type" : "string",
|
|
|
|
"minLength" : 5
|
|
|
|
},
|
|
|
|
"id" : {
|
|
|
|
"type" : "string",
|
|
|
|
"minLength" : 5,
|
|
|
|
"maxLength" : 5
|
|
|
|
},
|
|
|
|
"accept" : {
|
|
|
|
"type" : "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|