Meridianmeridian

YAML Document

container.object.yaml

YAML (YAML Ain't Markup Language) document stored as VARCHAR. Human-readable data serialization format with nested indentation.

Domain
container
Category
object
Casts to
VARCHAR
Scope
Universal

Try it

CLI
$ finetype infer -i "name: John
age: 30
active: true"
→ container.object.yaml

DuckDB

Detect
SELECT finetype('name: John
age: 30
active: true');
-- → 'container.object.yaml'
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) = 'container.object.yaml';

Decompose

Expression
RECURSIVE_INFER_ON_YAML_STRUCTURE({col})

JSON Schema

finetype schema container.object.yaml
{
  "$id": "https://meridian.online/schemas/container.object.yaml",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "YAML (YAML Ain't Markup Language) document stored as VARCHAR. Human-readable data serialization format with nested indentation.\nRECURSIVE INFERENCE: When classified as container.object.yaml, FineType will: 1. Parse YAML text 2. Classify each value (may be nested) 3. Return as struct (complex nested structures may fail)",
  "examples": [
    "name: John\nage: 30\nactive: true",
    "user:\n  id: 123\n  email: john@example.com"
  ],
  "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*:\\s*.*",
  "title": "YAML Document",
  "type": "string",
  "x-finetype-broad-type": "VARCHAR",
  "x-finetype-transform": "CAST({col} AS VARCHAR)"
}

Examples

name: John age: 30 active: trueuser: id: 123 email: john@example.com

Aliases

yaml