Skip to main content
Version: 3.4.0

assert

Validate an event against a JSON Schema, based on IETF's draft v7 (http://json-schema.org)

Field NameDescriptionTypeDefault
conditionOnly run this action if the condition the specified condition is metexpression-
schema-fileFilename of the json-schema file for this actionpath-
schemaString containing json-schemastring-
abort-on-failureAbort the pipe in the event of schema validation failureboolfalse
drop-event-on-failureDrop the current event in case of scheme validation failureboolfalse
no-warningsDo not emit warnings when schema validation failsboolfalse

condition

Only run this action if the condition the specified condition is met

Type: expression

schema-file

Filename of the json-schema file for this action

Type: path

schema

String containing json-schema

Type: string

abort-on-failure

Abort the pipe in the event of schema validation failure

Type: bool

drop-event-on-failure

Drop the current event in case of scheme validation failure

Type: bool

no-warnings

Do not emit warnings when schema validation fails

Type: bool