public final class SchemaContext extends Object implements com.github.fge.jsonschema.core.report.MessageProvider
SchemaDigester
and a ValidationChain
This is essentially a FullData
which only retains the type of the
instance to validate instead of the full instance.
NodeType.getNodeType(JsonNode)
Constructor and Description |
---|
SchemaContext(FullData data) |
SchemaContext(com.github.fge.jsonschema.core.tree.SchemaTree schema,
NodeType instanceType) |
Modifier and Type | Method and Description |
---|---|
NodeType |
getInstanceType() |
com.github.fge.jsonschema.core.tree.SchemaTree |
getSchema() |
com.github.fge.jsonschema.core.report.ProcessingMessage |
newMessage() |
public SchemaContext(FullData data)
public SchemaContext(com.github.fge.jsonschema.core.tree.SchemaTree schema, NodeType instanceType)
public com.github.fge.jsonschema.core.tree.SchemaTree getSchema()
public NodeType getInstanceType()
public com.github.fge.jsonschema.core.report.ProcessingMessage newMessage()
newMessage
in interface com.github.fge.jsonschema.core.report.MessageProvider