YAML Document
Type Registry
YAML Document
container.object.yaml YAML (YAML Ain't Markup Language) document stored as VARCHAR. Human-readable data serialization format with nested indentation. RECURSIVE 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)
Domain container›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
RECURSIVE_INFER_ON_YAML_STRUCTURE({col}) JSON Schema
finetype schema container.object.yaml {
"$id": "https://noon.sh/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: [email protected]"
],
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*:\\s*.*",
"title": "YAML Document",
"type": "string"
} Examples
name: John
age: 30
active: trueuser:
id: 123
email: [email protected] Also known as
yaml