you can create a new Schema by combining all of them in to a single One by spreading those schemas in to the new one
export const formSchema = z.object({ ...imagePostSchema.shape, ...videoPostSchema.shape, ...textPostSchema.shape, });