DECLARATIVE-YAML-09: Declare required block kinds inside a section
What it demonstrates
Section titled “What it demonstrates”Content leaves — requiring a typed table, a checkbox list, fenced code, or a word cap within a section.
Builds on: DECLARATIVE-YAML-08: Optional, alias, oneOf and gap section nodes
How it’s done
Section titled “How it’s done”The declarative YAML artifact, verbatim — no code required.
body: sections: - section: Summary anchor: summary content: { maxWords: 120 } - section: Files to touch content: table: columns: [Location, Kind, Change] cells: { Kind: { enum: [new, modify, delete] } } - section: Acceptance criteria content: { list: { everyItem: checkbox } }Surfaces exercised
Section titled “Surfaces exercised”compileContent/compileLeaf: maxWords()table({columns,cells})list({everyItem})cells reuse compileSchema