Mention Validation Rule
Type-safe validation rule for entity mentions.
Each rule is a strongly-typed class with compile-time checking. Rules can be composed using AllOf and AnyOf combinators.
Implements PropertyValidationRule to enable type-safe schema definitions:
ValidatedPropertyDefinition(
name = "name",
validationRules = listOf(
NoVagueReferences(),
LengthConstraint(maxLength = 150)
)
)Content copied to clipboard