identity.person.usernameOnline username or handle for a user account. Typically alphanumeric with underscores, hyphens, or dots. Case-insensitive storage. Locale-specific due to character set restrictions.
$ finetype infer -i "john.smith"
→ identity.person.usernameSELECT finetype('john.smith');
-- → 'identity.person.username'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) = 'identity.person.username';{
"$id": "https://meridian.online/schemas/identity.person.username",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Online username or handle for a user account. Typically alphanumeric with underscores, hyphens, or dots. Case-insensitive storage. Locale-specific due to character set restrictions.",
"examples": [
"john.smith",
"user_123",
"alice-wonderland",
"bob.jones_42"
],
"maxLength": 32,
"minLength": 3,
"pattern": "^[a-zA-Z0-9_\\-.]{3,32}$",
"title": "Username",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "LOWER(CAST({col} AS VARCHAR))"
}john.smithuser_123alice-wonderlandbob.jones_42