Lane derivation is total, and an undeclared port is the sink
"What does an undeclared port mean?" once had seven disagreeing answers. It has one: the sink.
The rule
Normative: this is the rule
- Every one of JSON Schema's seven type words derives a lane, and both
nulland an absenttyperesolve to the sink lanemixed. - Derivation never falls back to
string. - Every reader of a port's lane gives the same answer: the derivation itself, the served default lane, the projection of a workflow's interface, and an editor's own default alike.
- Because an undeclared port is the sink rather than a string, a caller may supply any JSON value to it, an array or null included.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · SCH-35 · changed in spec 1.0