class LittleGhost::StructuredResult

Associates a validated structured value with its declared schema name.

result = LittleGhost::StructuredResult.new(
  schema_name: "support_research",
  value: {"summary" => "The transfer is still settling."}
)
result.value.fetch("summary") # => "The transfer is still settling."