From 01c2824b5cd26dfa0b209e1b0c69d1cf01b5b47d Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 18 Sep 2020 21:16:22 -0400 Subject: update JSON schema for Content Patcher 1.18 --- src/SMAPI.Web/wwwroot/schemas/content-patcher.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') 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" ] } -- cgit