StoredDocument.metadata is an optional JSON blob the caller can attach when storing a document. It is populated from options.metadata on the render request — the same object that supplies PDF document properties such as title, subject, author, keywords, creator, and customFields. Because the column is Json?, it may be absent entirely. It travels with the row for the document's lifetime, giving an integrating product a place to keep its own identifiers or context next to the rendered PDF without a separate lookup table.
Skarn PDF
StoredDocument.metadata
Optional caller-supplied JSON metadata stored alongside the document.
