meta

models/schema.yml
version: 2
models:
- name: model_name
meta: {<dictionary>}
columns:
- name: column_name
meta: {<dictionary>}

Definition

The meta field can be used to set metadata for a model. This metadata is compiled into the manifest.json file generated by dbt, and is viewable in the auto-generated documentation.

Changelog

Examples

Designate a model owner

Additionally, indicate the maturity of a model using a model_maturity: key.

models/schema.yml
version: 2
models:
- name: users
meta:
owner: "@alice"
model_maturity: in dev

Designate a source column as containing PII

models/schema.yml
version: 2
sources:
- name: salesforce
tables:
- name: account
meta:
contains_pii: true
columns:
- name: email
meta:
contains_pii: true