/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 4f3f1bf02124
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { ModerationObject$inboundSchema, } from "./moderationobject.js";
/** @internal */
export const ModerationResponse$inboundSchema = z.object({
    id: z.string(),
    model: z.string(),
    results: z.array(ModerationObject$inboundSchema),
});
export function moderationResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ModerationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ModerationResponse' from JSON`);
}
//# sourceMappingURL=moderationresponse.js.map