% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guardrails__validate.R
\name{.validate_expected_schema}
\alias{.validate_expected_schema}
\title{Validate expected_schema Argument}
\usage{
.validate_expected_schema(
  expected_schema,
  param_name = "expected_schema",
  allow_empty_list = TRUE,
  invalid_fix = "Pass a nested list schema or set expected_schema = NULL",
  empty_fix =
    "Provide at least one key/element in the schema, or set expected_schema = NULL"
)
}
\arguments{
\item{expected_schema}{Value to validate}

\item{param_name}{Name for error messages}

\item{allow_empty_list}{Whether an empty list is allowed}

\item{invalid_fix}{Fix text when schema is wrong type}

\item{empty_fix}{Fix text when schema is an empty list}
}
\description{
Validate expected_schema Argument
}
\keyword{internal}
