import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientCreateWithoutDocumentsInputObjectSchema as PatientCreateWithoutDocumentsInputObjectSchema } from './PatientCreateWithoutDocumentsInput.schema';
import { PatientUncheckedCreateWithoutDocumentsInputObjectSchema as PatientUncheckedCreateWithoutDocumentsInputObjectSchema } from './PatientUncheckedCreateWithoutDocumentsInput.schema';
import { PatientCreateOrConnectWithoutDocumentsInputObjectSchema as PatientCreateOrConnectWithoutDocumentsInputObjectSchema } from './PatientCreateOrConnectWithoutDocumentsInput.schema';
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientCreateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutDocumentsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutDocumentsInputObjectSchema).optional(),
  connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional()
}).strict();
export const PatientCreateNestedOneWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientCreateNestedOneWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateNestedOneWithoutDocumentsInput>;
export const PatientCreateNestedOneWithoutDocumentsInputObjectZodSchema = makeSchema();
