IDataValidationRules

Data validation rules contract for individual event fields.

Inheritors

Functions

Link copied to clipboard

Retrieves a mapping of event field names to their respective validation rules.

Link copied to clipboard

Replaces rejected values with default ones in the event data.

Link copied to clipboard
abstract fun validateData(key: String, data: Any?, context: IEventContext, jsonPath: String): EventDataField

Validates a value at the specific jsonPath within the event payload.

Link copied to clipboard
abstract fun validateEventData(key: String, data: Any?, context: IEventContext): EventDataField

Validates a single data key with its data in the given context.

Link copied to clipboard

Validates required fields in the event data.