Add one or more json documents including schemas on top or inner levels. This method doesn't trigger the schema parsing
You can use this schema if you have externally loaded some json document and you want to register to the schema router.
You can later parse and retrieve a schema from this json structure using ,
providing the correct refPointer
Add one or more json documents including schemas on top or inner levels. This method doesn't trigger the schema parsing
You can use this schema if you have externally loaded some json document and you want to register to the schema router.
You can later parse and retrieve a schema from this json structure using ,
providing the correct refPointer
Add a parsed schema to this router. When a schema is added to the cache, a new entry is created for {@link Schema#getScope} and, if you provide additional aliasScopes, this method register links to this schema with these scopes. This method is automatically called by SchemaParser when a new schema is parsed
Add an alias to a schema already registered in this router (this alias can be solved only from schema scope).
Add a parsed schema to this router. When a schema is added to the cache, a new entry is created for the provided scope, but NOT for {@link Schema#getScope}. This may be useful to register links to singleton schemas. This method is automatically called by SchemaParser when a new schema is parsed
Resolve cached schema based on refPointer. If a schema isn't cached, it returns null
Like {@link SchemaRouter#resolveRef} but with a direct callback.
Like {@link SchemaRouter#resolveRef} but with a direct callback.
Create a new SchemaRouter
Create a new SchemaRouter
Generated using TypeDoc
Represents a pool where parsed schemas are addressed and cached.
It also contains a cache of including on top or inner level some json schemas that could eventually parsed later.
You should not share this object between different threads