Skip to main content

Module doc_schema

Module doc_schema 

Source
Expand description

JSON Schema (draft 2020-12) of a whole v1 workflow document.

Built from the node catalog: every node kind becomes one oneOf branch keyed on type, combining the fields every node has (id, title, parent, retry, timeout_ms, on_error) with the kind’s config schema. The checked-in schema/workflow-v1.schema.json is this schema for the default build; graphrt schema prints it for the running build, including plugin node kinds.

The schema describes the strict v1 layout only. The import layout (nodes wrapped in data, documents under a workflow key) is accepted by the loader but not by the schema.

Constants§

SCHEMA_ID
Canonical location of the published schema.

Functions§

workflow_schema
The document schema for these node kinds (usually Registry::descriptors()).