ajv-keywords icon indicating copy to clipboard operation
ajv-keywords copied to clipboard

[optionally] add "vendor" prefix to custom keywords

Open epoberezkin opened this issue 8 years ago • 1 comments
trafficstars

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

epoberezkin avatar Jan 18 '17 22:01 epoberezkin

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

iainsproat avatar Dec 08 '23 09:12 iainsproat