Skip to content

REAL-WORLD-SCHEMAS-03: Typed table inside Consequences

A content leaf: a typed table with an enum cell required inside a named section.

Builds on: REAL-WORLD-SCHEMAS-02: Type the ADR frontmatter

The declarative YAML artifact, verbatim — no code required.

- section: Consequences
content:
table:
columns: [Effect, Kind]
minRows: 1
cells:
Kind:
enum: [positive, negative, neutral]
  • content plane: table leaf with columns / minRows / per-cell enum schema
  • a cell outside the enum -> content/table/cell; too few rows -> content/table/min-rows