fix: workflow-authoring docs — type:object + const vs enum clarity (#123)
CI / check (pull_request) Successful in 1m41s

- Add type:object to all frontmatter examples (flat and oneOf)
- Restructure $status section: Multi-exit (oneOf/const) vs Single-exit (flat/enum)
- Add Important rules box clarifying validation requirements
- Restore Custom Fields subsection

Fixes #123
This commit is contained in:
2026-06-05 23:13:54 +00:00
parent 57511a93fe
commit 1a37928bb9
2 changed files with 24 additions and 9 deletions
+10
View File
@@ -0,0 +1,10 @@
---
"@united-workforce/util": patch
---
fix: workflow-authoring docs — add type:object to oneOf examples, clarify const vs enum rules (#123)
- All frontmatter examples include `type: object` (both flat and oneOf)
- Restructure $status section: "Multi-exit (oneOf)" vs "Single-exit (flat schema)"
- Add "Important rules" box: type:object required, const only in oneOf, enum in flat
- Restore "Custom Fields" subsection