timelimit-server/docs/schema/RecoverParentPasswordRequest.schema.json
2022-09-12 02:00:00 +02:00

42 lines
No EOL
890 B
JSON

{
"type": "object",
"properties": {
"mailAuthToken": {
"type": "string"
},
"password": {
"$ref": "#/definitions/PlaintextParentPassword"
}
},
"additionalProperties": false,
"required": [
"mailAuthToken",
"password"
],
"definitions": {
"PlaintextParentPassword": {
"type": "object",
"properties": {
"hash": {
"type": "string"
},
"secondHash": {
"type": "string"
},
"secondSalt": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"hash",
"secondHash",
"secondSalt"
],
"title": "PlaintextParentPassword"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "RecoverParentPasswordRequest",
"$id": "https://timelimit.io/RecoverParentPasswordRequest"
}