summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md4
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json12
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"
]
}