summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-07-24 11:28:55 +0300
committerGitHub <noreply@github.com>2023-07-24 11:28:55 +0300
commit52792750d47b2b5f10c49cee730328d1ffb41673 (patch)
treee332e481c907476d4fc1aad4d3c1a9d03efeb31d /collectors
parent4fc14026e90ef220ac9e9f2b64f586d9616ff264 (diff)
add required properties to multi-module schema (#15496)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/metadata/schemas/multi-module.json32
1 files changed, 18 insertions, 14 deletions
diff --git a/collectors/metadata/schemas/multi-module.json b/collectors/metadata/schemas/multi-module.json
index 6c332b8189..db8606b2ca 100644
--- a/collectors/metadata/schemas/multi-module.json
+++ b/collectors/metadata/schemas/multi-module.json
@@ -1,16 +1,20 @@
{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {
- "plugin_name": {
- "type": "string"
- },
- "modules": {
- "type": "array",
- "description": "A list of single module templates",
- "items": {
- "$ref": "./single-module.json"
- }
- }
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "plugin_name": {
+ "type": "string"
+ },
+ "modules": {
+ "type": "array",
+ "description": "A list of single module templates",
+ "items": {
+ "$ref": "./single-module.json"
+ }
}
-} \ No newline at end of file
+ },
+ "required": [
+ "plugin_name",
+ "modules"
+ ]
+}