# Dependency Rule

> The requirement that source-code dependencies point only inward, toward higher-level policy.

Record: `lexicon:dependency-rule`
Kind: constraint
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-dependency-rule

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Component Boundaries](https://banes-lab.com/records/lexicon/component-boundaries.md) and before [Domain Core](https://banes-lab.com/records/lexicon/domain-core.md).

## Category

- [Codebase / System Architecture Styles](https://banes-lab.com/records/lexicon-category/codebase-system-architecture-styles.md)

## Required by

- [Clean Architecture](https://banes-lab.com/records/architecture/clean-architecture.md)

## Linked from

- [Codebase / System Architecture Styles](https://banes-lab.com/ontology/principles/architecture-category-codebase-system-architecture-styles.md)
