bridge-node-server/node_server/schemas/ChangePassword.json

28 lines
780 B
JSON
Raw Normal View History

2018-06-24 20:15:03 +00:00
{
"$id": "ChangePassword",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ChangePassword",
"description": "See http://10.0.10.242/w/tricore_architecture/server_interface/account_commands/changepassword/",
"type": "object",
"required": [
"DeviceToken",
"SessionToken",
"Password",
"NewPassword"
],
"additionalProperties": false,
"properties": {
"DeviceToken": {
"$ref": "defs/#/definitions/DeviceToken"
},
"SessionToken": {
"$ref": "defs/#/definitions/SessionToken"
},
"Password": {
"$ref": "defs/#/definitions/sha256"
},
"NewPassword": {
"$ref": "defs/#/definitions/sha256"
}
}
}