Skip to main content

Module provenance

Module provenance 

Source
Expand description

Provenance: where a record or claim came from and how it was derived.

A SourceRef points at an original artifact (a URL, a DOI, a URN) and carries what is known about it. Unknown metadata is allowed: a report must not be blocked because a publication date is missing. What is required is honesty about authority and derivation: a user-submitted link is marked as such, and machine-generated material is never presented as original.

Structs§

ContentHash
A content hash with an explicit algorithm prefix: sha256:<64 hex>.
SourceRef
A reference to a source artifact with provenance metadata.

Enums§

Derivation
How the material referenced here relates to the original artifact.
SourceAuthority
Who stands behind the source artifact.

Constants§

ALLOWED_LOCATOR_SCHEMES
URI schemes accepted in source locators. Anything else (notably javascript:, data: and file:) is rejected at validation.