Class Annotation

java.lang.Object
dev.harrel.jsonschema.Annotation

public class Annotation extends Object
Annotation class represents collected annotation.
  • Method Details

    • getAnnotation

      public Object getAnnotation()
      Returns collected annotation.
    • 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.