Skip to main content

PredicateValidator

Validator that applies a validation strategy to a specified value.

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

type​

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

value​

The value to be validated. Can be a literal value or interpolated from configuration.

  • Required: Yes
  • type: ["string","number","object","array","boolean","null"]
  • Available variables: config

Examples:

test-value
{{ config['api_version'] }}
{{ config['tenant_id'] }}
123

validation_strategy​

The validation strategy to apply to the value.

Was this page helpful?