Interface JsonSchemaValidator


public interface JsonSchemaValidator
Interface for validating structured content against a JSON schema. This interface defines a method to validate structured content based on the provided output schema.
Author:
Christian Tzolov
  • Method Details

    • validate

      JsonSchemaValidator.ValidationResponse validate(Map<String,Object> schema, Object structuredContent)
      Validates the structured content against the provided JSON schema.
      Parameters:
      schema - The JSON schema to validate against.
      structuredContent - The structured content to validate.
      Returns:
      A ValidationResponse indicating whether the validation was successful or not.