Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public static ValidationResponse asInvalid(String message) {

/**
* Validates the structured content against the provided JSON schema.
* <p>
* If {@code structuredContent} is a {@link String}, it is treated as a serialized
* JSON document and parsed before validation; quote embedded strings accordingly (for
* example {@code "\"red\""} for the JSON string value {@code red}). Any other type is
* converted to its JSON representation directly.
* @param schema The JSON schema to validate against.
* @param structuredContent The structured content to validate.
* @return A ValidationResponse indicating whether the validation was successful or
Expand Down
Loading