dbt-labs / dbt-jsonschema

Apache License 2.0
109 stars 40 forks source link

Create tags pinned with dbt version to ease usage #123

Closed H-Max closed 4 months ago

H-Max commented 4 months ago

I use the jsonSchema.xml file in IntelliJ to validate the YAML files in my dbt projects.

This method uses a URL to the JSON files in this repo (for instance: https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/packages.json) and I'd like to pin a specific version, not use the latest one.

Using tags would make this possible I believe, to pin the dbt version in the URL.

Thanks !

dave-connors-3 commented 4 months ago

hey @H-Max! We use separate directories here to separate the schemas by version -- for example, you could update that link to https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/1.6/packages-1.6.json if you were on 1.6.

Hope that helps!

H-Max commented 4 months ago

Hey, thx @dave-connors-3 for the info, I'm closing the issue !