Class JsonSchemaRef


  • public class JsonSchemaRef
    extends Object
    Use this object instead a JsonSchema for references.

    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 Detail

      • JsonSchemaRef

        public JsonSchemaRef​(JsonSchema schema)
    • Method Detail

      • validate

        public Set<ValidationMessage> validate​(com.fasterxml.jackson.databind.JsonNode node,
                                               com.fasterxml.jackson.databind.JsonNode rootNode,
                                               String at)
      • walk

        public Set<ValidationMessage> walk​(com.fasterxml.jackson.databind.JsonNode node,
                                           com.fasterxml.jackson.databind.JsonNode rootNode,
                                           String at,
                                           boolean shouldValidateSchema)