Source code for cadrumo.application.evidence.payloads
"""Application-owned evidence payload contracts.These records are transport-neutral projections of evidence facts. An outeradapter may render them, but the application owns the shape and its digestconstraint so no transport can silently widen the evidence contract.Core types::class:`~cadrumo.core.json_contract.OutputSchema`."""from__future__importannotationsfrompydanticimportNonNegativeIntfrom...core.identity.digestimportContentDigestfrom...core.json_contractimportOutputSchemafrom...domain.buckets.eventimportBucketEventObjectType,BucketObjectId
[docs]classEvidenceRecordRefPayload(OutputSchema):"""One record reference entry inside an evidence bundle manifest."""object_type:BucketEventObjectTypeobject_id:BucketObjectIdcontent_sha256:ContentDigestpayload_size_bytes:NonNegativeInt