perl-JSV
perl-JSV copied to clipboard
JSON Schema implementation for Perl
Seee issue #49 for why this is needed. This should be enough to comply with [Restrictions in RFC3339][1] [1]: https://tools.ietf.org/html/rfc3339#section-5.7
Hi. ```perl {type => 'string', format => 'date' } ``` will pass validation for invalid date like 2017-02-29. https://github.com/takkyuuplayer/perl-exercise/blob/master/t/jsv-validator.t#L222-L230 I think we should check date inside https://github.com/zigorou/perl-JSV/blob/8e18e4a48eed3e4af4331961d18f8cd7c16cccd4/lib/JSV/Validator.pm#L70-L72 What do you...
I seem to get random validation results when validating a valid instance (sometimes the result is '1', sometimes it is '0'). If I remove the 'Palette' attribute - results are...
`Data::Walk` overwrites `$_` global variable without any rewind, and it occasionally causes unexpected behavior (I met very hard bug due to that) In my humble opinion `Data::Walk` is poor-quality, and...
A number of tests started to fail on my smoker machines. Statistical analysis suggests that the problem is caused by recent Data::Walk versions: ``` **************************************************************** Regression 'mod:Data::Walk' **************************************************************** Name Theta...
The error messages seem to be grouped into similar groups. E.g. all missing "required" properties. But the JSV::Result does not have a method to extract the properties in question. schema:...
I'd expect a way to initialize a schema only once and validate many instances against it, e.g: ``` perl my $validator = JSV::Validator->compile($schema); say $validator->validate($instance) for @instances; ``` As I...