Package dev.harrel.jsonschema
Interface ResultItem
- All Known Subinterfaces:
Annotation,Error
public interface ResultItem
ResultItem interface provides methods which can uniquely identify specific point
in validation flow.-
Method Summary
Modifier and TypeMethodDescriptionReturns JSON pointer like path representing evaluation point in schema JSON.Returns JSON pointer like path representing evaluation point in instance JSON.Returns keyword name associated with given evaluation point.Returns absolute schema location which uniquely identifies given schema.
-
Method Details
-
getEvaluationPath
String getEvaluationPath()Returns JSON pointer like path representing evaluation point in schema JSON. -
getSchemaLocation
String getSchemaLocation()Returns absolute schema location which uniquely identifies given schema. -
getInstanceLocation
String getInstanceLocation()Returns JSON pointer like path representing evaluation point in instance JSON. -
getKeyword
String getKeyword()Returns keyword name associated with given evaluation point. Might be null.
-