From 0bdf762c357d181a6d16b1f72c8b3ee982b2591d Mon Sep 17 00:00:00 2001 From: "G.Reijn" Date: Fri, 13 Dec 2024 15:11:26 +0100 Subject: [PATCH] Split enum --- .../JSON/settings/settings.schema.0.2.json | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/schemas/JSON/settings/settings.schema.0.2.json b/schemas/JSON/settings/settings.schema.0.2.json index ece40f6058..ae840a58e4 100644 --- a/schemas/JSON/settings/settings.schema.0.2.json +++ b/schemas/JSON/settings/settings.schema.0.2.json @@ -23,7 +23,13 @@ "progressBar": { "description": "Progress bar display style", "type": "string", - "enum": ["accent", "rainbow", "retro", "sixel", "disabled"] + "enum": [ + "accent", + "rainbow", + "retro", + "sixel", + "disabled" + ] }, "anonymizeDisplayedPaths": { "description": "Replaces some known folder paths with their respective environment variable", @@ -44,7 +50,13 @@ "level": { "description": "Preferred logging level", "type": "string", - "enum": ["verbose", "info", "warning", "error", "critical"] + "enum": [ + "verbose", + "info", + "warning", + "error", + "critical" + ] }, "channels": { "description": "The logging channels to enable", @@ -78,7 +90,10 @@ "scope": { "description": "The scope of a package install", "type": "string", - "enum": ["user", "machine"], + "enum": [ + "user", + "machine" + ], "default": "user" }, "locale": { @@ -98,7 +113,13 @@ "items": { "uniqueItems": true, "type": "string", - "enum": ["neutral", "x64", "x86", "arm64", "arm"], + "enum": [ + "neutral", + "x64", + "x86", + "arm64", + "arm" + ], "minItems": 1, "maxItems": 4 } @@ -218,7 +239,11 @@ "downloader": { "description": "Control which download code is used for packages", "type": "string", - "enum": ["default", "wininet", "do"], + "enum": [ + "default", + "wininet", + "do" + ], "default": "default" }, "doProgressTimeoutInSeconds": {