Interface OutputFormat<T>

    • Method Detail

      • customize

        default void customize​(ExecutionContext executionContext,
                               SchemaContext schemaContext)
        Customize the execution context before validation.

        The schema context should only be used for reference as it is shared.

        Parameters:
        executionContext - the execution context
        schemaContext - the schema context for reference
      • format

        T format​(Schema jsonSchema,
                 ExecutionContext executionContext,
                 SchemaContext schemaContext)
        Formats the validation results.
        Parameters:
        jsonSchema - the schema
        executionContext - the execution context
        schemaContext - the schema context
        Returns:
        the result