Skip to content

No node type, no schema-driven config verdict

The rule

Normative: this is the rule
  1. When a node's node type does not resolve, or resolves but cannot be built because a declared schema is not valid (SCH-24), there is no derived config schema to judge its config against, so the schema-driven checks of R6 (required keys, type, enum, bounds, pattern, and the unknown-key warning) MUST NOT be applied to that node, and MUST NOT produce an error or warning for it.
  2. An unresolvable node type is reported by R9.
  3. A node type that cannot be built is recorded for an operator (SCH-24) and is not charged to the workflow's author.

What it means

Without a resolved node type there is nothing to derive a config schema from, so none of R6's schema-driven checks run for that node — not the required-key check, not type or enum or bounds or pattern, and not even the unknown-key warning a stray key would otherwise draw. The node is silent on all of it, favourably or not: a key nobody declared draws no warning either, for want of anything to compare it against.

The same holds when the node type resolves but cannot be built because one of its declared schemas is not valid JSON Schema (SCH-24), for example a type that names no JSON Schema type. The defect is recorded for an operator; the workflow's author is not charged with it.

That silence does not reach the config's own shape. A node whose type does not resolve still has its config checked for being an object at all (R6.a) — the skip is for the schema-driven checks alone.

Example

Config on a node whose type does not resolveaccepted
{"undeclared": "value"}

Why

Recorded under OPEN-25, OPEN-28, OPEN-44.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · R6.j · changed in spec 1.0