Plain Text
Unstructured text content (sentences, paragraphs, descriptions). Broad categorization.
Plain Text
representation.text.plain_textUnstructured text content (sentences, paragraphs, descriptions). Broad categorization.
Domain
representation
Category
text
Casts to
VARCHAR
Scope
broad_characters
Try it
CLI
$ finetype infer -i "This is a plain text description"
→ representation.text.plain_textDuckDB
Detect
SELECT finetype('This is a plain text description');
-- → 'representation.text.plain_text'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) = 'representation.text.plain_text';Struct Expansion
Expression
char_count: LENGTH({col})
word_count: CAST(REGEXP_COUNT({col}, '\s+') + 1 AS SMALLINT)JSON Schema
finetype schema representation.text.plain_text
{
"$id": "https://meridian.online/schemas/representation.text.plain_text",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Unstructured text content (sentences, paragraphs, descriptions). Broad categorization.",
"examples": [
"This is a plain text description",
"A longer paragraph with multiple sentences",
"Single word"
],
"maxLength": 65536,
"minLength": 1,
"title": "Plain Text",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}Examples
This is a plain text descriptionA longer paragraph with multiple sentencesSingle wordAliases
textdescriptioncontent