/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 930655ad1e62
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const UpdateDefinition$inboundSchema = z.object({
    name: z.string(),
    description: z.nullable(z.string()).optional(),
    input_schema: z.record(z.string(), z.any()),
    output_schema: z.nullable(z.record(z.string(), z.any())).optional(),
}).transform((v) => {
    return remap$(v, {
        "input_schema": "inputSchema",
        "output_schema": "outputSchema",
    });
});
export function updateDefinitionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UpdateDefinition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateDefinition' from JSON`);
}
//# sourceMappingURL=updatedefinition.js.map