dbt-labs / dbt-jsonschema

Apache License 2.0
109 stars 40 forks source link

Failures in dbt_project.yml #6

Closed jaypeedevlin closed 1 year ago

jaypeedevlin commented 1 year ago

Testing this out of the box, I get several failures in my dbt_project.yml which (I'm almost certain) is valid (it's a template that we use with every client). Rather than creating separate tickets, I'm going to list the suspected false-positives below:

Query Comment

query-comment:
  append: true

Results in: Property query-comment is not allowed.

Bind

models:
  +bind: false

Results in Incorrect type. Expected "Model configs".

Persist Docs

models:
  +persist_docs:
    relation: true
    columns: true

Results in two instances of Incorrect type. Expected "Model configs". (one for each of the last two lines).

Seed schema

seeds:
  +schema: seeds

Results in Incorrect type. Expected "Seed configs".

Snapshots

snapshots:
  +target_schema: snp

Results in: Property snapshots is not allowed.