← All types
AutomationOb Object

NodeOutputSchemaPayload

Result of resolveNodeOutputSchema.

Fields

schema

JSONNullable

JSON Schema for nodes..output. Null only when resolution is PASSTHROUGH, or when errors is non-empty.

How the schema was produced: INFERRED, INTROSPECTED, STATIC, or PASSTHROUGH. Null only when errors is non-empty.

Possible values (4)
INFERRED

Derived by static analysis of the node's configured source (e.g. SwiftLua type inference of a script's return value).

INTROSPECTED

Derived by interrogating a live system component (GraphQL schema, model registry, reporting engine, device).

STATIC

The node kind's static declared output schema.

PASSTHROUGH

The node emits its input, verbatim. schema is null — the shape is the node's input, composed from the workflow input and each predecessor's output, and belongs to whoever holds the graph.

Findings from the resolution (script type errors, lossy conversions, fall-through reasons).

errors

[FieldError!]!Non-null

Changeset-style input errors (unknown nodeType, malformed config, missing script).

Referenced by (1)
Exact type SDL
"""Result of resolveNodeOutputSchema."""
type NodeOutputSchemaPayload {
  """
  JSON Schema for nodes.<id>.output. Null only when resolution is PASSTHROUGH, or when errors is non-empty.
  """
  schema: JSON
  """
  How the schema was produced: INFERRED, INTROSPECTED, STATIC, or PASSTHROUGH. Null only when errors is non-empty.
  """
  resolution: NodeOutputSchemaResolution
  """
  Findings from the resolution (script type errors, lossy conversions, fall-through reasons).
  """
  diagnostics: [NodeSchemaDiagnostic!]!
  """
  Changeset-style input errors (unknown nodeType, malformed config, missing script).
  """
  errors: [FieldError!]!
}