[upd] doc:schema

This commit is contained in:
Christian Fraß 2023-03-22 14:26:40 +01:00
parent 554ca49c49
commit d5edd7e947

View file

@ -19,7 +19,7 @@
"default": 3
},
"annoy": {
"description": "whether notifications shall be kept sending after the threshold has been surpassed",
"description": "whether notifications about non-ok states shall be kept sending after the threshold has been surpassed",
"type": "boolean",
"default": false
},
@ -31,7 +31,10 @@
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"type": [
"null",
"integer"
],
"exclusiveMinimum": 0
},
{
@ -51,7 +54,10 @@
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"type": [
"null",
"integer"
],
"exclusiveMinimum": 0
},
{
@ -66,6 +72,26 @@
}
],
"default": 120
},
"reminding_interval": {
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"exclusiveMinimum": 0
},
{
"description": "as text",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week"
]
}
],
"default": 86400
}
},
"required": []
@ -240,7 +266,7 @@
"default": 3
},
"annoy": {
"description": "whether notifications shall be kept sending after the threshold has been surpassed",
"description": "whether notifications about non-ok states shall be kept sending after the threshold has been surpassed",
"type": "boolean",
"default": false
},
@ -252,7 +278,10 @@
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"type": [
"null",
"integer"
],
"exclusiveMinimum": 0
},
{
@ -272,7 +301,10 @@
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"type": [
"null",
"integer"
],
"exclusiveMinimum": 0
},
{
@ -287,6 +319,26 @@
}
],
"default": 120
},
"reminding_interval": {
"anyOf": [
{
"description": "in seconds",
"type": "integer",
"exclusiveMinimum": 0
},
{
"description": "as text",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week"
]
}
],
"default": 86400
}
},
"required": []
@ -621,7 +673,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"ssh_host": {
"host": {
"type": "string"
},
"ssh_port": {
@ -660,7 +712,7 @@
}
},
"required": [
"ssh_host"
"host"
]
}
},