diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-09-18 21:16:22 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-09-18 21:16:22 -0400 |
commit | 01c2824b5cd26dfa0b209e1b0c69d1cf01b5b47d (patch) | |
tree | 8d98567c61e54f704083e33bdf652cdbed2933ef | |
parent | 00fee3ff43d6a5e2beff65936d416eadd15bde66 (diff) | |
download | SMAPI-01c2824b5cd26dfa0b209e1b0c69d1cf01b5b47d.tar.gz SMAPI-01c2824b5cd26dfa0b209e1b0c69d1cf01b5b47d.tar.bz2 SMAPI-01c2824b5cd26dfa0b209e1b0c69d1cf01b5b47d.zip |
update JSON schema for Content Patcher 1.18
-rw-r--r-- | docs/release-notes.md | 4 | ||||
-rw-r--r-- | src/SMAPI.Web/wwwroot/schemas/content-patcher.json | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 86817546..d9b9ca09 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,6 +7,10 @@ * Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info). --> +## Upcoming release +* For the web UI: + * Updated the JSON validator/schema for Content Patcher 1.18. + ## 3.7.3 Released 16 September 2020 for Stardew Valley 1.4.1 or later. diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json index 3fd24e4e..2e7134cd 100644 --- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json +++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json @@ -11,7 +11,7 @@ "title": "Format version", "description": "The format version. You should always use the latest version to enable the latest features and avoid obsolete behavior.", "type": "string", - "const": "1.17.0", + "const": "1.18.0", "@errorMessages": { "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.17.0'." } @@ -43,6 +43,11 @@ "description": "The default values when the field is missing. Can contain multiple comma-delimited values if AllowMultiple is true. If omitted, blank fields are left blank.", "type": "string" }, + "Description": { + "title": "Description", + "description": "An optional explanation of the config field for players, shown in UIs like Generic Mod Config Menu.", + "type": "string" + }, "additionalProperties": false }, @@ -383,7 +388,6 @@ "enum": [ "Action", "Enabled", - "FromFile", "LogName", "Target", "Update", @@ -391,7 +395,8 @@ "Entries", "Fields", - "MoveEntries" + "MoveEntries", + "TextOperations" ] } } @@ -427,6 +432,7 @@ "FromArea", "MapProperties", "MapTiles", + "TextOperations", "ToArea" ] } |