# Depth Cap

> A rule or precondition that every governed file resolve within a fixed number of folders from its governed root, the container included and the file excluded.

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

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Ignore Declaration](https://banes-lab.com/records/lexicon/ignore-declaration.md) and before [Ordered Role Sequence](https://banes-lab.com/records/lexicon/ordered-role-sequence.md).

## Category

- [Taxonomy / Classification / Naming](https://banes-lab.com/records/lexicon-category/taxonomy-classification-naming.md)

## Required by

- [Bounded Nesting Depth](https://banes-lab.com/records/architecture/bounded-nesting-depth.md)

## Linked from

- [Taxonomy / Classification / Naming](https://banes-lab.com/ontology/principles/architecture-category-taxonomy-classification-naming.md)
