From 9828f32bf7d49bbf660d394857dfa0394880fb41 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> Date: Sat, 17 Aug 2019 20:49:47 -0400 Subject: fix validator not handling string entries (#654) --- src/SMAPI.Web/wwwroot/schemas/content-patcher.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI.Web/wwwroot/schemas') diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json index e12be408..4d844443 100644 --- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json +++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json @@ -187,7 +187,7 @@ "description": "The entries in the data file you want to add, replace, or delete. If you only want to change a few fields, use Fields instead for best compatibility with other mods. To add an entry, just specify a key that doesn't exist; to delete an entry, set the value to null (like \"some key\": null). This field supports tokens in entry keys and values.\nCaution: some XNB files have extra fields at the end for translations; when adding or replacing an entry for all locales, make sure you include the extra fields to avoid errors for non-English players.", "type": "object", "additionalProperties": { - "type": "object" + "type": [ "object", "string" ] } }, "MoveEntries": { -- cgit