/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: f50f3d60a6c2
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { Failure$inboundSchema } from "./failure.js";
/** @internal */
export const WorkflowExecutionFailedAttributes$inboundSchema = z.object({
    task_id: z.string(),
    failure: Failure$inboundSchema,
}).transform((v) => {
    return remap$(v, {
        "task_id": "taskId",
    });
});
export function workflowExecutionFailedAttributesFromJSON(jsonString) {
    return safeParse(jsonString, (x) => WorkflowExecutionFailedAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowExecutionFailedAttributes' from JSON`);
}
//# sourceMappingURL=workflowexecutionfailedattributes.js.map