UNPKG

json-schema-library

Version:

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation

10 lines (9 loc) 411 B
import { Keyword, ValidationPath } from "../../Keyword"; import { SchemaNode } from "../../types"; export declare const $refKeyword: Keyword; export declare function parseRef(node: SchemaNode): void; export declare function resolveRef({ pointer, path }?: { pointer?: string; path?: ValidationPath; }): SchemaNode; export default function getRef(node: SchemaNode, $ref?: string): SchemaNode | undefined;