77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"format": 1,
|
|
"seat": "node-bar",
|
|
"scope": "node",
|
|
"grain": "seat-list",
|
|
"domain": "Core",
|
|
"decision": "novox/hq ADR 0208",
|
|
"receives": [
|
|
{
|
|
"kind": "block",
|
|
"comment": "#",
|
|
"offered": true,
|
|
"shape": {
|
|
"places": [
|
|
{
|
|
"field": "bar",
|
|
"values": [
|
|
"bottom",
|
|
"top"
|
|
]
|
|
},
|
|
{
|
|
"field": "place",
|
|
"values": [
|
|
"resources",
|
|
"status"
|
|
]
|
|
}
|
|
],
|
|
"order": "order",
|
|
"examples": [
|
|
{
|
|
"bar": "bottom",
|
|
"place": "status",
|
|
"shows": "battery"
|
|
},
|
|
{
|
|
"bar": "bottom",
|
|
"options": {
|
|
"device": "BAT0"
|
|
},
|
|
"place": "status",
|
|
"shows": "battery"
|
|
},
|
|
{
|
|
"bar": "bottom",
|
|
"options": {
|
|
"command": "echo \"a line\"",
|
|
"interval": 5
|
|
},
|
|
"place": "status",
|
|
"shows": "command"
|
|
},
|
|
{
|
|
"bar": "bottom",
|
|
"options": {
|
|
"state": "power.draw"
|
|
},
|
|
"place": "status",
|
|
"shows": "state"
|
|
},
|
|
{
|
|
"bar": "bottom",
|
|
"options": {
|
|
"key": "a-machine",
|
|
"state": "power.draw"
|
|
},
|
|
"place": "status",
|
|
"shows": "state"
|
|
}
|
|
],
|
|
"text": true
|
|
}
|
|
}
|
|
]
|
|
}
|