Skip to content

Schema validation final merge#1672

Merged
josephjclark merged 2 commits into
mainfrom
schema-validation
May 20, 2026
Merged

Schema validation final merge#1672
josephjclark merged 2 commits into
mainfrom
schema-validation

Conversation

@josephjclark
Copy link
Copy Markdown
Collaborator

Merging #1667 to main

aloundoye and others added 2 commits May 20, 2026 11:52
Add a new schema validation script (scripts/validate-configuration-schemas.mjs) that finds packages/*/*configuration-schema.json and validates them against JSON Schema draft-07 using Ajv. The script prints human-friendly errors (or a markdown table with --markdown) and exits non-zero on failures. Wire this check into CI: run pnpm validate:schemas in .github workflows (ci, docs, publish). Update package.json to add the validate:schemas script and Ajv dependency, and update README, templates, and the wiki to document JSON Schema draft-07 and instruct maintainers to run pnpm validate:schemas after editing configuration-schema.json.
docs workflow depends on publish workflow, and publish has already validated
@josephjclark josephjclark merged commit d9dcfbb into main May 20, 2026
4 checks passed
@josephjclark josephjclark deleted the schema-validation branch May 20, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants