Sends the plan to each connected server for structural validation,
checking for missing required fields, invalid table references,
unsupported output types, and schema compatibility issues. This
performs a server-side check (via omopPlanPreviewDS) but does
not execute the plan or create any data. Use this to catch errors
before calling ds.omop.plan.execute.
Multi-server validation first establishes or revalidates the same strict
schema/semantic harmonization contract used by execution.
Value
A named list (one element per server). Each server's result is the
preview payload, whose $validation sub-list reports
valid (logical), errors, warnings, and
available_tables. No raw rows or SQL are returned; the shared
preview payload can include only the optional disclosure-banded person
count described in ds.omop.plan.preview.
Details
Note: ds.omop.plan.validate and ds.omop.plan.preview
call the same server endpoint (omopPlanPreviewDS) and therefore
return the same structure; the difference is only intent. Read the
$validation element (valid/errors/warnings) for
a pass/fail check here, and the $outputs element for the per-output
detail under ds.omop.plan.preview.