Skip to main content

DpathValidator

Validator that extracts the value located at a given field path.

  • type: object
  • required: ["type","field_path","validation_strategy"]

type​

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

field_path​

List of potentially nested fields describing the full path of the field to validate. Use "*" to validate all values from an array.

  • Required: Yes
  • type: array
  • Available variables: config

Examples:

- data
- data
- records
- data
- '{{ parameters.name }}'
- data
- '*'
- record
  • items:

    • type: string

validation_strategy​

The condition that the specified config value will be evaluated against

Was this page helpful?