Schema contract

When unsure about fields, query schema first — do not invent JSON from memory.

Commands

# Write schemas (filter by format)
zagens-office schema write pptx
zagens-office schema write docx
zagens-office schema write xlsx

# Edit ops (~95 ops, cross-format; no per-format filter)
zagens-office schema edit

Output is a one-line JSON envelope with field docs and constraints. Trust the CLI you have installed.

When to look it up

Situation Command
New PPT / Word / Excel / PDF schema write <format>
Edit an existing file / pick an op (upsert_slide, preflight, …) schema edit
Agent / Skill unsure of fields schema first, then write/edit

Related