From e2e800660ee811141d9c7e67351aa3dd1223ea6c Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 3 Sep 2025 21:46:43 -0400 Subject: [PATCH] update schema for Content Patcher 2.8.0 --- docs/release-notes.md | 1 + src/SMAPI.Web/wwwroot/schemas/content-patcher.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 711f0dc9..0b721c97 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,6 +7,7 @@ * For the web UI: * Improved Content Patcher [JSON schemas](technical/web.md#using-a-schema-file-directly): + * Updated for Content Patcher 2.8.0. * Fixed schema requiring `AddNPCWarps` instead of `AddNpcWarps`. * Fixed validation error if a warp field contains tokens or consecutive spaces (thanks to irocendar!). * Fixed validation error if a `Target` contains multiple targets (thanks to irocendar!). diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json index 0bcc6728..bafcb5bd 100644 --- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json +++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json @@ -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\\.7\\.[0-9]+$", + "pattern": "^2\\.8\\.[0-9]+$", "@errorMessages": { - "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." + "pattern": "Incorrect value '@value'. You should always use the latest format version (currently 2.8.0) to enable the latest features, avoid obsolete behavior, and reduce load times." } }, "ConfigSchema": {