Add documentation of the json schemas

This commit is contained in:
Jonas Lochmann
2020-04-27 02:00:00 +02:00
parent 7a4cfd72c0
commit 6f0ba87199
461 changed files with 20587 additions and 8 deletions
@@ -0,0 +1,42 @@
{
"type": "object",
"properties": {
"mailAuthToken": {
"type": "string"
},
"password": {
"$ref": "#/definitions/ParentPassword"
}
},
"additionalProperties": false,
"required": [
"mailAuthToken",
"password"
],
"definitions": {
"ParentPassword": {
"type": "object",
"properties": {
"hash": {
"type": "string"
},
"secondHash": {
"type": "string"
},
"secondSalt": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"hash",
"secondHash",
"secondSalt"
],
"title": "ParentPassword"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "RecoverParentPasswordRequest",
"$id": "https://timelimit.io/RecoverParentPasswordRequest"
}