Skip to main content

AddFields

Transformation which adds field to an output record. The path of the added field can be nested.

  • type: object
  • required: ["type","fields"]

type​

  • Required: Yes
  • type: string
  • enum: ["AddFields"]

fields​

List of transformations (path and corresponding value) that will be added to the record.

condition​

Fields will be added if expression is evaluated to True.

Examples:

{{ property|string == '' }}
{{ property is integer }}
{{ property|length > 5 }}
{{ property == 'some_string_to_match' }}

$parameters​

  • Required: No
  • type: object
Was this page helpful?