diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-28 01:13:11 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-28 01:13:11 -0400 |
commit | 5e1212e99aa7cb8c0333a57fa60236df79b0ac6d (patch) | |
tree | c40dfeb1b42a96d4eb166a8887b002eff9b344e9 | |
parent | 8254a821cc7e7c1f6f8e528e70ba8a9956b13bc4 (diff) | |
download | SMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.tar.gz SMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.tar.bz2 SMAPI-5e1212e99aa7cb8c0333a57fa60236df79b0ac6d.zip |
update schema for Content Patcher 1.27.0
-rw-r--r-- | docs/release-notes.md | 1 | ||||
-rw-r--r-- | src/SMAPI.Web/wwwroot/schemas/content-patcher.json | 4 |
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": { |