ValidationRule

interface ValidationRule

Interface representing a validation rule, that is applied to a field input by the user.

Inheritors

Properties

Link copied to clipboard
abstract val id: String

Validation rule id. Can be used to identify the validation.

Link copied to clipboard
abstract val message: String

Human readable validation error message in English.

Link copied to clipboard
abstract val type: ValidationRuleType

Type of validation rule.