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",
|
2020-05-11 16:00:45 +02:00
|
|
|
"required": ["accessToken", "performance", "enableWebdav"],
|
2020-05-10 22:19:32 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"accessToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-05-11 16:00:45 +02:00
|
|
|
"enableWebdav": {
|
2020-05-10 22:19:32 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object",
|
|
|
|
"required": ["whiteboardInfoBroadcastFreq"],
|
|
|
|
"properties": {
|
|
|
|
"whiteboardInfoBroadcastFreq": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"frontend": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2020-05-11 15:28:14 +02:00
|
|
|
"required": ["onWhiteboardLoad", "showSmallestScreenIndicator", "performance"],
|
2020-05-10 22:19:32 +02:00
|
|
|
"properties": {
|
2020-05-11 15:28:14 +02:00
|
|
|
"onWhiteboardLoad": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": ["displayInfo", "setReadOnly"],
|
|
|
|
"properties": {
|
|
|
|
"setReadOnly": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"displayInfo": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
}
|
2020-05-10 22:19:32 +02:00
|
|
|
},
|
|
|
|
"showSmallestScreenIndicator": {
|
|
|
|
"type": "boolean"
|
2020-05-10 23:13:55 +02:00
|
|
|
},
|
2020-05-20 14:24:33 +02:00
|
|
|
"imageDownloadFormat": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-05-10 23:13:55 +02:00
|
|
|
"performance": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2020-05-11 14:12:20 +02:00
|
|
|
"required": ["pointerEventsThrottling", "refreshInfoFreq"],
|
2020-05-10 23:13:55 +02:00
|
|
|
"properties": {
|
2020-05-11 14:12:20 +02:00
|
|
|
"pointerEventsThrottling": {
|
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2020-05-11 16:00:45 +02:00
|
|
|
"required": ["fromUserCount", "minDistDelta", "maxFreq"],
|
2020-05-11 14:12:20 +02:00
|
|
|
"properties": {
|
2020-05-11 16:00:45 +02:00
|
|
|
"fromUserCount": {
|
2020-05-11 14:12:20 +02:00
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minDistDelta": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"maxFreq": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
2020-05-10 23:13:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"refreshInfoFreq": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
}
|
2020-05-10 22:19:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["backend", "frontend"],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|