Skip to content

REAL-WORLD-SCHEMAS-06: RFC with a rejected-alternatives section

A richer single type using recognized-relative order and a mandatory Rejected alternatives section.

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

The declarative YAML artifact, verbatim — no code required.

frontmatter:
fields:
status: { enum: [draft, review, final] }
body:
order: recognized-relative
allowUnknown: true
sections:
- section: Summary
- section: Motivation
- section: Detailed design
- section: Rejected alternatives
- section: Open questions
optional: true
  • body.order: recognized-relative; allowUnknown: true; an optional section; enum frontmatter
  • an absent required section -> structure/section-missing