If you need to validate your JSON-Schema I recommend next libraries:
- jjv (https://github.com/acornejo/jjv)
- djv (https://github.com/korzio/djv)
- ajv (https://github.com/epoberezkin/ajv)
jjv is a simple library but hasn't a good performance. If you need to validate small json objects it might be good choice. However I recommend djv or ajv. As far as I know ajv is more popular than djv but all of them have good performance.