aeat.domain.attachments._ids module

Typed id alias for Attachment records.

AttachmentId pins the hex-64 sha-256 shape persisted by the AttachmentCatalogue. The alias lives in the attachment domain package because the attachment domain owns both the catalogue-key shape and the persisted-record contract; consumers in application.evidence and application.ledger import the alias under its public name per ADR Rule 4.

AttachmentId

Hex-64 content-addressed attachment identity.

alias of Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=64, max_length=64, pattern=^[0-9a-f]{64}$, ascii_only=None)]