Add ability to validate against schema