NodeOutputSchemaPayload
Result of resolveNodeOutputSchema.
Fields
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)
INFERREDDerived by static analysis of the node's configured source (e.g. SwiftLua type inference of a script's return value).
INTROSPECTEDDerived by interrogating a live system component (GraphQL schema, model registry, reporting engine, device).
STATICThe node kind's static declared output schema.
PASSTHROUGHThe 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).
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!]!
}