-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Labels: Feature
https://raw.githubusercontent.com/BinToss/VintageStory.ModInfo.schema/refs/heads/main/VintageStory.ModInfo.schema.json
raw: https://raw.githubusercontent.com/BinToss/VintageStory.ModInfo.schema/refs/heads/main/VintageStory.ModInfo.schema.json
I've licensed it under MIT. I considered CC0 or Unlicense so the license wouldn't need to be copied, too, but those licenses wouldn't hold up in Germany.
Anyway, there are two ways this schema can be used in editors.
- editor workspace settings. I don't know how Rider handles it, but VSCode would need the following:
{
"json.schemas": [
{
"fileMatch": [
"**/modinfo.json",
"**/assets/**/modinfo.json"
],
"url": "https://raw.githubusercontent.com/BinToss/VintageStory.ModInfo.schema/main/VintageStory.ModInfo.schema.json"
}
]
}$schemaproperty in the modinfo.json e.g.
{
"$schema": "https://raw.githubusercontent.com/BinToss/VintageStory.ModInfo.schema/refs/heads/main/VintageStory.ModInfo.schema.json"
}
Ideally, Anego Studios would generate an official schema for users to validate against.
Metadata
Metadata
Assignees
Labels
No labels