File size: 435 Bytes
c2b7eb3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Schema, SchemaDraft, ValidationResult } from './types.js';
export type Evaluated = Record<string | number, boolean>;
export declare function validate(
  instance: any,
  schema: Schema | boolean,
  draft?: SchemaDraft,
  lookup?: Record<string, Schema | boolean>,
  shortCircuit?: boolean,
  recursiveAnchor?: Schema | null,
  instanceLocation?: string,
  schemaLocation?: string,
  evaluated?: Evaluated
): ValidationResult;