Skip to content

[codex] Fix schema docs picoschema examples#17

Merged
groksrc merged 1 commit into
mainfrom
codex/fix-schema-picoschema-examples
May 18, 2026
Merged

[codex] Fix schema docs picoschema examples#17
groksrc merged 1 commit into
mainfrom
codex/fix-schema-picoschema-examples

Conversation

@groksrc
Copy link
Copy Markdown
Member

@groksrc groksrc commented May 6, 2026

Summary

Closes #16.

Updates the schema documentation examples so picoschema modifier descriptions are placed inside the modifier parentheses instead of after the value. This fixes enum examples like status?(enum): [active, inactive, alumni], current relationship status, which standard YAML parsers reject because the trailing description follows a flow sequence.

Also normalizes related array examples in the schema guide, project documentation guide, and AI assistant reference, and syncs the lockfile after npm install so the local install/build path has the missing Nuxt CLI peer entry.

Validation

  • Parsed all yaml fences under content/**/*.md with Ruby/Psych after dedenting fenced snippets.
  • Confirmed the local rendered pages show the corrected examples and no longer show the old invalid strings.
  • git diff --check
  • npm run build exits 0. It still emits existing prerender/icon warnings for unrelated missing links/assets.

@groksrc groksrc marked this pull request as ready for review May 18, 2026 15:53
@groksrc groksrc merged commit 886aa01 into main May 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema docs: enum and array examples with descriptions produce invalid YAML

1 participant