Schema
Inside JSON
Inside any JSON file, you can add the below tags to add the schema to help you make your update JSON.
json
{
"$schema": "https://legopitstop.github.io/Update_Checker/schema.json"
}
Visual Studio Code
Open VSC settings (
Ctrl
+,
)Open the settings JSON icon on the top right
Paste the below JSON inside the settings JSON.
json{ "json.schemas": [ { "name": "Pack Update JSON", "description": "A schema for https://legopitstop.github.io/Update_Checker/update-checker.html", "fileMatch": ["update.json"], "url": "https://legopitstop.github.io/Update_Checker/schema.json" } ] }
Now save the file (
Ctrl
+s
)Done! If you rename a JSON to
update.json
is should use the schema!