dbt-labs / dbt-jsonschema

Apache License 2.0
109 stars 40 forks source link

Remove duplicated `$ref` objects #4

Closed joellabes closed 1 year ago

joellabes commented 1 year ago

JSON Schema supports cross-file refs, but as far as I can tell, schemata installed through schemastore.org must be hosted on their GitHub repo to work. This depends on #3, so that we can decide how to solve it.

For now, the code just duplicates common objects like string_or_array_of_strings (1, 2).

joellabes commented 1 year ago

Closing this, as we'll keep the duplicates in favour of retaining this repo as the source of truth. If it ever becomes possible for schemastore to do refs with remote files then that's a bonus, but not essential