Parameters
A graph value to check against the version 1 graph schema and supported entity rules. Pass a graph, not the enclosing
PipelineDefinition object.Returns
No value. When validation succeeds, TypeScript narrows
graph to PipelineGraphV1. The function makes no platform request.Throws
The check covers the graph structure, supported entity types, and allowed-label requirements. It does not establish live project access, secret availability, passed platform checks, or readiness to run.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.