Skip to main content

validate_event

Function validate_event 

Source
pub fn validate_event(value: &Value) -> Vec<String>
Expand description

Check one emitted object against the catalogue. An empty result means it conforms.

Unknown fields are violations, not warnings: a contract that only checks for absence lets the surface grow silently and breaks downstream parsers at their leisure.