updated validation checks

validation checks now return 422 on semantic errors