/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a1fa4e76ba45
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const JSONPatchReplace$inboundSchema = z.object({
    path: z.string(),
    value: z.any(),
    op: z.literal("replace"),
});
export function jsonPatchReplaceFromJSON(jsonString) {
    return safeParse(jsonString, (x) => JSONPatchReplace$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JSONPatchReplace' from JSON`);
}
//# sourceMappingURL=jsonpatchreplace.js.map