Package | Description |
---|---|
com.github.fge.jsonschema.core.load |
Schema loading and JSON Reference resolving
|
com.github.fge.jsonschema.core.ref |
JSON Reference related classes
|
com.github.fge.jsonschema.core.tree |
Navigable JSON tree representations
|
com.github.fge.jsonschema.core.tree.key |
JSON Schema keys (unique identifiers)
|
Modifier and Type | Method and Description |
---|---|
SchemaTree |
Dereferencing.newTree(JsonRef ref,
com.fasterxml.jackson.databind.JsonNode node)
Create a new schema tree with a given loading URI and JSON Schema
|
Modifier and Type | Method and Description |
---|---|
static JsonRef |
JsonRef.emptyRef()
Return an empty reference
|
static JsonRef |
JsonRef.fromString(String s)
Build a JSON Reference from a string input
|
static JsonRef |
JsonRef.fromURI(URI uri)
Build a JSON Reference from a URI
|
abstract JsonRef |
JsonRef.resolve(JsonRef other)
Resolve this reference against another reference
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonRef.contains(JsonRef other)
Tell whether the current JSON Reference "contains" another
|
abstract JsonRef |
JsonRef.resolve(JsonRef other)
Resolve this reference against another reference
|
Modifier and Type | Method and Description |
---|---|
JsonRef |
BaseSchemaTree.getContext()
Get the current resolution context
|
JsonRef |
SchemaTree.getContext()
Get the current resolution context
|
JsonRef |
BaseSchemaTree.getDollarSchema() |
JsonRef |
SchemaTree.getDollarSchema()
Return the metaschema URI for that schema (ie,
$schema ) |
JsonRef |
BaseSchemaTree.getLoadingRef()
Get the loading URI for that schema
|
JsonRef |
SchemaTree.getLoadingRef()
Get the loading URI for that schema
|
protected static JsonRef |
BaseSchemaTree.idFromNode(com.fasterxml.jackson.databind.JsonNode node)
Build a JSON Reference from a node
|
JsonRef |
BaseSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
JsonRef |
SchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Modifier and Type | Method and Description |
---|---|
boolean |
InlineSchemaTree.containsRef(JsonRef ref) |
boolean |
CanonicalSchemaTree.containsRef(JsonRef ref) |
boolean |
SchemaTree.containsRef(JsonRef ref)
Tell whether a JSON Reference is contained within this schema tree
|
com.github.fge.jackson.jsonpointer.JsonPointer |
InlineSchemaTree.matchingPointer(JsonRef ref) |
com.github.fge.jackson.jsonpointer.JsonPointer |
CanonicalSchemaTree.matchingPointer(JsonRef ref) |
com.github.fge.jackson.jsonpointer.JsonPointer |
SchemaTree.matchingPointer(JsonRef ref)
Return a matching pointer in this tree for a fully resolved reference
|
JsonRef |
BaseSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
JsonRef |
SchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Constructor and Description |
---|
BaseSchemaTree(JsonRef loadingRef,
com.fasterxml.jackson.databind.JsonNode baseNode,
com.github.fge.jackson.jsonpointer.JsonPointer pointer)
Deprecated.
|
CanonicalSchemaTree(JsonRef loadingRef,
com.fasterxml.jackson.databind.JsonNode baseNode)
Deprecated.
|
InlineSchemaTree(JsonRef loadingRef,
com.fasterxml.jackson.databind.JsonNode baseNode)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected JsonRef |
SchemaKey.loadingRef |
Modifier and Type | Method and Description |
---|---|
JsonRef |
SchemaKey.getLoadingRef()
Get the loading URI (as a
JSON Reference ) for that key |
Modifier and Type | Method and Description |
---|---|
static SchemaKey |
SchemaKey.forJsonRef(JsonRef ref)
Generate a key for a schema loaded from a
JSON Reference |
Constructor and Description |
---|
SchemaKey(JsonRef loadingRef) |
Copyright © 2016. All rights reserved.