Interface JsonFormatValidator


public interface JsonFormatValidator
  • Field Details

    • DEFAULT_VALIDATOR

      static final JsonFormatValidator DEFAULT_VALIDATOR
      The default validator which performs a NOOP.
  • Method Details

    • validateFormat

      String validateFormat(String instanceType, String format, Object instance)
      Parameters:
      instanceType - The type of the related instance
      format - The format specified in the schema for the current object instance.
      instance - The current object instance that is currently being validated.
      Returns:
      Any string if there are any format validation errors, null if there are no validation errors.