public class JsonSchemaRef extends Object
This reference may be empty (if the reference is being parsed) or with data (after the reference has been parsed), helping to prevent recursive reference to cause an infinite loop.
Constructor and Description |
---|
JsonSchemaRef(JsonSchema schema) |
Modifier and Type | Method and Description |
---|---|
JsonSchema |
getSchema() |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at) |
Set<ValidationMessage> |
walk(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at,
boolean shouldValidateSchema) |
public JsonSchemaRef(JsonSchema schema)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
public JsonSchema getSchema()
public Set<ValidationMessage> walk(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at, boolean shouldValidateSchema)
Copyright © 2021. All rights reserved.