update Content Patcher schema for 2.7.0

This commit is contained in:
Jesse Plamondon-Willard
2025-05-27 02:09:31 -04:00
parent 549145062c
commit ea93d09752
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
* For mod authors:
* You can now have an `en.json` translation file which overrides `default.json`.
* Improved [Content Patcher JSON schema](technical/web.md#using-a-schema-file-directly) to allow decimal values in local tokens (thanks to rikai!).
* Improved [Content Patcher JSON schema](technical/web.md#using-a-schema-file-directly) to allow decimal values in local tokens (thanks to rikai!) and update for Content Patcher 2.7.0.
* For the web UI:
* Improved JSON parser:
@@ -14,9 +14,9 @@
"title": "Format version",
"description": "The format version. You should always use the latest version to enable the latest features, avoid obsolete behavior, and reduce load times.",
"type": "string",
"pattern": "^2\\.6\\.[0-9]+$",
"pattern": "^2\\.7\\.[0-9]+$",
"@errorMessages": {
"pattern": "Incorrect value '@value'. You should always use the latest format version (currently 2.6.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
"pattern": "Incorrect value '@value'. You should always use the latest format version (currently 2.7.0) to enable the latest features, avoid obsolete behavior, and reduce load times."
}
},
"ConfigSchema": {