public final class MinPropertiesKeywordValidator extends PositiveIntegerKeywordValidator
minProperties keyword
This keyword places a lower constraint on the number of members of an
object instance in the same manner than minItems does for array
instances.
intValuekeyword| Constructor and Description |
|---|
MinPropertiesKeywordValidator(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 MinPropertiesKeywordValidator(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.