Action: assert
Validate an event against a JSON Schema, based on IETF's draft v7 (http://json-schema.org)
Field Summary
Field Name | Type | Description | Default |
---|---|---|---|
condition | expression | Only run this action if the condition the specified condition is met | - |
schema-file | path | Filename of the json-schema file for this action | - |
schema | string | String containing json-schema | - |
abort-on-failure | bool | Abort the pipe in the event of schema validation failure | false |
drop-event-on-failure | bool | Drop the current event in case of scheme validation failure | false |
no-warnings | bool | Do not emit warnings when schema validation fails | false |
Fields
condition
Type: expression
Only run this action if the condition the specified condition is met
schema-file
Type: path
Filename of the json-schema file for this action
schema
Type: string
String containing json-schema
abort-on-failure
Type: bool
Default: false
Abort the pipe in the event of schema validation failure
drop-event-on-failure
Type: bool
Default: false
Drop the current event in case of scheme validation failure
no-warnings
Type: bool
Default: false
Do not emit warnings when schema validation fails