From 7f986596046de8e544b8f64bac38b8f104c17f1d Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Tue, 23 Aug 2022 17:12:23 -0500 Subject: [PATCH] chore(metadata): Add paths for quality definition data --- metadata.json | 6 ++++-- metadata.schema.json | 14 ++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/metadata.json b/metadata.json index 9374159bd..78a59903c 100644 --- a/metadata.json +++ b/metadata.json @@ -2,11 +2,13 @@ "$schema": "metadata.schema.json", "json_paths": { "radarr": { - "custom_formats": ["docs/json/radarr/cf"] + "custom_formats": ["docs/json/radarr/cf"], + "qualities": ["docs/json/radarr/quality-size"] }, "sonarr": { "release_profiles": ["docs/json/sonarr/rp"], - "custom_formats": ["docs/json/sonarr/cf"] + "custom_formats": ["docs/json/sonarr/cf"], + "qualities": ["docs/json/sonarr/quality-size"] } } } diff --git a/metadata.schema.json b/metadata.schema.json index 9fa34390f..f11b7b4b8 100644 --- a/metadata.schema.json +++ b/metadata.schema.json @@ -15,11 +15,7 @@ } }, "$defs": { - "release_profiles": { - "type": "array", - "items": { "type": "string" } - }, - "custom_formats": { + "paths_object": { "type": "array", "items": { "type": "string" } }, @@ -27,15 +23,17 @@ "type": "object", "additionalProperties": false, "properties": { - "custom_formats": { "$ref": "#/$defs/custom_formats" } + "custom_formats": { "$ref": "#/$defs/paths_object" }, + "qualities": { "$ref": "#/$defs/paths_object" } } }, "sonarr": { "type": "object", "additionalProperties": false, "properties": { - "custom_formats": { "$ref": "#/$defs/custom_formats" }, - "release_profiles": { "$ref": "#/$defs/release_profiles" } + "custom_formats": { "$ref": "#/$defs/paths_object" }, + "release_profiles": { "$ref": "#/$defs/paths_object" }, + "qualities": { "$ref": "#/$defs/paths_object" } } } }