Skip to main content

Module document

Module document 

Source
Expand description

The OKF concept document: YAML frontmatter + markdown body.

The parse, serialize, and validation behaviour is a faithful port of the reference implementation’s OKFDocument (okf/src/reference_agent/bundle/document.py), so documents round-trip compatibly between the two. Ported to Rust and modified from the original Apache-2.0 Python source; see the NOTICE file.

On top of parsing, Document exposes the v0.2 body conventions that pair with frontmatter: footnote attribution keyed to sources[].id and the # Computation block of an Attested Computation.

Structs§

Document
A parsed OKF concept document.