An event is built by specifying either a project, a task or a target.
A Project level event will only have a Project reference.
A Target level event will have Project and Target references.
A Task level event will have Project, Target and Task references.