Skip to content

Full Name

Type Registry

Full Name

identity.person.full_name

Complete person name (first and last names, possibly including middle names). Locale-specific due to name order and formatting conventions (e.g., Western "FirstName LastName" vs East Asian "LastName FirstName").

Domain identityperson
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 "John Smith"
→ identity.person.full_name

DuckDB

Detect
SELECT finetype('John Smith');
-- → 'identity.person.full_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.full_name';

Struct Expansion

first_name: REGEXP_EXTRACT({col}, '^([^ ]+)')
last_name: REGEXP_EXTRACT({col}, '([^ ]+)$')

JSON Schema

finetype schema identity.person.full_name
{
  "$id": "https://noon.sh/schemas/identity.person.full_name",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Complete person name (first and last names, possibly including middle names). Locale-specific due to name order and formatting conventions (e.g., Western \"FirstName LastName\" vs East Asian \"LastName FirstName\").",
  "examples": [
    "John Smith",
    "María García",
    "Jacques Dubois",
    "田中太郎",
    "محمد علي",
    "Smith, Mr. John",
    "Dr. Jane Wilson",
    "BROWN, ALICE"
  ],
  "maxLength": 200,
  "minLength": 2,
  "pattern": "^[\\p{L}\\s'\\-.,]+$",
  "title": "Full Name",
  "type": "string"
}

Examples

John SmithMaría GarcíaJacques Dubois田中太郎محمد عليSmith, Mr. JohnDr. Jane WilsonBROWN, ALICE

Also known as

namefullname

Types in identity