complete validation logic for bookings and assignments