summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-09 00:18:37 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-09 00:18:37 -0400
commit7a91cf1cd875bc62072571e1b259a10cbacdaaab (patch)
tree4c810f1ed0b79430b6ccc293b2380056f34e3659
parent09f69d986f4f44521d8a2cd745269dce4b83320e (diff)
downloadSMAPI-7a91cf1cd875bc62072571e1b259a10cbacdaaab.tar.gz
SMAPI-7a91cf1cd875bc62072571e1b259a10cbacdaaab.tar.bz2
SMAPI-7a91cf1cd875bc62072571e1b259a10cbacdaaab.zip
update schema for Content Patcher 1.26.0
-rw-r--r--docs/release-notes.md4
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json9
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 98747613..23783a8a 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -1,6 +1,10 @@
← [README](README.md)
# Release notes
+## Upcoming release
+* For the web UI:
+ * Updated the JSON validator/schema for Content Patcher 1.26.0.
+
## 3.14.2
Released 08 May 2022 for Stardew Valley 1.5.6 or later.
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index 4975a973..f0fe74c2 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -14,9 +14,9 @@
"title": "Format version",
"description": "The format version. You should always use the latest version to enable the latest features, avoid obsolete behavior, and reduce load times.",
"type": "string",
- "const": "1.25.0",
+ "const": "1.26.0",
"@errorMessages": {
- "const": "Incorrect value '@value'. You should always use the latest format version (currently 1.25.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
+ "const": "Incorrect value '@value'. You should always use the latest format version (currently 1.26.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
}
},
"ConfigSchema": {
@@ -51,6 +51,11 @@
"description": "An optional explanation of the config field for players, shown in UIs like Generic Mod Config Menu.",
"type": "string"
},
+ "Section": {
+ "title": "Section",
+ "description": "An optional section key to group related fields on config UIs. This can be the literal text to show, or you can add a translation with the key 'config.section.<section value>.name' and '.description' to add a translated name & tooltip.",
+ "type": "string"
+ },
"additionalProperties": false
},