public final class MaxPropertiesKeywordValidator extends PositiveIntegerKeywordValidator
maxProperties keyword
This keyword places au upper constraint on the number of members of an
object instance in the same manner than maxItems does for array
instances
intValuekeyword| Constructor and Description |
|---|
MaxPropertiesKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
toStringalwaysTrue, newMsg, validateInstancepublic MaxPropertiesKeywordValidator(JsonNode schema)
public void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validateCopyright © 2013. All Rights Reserved.