Validate improve

instead of changing here, we can add a properties  like in RESTFul. for example https://github.com/Gizra/restful/blob/7.x-1.x/plugins/restful/RestfulEntityBase.php#L39-L47