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

Tools which are useful for mod development.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 622
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

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

Post 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.
Post Reply

Return to “Development tools”