add required properties to multi-module schema (#15496)
Ilya Mashchenko committed
Jul 24, 2023 at 11:28 UTC
52792750d47b2b5f10c49cee730328d1ffb41673
1 file changed
+18
-14
collectors/metadata/schemas/multi-module.json
+18
-14
@@ -1,16 +1,20 @@
1
{
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "plugin_name": {
6
- "type": "string"
7
- },
8
- "modules": {
9
- "type": "array",
10
- "description": "A list of single module templates",
11
- "items": {
12
- "$ref": "./single-module.json"
13
- }
14
- }
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "plugin_name": {
6
+ "type": "string"
7
+ },
8
+ "modules": {
9
+ "type": "array",
10
+ "description": "A list of single module templates",
11
+ "items": {
12
+ "$ref": "./single-module.json"
13
+ }
14
}
16
-}
\ No newline at end of file
15
+ },
16
+ "required": [
17
+ "plugin_name",
18
+ "modules"
19
+ ]
20
+}