public final class DraftV4DependenciesKeywordValidator extends KeywordValidator
dependencies keyword
Unlike in draft v3, property dependencies can now only be arrays of strings.
keyword| Constructor and Description |
|---|
DraftV4DependenciesKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
protected void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
alwaysTrue, newMsg, validateInstancepublic DraftV4DependenciesKeywordValidator(JsonNode schema)
protected void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validatepublic String toString()
toString in class KeywordValidatorCopyright © 2013. All Rights Reserved.