documentation format for events