Skip to content

A manifest entry names an input, declares its contract, and can bind it to a port

Three fields say what the input is called and where it goes; the rest is documentation for whoever calls the workflow.

The rule

Normative: this is the rule
  1. A manifest entry MUST carry a name.
  2. It MAY carry a binding, which is a node_id and a port together: an entry carries both or neither.
  3. An entry that carries neither is unbound.
  4. It is still a declared input or output, and its contract comes from its own schema.
  5. An entry MAY carry schema, a JSON Schema fragment that declares its contract and, in x-data-type, its lane (SCH-10).
  6. It MAY also carry title, description, examples and required.
  7. These four MUST apply to the input side only.
  8. A required entry MUST be folded into the built contract's top-level array of required names rather than surviving as a key on the property fragment.

What it means

name is the entry: what the caller calls the input. node_id plus port, when present, are where it lands inside the workflow. They come as a pair or not at all. An entry with neither is unbound: the author has declared the input or output, and its contract, before building what is behind it. Its schema is then the whole contract, and another workflow can already call this one. Everything else an entry may carry — title, description, examples, required — is metadata for whoever calls the workflow, and it applies only to the input side; an entry that binds an output port carries none of it into the built contract.

required is the field worth pausing on. It is not stored as a key on the property fragment itself; it is folded into the built schema's own top-level required array, the way JSON Schema expects required properties to be named (MAN-16). An entry can be required without that fact ever appearing next to its own type and default.

Example

The workflow declares one input, bound to a port, with author-facing metadata attached.

A manifest entry naming an input and describing it for callers
{
  "name": "customer_email",
  "node_id": "n1",
  "port": "key",
  "title": "Customer email",
  "description": "Email to look up their support history.",
  "examples": ["a@b.com", "c@d.com"]
}
What that entry contributes to the published contract
{
  "type": "string",
  "title": "Customer email",
  "description": "Email to look up their support history.",
  "examples": ["a@b.com", "c@d.com"]
}

name, node_id and port decided where this property comes from; title, description and examples only decorate it.

An input declared before anything is built behind it carries its contract itself:

An unbound entry with a declared schemastored
{ "name": "topic", "schema": { "type": "string", "x-data-type": "string" }, "required": true }

Why

Recorded under OPEN-25, OPEN-27.

Fixtures

Test cases whose outcome this rule decides. A case compares absent, null and empty members exactly; the fixtures README defines each operation. Where a case and the rule disagree, the rule is right.

  • A value for an unbound input is accepted and delivered nowhere resolve-launch-inputs
    {
      "given": {
        "inputs": [
          {
            "name": "topic",
            "schema": {
              "type": "string",
              "x-data-type": "string"
            }
          }
        ],
        "supplied": {
          "topic": "x"
        }
      },
      "expect": {
        "initialData": {}
      }
    }

    fixtures/presence/in-unbound-delivered-nowhere.json

  • An unbound output is absent, never null collect-outputs
    {
      "given": {
        "outputs": [
          {
            "name": "summary",
            "schema": {
              "type": "string",
              "x-data-type": "string"
            }
          },
          {
            "name": "answer",
            "node_id": "n1",
            "port": "text"
          }
        ],
        "produced": {
          "n1": {
            "text": "hello"
          }
        }
      },
      "expect": {
        "result": {
          "answer": "hello"
        }
      }
    }

    fixtures/presence/out-unbound-absent.json

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