Skip Menu |

This queue is for tickets about the JSON-Schema CPAN distribution.

Report information
The Basics
Id: 76944
Status: resolved
Priority: 0/
Queue: JSON-Schema

People
Owner: perl [...] toby.ink
Requestors: sdevoid [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.011
Fixed in: (no value)



Subject: AdditionalProperties not working
Validator not identifying the "additionalProperties" definition (Section 5.4 of draft-zyp-json- schema-03). Perhaps JSON::Schema currently only supports draft 02? Can you make your version support explicit in the documentation? my $schema = { additionalProperties => JSON::false }; my $validator = JSON::Schema->new($schema); my $result = $validator->validate({ foo => "bar" });
This is the second additionalProperties but report I've had this week! Has JSON::Schema suddenly become famous?! I'll take a look at my implementation of additionalProperties in the next couple of days. The aim is to keep up with the latest drafts of JSON Schema, but as I'm the only developer working on the module at the moment, it can fall behind occasionally.
There is a fix for this in my repository and I'll push a release out in a few days. https://bitbucket.org/tobyink/p5-json-schema
There is a fix for this in my repository and I'll push a release out in a few days. https://bitbucket.org/tobyink/p5-json-schema