Version Number
Software or document version in semantic versioning format (e.g., 1.2.3) or variant formats (e.g., v1.2.3, 1.2.3-alpha, 1.2.3+build). Resolves to VARCHAR.
Version Number
technology.development.versionSoftware or document version in semantic versioning format (e.g., 1.2.3) or variant formats (e.g., v1.2.3, 1.2.3-alpha, 1.2.3+build). Resolves to VARCHAR.
Domain
technology
Category
development
Casts to
VARCHAR
Scope
Universal
Try it
CLI
$ finetype infer -i "1.2.3" --mode column
→ technology.development.versionDuckDB
Detect
SELECT ft_infer('1.2.3');
-- → 'technology.development.version'Cast expression
CAST({col} AS VARCHAR)Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(ft_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE ft_infer(my_column) = 'technology.development.version';Struct Expansion
Expression
major: CAST(REGEXP_EXTRACT({col}, '^v?([0-9]+)') AS SMALLINT)
metadata: REGEXP_EXTRACT({col}, '\+([a-zA-Z0-9.]+)$')
minor: CAST(REGEXP_EXTRACT({col}, '^\.([0-9]+)') AS SMALLINT)
patch: CAST(REGEXP_EXTRACT({col}, '^\.([0-9]+)(?:-|\+|$)') AS SMALLINT)
prerelease: REGEXP_EXTRACT({col}, '-([a-zA-Z0-9.]+)(?:\+|$)')JSON Schema
finetype taxonomy technology.development.version -o json-schema
{
"$id": "https://meridian.online/schemas/technology.development.version",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Software or document version in semantic versioning format (e.g., 1.2.3) or variant formats (e.g., v1.2.3, 1.2.3-alpha, 1.2.3+build). Resolves to VARCHAR.",
"examples": [
"1.2.3",
"v1.2.3",
"1.2.3-alpha",
"1.2.3-beta.1",
"1.2.3+build.123"
],
"pattern": "^v?[0-9]+\\.[0-9]+\\.[0-9]+(?:-[a-zA-Z0-9.]+)?(?:\\+[a-zA-Z0-9.]+)?$",
"title": "Version Number",
"type": "string",
"x-finetype-label": "technology.development.version",
"x-finetype-pii": false
}Examples
1.2.3v1.2.31.2.3-alpha1.2.3-beta.11.2.3+build.123