53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"format": 1,
|
|
"seat": "node-notifier",
|
|
"scope": "node",
|
|
"grain": "seat-list",
|
|
"domain": "Core",
|
|
"decision": "novox/hq ADR 0208",
|
|
"verbs": [
|
|
{
|
|
"name": "send",
|
|
"description": "Show the operator a notification.",
|
|
"input": {
|
|
"properties": {
|
|
"body": {
|
|
"description": "its text (optional)",
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "the notification's summary",
|
|
"type": "string"
|
|
},
|
|
"urgency": {
|
|
"description": "low, normal (the default) or critical",
|
|
"enum": [
|
|
"low",
|
|
"normal",
|
|
"critical"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"title"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "history",
|
|
"description": "The notifications shown lately, newest first.",
|
|
"input": {
|
|
"properties": {
|
|
"limit": {
|
|
"description": "how many (optional, default 20)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
]
|
|
}
|