added json-schema for config/preset.json

This commit is contained in:
psyirius 2024-08-07 07:58:21 -07:00
parent 6fedea17ec
commit c61b1e899b
2 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{
"$schema": "../schemas/config/preset.json",
"Standard": [
"WPFTweaksAH",
"WPFTweaksConsumerFeatures",

View File

@ -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"
}
}
}
}