core.function
A primitive stream that evaluates a Common Expression Language (CEL) expression and emits the result. The expression may reference named streams specified in the inputs
property.
Keywords
expression
required
The CEL expression
variables
optional
An object of named stream definitions that may be referenced in expression
.
Examples
{
"type": "function",
"expression": "username + '@' + domain",
"variables": {
"username":{
"type": "string",
"minLength": 2,
"maxLength": 64
},
"domain": {
"type": "enum",
"enum": ["example.com", "example.org"]
}
}
}