Self-Describing Structures

Kind: principle

Layer: Declarative Core

Record: architecture:self-describing-structures

Severity: contextual

Scope: data, runtime, metadata

Canonical: Ontology

A design rule that a data structure carries its own type tags and field names, so a reader can interpret it without outside knowledge.

Listed in Architecture principles, after Self-Describing API and before Metadata-Driven Design.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Reinforced by

Linked from