URI
Type Registry
URI
technology.internet.uri Uniform Resource Identifier (more general than URL, includes URNs and other schemes). Pattern allows any valid scheme but does not require network protocol.
Domain technology›internet
Casts to VARCHAR
Scope Universal
Try it
CLI
$ finetype infer -i "https://example.com/path"
→ technology.internet.uri DuckDB
Detect
SELECT finetype('https://example.com/path');
-- → 'technology.internet.uri' 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.internet.uri'; JSON Schema
finetype schema technology.internet.uri {
"$id": "https://noon.sh/schemas/technology.internet.uri",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Uniform Resource Identifier (more general than URL, includes URNs and other schemes). Pattern allows any valid scheme but does not require network protocol.",
"examples": [
"https://example.com/path",
"mailto:[email protected]",
"urn:isbn: 0451450523",
"ftp://ftp.example.org"
],
"pattern": "^[a-zA-Z][a-zA-Z0-9+\\-.]*:[^\\s]*$",
"title": "URI",
"type": "string"
}