JSON Schemas for the Origins mod.
For a VSCode extension that implements these schemas, see the Origins Mod JSON Schemas extension.
⚠️ PLEASE report any issues you find via Github! ⚠️
It only takes a few minutes of your time, and helps improves the tool for everyone!
If you would like to contribute to the schemas, please follow the steps below:
-
Fork the repository
-
Run
yarn install
-
Run
yarn dev
- This will automatically build the schemas as you make changes.- Please note that you should never modify the
schemas
directory directly. Instead, modify the files in thesrc/schemas
directory and run the build script to generate the schemas.
- Please note that you should never modify the
-
If you're using VSCode, you can press
F5
to open a new window with the extension loaded.- This will allow you to test the schemas while you make changes. You can restart the window by pressing
Ctrl+Shift+P
orF1
and typingDeveloper: Reload Window
.
- This will allow you to test the schemas while you make changes. You can restart the window by pressing
-
Once your changes are complete, run
yarn build
to generate a clean build of the schemas. -
Commit your changes and push them to your fork.
-
Create a pull request to the
main
branch of this repository.