Interface SchemaValidationStrategy


public interface SchemaValidationStrategy
An interface for validating the compatibility of a single schema against another.

What makes one schema compatible with another is not defined by the contract.

  • Method Details

    • validate

      List<String> validate(CompatibilityPolicy policy, ParsedSchema toValidate, ParsedSchema existing)
      Validates that one schema is compatible with another.
      Parameters:
      policy - The compatibility policy to use for validation
      toValidate - The schema to validate
      existing - The schema to validate against
      Returns:
      List of error message, otherwise empty list