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" });