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