This field is used to input a phone number along with a country code in a workflow.

"type": "phone",
"id": "Phone",
"label": "Phone No.",
"showInTable": true,
"isRequired": true

The above example is a required field where the user inputs a phone number with a country code and the editor verifies if it is a valid phone number or not.

Field Attributes

idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry