Interface JsonFormatValidator


  • public interface JsonFormatValidator
    • Field Detail

      • DEFAULT_VALIDATOR

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

      • 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.