Versions in this module Expand all Collapse all v1 v1.5.0 Aug 29, 2026 v1.4.0 Aug 29, 2026 Changes in this version + const CurrentSchemaVersion + type AssetRef struct + Digest string + ID string + MediaType string + URI string + type Component struct + Assets []AssetRef + Children []Component + ID string + Kind string + Props Props + Style Style + Variant string + type CompositionMode string + const Artifact + const Flow + const Section + func (mode CompositionMode) Valid() bool + type DocumentSpec struct + Blocks []Component + ID string + SchemaVersion int + Theme string + func Decode(data []byte) (DocumentSpec, error) + func (spec DocumentSpec) Clone() (DocumentSpec, error) + func (spec DocumentSpec) Problems() Problems + type Problem struct + Code string + ComponentID string + Message string + Path string + func (problem Problem) Error() string + type Problems []Problem + func (problems Problems) Error() string + type Props map[string]any + type Style map[string]any Other modules containing this package github.com/BuddhiLW/AutoPDF/v2