Skip to main content

Module document

Module document 

Source
Expand description

Document intake, verification, storage, and retention contracts. Document intake, safety review, storage, and retention values.

Documents carry vaccine proofs, waivers, medical records, incident evidence, and other source artifacts that staff and agents rely on. The domain separates received/extracted facts from verified facts, records virus/PII handling state, and keeps storage references explicit so automation cannot treat unreviewed uploads as compliance truth.

Structs§

ContentLengthBytes
Non-zero document size used to reject empty uploads before extraction or review.
FileName
MimeType
MIME type reported for a document before extraction, virus scanning, or storage policy decisions.
OriginalFile
Original uploaded file metadata preserved for audit, extraction, and staff review.
OriginalFileBuilder
Use builder syntax to set the inputs and finish with build().
Sha256Digest
SHA-256 digest used to detect duplicate, tampered, or drifted document payloads.
StorageBucket
StorageKey
Storage key for the immutable document object used as review or compliance evidence.
StorageRef
Storage pointer to the immutable object that backs a reviewed or source document.
StorageRefBuilder
Use builder syntax to set the inputs and finish with build().
StorageVersion
Optional object-version marker for document retention and supersession audits.

Enums§

Classification
Document classification used to route vaccine, waiver, medical, photo, and incident evidence.
ContentLengthError
Validation error for document size constraints.
FileNameError
MimeTypeError
PiiRedactionStatus
PII redaction state used before document content is exposed to agents or reports.
Sha256DigestError
Validation error for document hash formatting.
Source
Source route through which a document entered the review and storage pipeline.
Status
Normalized lifecycle states used to reconcile source-system data with domain workflows.
StorageBucketError
StorageKeyError
StorageVersionError
VirusScanStatus
Virus-scan outcome used before documents may become staff-visible evidence.