Last Name
Type Registry
Last Name
identity.person.last_name Family name (surname). Locale-specific due to surname conventions which vary by culture (e.g., patronymic names in Scandinavian and Russian cultures).
Domain identity›person
Casts to VARCHAR
Scope Locale-specific
Locales EN, EN_AU, EN_GB, EN_CA, EN_US, DE, FR, ES, IT, NL, PL, RU, JA, ZH, KO, AR
Try it
CLI
$ finetype infer -i "Smith"
→ identity.person.last_name DuckDB
Detect
SELECT finetype('Smith');
-- → 'identity.person.last_name' Cast expression
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.person.last_name'; JSON Schema
finetype schema identity.person.last_name {
"$id": "https://noon.sh/schemas/identity.person.last_name",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Family name (surname). Locale-specific due to surname conventions which vary by culture (e.g., patronymic names in Scandinavian and Russian cultures).",
"examples": [
"Smith",
"García",
"Dubois",
"田中",
"علي"
],
"maxLength": 100,
"minLength": 1,
"pattern": "^[\\p{L}\\s'\\-]+$",
"title": "Last Name",
"type": "string"
} Examples
SmithGarcíaDubois田中علي Also known as
surnamefamily_name