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