52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://squeebot.lunasqu.ee/pkg/service-syncplay/syncplay.schema.json",
|
|
"title": "syncplay",
|
|
"description": "SyncPlay Service configuration",
|
|
"type": "object",
|
|
"properties": {
|
|
"instances": {
|
|
"type": "array",
|
|
"description": "List of all registered protocols",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Protocol's descriptive name"
|
|
},
|
|
"syncplay": {
|
|
"object": "string",
|
|
"description": "SyncPlay configuration",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Display name"
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"description": "Server host"
|
|
},
|
|
"port": {
|
|
"type": "integer",
|
|
"description": "Server port"
|
|
},
|
|
"room": {
|
|
"type": "string",
|
|
"description": "Room name"
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"description": "Server password"
|
|
}
|
|
},
|
|
"required": ["name", "host", "port", "room"]
|
|
}
|
|
},
|
|
"required": ["name", "syncplay"]
|
|
}
|
|
}
|
|
},
|
|
"required": ["instances"]
|
|
}
|