Skip to main content

Module schema

Module schema 

Source
Expand description

Reusable JSON Schema fragments for node config schemas.

Constants§

DRAFT
Draft used by every config schema.

Functions§

closed
schema with additionalProperties: false.
comparison_operator
Comparison operator names (canonical spellings and ASCII aliases).
condition
One condition: {variable_selector, comparison_operator, value, sub_variable_condition}.
conditions
Array of conditions.
deprecated_alias
A deprecated alias of replacement, accepted with a warning.
key_condition
Condition on an attribute (key) of list items or files.
logical_operator
and / or.
model
Model reference used by model-backed nodes.
nested
Nested object schema (no $schema key).
object
Top-level config schema with properties and required. The schema is closed (additionalProperties: false): workflow validation reports any other key as an unknown field. Builder metadata belongs in x- keys, which are stripped before configs are checked. Use open_object for configs that legitimately take arbitrary keys.
open_object
Like object, but other keys are allowed and not reported.
selector
A variable selector: ["namespace", "name", ...] or "namespace.name".
template
A text template that may contain {{#namespace.name#}} placeholders.
value_type
Declared value type names (including form-field aliases).
variable_bindings
[{variable, value_selector}] bindings.