Parameters
unknown
required
A graph value to check against the version 1 graph schema and supported entity rules. Pass a graph, not the enclosing
PipelineDefinition object.Returns
void
No value. When validation succeeds, TypeScript narrows
graph to PipelineGraphV1. The function makes no platform request.Throws
PipelineGraphValidationError
Thrown when graph-schema or supported-entity validation fails.
toloka check and platform validation cover additional constraints.
Use validatePipelineDefinition(value) to validate an authored definition. Use resolvePipelineDefinition(definition, { datasetId }) to bind a dataset ID and validate the resulting graph. Both are public exports that call validate internally.