clm:
abstract_spec:
context: "Primitive type for key-value mappings."
goal: "Validate that a payload evaluates to a valid map (dictionary) structure."
success_criteria:
- "Payload content is a key-value mapping."
- "Payload is not a list, string, or scalar."
concrete_impl:
runtime: system
operation: type_validator_map
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_map"
description: "Value must be a key-value mapping (dictionary/object)."
inputs:
payload: "MCard — the data to validate"
outputs:
is_valid: "boolean"
v_post: "VCard"
process:
type: meta_evaluate
target: "core.type_validator.map"
balanced_exp:
expectation: "Map validator accepts dictionaries and rejects non-maps."
pending_cases:
- given: {payload: {"value": {"key": "value"}}}
when: "validate"
then: {is_valid: true}
- given: {payload: {"value": [1, 2, 3]}}
when: "validate"
then: {is_valid: false}
_meta:
clm_root_hash: sha256:808fe5665330d30e510bc1dc81cd45cba301111c3575b23eef8f18045841d32a
a_hash: sha256:c1007e4067c1a9797d47d88b56b0bae3506cf701219b4542414839b163f6eec4
c_hash: sha256:ba0b4516ca3f29e8bade9a107cdc7ef42deaabb9c880c09964ca27c81bbf1dc6
b_hash: sha256:509eca735598ef0012841f0fe0d95f62b113a2a9458ff0f887503ecc45bf84c7
clm_name: type_validator_map
computed_at: "2026-05-27T08:50:06Z"
depends_on: []