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,38 @@
{
"type": "object",
"properties": {
"mailAuthToken": {
"type": "string"
},
"parentDevice": {
"$ref": "#/definitions/NewDeviceInfo"
},
"deviceName": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"deviceName",
"mailAuthToken",
"parentDevice"
],
"definitions": {
"NewDeviceInfo": {
"type": "object",
"properties": {
"model": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"model"
],
"title": "NewDeviceInfo"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SignIntoFamilyRequest",
"$id": "https://timelimit.io/SignIntoFamilyRequest"
}