A simple validator for a subset of JSON-Schema.