using resource validator instead of object validator