json-schema.reference package

<< back to json-schema index

Exported symbols:

Variables

*http-connect-timeout*

Number of seconds before a remote-reference-error will be signaled while trying to connect to a remote schema.

*http-read-timeout*

Number of seconds before a remote-reference-error will be signaled while trying to read a remote schema.

*resolve-remote-references*

Whether to download other schemas for references. Will error if another uri is referenced in a schema and this var is set to nil.

Functions

resolve

Resolves a reference schema object to the referred-to schema.

fetch-schema

Fetches a remote document or raises an error depending on the value of *resolve-remote-references*.

get-id-fun-for-schema-version

Selects an id function that's appropriate for each schema draft.

make-context

Given a root schema document schema and a json schema version schema-version, create a reusable context object that will cache all schema data including remote references that get fetched.

Macros

Classes