summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-28 01:13:11 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-28 01:13:11 -0400
commit5e1212e99aa7cb8c0333a57fa60236df79b0ac6d (patch)
treec40dfeb1b42a96d4eb166a8887b002eff9b344e9
parent8254a821cc7e7c1f6f8e528e70ba8a9956b13bc4 (diff)
downloadSMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.tar.gz
SMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.tar.bz2
SMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.zip
update schema for Content Patcher 1.27.0
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 8920662f..4c504150 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -13,6 +13,7 @@
* Fixed `smapi-internal/config.user.json` overrides not applied after SMAPI 3.14.0.
* For the web UI:
+ * Updated the JSON validator/schema for Content Patcher 1.27.0.
* Fixed the mod count in the log parser metadata.
## 3.15.0
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index f0fe74c2..631fbc63 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.26.0",
+ "pattern": "^1\\.27\\.[0-9]+$",
"@errorMessages": {
- "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."
+ "pattern": "Incorrect value '@value'. You should always use the latest format version (currently 1.27.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
}
},
"ConfigSchema": {