2020-05-10 22:19:32 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"title": "Whiteboard config",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"backend": {
|
|
|
|
"type": "object",
|
|
|
|
"required": ["accessToken", "performance", "webdav"],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"accessToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"webdav": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object",
|
|
|
|
"required": ["whiteboardInfoBroadcastFreq"],
|
|
|
|
"properties": {
|
|
|
|
"whiteboardInfoBroadcastFreq": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"frontend": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2020-05-10 23:13:55 +02:00
|
|
|
"required": ["readOnlyOnWhiteboardLoad", "showSmallestScreenIndicator", "performance"],
|
2020-05-10 22:19:32 +02:00
|
|
|
"properties": {
|
2020-05-10 23:13:55 +02:00
|
|
|
"readOnlyOnWhiteboardLoad": {
|
2020-05-10 22:19:32 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"showSmallestScreenIndicator": {
|
|
|
|
"type": "boolean"
|
2020-05-10 23:13:55 +02:00
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": ["pointerEventsThreshold", "refreshInfoFreq"],
|
|
|
|
"properties": {
|
|
|
|
"pointerEventsThreshold": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": ["minDistDelta", "minTimeDelta"],
|
|
|
|
"properties": {
|
|
|
|
"minDistDelta": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minTimeDelta": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"refreshInfoFreq": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
}
|
2020-05-10 22:19:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["backend", "frontend"],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|