JSONSchema Changelog
0.5.0
Breaking Changes
- Support for Swift <= 4.2 was removed.
ValidationResult.Valid
was renamed toValidationResult.valid
.
Enhancements
- Added support for JSON Schema Draft 6 and 7.
- Support for Swift 4 and 5.
uri
format is now validated.
Bug Fixes
-
Fixes cases where schemas containing an
enum
with a boolean or number may be incorrectly matched against values which are boolean or numbers.For example,
{ "enum": [1] }
incorrectly validated with values oftrue
and vice-versa. -
Added support for referencing parts using escaped
~
and/
.
0.3.0
Enhancements
- Adds support for Swift 2.2.
- Adds support for Swift Package Manager.