We should really make a function somewhere that returns this type of property since the same validator and error message are used for every name.