networknt / json-schema-validator

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12
Apache License 2.0
822 stars 323 forks source link

Are there plans to support custom vocabularies? #977

Closed Kaaviyan closed 6 months ago

Kaaviyan commented 6 months ago

Currently, the vocabulary set is limited to https://github.com/networknt/json-schema-validator/blob/master/src/main/java/com/networknt/schema/Vocabulary.java#L30

Are there plans to support custom vocabularies that consumers can define?

justin-tay commented 6 months ago

There are no plans to do so as typically defining a custom meta schema is sufficient.

justin-tay commented 6 months ago

This will likely be implemented in the next minor version as it will likely involve some breaking changes to people defining custom meta schemas.