title |
---|
Model properties |
Models properties can be declared in .yml
files in your models/
directory (as defined by the model-paths
config).
You can name these files whatever_you_want.yml
, and nest them arbitrarily deeply in subfolders within the models/
directory.
version: 2
models:
- [name](model_name): <model name>
[description](description): <markdown_string>
[docs](resource-properties/docs):
show: true | false
[config](resource-properties/config):
[<model_config>](model-configs): <config_value>
[tests](resource-properties/tests):
- <test>
- ... # declare additional tests
columns:
- name: <column_name> # required
[description](description): <markdown_string>
[meta](meta): {<dictionary>}
[quote](quote): true | false
[tests](resource-properties/tests):
- <test>
- ... # declare additional tests
[tags](resource-configs/tags): [<string>]
- name: ... # declare properties of additional columns