https://bugzilla.wikimedia.org/show_bug.cgi?id=44454
Ori Livneh <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Ori Livneh <[email protected]> --- This is permitted by the JSON Schema draft v3: > 5.4. additionalProperties > > This attribute defines a schema for all properties that are not > explicitly defined in an object type definition. If specified, the > value MUST be a schema or a boolean. If false is provided, no > additional properties are allowed beyond the properties defined in > the schema. The default value is an empty schema which allows any > value for additional properties. <http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.4> Nevertheless, this bug is valid, because: 1) Client-side and server-side validation should behave the same way 2) A stricter interpretation of the draft in which additional values are disallowed seems sensible. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
