Nationality
Type Registry
Nationality
identity.person.nationality Country of citizenship or nationality. May be country name or ISO code. Locale-specific for country name representations.
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 "United States"
→ identity.person.nationality DuckDB
Detect
SELECT finetype('United States');
-- → 'identity.person.nationality' 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.nationality'; JSON Schema
finetype schema identity.person.nationality {
"$id": "https://noon.sh/schemas/identity.person.nationality",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Country of citizenship or nationality. May be country name or ISO code. Locale-specific for country name representations.",
"examples": [
"United States",
"Japan",
"Germany",
"France",
"Canada"
],
"maxLength": 100,
"minLength": 2,
"title": "Nationality",
"type": "string"
} Examples
United StatesJapanGermanyFranceCanada Also known as
citizenship