Repository navigation
JSONSchema v1.6.0
JSONSchema.schema(T)generates a JSON Schema from a Julia type (#80, fixes #78).JSONSchema.json_pointer(issue)returns a validation issue's location as an RFC 6901 JSON Pointer.- Validation fixes:
$refpointers with escapes or empty segments resolve correctly, and malformed escapes or invalid array indices in them are rejected; booleans no longer fail numeric assertions;nothingandmissingboth validate as null; Float16, Float32 and BigFloat integer values pass"type": "integer"like Float64; anyAbstractStringorAbstractVectorinstance gets string or array validation;patternPropertieserror paths are complete; schemas given as strictly typed nestedDicts load (#82). - Fewer allocations during validation.
(Release notes generated via AI.)
Merged pull requests:
- Re-enable x86 in CI (#68) (@odow)
- v2.0 rewrite: schema generation from Julia types (#70) (@quinnj)
- Fix PR #70 feedback: API cleanup and URL fixes (#71) (@quinnj)
- Remove compat.jl in favor of explicitly breaking changes (#72) (@odow)
- Fix docstring in wrong place (#73) (@odow)
- Fix copyright headers (#74) (@odow)
- Add Runic formatter (#76) (@quinnj)
- Split validation and generation and initial runic formatting (#77) (@quinnj)
- revert(validation): restore v1.5 baseline (#79) (@quinnj)
- Add type-driven schema generation for 1.6 (#80) (@quinnj)
- Fix typed dictionary ref resolution (#82) (@quinnj)
- Fix incomplete property paths in validation errors (#85) (@quinnj)
- Authenticate coverage uploads and report failures (#86) (@quinnj)
- Expose standard JSON pointers for validation issues (#87) (@quinnj)
- Avoid unused reference tracking allocations during validation (#88) (@quinnj)
- Resolve escaped and empty schema reference paths correctly (#89) (@quinnj)
- Reject invalid array indices in schema reference pointers (#90) (@quinnj)
- Reject malformed escapes in reference pointer tokens (#91) (@quinnj)
- Keep numeric assertions from rejecting boolean instances (#92) (@quinnj)
- Treat both Julia null representations equally (#93) (@quinnj)
- Reduce allocations when validating array items (#94) (@quinnj)
- Avoid temporary arrays when comparing JSON array values (#95) (@quinnj)
- Reuse property patterns during object validation (#96) (@quinnj)
- Validate integer-valued floating-point inputs consistently (#97) (@quinnj)
- Apply string validation to AbstractString inputs (#98) (@quinnj)
- Validate abstract vector array instances (#99) (@quinnj)
- Add Downloads compat for the 1.6 release (#100) (@quinnj)
Closed issues: