add schema validation from dbt-labs

This commit is contained in:
Pablo Martin 2024-02-26 17:53:23 +01:00
parent ca173ab59e
commit afcd0a2fc9
2 changed files with 20 additions and 2 deletions

21
.vscode/settings.json vendored
View file

@ -11,5 +11,24 @@
] ]
}, },
"dbt.enableNewLineagePanel": true, "dbt.enableNewLineagePanel": true,
"dbt.enableNewDocsPanel": true "dbt.enableNewDocsPanel": true,
"yaml.schemas": {
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/dbt_yml_files.json": [
"/**/*.yml",
"!profiles.yml",
"!dbt_project.yml",
"!packages.yml",
"!selectors.yml",
"!profile_template.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/dbt_project.json": [
"dbt_project.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/selectors.json": [
"selectors.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/packages.json": [
"packages.yml"
]
},
} }

View file

@ -6,7 +6,6 @@ models:
Individual transactions happening in our different Stripe currency accounts. Individual transactions happening in our different Stripe currency accounts.
You can read more about this object here: https://docs.stripe.com/api/balance_transactions/object. You can read more about this object here: https://docs.stripe.com/api/balance_transactions/object.
columns: columns:
- name: id - name: id
data_type: character varying data_type: character varying