clm:
abstract_spec:
context: "Primitive type for Unicode text values."
goal: "Validate that a payload evaluates to a valid Unicode string."
success_criteria:
- "Payload content is a sequence of Unicode characters."
- "Payload is not null, a number, or a boolean."
concrete_impl:
runtime: system
operation: type_validator_string
universe_level: 0
precondition:
description: "Payload must be a non-null value."
vcard_pre: gate:payload_nonempty
postcondition:
description: "Returns boolean is_valid."
vcard_post: gate:result_sealed
schema:
constraints:
type_check: "is_string"
description: "Value must be a Unicode character sequence."
inputs:
payload: "MCard — the data to validate"
outputs:
is_valid: "boolean"
v_post: "VCard"
process:
type: meta_evaluate
target: "core.type_validator.string"
balanced_exp:
expectation: "String validator accepts text and rejects non-text."
pending_cases:
- given: {payload: {"value": "Hello World"}}
when: "validate"
then: {is_valid: true}
- given: {payload: {"value": 42}}
when: "validate"
then: {is_valid: false}
_meta:
clm_root_hash: sha256:f05a69cafc38eee10ef05ccdbcc3b4329c11545d543cc117c81321df08ff9518
a_hash: sha256:23b33e172d0f81a3a8fb9be8cbba51ab7534e52c887b945a294348283c5888a2
c_hash: sha256:126d1d3d887f4c7837b418cb0359574a7e15a055128e05bc35204cd60e2ee470
b_hash: sha256:8ca48be5579bb49907bebe73cf5ad381823b79b83516f96edccc3c3c306bd802
clm_name: type_validator_string
computed_at: "2026-05-27T08:50:06Z"
depends_on: []