[ 'required', Rule::exists('room_sessions', 'api_token') ->where(fn ($q) => $q->whereIn('status', ['active', 'maintain'])) ], 'song_id' => 'required|exists:songs,id', 'status' => 'required|in:NotPlayed,InsertPlayback,Skipped', 'from_by' => 'nullable', ]; } }