DocuEye Logo

Relationship technology must be consistent with destination container technology

The relationship technology must be compatible with the target container's technology. This rule prevents incorrect or unrealistic integrations in the model.

Identifier

C4-ARCH-011

Severity

Warning - Medium impact on architecture quality

Scope

Model Relationships - This rule is evaluated against relationships in the architecture model.

Default expression
Destination.Tags.Contains("Container") and @AllowedRelationshipTechnologies.ContainsKey(Destination.Technology) and Technology not_in @AllowedRelationshipTechnologies[Destination.Technology]

DocuEye - Visualize architecture.

Free and open source tool for software architecture visualization with built-in architecture linter.
Documentation as a code approach based C4 Model.

Copyright © 2026 DocuEye - All rights reserved

Resources

Sources and documentationC4 modelStructurizr DSL language reference