summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-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": {