Constants
ValidationResultType
Types of validation results generated by validation schemas.
Interfaces
IValidationRule
Interface for validation rules.
Validation rule used to validate one or multiple values against complex rules like: value is in range, one property is less than another property, enforce enumerated values and more.
This interface allows to implement custom rules.
Types
AndRule
Validation rule to combine rules with AND logical operation. When all rules return no errors, then this rule also returns no errors. When one of the rules returns errors, then the rules return all errors.
ArraySchema
Schema to validate arrays.
AtLeastOneExistsRule
Validation rule that checks that at least one of the object properties is not nil.
ExcludedRule
Validation rule used to check that a value is excluded from the list of constants.
FilterParamsSchema
Schema used to validate FilterParams
IncludedRule
Validation rule used to check that a value is included into the list of constants.
MapSchema
Schema to validate maps.
NotRule
Validation rule used to negate another rule.
ObjectComparator
Helper class used to perform comparison operations over arbitrary values.
ObjectSchema
Schema used to validate user defined objects.
OnlyOneExistsRule
Validation rule that checks that exactly one of the object properties is not nil.
OrRule
Validation rule to combine rules with OR logical operation.
PagingParamsSchema
Schema to validate PagingParams.
ProjectionParamsSchema
Schema to validate ProjectionParams
PropertiesComparisonRule
Validation rule that compares two object properties.
PropertySchema
Schema to validate object properties
Schema
Basic schema that validates values against a set of validation rules. This schema is used as a basis for specific schemas to validate objects, project properties, arrays and maps.
ValidationException
Errors in schema validation. Validation errors are usually generated based on ValidationResult. If using strict mode, warnings will also raise validation exceptions.
ValidationResult
Result generated by a schema validation
ValueComparisonRule
Validation rule that compares a value to a constant.