import { z } from 'zod';

export const createReviewSchema = z.object({
  bookingId: z.string().min(1),
  rating: z.number().int().min(1).max(5),
  comment: z.string().max(2000).optional(),
});

export const respondReviewSchema = z.object({
  response: z.string().min(1).max(1000),
});
