json-schema validation

jacques_clement
Giga Contributor

Hi,

Has anyone ever worked on implementing one of the many JSON Schema validation modules/libraries that exist out there? It takes a little bit of work to adjust them to a script include (unless there is an easy solution to convert an AMD or CommonJS library into something usable in ServiceNow (have not found so far).

With scripted REST API ramping up, it would be very interesting for ServiceNow to add something like this out of the box anyhow.

Any thoughts?

Regards,

Jacques Clement

6 REPLIES 6

jacques_clement
Giga Contributor

Hi Ingimar,

Nope, did not make any adjustments - just used it as-is like you. I have not noticed any particular issues with performance.

Regards,

Jacques

Excellent! Thanks!