From a2d7dede737947d7c6afa20a88e1f0c64e0eb96c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Aug 2023 11:18:52 +0200 Subject: Merging upstream version 1.42.0. Signed-off-by: Daniel Baumann --- integrations/schemas/categories.json | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 integrations/schemas/categories.json (limited to 'integrations/schemas/categories.json') diff --git a/integrations/schemas/categories.json b/integrations/schemas/categories.json new file mode 100644 index 000000000..9ebb852f5 --- /dev/null +++ b/integrations/schemas/categories.json @@ -0,0 +1,55 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "array", + "title": "Category information for integrations.", + "items": { + "$ref": "#/$defs/category" + }, + "$defs": { + "category": { + "type": "object", + "description": "An entry for a single category.", + "properties": { + "id": { + "$ref": "./shared.json#/$defs/id" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The display name for the category." + }, + "description": { + "type": "string", + "description": "A description of the category." + }, + "most_popular": { + "type": "boolean", + "description": "Indicates if the category should show up in the initial list of categories, or only in the full expanded list." + }, + "priority": { + "type": "integer", + "description": "Indicates sort order for categories that are marked as most popular." + }, + "collector_default": { + "type": "boolean", + "description": "Indicates that the category should be added to collector integrations that list no categories." + }, + "children": { + "type": "array", + "description": "A list of categories that are children of this category.", + "items": { + "$ref": "#/$defs/category" + } + } + }, + "required": [ + "id", + "name", + "description", + "most_popular", + "priority", + "children" + ] + } + } +} -- cgit v1.2.3