remove $schema value validation from schemas

This isn't really needed, and causes issues when using a copy of the schema from another URL.
This commit is contained in:
Jesse Plamondon-Willard
2025-07-12 17:51:20 -04:00
parent 1a3ac8da5d
commit 67fe56a83b
4 changed files with 7 additions and 7 deletions
+4 -1
View File
@@ -9,7 +9,6 @@
* For mod authors:
* Added `helper.ModRegistry.GetFromNamespacedId` method to get a mod given a [standard namespaced ID](https://stardewvalleywiki.com/Modding:Common_data_field_types#Unique_string_ID) (e.g. an item ID).
* You can now have an `en.json` translation file which overrides `default.json`.
* Improved [Content Patcher JSON schema](technical/web.md#using-a-schema-file-directly) to allow decimal values in local tokens (thanks to rikai!) and update for Content Patcher 2.7.0.
* Updated dependencies, including...
* [Mono.Cecil](https://github.com/jbevain/cecil) 0.11.5 → 0.11.6 (see [changes](https://github.com/jbevain/cecil/compare/0.11.5...0.11.6));
* [FluentHttpClient](https://github.com/Pathoschild/FluentHttpClient#readme) 4.4.1 → 4.4.2 (see [changes](https://github.com/Pathoschild/FluentHttpClient/blob/develop/RELEASE-NOTES.md#442));
@@ -30,6 +29,10 @@
* Removed support for very old SMAPI logs.
* You can now download a JSON representation of the parsed log (see the download link at the bottom of the log page).
* Fixed server error if a JSON file contains nested comment syntax.
* Improved [JSON schemas](technical/web.md#using-a-schema-file-directly):
* The Content Patcher JSON schema now allows decimal values in local tokens (thanks to rikai!).
* The `$schema` value is no longer validated.
* Updated Content Patcher schema for Content Patcher 2.7.0.
* Improved mod compatibility list:
* Reduced response times with a new cache and client-side fetch.
* Fixed sort order for mods with non-Latin characters in the name.
@@ -614,8 +614,7 @@
"$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/content-patcher.json"
"type": "string"
}
},
"definitions": {
+1 -2
View File
@@ -13,8 +13,7 @@
"$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/i18n.json"
"type": "string"
}
},
+1 -2
View File
@@ -117,8 +117,7 @@
"$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"
"type": "string"
}
},
"definitions": {