ISchemaBase

Interface with a method to perform a validation.

Description

The ISchemaBase interface is used by classes that need to perform a validation against a schema.

Methods

PerformValidation

Validates a given value against the schema and configured validation rules..

PerformValidation(path string, value any) []*ValidationResult

  • path: any - dot notation path to the value
  • returns: []*ValidationResult - list with validation results