functions value that is a string is invalid.functions as an array of strings with a functionsDir string is valid.functionsDir, the function is loaded from that directory.functions is loaded from functions/<name>.js next to the ruleset.path is reported there; one whose path is not in the document is reported at the root.