create the validations for each model