From d3affdc4f5d5951972a7b3b7a034e2165583c289 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sun, 3 Dec 2023 10:15:32 -0600 Subject: [PATCH] chore: Settings schema changes for notifications --- schemas/settings-schema.json | 3 +++ schemas/settings/notifications.json | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 schemas/settings/notifications.json diff --git a/schemas/settings-schema.json b/schemas/settings-schema.json index 51bf7a5d..b9ec392c 100644 --- a/schemas/settings-schema.json +++ b/schemas/settings-schema.json @@ -45,6 +45,9 @@ "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files." } } + }, + "notifications": { + "$ref": "settings/notifications.json" } } } diff --git a/schemas/settings/notifications.json b/schemas/settings/notifications.json new file mode 100644 index 00000000..26cf7e27 --- /dev/null +++ b/schemas/settings/notifications.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings/notifications.json", + "type": "object", + "additionalProperties": false, + "properties": { + "apprise": { + "type": "object", + "additionalProperties": false, + "required": ["base_url", "key"], + "properties": { + "base_url": { + "type": "string" + }, + "key": { + "type": "string" + }, + "tags": { + "type": "string" + } + } + } + } +}