You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great idea!
I am currently building such a store powered by pull-requests. A bot will check the pull-requests and a website will extract the schemas from the repo.
The convention for JSON schemas are as follows:
<schema-name>.root.json is determine users and their roles for schemas with the name . <schema-name>.v<version>.schema.json determine the schema for version <version> of the schema with the name <schema-name>. Only users specified in the <schema-name>.root.json file can create, update and delete schemas with the name <schema-name>.
It is necessary to create a <schema-name>.root.json before creating <schema-name>.v<version>.schema.json files.
New Root
Create a pull-request with a file called <schema-name>.root.json in the schemas folder.
See the file caemh.root.json for inspiration.
Roles:
All users can read schemas.
Administrators can Create, Update and Delete schemas.
Creators can Create and Update schemas.
Create/Update/Delete Schema
Create a pull-request with the schema change in the schemas folder. The schema file should be named <schema-name>.v<version>.schema.json. The pull-request is checked against the <schema-name>.root.json file to determine if the user has the necessary permissions to create/update/delete the gieven schema.
Interesting. The scope we are thinking of is more limited. Have schemas in the schema store. These do not change from release to release. We can either fetch them from third-party json schema store, or package them with the CoSimulation Studio application. I am leaning towards schemastore but we will have to see the implementation details.
There is wide support for schemastore in VSCode. Is there an advantage to using this facility in our project?
The text was updated successfully, but these errors were encountered: