Skip to main content

Module document_builder

Module document_builder 

Source
Expand description

Fluent STTP document construction with shallow content-layer merge.

Merge is intentionally limited: slices may only contribute top-level content keys. Provenance and envelope come from metadata; metrics are finalized at SttpDocumentBuilder::build. Nested objects inside a top-level field are opaque and are never deep-merged.

Structs§

SttpContentSlice
A content-layer contribution limited to top-level keys.
SttpDocument
Built STTP document: structured layers ready for canonical rendering.
SttpDocumentBuilder
Fluent builder: metadata → shallow content merges → built document.
SttpDocumentMetadata
Seed data for provenance + envelope layers.

Enums§

SttpDocumentBuildError