summaryrefslogtreecommitdiff
path: root/src
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 /src
parentd6901ed49626dac27e9ebf80d2ac86223a6064ca (diff)
downloadSMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.tar.gz
SMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.tar.bz2
SMAPI-4c471ea2154772e0eee6a50be2f0e468915a1b9d.zip
fix CP schema not requiring Default field if AllowBlank is omitted
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json3
1 files changed, 1 insertions, 2 deletions
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" ]