summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-07-09 22:30:13 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-07-09 22:30:13 -0400
commit8f96a97f070d654764de3b138678d8f62707f485 (patch)
tree9a59953e01bfc27d0f124579ae897fabec46092f /src/SMAPI.Web
parent7dd3e37dec6924b1acd3f3045aefe5ebc8f91e8f (diff)
parent60af28760a6edc509b16e7c62aa8b00ba9798793 (diff)
downloadSMAPI-8f96a97f070d654764de3b138678d8f62707f485.tar.gz
SMAPI-8f96a97f070d654764de3b138678d8f62707f485.tar.bz2
SMAPI-8f96a97f070d654764de3b138678d8f62707f485.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Web')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json9
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/i18n.json7
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/manifest.json4
3 files changed, 15 insertions, 5 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index 49900da6..aac4ff0f 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -4,16 +4,19 @@
"title": "Content Patcher content pack",
"description": "Content Patcher content file for mods",
"@documentationUrl": "https://github.com/Pathoschild/StardewMods/tree/develop/ContentPatcher#readme",
- "type": "object",
+ "allowComments": true,
+ "allowTrailingCommas": true,
+
+ "type": "object",
"properties": {
"Format": {
"title": "Format version",
"description": "The format version. You should always use the latest version to enable the latest features and avoid obsolete behavior.",
"type": "string",
- "const": "1.22.0",
+ "const": "1.23.0",
"@errorMessages": {
- "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.22.0'."
+ "const": "Incorrect value '@value'. This should be set to the latest format version, currently '1.23.0'."
}
},
"ConfigSchema": {
diff --git a/src/SMAPI.Web/wwwroot/schemas/i18n.json b/src/SMAPI.Web/wwwroot/schemas/i18n.json
index 493ad213..36c04890 100644
--- a/src/SMAPI.Web/wwwroot/schemas/i18n.json
+++ b/src/SMAPI.Web/wwwroot/schemas/i18n.json
@@ -4,14 +4,17 @@
"title": "SMAPI i18n file",
"description": "A translation file for a SMAPI mod or content pack.",
"@documentationUrl": "https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Translation",
- "type": "object",
+ "allowComments": true,
+ "allowTrailingCommas": true,
+
+ "type": "object",
"properties": {
"$schema": {
"title": "Schema",
"description": "A reference to this JSON schema. Not part of the actual format, but useful for validation tools.",
"type": "string",
- "const": "https://smapi.io/schemas/manifest.json"
+ "const": "https://smapi.io/schemas/i18n.json"
}
},
diff --git a/src/SMAPI.Web/wwwroot/schemas/manifest.json b/src/SMAPI.Web/wwwroot/schemas/manifest.json
index 0b265201..05698ba2 100644
--- a/src/SMAPI.Web/wwwroot/schemas/manifest.json
+++ b/src/SMAPI.Web/wwwroot/schemas/manifest.json
@@ -4,6 +4,10 @@
"title": "SMAPI manifest",
"description": "Manifest file for a SMAPI mod or content pack",
"@documentationUrl": "https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest",
+
+ "allowComments": true,
+ "allowTrailingCommas": true,
+
"type": "object",
"properties": {
"Name": {