Is a Phone Number

Overview

The Sifflet Is a Phone Number monitor template is a field-level format validation monitor. It accepts string fields and fails if the monitored field contains data that does not match the phone number format.

As Code

Monitor Kind: FieldFormat
All the format monitors are grouped under the FieldFormat monitor kind.

format.kind: Phone
Set the format kind to Phone to use the phone number mode of the FieldFormat as-code monitor.

field: The field that the monitor checks the format of.

parameters:
  kind: FieldFormat
  field: PHONE_NUMBER
  format:
    kind: Phone

Filtering and Grouping

Field format monitors allow filtering and grouping parameters.

parameters:
  kind: FieldFormat
  field: PHONE_NUMBER
  format:
    kind: Phone
  whereStatement: NOT invalid
  groupBy:
    field: COUNTRY

Time Window (Beta)

📘

Beta

Field format monitors allow time window parameters.

Threshold Settings (Beta)

📘

Beta

Field format monitors allow threshold configuration.


Did this page help you?