Skip to main content

Variable: IR_V2_SCHEMA_ID

const IR_V2_SCHEMA_ID: "https://docs.fluidgrids.ai/schemas/workflow-ir-v2.schema.json" = "https://docs.fluidgrids.ai/schemas/workflow-ir-v2.schema.json"

JSON Schema (draft 2020-12) of the workflow IR, schema version 2.

The schema is deliberately open where stored version-1 definitions vary (builder UI fields, legacy mirrors, config on internal nodes): every definition the service accepts today must validate unchanged. It is closed where version 2 adds structure (interface, code, authoring, the two new node types). schema/ir-v2.schema.json is generated from this object by bun run generate; a test keeps the two equal.