Skip to content

REAL-WORLD-SCHEMAS-01: ADR: require the four sections in order

A single document type whose body grammar pins required H2 sections in strict order.

Builds on: nothing — this is the first rung of Real-World Schemas: Document Templates and Cross-Document Governance.

The declarative YAML artifact, verbatim — no code required.

mcVersion: 1
kind: contract
body:
order: strict
allowUnknown: false
sections:
- section: Status
- section: Context
- section: Decision
- section: Consequences
  • declarative YAML contract (kind: contract); body.order: strict; allowUnknown: false
  • the structure plane over sections: structure/section-missing, structure/section-order