--- id: SCH-2 family: GR-SCHEMA level: extended profiles: [storage-api, editor-client] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-schema/sch-2 specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # SCH-2 — Gate flags come from the node type, and default off *GR-SCHEMA (Part I) · level: extended · profiles: storage-api, editor-client · added in 1.0* Whether a parameter is connectable, configurable or required is the node type's answer, not the declared schema's. A parameter the node type never mentions reaches neither derived schema. ## The rule > **Normative.** This is the rule. > > 1. The `connectable`, `configurable` and `required` gate flags for a parameter MUST be read from the node type's own parameter configuration only, each defaulting to false where the node type declares no entry for that parameter. > > 2. A parameter the node type does not declare therefore MUST appear in neither derived schema and in neither `required` array. > > 3. Same-named keys written in the declared schema MUST NOT be read by the gate. > > 4. They MUST NOT be stripped either: they survive verbatim into the served schemas. > > 5. A property-level `required: true` MUST be read on exactly one path: where a node is exposed as a model-facing tool, it MUST be lifted into the enclosing object's `required` array before the schema is handed to the model. ## What it means A parameter's declared schema can itself carry `connectable`, `configurable` or `required` — but nothing reads them. The gate is decided once, from the node type's own parameter configuration, and a declared schema's claim about itself buys the parameter nothing: undeclared there, it reaches neither derived schema and neither `required` array, whatever the declared schema says. That silence is not the same as scrubbing. The same keys, once written on a property the node type *does* surface, are not stripped from what is served: they survive verbatim, inert decoration a consumer has no reason to read. ## Example A property whose declared schema already declares itself connectable and required, on a node type that only ever marks it configurable: ```json title="A property declaring its own connectable and required flags" verdict="ignored" { "surfaced": { "type": "string", "connectable": true, "configurable": true, "required": true } } ``` The property lands in the config schema only, and in neither `required` array — the node type's own `configurable` decides that, not the `connectable: true` or `required: true` sitting beside it in the declared schema. Both flags are carried through into the served entry anyway, present but unread. ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25). ## Related rules - Names: SCH-3, SCH-6 - Referenced by: SCH-3, SCH-6, SCH-47, CFG-20 --- Rule identifiers are permanent and are never renumbered. This specification carries no implementation status: each implementation publishes its own standing against these rules. Licensed CC BY 4.0.