PIN
Type Registry
PIN
technology.code.pin Personal Identification Number. Typically 4-8 digits. Often numeric but may include alphanumeric in some systems. Broad categorization.
Domain technology›code
Casts to VARCHAR
Scope broad_numbers
Try it
CLI
$ finetype infer -i "1234"
→ technology.code.pin DuckDB
Detect
SELECT finetype('1234');
-- → 'technology.code.pin' 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) = 'technology.code.pin'; JSON Schema
finetype schema technology.code.pin {
"$id": "https://noon.sh/schemas/technology.code.pin",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Personal Identification Number. Typically 4-8 digits. Often numeric but may include alphanumeric in some systems. Broad categorization.",
"examples": [
"1234",
"987654",
"0000"
],
"pattern": "^[0-9]{4,8}$",
"title": "PIN",
"type": "string"
} Examples
12349876540000