Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version to schema files #37

Open
fsimonis opened this issue Mar 3, 2025 · 2 comments · May be fixed by #41
Open

Add version to schema files #37

fsimonis opened this issue Mar 3, 2025 · 2 comments · May be fixed by #41
Labels
schema Related to the adapter config schema

Comments

@fsimonis
Copy link
Member

fsimonis commented Mar 3, 2025

The schema files should include a version tag to allow for revisions of the same schema without having to publish more schema files. It also makes migrations between versions more convenient.

@uekerman
Copy link
Member

uekerman commented Mar 3, 2025

Good point. One option would be to use the name version as the guidelines, currently v0.2.
@Logende What would be the standard solution to implement this?

@Logende
Copy link
Member

Logende commented Mar 4, 2025

Good point. One option would be to use the name version as the guidelines, currently v0.2. @Logende What would be the standard solution to implement this?

There is no standard way in json schema. So far, I’ve only seen people add a new „$id“ Field to their schema. Also my Google search gives that answer: https://stackoverflow.com/questions/61077293/is-there-a-standard-for-specifying-a-version-for-json-schema

@uekerman uekerman added the schema Related to the adapter config schema label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Related to the adapter config schema
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants