Sources (src) raw data loaded into warehouse. These are not models and purely configuration yml.
Staging (stg) is 1-to-1 with the source data and includes light touch changes, column renames, convert units from seconds to hours.
Intermediate models (int) somewhere between staging and final models. Might not be for end users. Only reference staging models, not source.
Marts rich, business-user, ready models. These may be in the form of, but not limited to be:
Config, like how to materialize a model, can be within the model but it may be more efficient to use the project yml file to set what each folder is matialized as. Here you are defining how dbt treats various objects in your project, from tests to documentation.
Written on February 15th, 2025 by Chris Meardon