# generated by datamodel-codegen: # filename: execution_receipt.json from __future__ import annotations from enum import StrEnum from pydantic import AwareDatetime, BaseModel, ConfigDict, constr class Channel(StrEnum): FILE_EXPORT = 'FILE_EXPORT' TRADING_PLATFORM_API = 'TRADING_PLATFORM_API' SIMULATION_GATEWAY = 'SIMULATION_GATEWAY' class ExecutionReceipt(BaseModel): model_config = ConfigDict( extra='forbid', ) receipt_id: constr(min_length=1) proposal_digest: constr(pattern=r'^[0-9a-f]{64}$') permit_id: constr(min_length=1) channel: Channel idempotency_key: constr(min_length=1) artifact_ref: constr(min_length=1) accepted_at: AwareDatetime