Dynamic port names are constrained and unique across the node
The rule
Normative: this is the rule
- A dynamic port name MUST begin with an ASCII letter and continue with ASCII letters, digits or underscores.
- A dynamic port name MUST NOT be a reserved name.
- A dynamic port name MUST be unique across the union of the node's dynamic parameter and dynamic output names, so a parameter and an output on the same node cannot share a name.
- A definition whose
schemais not a valid JSON Schema 2020-12 schema, by the same test that makes a node type unbuildable (SCH-24), MUST also be refused: here the schema is the workflow's, so the error is the author's, not the node type's. - A gate flag or
exposedByDefaulton a definition MUST be a JSON boolean where present, as on a node type (CFG-1). - A definition that breaks any of these MUST be refused when the workflow is saved.
What it means
The pattern is ASCII-only: a name begins with a letter from a-z or
A-Z and continues with ASCII letters, digits or underscores. A name
written with a non-ASCII letter fails even though it reads as an ordinary
word to a person, and a single ASCII letter on its own is enough to pass.
Uniqueness is checked across the union of a node's dynamic parameters and dynamic outputs, not within each side separately. An input and an output on the same node cannot share a name, even though one is never confused for the other at the point where a value is delivered.
Example
"pörtchen"[{ "name": "in_1" }, { "name": "Alpha2" }, { "name": "a" }]The same definition declared on both sides of one node, not just repeated within one side, is refused too:
[{ "name": "shared" }]Why
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · DYN-3 · changed in spec 1.0