/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: b8d89a70a401
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { Judge$inboundSchema } from "./judge.js";
/** @internal */
export const PaginatedResultJudgePreview$inboundSchema = z.object({
    results: z.array(Judge$inboundSchema).optional(),
    count: z.int(),
    next: z.nullable(z.string()).optional(),
    previous: z.nullable(z.string()).optional(),
});
export function paginatedResultJudgePreviewFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PaginatedResultJudgePreview$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedResultJudgePreview' from JSON`);
}
//# sourceMappingURL=paginatedresultjudgepreview.js.map