FieldCheck parameters
field : [string] (default:
'') Name of field to check.regex : [string] (default:
'') Regular expression to match the field content. Note that technically we do a search, not a match.regexp : Alias for regex.
numeric_condition: [string] (default:'none') (choices: “>”, “>=”, “<”, “<=”, “=”, “none”) Convert the group 1 of the regular expression to a number and apply this operation to the numeric_reference value.numeric_reference: [number] (default:0) Value to compare using numeric_condition.severity: [string] (default:'error') (choices: “error”, “warning”, “info”, “skip”, “continue”) Default severity applied to various situations. The error will stop execution. The warning and info will generate a message and continue with the rest of the tests. In the skip case we jump to the next component. Use continue to just skip this test and apply the rest.severity_fail_condition: [string] (default:'default') (choices: “error”, “warning”, “info”, “skip”, “continue”, “default”) What to do when the numeric_condition isn’t met. Default means to use the severity option.severity_missing: [string] (default:'continue') (choices: “error”, “warning”, “info”, “skip”, “continue”, “default”) What to do if the field isn’t defined. Default means to use the severity option.severity_no_match: [string] (default:'default') (choices: “error”, “warning”, “info”, “skip”, “continue”, “default”) What to do when the regex doesn’t match. Default means to use the severity option.severity_no_number: [string] (default:'default') (choices: “error”, “warning”, “info”, “skip”, “continue”, “default”) What to do if we don’t get a number for a numeric_condition. Default means to use the severity option.