summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-16 21:51:55 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-16 21:51:55 -0500
commit4da65cf4c079ee32f0a5582fb73add2362b5a70c (patch)
treec1ebaa57ee485128fa63bb6aa82cf9ac0b768538 /src/SMAPI.Web/wwwroot/schemas/content-patcher.json
parentc4e2e94eed30f6e04312d5973322e4696ea672ea (diff)
downloadSMAPI-4da65cf4c079ee32f0a5582fb73add2362b5a70c.tar.gz
SMAPI-4da65cf4c079ee32f0a5582fb73add2362b5a70c.tar.bz2
SMAPI-4da65cf4c079ee32f0a5582fb73add2362b5a70c.zip
update schemas for Content Patcher 1.11
Diffstat (limited to 'src/SMAPI.Web/wwwroot/schemas/content-patcher.json')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index c0236f1e..28e38e73 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.10.0",
+ "const": "1.11.0",
"@errorMessages": {
- "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.10.0'."
+ "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.11.0'."
}
},
"ConfigSchema": {
@@ -277,6 +277,9 @@
},
"allOf": [
{
+ "required": [ "Action" ]
+ },
+ {
"if": {
"properties": {
"Action": { "const": "Load" }
@@ -364,26 +367,26 @@
"properties": {
"X": {
"title": "X-Coordinate",
- "description": "Location in pixels of the top-left of the rectangle",
- "type": "integer",
+ "description": "The X position of the area's top-left corner, measured in pixels for a texture or tiles for a map. This can contain tokens.",
+ "type": [ "integer", "string" ],
"minimum:": 0
},
"Y": {
"title": "Y-Coordinate",
- "description": "Location in pixels of the top-left of the rectangle",
- "type": "integer",
+ "description": "The Y position of the area's top-left corner, measured in pixels for a texture or tiles for a map. This can contain tokens.",
+ "type": [ "integer", "string" ],
"minimum:": 0
},
"Width": {
"title": "Width",
- "description": "The width of the rectangle",
- "type": "integer",
+ "description": "The width of the area, measured in pixels for a texture or tiles for a map. This can contain tokens.",
+ "type": [ "integer", "string" ],
"minimum:": 0
},
"Height": {
"title": "Height",
- "description": "The height of the rectangle",
- "type": "integer",
+ "description": "The height of the area, measured in pixels for a texture or tiles for a map. This can contain tokens.",
+ "type": [ "integer", "string" ],
"minimum:": 0
}
},