Email type

Email type structure

Overview

The email type is designed to represent valid email addresses. It is useful in scenarios where it is necessary to store or manipulate contact data, ensuring that the values ​​entered follow the standard email address format.

{
  "key": {
    "type": "email",
    "domain": "schema.api"
  }
}

Parameters

NameTypeDescription
typestringType of data that will be returned. Must be assigned as email.
domainstringWrite a domain to be the dummy domain of the data or an array of domains.