summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-16 11:28:13 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-08-16 11:28:13 -0400
commitd6dc1364bed4eb93bb8d376f9c1dec364ab82881 (patch)
tree813b7288e278b55f0c38e22932a64405714347e4 /src/SMAPI.Web/wwwroot
parent497192fab2a4310f345bbd473fa42649bb264c57 (diff)
downloadSMAPI-d6dc1364bed4eb93bb8d376f9c1dec364ab82881.tar.gz
SMAPI-d6dc1364bed4eb93bb8d376f9c1dec364ab82881.tar.bz2
SMAPI-d6dc1364bed4eb93bb8d376f9c1dec364ab82881.zip
update schema for Content Patcher 1.17
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index f2c06825..a854e16f 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -11,9 +11,9 @@
"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.16.0",
+ "const": "1.17.0",
"@errorMessages": {
- "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.16.0'."
+ "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.17.0'."
}
},
"ConfigSchema": {
@@ -125,21 +125,27 @@
"description": "Whether to apply this patch. Default true. This fields supports immutable tokens (e.g. config tokens) if they return true/false.",
"anyOf": [
{
+ "type": "boolean"
+ },
+ {
"type": "string",
"enum": [ "true", "false" ]
},
{
"type": "string",
"pattern": "\\{\\{[^{}]+\\}\\}"
- },
- {
- "type": "boolean"
}
],
"@errorMessages": {
"anyOf": "Invalid value; must be true, false, or a single token which evaluates to true or false."
}
},
+ "Update": {
+ "title": "Update",
+ "description": "When the patch should update if it changed. The possible values are 'OnDayStart' and 'OnLocationChange' (defaults to OnDayStart).",
+ "type": "string",
+ "enum": [ "OnDayStart", "OnLocationChange" ]
+ },
"FromFile": {
"title": "Source file",
"description": "The relative file path in your content pack folder to load instead (like 'assets/dinosaur.png'). This can be a .json (data), .png (image), .tbin or .tmx (map), or .xnb file. This field supports tokens and capitalization doesn't matter.",