Skip to content

Commit

Permalink
docs: Add : as an allowed keyword character
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitant Patel committed Jul 20, 2023
1 parent 490eb8c commit 63fbf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Add validation keyword to Ajv instance.

Keyword should be different from all standard JSON Schema keywords and different from previously defined keywords. There is no way to redefine keywords or to remove keyword definition from the instance.

Keyword must start with a letter, `_` or `$`, and may continue with letters, numbers, `_`, `$`, or `-`.
Keyword must start with a letter, `_` or `$`, and may continue with letters, numbers, `_`, `$`, `-`, or `:`.
It is recommended to use an application-specific prefix for keywords to avoid current and future name collisions.

Example Keywords:
Expand Down

0 comments on commit 63fbf2b

Please sign in to comment.