Aggregate functions

Aggregate functions allow you to extract a value from a Collections in validation script.

They are not validation functions in itself, but can help you in retrieving data you want to refer to more easily in the rest of your validation script.

Function Result
max (Collection) The maximum of the given collection of values.
min (Collection) The minimum of the given collection of values.
avg (Collection) The average of the given collection of number values.
sum (Collection) The sum of the given collection of number values.