add: Validation checks for the format of prefix/suffix provided