Options that can be passed to the derefencer constructor.

interface DereferencerOptions {
    mutate?: boolean;
    protocolHandlerMap?: ProtocolHandlerMap;
    recursive?: boolean;
    refCache?: RefCache;
    rootSchema?: JSONSchema;
}

Properties

mutate?: boolean

If true, the schema passed in will be dereferenced in-place, mutating the original. Default is false.

protocolHandlerMap?: ProtocolHandlerMap

Setup custom protocol handlers. See https://github.com/json-schema-tools/reference-resolver for details

recursive?: boolean

If true, resolved non-local references will also be dereferenced using the same options.

refCache?: RefCache

Preseed the dereferencer with resolved refs

rootSchema?: JSONSchema