Class Error

java.lang.Object
dev.harrel.jsonschema.Error

public class Error extends Object
Error class represents validation error.
  • Method Details

    • getError

      public String getError()
      Returns validation error.
    • getEvaluationPath

      public String getEvaluationPath()
      Returns JSON pointer like path representing evaluation point in schema JSON.
    • getSchemaLocation

      public String getSchemaLocation()
      Returns absolute schema location which uniquely identifies given schema.
    • getInstanceLocation

      public String getInstanceLocation()
      Returns JSON pointer like path representing evaluation point in instance JSON.
    • getKeyword

      public String getKeyword()
      Returns keyword name associated with given evaluation point. Might be null.