Package | Description |
---|---|
com.github.fge.jsonschema.main |
Main schema validation API
|
com.github.fge.jsonschema.metaschema |
Metaschema data
|
com.github.fge.jsonschema.processing.ref | |
com.github.fge.jsonschema.ref |
JSON Reference related classes
|
com.github.fge.jsonschema.schema |
Internal JSON Schema objects
|
com.github.fge.jsonschema.tree |
Modifier and Type | Method and Description |
---|---|
JsonSchemaFactory.Builder |
JsonSchemaFactory.Builder.addKeywordRegistry(JsonRef schemaURI,
KeywordRegistry keywordRegistry,
boolean byDefault)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JsonRef |
SchemaURIs.draftV3Core()
Deprecated.
Return the defined URI for draft v3
|
static JsonRef |
SchemaURIs.draftV3HyperSchema()
Deprecated.
Return the defined URI for draft v3 hyper schema
|
static JsonRef |
SchemaURIs.draftV4Core()
Deprecated.
Return the defined URI for draft v4
|
JsonRef |
MetaSchema.getDollarSchema()
Return the URI of that metaschema
|
Modifier and Type | Method and Description |
---|---|
abstract JsonSchemaTree |
Dereferencing.newTree(JsonRef ref,
JsonNode node) |
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 | Field and Description |
---|---|
protected JsonRef |
SchemaContext.locator |
Modifier and Type | Method and Description |
---|---|
JsonRef |
SchemaContext.getLocator()
Get this context's locator
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SchemaContext.contains(JsonRef other) |
boolean |
InlineSchemaContext.contains(JsonRef other) |
boolean |
CanonicalSchemaContext.contains(JsonRef other) |
abstract JsonNode |
SchemaContext.resolve(JsonRef ref) |
JsonNode |
InlineSchemaContext.resolve(JsonRef ref) |
JsonNode |
CanonicalSchemaContext.resolve(JsonRef ref) |
Modifier and Type | Field and Description |
---|---|
protected JsonRef |
JsonSchemaTree.currentRef
The current resolution context
|
protected JsonRef |
JsonSchemaTree.loadingRef
The JSON Reference from which this node has been loaded
|
protected JsonRef |
JsonSchemaTree.startingRef
The JSON Reference representing the context at the root of the schema
|
Modifier and Type | Field and Description |
---|---|
protected Deque<JsonRef> |
JsonSchemaTree.refStack
The stack of resolution contexts
|
Modifier and Type | Method and Description |
---|---|
JsonRef |
JsonSchemaTree.getCurrentRef()
Get the current resolution context
|
JsonRef |
JsonSchemaTree.getLoadingRef()
Get the loading URI for that schema
|
protected static JsonRef |
JsonSchemaTree.idFromNode(JsonNode node)
Build a JSON Reference from a node
|
JsonRef |
JsonSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
JsonSchemaTree.containsRef(JsonRef ref)
Tell whether a JSON Reference is contained within this schema tree
|
boolean |
InlineSchemaTree.containsRef(JsonRef ref)
Tell whether a full resolved reference is contained within this tree
|
boolean |
CanonicalSchemaTree.containsRef(JsonRef ref) |
abstract JsonPointer |
JsonSchemaTree.matchingPointer(JsonRef ref)
Return a matching pointer in this tree for a fully resolved reference
|
JsonPointer |
InlineSchemaTree.matchingPointer(JsonRef ref) |
JsonPointer |
CanonicalSchemaTree.matchingPointer(JsonRef ref)
Return a matching pointer in this tree for a fully resolved reference
|
JsonRef |
JsonSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Constructor and Description |
---|
CanonicalSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
InlineSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
JsonSchemaTree(JsonRef loadingRef,
JsonNode baseNode,
Dereferencing dereferencing)
The main constructor
|
Copyright © 2013. All Rights Reserved.