--- id: EDGE-2 family: GR-EDGE level: extended profiles: [storage-api] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-edge/edge-2 specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # EDGE-2 — No edge key is structurally required *GR-EDGE (Part I) · level: extended · profiles: storage-api · added in 1.0* ## The rule > **Normative.** This is the rule. > > 1. An edge MUST be accepted structurally whatever members it carries. > > 2. An absent source, target or handle MUST stay absent: an implementation MUST NOT fill it with the empty string or `null` when it reads, stores or returns the edge. > > 3. An absent collection MUST default to the empty array. > > 4. An edge without a source or a target MUST NOT be refused as a parse failure. > > 5. Validation MUST refuse it as an edge missing its source or target, so an author is told what is wrong with the wire rather than that the document could not be read. ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25), [OPEN-26](https://flowdrop.io/spec/rulings/open-26). ## Fixtures Test cases whose outcome this rule decides (fixtures/README.md defines each operation): - An edge with no handles reads back with no handles (`read-edge`): fixtures/presence/edge-absent-handles-stay-absent.json - An edge's handles read back as sent (`read-edge`): fixtures/presence/edge-handles-kept.json --- 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.