/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 810ce4422a18
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const VespaSchemaResponse$inboundSchema = z.object({
    name: z.string(),
    document_count: z.nullable(z.int()),
}).transform((v) => {
    return remap$(v, {
        "document_count": "documentCount",
    });
});
export function vespaSchemaResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => VespaSchemaResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VespaSchemaResponse' from JSON`);
}
//# sourceMappingURL=vespaschemaresponse.js.map