feat: support P1 leaf JSON Schema constraints (#82) #84

Merged
xingyue merged 1 commits from feat/82-schema-p1-leaf-constraints into main 2026-06-01 01:26:51 +00:00

1 Commits

Author SHA1 Message Date
xiaoju 70af05adf5 feat: support P1 leaf JSON Schema constraints (#82)
Add 10 new schema keywords to whitelist + meta-schema:
- numeric: minimum, maximum, exclusiveMinimum, exclusiveMaximum
- string: minLength, maxLength, pattern
- array: minItems, maxItems, uniqueItems

These are pure leaf constraints with no collectRefs() impact.
5 new tests covering validation, rejection, and nested usage.

Refs #82
2026-06-01 01:14:02 +00:00