summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/schemas
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-05-22 11:24:34 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-05-22 11:24:34 -0400
commit38a76b5108f679fedb0032a1d70bd8ca89f47283 (patch)
treeb528e546bba608c693ea4d6390696c3156bf35f0 /src/SMAPI.Web/wwwroot/schemas
parentc310875f902f82ef3b9486e2ff3705106b2ad40c (diff)
downloadSMAPI-38a76b5108f679fedb0032a1d70bd8ca89f47283.tar.gz
SMAPI-38a76b5108f679fedb0032a1d70bd8ca89f47283.tar.bz2
SMAPI-38a76b5108f679fedb0032a1d70bd8ca89f47283.zip
allow comments and trailing commas in schemas for VSCode
The `allowComments` and `allowTrailingCommas` fields are VSCode-specific extensions to JSON Schema.
Diffstat (limited to 'src/SMAPI.Web/wwwroot/schemas')
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/content-patcher.json5
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/i18n.json5
-rw-r--r--src/SMAPI.Web/wwwroot/schemas/manifest.json4
3 files changed, 12 insertions, 2 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
index 49900da6..6e6278de 100644
--- a/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+++ b/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
@@ -4,8 +4,11 @@
"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",
diff --git a/src/SMAPI.Web/wwwroot/schemas/i18n.json b/src/SMAPI.Web/wwwroot/schemas/i18n.json
index 493ad213..313daa59 100644
--- a/src/SMAPI.Web/wwwroot/schemas/i18n.json
+++ b/src/SMAPI.Web/wwwroot/schemas/i18n.json
@@ -4,8 +4,11 @@
"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",
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": {