Adding validations for required and regex matching
Adding validations for slice fields