EventProtocol public protocol EventProtocol The Event API which can be used to represent an event. type The textual representation of the type of event. Declaration Swift var type: String { get } date The Date at which the event occured. Declaration Swift var date: Date { get }