Which required array a required parameter lands in
The rule
Normative: this is the rule
- A required parameter MUST be emitted into the input schema's
requiredarray if and only if it is notconfigurable. - A required parameter MUST be emitted into the config schema's
requiredarray if and only if it is notconnectable.
What it means
Each derived required array waives itself in favour of the other side, not
in favour of the flag being true. A required parameter that is both
connectable and configurable is required in neither array: the input side
waives because the config form could supply it, and the config side waives
because a wire could — each treats the other as covering it, so required
ends up enforced nowhere. Turning off one of the two gates is what makes the
requirement bite, on whichever side is left.
Example
A required parameter value that the node type marks connectable only:
["value"][]Mark the same parameter connectable and configurable, and both arrays come back empty: each path waives the other.
Why
Recorded under OPEN-25.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · SCH-6 · changed in spec 1.0