Skip to main content

RemoveFields

A transformation which removes fields from a record. The fields removed are designated using FieldPointers. During transformation, if a field or any of its parents does not exist in the record, no error is thrown.

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

type​

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

condition​

The predicate to filter a property by a property value. Property will be removed if it is empty OR expression is evaluated to True.,

Examples:

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

field_pointers​

Array of paths defining the field to remove. Each item is an array whose field describe the path of a field to remove.

  • Required: Yes
  • type: array

Examples:

- tags
- - content
- html
- - content
- plain_text
  • items:

    • type: array

    • items:

      • type: string
Was this page helpful?