ajv-keywords

  • Version 5.1.0
  • Published
  • 132 kB
  • 1 dependency
  • MIT license

Install

npm i ajv-keywords
yarn add ajv-keywords
pnpm add ajv-keywords

Overview

Additional JSON-Schema keywords for Ajv JSON validator

Index

Variables

Type Aliases

Variables

variable ajvKeywords

const ajvKeywords: Plugin<string | string[]>;

    Type Aliases

    type AjvKeywordsError

    type AjvKeywordsError =
    | PatternRequiredError
    | SelectError
    | ErrorNoParams<
    | 'range'
    | 'exclusiveRange'
    | 'anyRequired'
    | 'oneRequired'
    | 'allRequired'
    | 'deepProperties'
    | 'deepRequired'
    | 'dynamicDefaults'
    | 'instanceof'
    | 'prohibited'
    | 'regexp'
    | 'transform'
    | 'uniqueItemProperties'
    >;

      Package Files (2)

      Dependencies (1)

      Dev Dependencies (20)

      Peer Dependencies (1)

      Badge

      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/ajv-keywords.

      • Markdown
        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/ajv-keywords)
      • HTML
        <a href="https://www.jsdocs.io/package/ajv-keywords"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>