Skip navigation links

Package com.github.fge.jsonschema.core.tree.key

JSON Schema keys (unique identifiers)

See: Description

Package com.github.fge.jsonschema.core.tree.key Description

JSON Schema keys (unique identifiers)

Classes in this package are closely related to SchemaTree instances; one schema tree will have one SchemaKey.

Depending on the way you will have loaded your schema, the schema will be either anonymous or linked to a URI.

The fundamental difference between these two types of trees is that when using an anonymous schema, all JSON References found in a non-anonymous schema tree will be resolved against this tree's location; if the schema is anonymous, references will be resolved against the empyt URI reference (which leads to the reference itself being returned).

Skip navigation links