Rest validations