-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi, my company is considering using this library. We want to be able to extend the JSON Schema spec with custom keywords, but it is not currently supported. I would be happy to discuss this change with you and contribute.
I tried implementing a range keyword as described in 1. I ran into these problems:
- The base keyword classes (
AbstractNumericAssertion) are private, and can't be extended in my own package. ProblemBuilderwithMessagebuilder method requiresMessageas argument. I think it would be better if it acceptsBaseMessage, which should be a public interface I can implement.- I'm not yet sure how to inject my own keyword into
Justify, butStandardKeywordFactoryseems to be the way. Maybe it can have anaddKeywordmethod?
Happy to help, if you have an API in mind, I can come up with an impl. Thanks for this great project!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request