Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[optionally] add "vendor" prefix to custom keywords #6

Open
epoberezkin opened this issue Jan 18, 2017 · 1 comment
Open

[optionally] add "vendor" prefix to custom keywords #6

epoberezkin opened this issue Jan 18, 2017 · 1 comment
Labels

Comments

@epoberezkin
Copy link
Member

Possible approaches:

  • simply rename all custom keywords, e.g. "switch" to "x-switch" or to "ajv-switch"
  • add the ability to redefine names (or to define prefix) at the time keywords are added
@iainsproat
Copy link

Json Schema's preferred method is to add an x- prefix: https://json-schema.org/blog/posts/custom-annotations-will-continue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants