You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Francis Galiegue edited this page Mar 28, 2014
·
2 revisions
Description
This keyword is intended as an alternative to additionalProperties.
Syntax
the value of this keyword MUST be a JSON boolean;
when this keyword is present, additionalProperties MUST NOT be present.
Applicability
This keyword applies to the validation of JSON Object instances.
Preliminary notes
In the same vein as additionalProperties, properties and others, this keyword is meant to validate the structure of the JSON Object; it has no influence on the validation of object member values.
As such, the validation rules below do not describe the validation of object member values.
Validation rules
If strictProperties is false
Validation always succeeds.
If strictProperties is true
Validation succeeds if and only if the JSON Object:
has all properties defined in properties, and
has no other properties than the ones defined in properties, patternPropertyGroups and required.