Visitar URL original
Docs: addKeyword argument · Issue #2217 · ajv-validator/ajv · GitHub
Skip to content

Docs: addKeyword argument #2217

Closed

Description

@SquareByte

What version of Ajv you are you using?
8.11.2

What is the problem

The docs are missing, that ":" also is an allowed non-leading character in custom keywords added via addKeyword(). It probably also is worth mentioning, that letter means an ASCII letter.

RegEx for ref: /^[a-z_$][a-z0-9_$:-]*$/i at Line

Activity

  1. added a commit that references this issue on Jun 22, 2024
    13a9acc
  2. added a commit that references this issue on Jul 10, 2024
    f7831b4
  3. added a commit that references this issue on Jul 13, 2024
  4. added a commit that references this issue on Oct 28, 2025
    d5821d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions