Typed tables and checklists
author-02 · YAML
Content leaves put shape requirements inside a section: a table with named, schema-checked columns and a checklist with a minimum length.
Builds on: Frontmatter and required sections
The artifact
Section titled “The artifact”The declarative YAML artifact, verbatim — no code required.
mcVersion: 2kind: contractbody: sections: - section: Overview content: { maxWords: 200 } - section: Ports content: table: columns: [Name, Port, Protocol] minRows: 1 cells: Port: { type: integer, minimum: 1, maximum: 65535 } Protocol: { enum: [tcp, udp] } - section: Checklist content: list: { items: checkbox, minItems: 3 }What it exercises
Section titled “What it exercises”content leaves (table / list / maxWords)per-column cell schemascheckbox lists with minItems
Continue
Section titled “Continue”- Previous: Frontmatter and required sections
- Next: House rules as text constraints
- Group: Author contracts in YAML · All examples
- Reference: Declarative YAML reference