mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add documentation of the json schemas
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user