Package validator implements struct field validations