update schemas for Content Patcher 1.11

This commit is contained in:
Jesse Plamondon-Willard 2019-12-16 21:51:55 -05:00
parent c4e2e94eed
commit 4da65cf4c0
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 14 additions and 11 deletions

View File

@ -14,7 +14,7 @@
* For the web UI:
* Added option to edit & reupload in the JSON validator.
* If a JSON validator upload can't be saved to Pastebin (e.g. due to rate limits), it's now uploaded to Amazon S3 instead. Files uploaded to S3 expire after one month.
* Updated the JSON validator for Content Patcher 1.10.0.
* Updated the JSON validator for Content Patcher 1.10 and 1.11.
* Fixed JSON validator no longer letting you change format when viewing results.
* For modders:

View File

@ -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": {
@ -276,6 +276,9 @@
}
},
"allOf": [
{
"required": [ "Action" ]
},
{
"if": {
"properties": {
@ -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
}
},