summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-22 18:46:03 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-22 18:46:03 -0500
commit4c471ea2154772e0eee6a50be2f0e468915a1b9d (patch)
treec74b98d19b9e944a26400390104c1853cd70802d
parentd6901ed49626dac27e9ebf80d2ac86223a6064ca (diff)
downloadSMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.tar.gz
SMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.tar.bz2
SMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.zip
fix CP schema not requiring Default field if AllowBlank is omitted
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json3
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 9b07160c..dc0f584d 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -21,6 +21,7 @@
* The log parser and JSON validator no longer save files to Pastebin due to ongoing performance issues. All files are now saved to Azure Blob storage instead and expire after one month.
* Updated the JSON validator for Content Patcher 1.10 and 1.11.
* Fixed JSON validator no longer letting you change format when viewing results.
+ * Fixed JSON validator for Content Patcher schema not requiring `Default` if `AllowBlank` omitted.
* For modders:
* Added asset propagation for...
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index 28e38e73..7e00c28e 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -51,8 +51,7 @@
"if": {
"properties": {
"AllowBlank": { "const": false }
- },
- "required": [ "AllowBlank" ]
+ }
},
"then": {
"required": [ "Default" ]