Updated Validation.php

Including new validation functions for new rest api changes.