Skip to main content

Not Validator

Specification

{
"validatorType": String,
"name": String,
"description": String,
"validator": String,
"onNullResult": String
}

Structure values

Field NameTypeDescriptionRequiredDefault
validatorTypeStringThe type of validator to constructRequired
nameStringThe name of the validator. Must be unique within the validation suite.Required
descriptionStringExpanded validator information.None
validatorStringA validator (referenced by name) that should have its logic inverted. Validator name matching is not case sensitive.Required
onNullResultStringA value of pass, null, or fail that describes how to process null values. Null aggregates them into a null column. Pass aggregates them in with the other passing values. Fail aggregates them in with the other failing values.fail

Example

{
"validatorType": "not",
"name": "sample_not_validator",
"description": "I can invert logic",
"validator": "starts_with_1",
"onNullResult": "pass"
}