Skip to content

PayPal Email

Type Registry

PayPal Email

identity.payment.paypal_email

Email address associated with a PayPal account. Format is standard email.

Domain identitypayment
Casts to VARCHAR
Scope Universal

Try it

CLI
$ finetype infer -i "[email protected]"
→ identity.payment.paypal_email

DuckDB

Detect
SELECT finetype('[email protected]');
-- → 'identity.payment.paypal_email'
Cast expression
LOWER(CAST({col} AS VARCHAR))
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'identity.payment.paypal_email';

Struct Expansion

domain: REGEXP_EXTRACT(LOWER({col}), '@(.+)$')
local: REGEXP_EXTRACT(LOWER({col}), '^([^@]+)')

JSON Schema

finetype schema identity.payment.paypal_email
{
  "$id": "https://noon.sh/schemas/identity.payment.paypal_email",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Email address associated with a PayPal account. Format is standard email.",
  "examples": [
    "[email protected]",
    "[email protected]"
  ],
  "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
  "title": "PayPal Email",
  "type": "string"
}

Examples

Also known as

paypal_account

Types in identity