UNPKG

@rjsf/validator-ajv6

Version:
14 lines (13 loc) 598 B
import { Options } from 'ajv'; /** The type describing how to customize the AJV6 validator */ export interface CustomValidatorOptionsType { /** The list of additional meta schemas that the validator can access */ additionalMetaSchemas?: ReadonlyArray<object>; /** The set of additional custom formats that the validator will support */ customFormats?: { [k: string]: string | RegExp | ((data: string) => boolean); }; /** The set of config overrides that will be passed to the AJV validator constructor on top of the defaults */ ajvOptionsOverrides?: Options; }