const JobDtoSchema: ZodObject<{
claimedBy: ZodNullable<ZodString>;
createdAt: ZodISODateTime;
failCount: ZodNumber;
failureReason: ZodNullable<ZodString>;
heartbeatInterval: ZodOptional<ZodNumber>;
id: ZodString;
lastHeartbeat: ZodNullable<ZodISODateTime>;
leaseExpiresAt: ZodOptional<ZodISODateTime>;
lockedAt: ZodNullable<ZodISODateTime>;
name: ZodString;
nextRunAt: ZodISODateTime;
payload: ZodNonOptional<ZodUnknown>;
priority: ZodInt;
repeatInterval: ZodOptional<ZodString>;
status: ZodEnum<{
cancelled: "cancelled";
completed: "completed";
failed: "failed";
pending: "pending";
processing: "processing";
}>;
timezone: ZodOptional<ZodString>;
uniqueKey: ZodOptional<ZodString>;
updatedAt: ZodISODateTime;
}, $strict>;
Defined in: schemas/job.ts:21
Public job representation returned by management read and mutation endpoints.
Dates are serialized as ISO 8601 strings and nullable scheduler fields are normalized
to null when absent.