0
0
Fork 0
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. ()

This commit is contained in:
Austin S. Hemmelgarn 2023-07-28 07:44:40 -04:00 committed by GitHub
parent e031a45a20
commit 8c61428be7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 43 deletions

View file

@ -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: ''

View file

@ -211,7 +211,7 @@
]
},
"setup": {
"$ref": "./shared.json#/$defs/setup"
"$ref": "./shared.json#/$defs/full_setup"
},
"troubleshooting": {
"type": "object",

View file

@ -31,7 +31,7 @@
]
},
"setup": {
"$ref": "./shared.json#/$defs/setup"
"$ref": "./shared.json#/$defs/full_setup"
}
},
"required": [

View file

@ -46,7 +46,14 @@
]
},
"setup": {
"$ref": "./shared.json#/$defs/setup"
"oneOf": [
{
"$ref": "./shared.json#/$defs/short_setup"
},
{
"$ref": "./shared.json#/$defs/full_setup"
}
]
}
},
"required": [

View file

@ -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": {