Schema Validators
Most back end services will accept input by way of JSON. After verifying that the JSON is well formed there is a large amount of validation that will need to performed such as:
- Do the expected properties exist on the input?
- Are the properties of the expected type?
- Are the string lengths in the expected range?
A class of libraries called schema validators solve this problem in an elegant and declarative way.