List of the rules currently defined#
Each rule is a native dbt check with the name listed in the last column. Use it to run, configure or select a given rule, for example with dbt check fct_root_models. The same name is the key to use to accept some violations of a rule. The checks are tagged with their type, for example dbt ls --resource-type check --select tag:modeling.
| Type | Friendly name | check name |
|---|---|---|
| Modeling | Staging Models Dependent on Other Staging Models | fct_staging_dependent_on_staging |
| Modeling | Source Fanout | fct_source_fanout |
| Modeling | Rejoining of Upstream Concepts | fct_rejoining_of_upstream_concepts |
| Modeling | Model Fanout | fct_model_fanout |
| Modeling | Downstream Models Dependent on Source | fct_marts_or_intermediate_dependent_on_source |
| Modeling | Direct Join to Source | fct_direct_join_to_source |
| Modeling | Duplicate Sources | fct_duplicate_sources |
| Modeling | Hard Coded References | dbt lint rule DBT05 (not a check, see hard coded references) |
| Modeling | Multiple Sources Joined | fct_multiple_sources_joined |
| Modeling | Root Models | fct_root_models |
| Modeling | Staging Models Dependent on Downstream Models | fct_staging_dependent_on_marts_or_intermediate |
| Modeling | Unused Sources | fct_unused_sources |
| Modeling | Models with Too Many Joins | fct_too_many_joins |
| Testing | Missing Primary Key Tests | fct_missing_primary_key_tests |
| Testing | Missing Source Freshness | fct_sources_without_freshness |
| Testing | Test Coverage | fct_test_coverage |
| Documentation | Undocumented Models | fct_undocumented_models |
| Documentation | Documentation Coverage | fct_documentation_coverage |
| Documentation | Undocumented Source Tables | fct_undocumented_source_tables |
| Documentation | Undocumented Sources | fct_undocumented_sources |
| Structure | Test Directories | fct_test_directories |
| Structure | Model Naming Conventions | fct_model_naming_conventions |
| Structure | Source Directories | fct_source_directories |
| Structure | Model Directories | fct_model_directories |
| Performance | Chained View Dependencies | fct_chained_views_dependencies |
| Performance | Exposure Parents Materializations | fct_exposure_parents_materializations |
| Governance | Public Models Without Contracts | fct_public_models_without_contract |
| Governance | Exposures Dependent on Private Models | fct_exposures_dependent_on_private_models |
| Governance | Undocumented Public Models | fct_undocumented_public_models |