% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/json_mode.R
\name{llm_validate_structured_col}
\alias{llm_validate_structured_col}
\title{Validate structured JSON objects against a JSON Schema (locally)}
\usage{
llm_validate_structured_col(
  .data,
  schema,
  structured_list_col = "structured_data"
)
}
\arguments{
\item{.data}{A data.frame with a \code{structured_data} list-column.}

\item{schema}{JSON Schema (R list)}

\item{structured_list_col}{Column name with parsed JSON. Default "structured_data".}
}
\description{
Adds \code{structured_valid} (logical) and \code{structured_error} (chr) by validating
each row's \code{structured_data} against \code{schema}. No provider calls are made.
}
\seealso{
\code{\link[=llm_parse_structured_col]{llm_parse_structured_col()}}, \code{\link[=llm_fn_structured]{llm_fn_structured()}}
}
