identity.person.first_nameGiven name (first name). Locale-specific due to cultural naming conventions.
$ finetype infer -i "John"
→ identity.person.first_nameSELECT finetype('John');
-- → 'identity.person.first_name'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) = 'identity.person.first_name';{
"$id": "https://meridian.online/schemas/identity.person.first_name",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Given name (first name). Locale-specific due to cultural naming conventions.",
"examples": [
"John",
"María",
"Jacques",
"太郎",
"محمد"
],
"maxLength": 100,
"minLength": 1,
"pattern": "^[\\p{L}\\s'\\-]+$",
"title": "First Name",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}JohnMaríaJacques太郎محمد