[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002567: libjson-schema-modern-perl



Andrius Merkys wrote:
> On 2021-12-24 12:15, Damyan Ivanov wrote:
> > JSON::Schema::Modern aims to be a fully-compliant JSON Schema evaluator and
> > validator, targeting the currently-latest Draft 2020-12
> > (https://json-schema.org/specification-links.html#2020-12).
>
> Thanks for an interesting ITP. I find it nontrivial to understand how
> JSON::Schema::Modern is different from JSON::Validator which is already
> in Debian. Maybe it is worth asking the upstream.

It probably would be :)  This distribution is fully specification-compliant,
including output formats, and supports up to the latest version of the json
schema specification, which is necessary for OpenAPI 3.1 support.

> > Currently the tests fail with AUTOMATED_TESTS=1 in the environment (which
> > happens during autopkg-testing).
>
> I may look into this if I find some time.

This is because one of its dependencies, Test::JSON::Schema::Acceptance, was
being packaged with the incorrect data set -- the newer code was not
compatible with the older data.  I believe that
libtest-json-schema-acceptance-perl has now been properly repackaged, so you
may try again.

Why are you using AUTOMATED_TESTS though? See
https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md#environment-variables-for-testing-contexts
for the proper usage of this environment variable.

cheers,
Karen Etheridge
ether@cpan.org
- the author of JSON::Schema::Modern

Reply to: