*/ public function rules(): array { $event = $this->route('event'); $festivalEventId = $event->parent_event_id ?? $event->id; return [ 'person_id' => ['required', 'ulid', Rule::exists('persons', 'id')->where('event_id', $festivalEventId)], ]; } }