Validators for bool and resource types