Page 1 of 1

Proposal: Publish JSON schema for mod's info.json on API Docs portal

Posted: Sun Dec 15, 2024 4:36 pm
by Hares
TL;DR
API Docs should provide JSON schema for `info.json` file.
Why?
JSON schema is popular and well-supported format for validating JSONs before submission.
It is also integrated to most of the IDEs.
I've seen JSON shemas for 1.1, but for 2.0 there're none.

Why not?
I can hear you suggesting me to use modding development toolkit, but it's supported only for VSCode IDE, and thus its usage is rather limited.
Disclaimer: Biased opinion.
VSCode has horrible UI clearance, terrible performance, and has many other problems. Not all mods require extended Lua checkers, and for file-tree management I would 100% prefer JetBrains' IDEs.