Skip to content

object ​

Overview ​

Use md.object(shape) to define deterministic object contracts for extracted markdown data (frontmatter, section fields, and nested outputs). It validates declared keys, enforces value schemas per key, and applies explicit unknown-key policy (strip, strict, passthrough, or catchall). It does not infer domain intent from free text; only keys and constraints that you explicitly declare are enforced.

Method Index ​

Type-specific methods ​