mirror of
https://github.com/netdata/netdata.git
synced 2025-04-10 16:17:36 +00:00
Fix up notification schema to better support cloud notifications. (#15616)
This commit is contained in:
parent
e031a45a20
commit
8c61428be7
5 changed files with 24 additions and 43 deletions
|
@ -1,39 +0,0 @@
|
|||
- id: ''
|
||||
meta:
|
||||
name: ''
|
||||
link: ''
|
||||
categories: []
|
||||
icon_filename: ''
|
||||
keywords: []
|
||||
overview:
|
||||
notification_description: ''
|
||||
notification_limitations: ''
|
||||
setup:
|
||||
prerequisites:
|
||||
list:
|
||||
- title: ''
|
||||
description: ''
|
||||
configuration:
|
||||
file:
|
||||
name: ''
|
||||
description: ''
|
||||
options:
|
||||
description: ''
|
||||
folding:
|
||||
title: ''
|
||||
enabled: true
|
||||
list:
|
||||
- name: ''
|
||||
default_value: ''
|
||||
description: ''
|
||||
required: false
|
||||
examples:
|
||||
folding:
|
||||
enabled: true
|
||||
title: ''
|
||||
list:
|
||||
- name: ''
|
||||
folding:
|
||||
enabled: false
|
||||
description: ''
|
||||
config: ''
|
|
@ -211,7 +211,7 @@
|
|||
]
|
||||
},
|
||||
"setup": {
|
||||
"$ref": "./shared.json#/$defs/setup"
|
||||
"$ref": "./shared.json#/$defs/full_setup"
|
||||
},
|
||||
"troubleshooting": {
|
||||
"type": "object",
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
]
|
||||
},
|
||||
"setup": {
|
||||
"$ref": "./shared.json#/$defs/setup"
|
||||
"$ref": "./shared.json#/$defs/full_setup"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
@ -46,7 +46,14 @@
|
|||
]
|
||||
},
|
||||
"setup": {
|
||||
"$ref": "./shared.json#/$defs/setup"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "./shared.json#/$defs/short_setup"
|
||||
},
|
||||
{
|
||||
"$ref": "./shared.json#/$defs/full_setup"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
@ -46,7 +46,20 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"setup": {
|
||||
"short_setup": {
|
||||
"type": "object",
|
||||
"description": "Simplified information about how to enable and configure the integration.",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A description of how to enable and configure the integration."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"full_setup": {
|
||||
"type": "object",
|
||||
"description": "Complete information that is needed to enable and configure the integration.",
|
||||
"properties": {
|
||||
|
|
Loading…
Add table
Reference in a new issue