From 500a20e885f0c6e39f7bcc9cbe204f258caa55d0 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 2 Sep 2022 17:54:47 -0500 Subject: [PATCH] chore(schema): Use string for quality_definition types Using JSON data now instead of enumerations in code. There's no finite set anymore. --- schemas/config-schema.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schemas/config-schema.json b/schemas/config-schema.json index a9c8e579..3252911a 100644 --- a/schemas/config-schema.json +++ b/schemas/config-schema.json @@ -26,7 +26,7 @@ "description": "The API key from Sonarr." }, "quality_definition": { - "enum": ["hybrid", "anime", "series"] + "type": "string" }, "release_profiles": { "type": "array", @@ -105,8 +105,7 @@ "required": ["type"], "properties": { "type": { - "type": "string", - "enum": ["movie"] + "type": "string" }, "preferred_ratio": { "type": "number",