Currency Code (ISO 4217)
Type Registry
Currency Code (ISO 4217)
identity.payment.currency_code Three-letter currency code as defined by ISO 4217. Examples: USD, EUR, GBP, JPY. Used in financial data, trading systems, and international commerce.
Domain identity›payment
Casts to VARCHAR
Scope Universal
Try it
CLI
$ finetype infer -i "USD"
→ identity.payment.currency_code DuckDB
Detect
SELECT finetype('USD');
-- → 'identity.payment.currency_code' Cast expression
UPPER(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.payment.currency_code'; JSON Schema
finetype schema identity.payment.currency_code {
"$id": "https://noon.sh/schemas/identity.payment.currency_code",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Three-letter currency code as defined by ISO 4217. Examples: USD, EUR, GBP, JPY. Used in financial data, trading systems, and international commerce.",
"examples": [
"USD",
"EUR",
"GBP",
"JPY",
"CHF",
"AUD"
],
"pattern": "^[A-Z]{3}$",
"title": "Currency Code (ISO 4217)",
"type": "string"
} Examples
USDEURGBPJPYCHFAUD Also known as
iso_4217currency_iso