generated from BHoM/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Releasing JSON schemas
Isak Näslund edited this page Sep 25, 2025
·
5 revisions
For each Beta release of the BHoM the Json schemas should be released by the following steps. The release of schemas needs to include a tweak of the actual JSON files as all refs needs to be updated to point on the new frozen versions. For more information about this, please see the documentation
- Run the BHoM alpha installer
- Clone and compile repos included in BHoM_JSONSchema but not included in the BHoM_Installer. For a list of repos included in Json schemas, please see Included repositories. At the time of writing this this is:
- BHoM/dKop_Toolkit
- BHoM/Test_Toolkit
- Clone and build the JSONSchema_Toolkit (develop branch)
- Clone the BHoM_JSONSchema repo (develop branch)
- Create a branch matching your release (for example v8.3)
- Open the .ci/Generation/SchemaGeneration solution
- Change the branch to the current release (for example v8.3). Can be found via TODO in view
- Build and run the solution code
- Inspect the changes made. All schemas should now have been updated for their $id and $ref keywords to now point at the new branch
- Run the build and run the unit-test in the .ci folder to check that everything is still validating correctly
- Commit and push the code