Schemas / Node graph
rig.node.publish
v0.31.0 · draft 3 fields 3 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
pin |
uint | required | Outer pin id on the group node (must exist in pins) |
innerNode |
uint | required | Node id inside nested |
innerPin |
uint | required | Pin id on that inner node |
Maps one outer interface pin on a group node to an interior pin inside that node's nested graph. See rig.node.node.
Rules
- Each outer
pinhas at most one publish. - Each interior
(innerNode, innerPin)is published at most once per group. - Outer pin
kind/typeshould match the inner pin (hosts may coercetypeper pin linking rules). - Parent-graph links only touch outer pins; interior links stay inside
nested.
JSON Schema
Resolves at https://rig.works/schemas/rig.node.publish.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.node.publish.schema.json",
"title": "rig.node.publish",
"type": "object",
"additionalProperties": false,
"properties": {
"pin": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"innerNode": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"innerPin": {
"$ref": "./_defs.schema.json#/$defs/uint"
}
},
"required": [
"pin",
"innerNode",
"innerPin"
]
}