/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a3757d6a9be0
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { FieldOptionCountItem$inboundSchema, } from "./fieldoptioncountitem.js";
/** @internal */
export const FetchFieldOptionCountsResponse$inboundSchema = z.object({
    counts: z.array(FieldOptionCountItem$inboundSchema),
});
export function fetchFieldOptionCountsResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FetchFieldOptionCountsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FetchFieldOptionCountsResponse' from JSON`);
}
//# sourceMappingURL=fetchfieldoptioncountsresponse.js.map