Luke
CCConvex Community
•Created by Luke on 12/15/2024 in #support-community
convex.json schema?
After doing some research, it would appear that (at the moment) this doesn't exist.
Given that, I went ahead and made a "community" one by scouring the Convex GitHub org and looking for all usage of
convex.json
. I tried to strictly type it and link out to docs to the best of my ability, although it may not be perfect.
You can find the GitHub gist here, and if anyone has any alterations please let me know!
You should be able to use it like this:
Alternatively, if you use VSCode, a cleaner solution is to set the schema in your settings.json
, like so:
This solution makes it so that you don't need to do the "$schema": "...long gist url here
in every convex.json
file, VSCode will automatically map the schema.6 replies