master
json 45 lines 1.15 KB
Raw
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "array",
4 "title": "Category information for integrations.",
5 "items": {
6 "$ref": "#/$defs/category"
7 },
8 "$defs": {
9 "category": {
10 "type": "object",
11 "description": "An entry for a single category.",
12 "properties": {
13 "id": {
14 "$ref": "./shared.json#/$defs/id"
15 },
16 "name": {
17 "type": "string",
18 "minLength": 1,
19 "description": "The display name for the category."
20 },
21 "description": {
22 "type": "string",
23 "description": "A description of the category."
24 },
25 "collector_default": {
26 "type": "boolean",
27 "description": "Indicates that the category should be added to collector integrations that list no categories."
28 },
29 "children": {
30 "type": "array",
31 "description": "A list of categories that are children of this category.",
32 "items": {
33 "$ref": "#/$defs/category"
34 }
35 }
36 },
37 "required": [
38 "id",
39 "name",
40 "description",
41 "children"
42 ]
43 }
44 }
45 }