Skip to main content

Module validate

Module validate 

Source
Expand description

Structural validation for events, independent of (and cross-checked against) the shipped JSON Schema.

Enums§

ValidationError
A structural validation failure.

Constants§

SCHEMA_TIME_MAX_MS
Upper bound (inclusive) for the time field on emitted events, in milliseconds since the Unix epoch.

Functions§

validate_event
Validate structural invariants of an event. Returns all violations (collect-all-errors, matching the Harbor validator philosophy).