finance.payment.paypal_emailEmail address associated with a PayPal account. Format is standard email.
$ finetype infer -i "user@example.com"
→ finance.payment.paypal_emailSELECT finetype('user@example.com');
-- → 'finance.payment.paypal_email'LOWER(CAST({col} AS VARCHAR))-- 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) = 'finance.payment.paypal_email';domain: REGEXP_EXTRACT(LOWER({col}), '@(.+)$')
local: REGEXP_EXTRACT(LOWER({col}), '^([^@]+)'){
"$id": "https://meridian.online/schemas/finance.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": [
"user@example.com",
"merchant+paypal@business.org"
],
"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",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "LOWER(CAST({col} AS VARCHAR))"
}user@example.commerchant+paypal@business.org