Documentation Center

CEL expressions

A CEL expression is a language expression that determines the value of an aspect property, which you define in the Context Vocabulary file. A CEL expression can contain CEL variables, CEL literals and CEL operators.

An aspect property in the Context Vocabulary file has a name, a data type, an expression and a trust value. The expression must be a valid CEL expression that evaluates to a value of the property's data type.

A valid CEL expression is defined as follows:

  • A literal constitutes a valid CEL expression.
  • A variable constitutes a valid CEL expression.
  • A valid CEL expression combined with a unary operator constitutes a valid CEL expression.
  • Two valid CEL expressions connected by a binary operator constitute a valid CEL expression.
  • Three valid CEL expressions connected by a ternary operator constitute a valid CEL expression.