You need at least one of them yeah, I'll add the validation. I kinda wanted a way to only add the startDate and endDate if they were not null but it's fine to have them null.