Validation Report Functions
The ValidateReport function unconditionally indicates a validation failure and can be used in any type of expression. The CondValidateReport is the same, except that you can specify a condition that indicates a validation failure if false.
With both of these functions, you can provide a severity, error number, and error message text. In addition, you can provide any other data necessary to provide context for the report, such as the value of a map element. All of this will be captured for the validation report.