Username
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.
Username
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.
Domain
identity
Category
person
Casts to
VARCHAR
Scope
Locale-specific
Locales
EN, EN_AU, EN_GB, EN_CA, EN_US, DE, FR, ES, IT, NL, PL, RU
Try it
CLI
$ finetype infer -i "john.smith"
→ identity.person.usernameDuckDB
Detect
SELECT finetype('john.smith');
-- → 'identity.person.username'Cast expression
LOWER(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.username';JSON Schema
finetype schema 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))"
}Examples
john.smithuser_123alice-wonderlandbob.jones_42Aliases
handleaccount_name