Adding json schema validation.