/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 44424769d595
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const ExecutionLogRecord$inboundSchema = z.object({
    timestamp: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
    trace_id: z.string(),
    span_id: z.string(),
    severity_text: z.string(),
    body: z.string(),
    log_attributes: z.record(z.string(), z.string()),
}).transform((v) => {
    return remap$(v, {
        "trace_id": "traceId",
        "span_id": "spanId",
        "severity_text": "severityText",
        "log_attributes": "logAttributes",
    });
});
export function executionLogRecordFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ExecutionLogRecord$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExecutionLogRecord' from JSON`);
}
//# sourceMappingURL=executionlogrecord.js.map