diff --git a/config/preset.json b/config/preset.json index 78083d15..a6a94989 100644 --- a/config/preset.json +++ b/config/preset.json @@ -1,4 +1,5 @@ { + "$schema": "../schemas/config/preset.json", "Standard": [ "WPFTweaksAH", "WPFTweaksConsumerFeatures", diff --git a/schemas/config/preset.json b/schemas/config/preset.json new file mode 100644 index 00000000..656dc7a3 --- /dev/null +++ b/schemas/config/preset.json @@ -0,0 +1,13 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "patternProperties": { + "^[a-zA-Z_][a-zA-Z0-9_]*$": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + \ No newline at end of file