Updating validators.php to API entity values