Add field and event payload validation functions

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>