Add the reusable RMS core application (server, web UI, plugins, tests, tools) with generic defaults, GPL licensing, and maintainer context documentation so deployments can consume this repo as software source independent of station-specific overlays.
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"id": "rms.rfroute.shell",
|
|
"name": "RF Route Shell",
|
|
"version": "1.0.0",
|
|
"apiVersion": "1.0",
|
|
"capabilities": [
|
|
"rfroute.set",
|
|
"rfroute.read"
|
|
],
|
|
"settingsSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"defaultRoute": {
|
|
"type": "string",
|
|
"enum": ["tx", "rx", "on", "off", "draht", "beam", "wrtc"]
|
|
},
|
|
"timeoutMs": { "type": "integer", "minimum": 1000 }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"uiControls": [
|
|
{
|
|
"controlId": "rfroute-main",
|
|
"controlType": "switch.group",
|
|
"title": "RF Route",
|
|
"capability": "rfroute.set",
|
|
"actions": [
|
|
{
|
|
"name": "setRoute",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"route": {
|
|
"type": "string",
|
|
"enum": ["tx", "rx", "on", "off", "draht", "beam", "wrtc"]
|
|
}
|
|
},
|
|
"required": ["route"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
],
|
|
"viewSchema": {
|
|
"options": [
|
|
{ "value": "tx", "label": "TX" },
|
|
{ "value": "rx", "label": "RX" },
|
|
{ "value": "on", "label": "TRX ON" },
|
|
{ "value": "off", "label": "TRX OFF" },
|
|
{ "value": "draht", "label": "Draht" },
|
|
{ "value": "beam", "label": "Beam" },
|
|
{ "value": "wrtc", "label": "WRTC" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|