Edit: arc-endpoints-valid
Must be unique (case-insensitive).
Tags
network
referential-integrity
coverage
Rules
Rule 1
Every value in the left column must exist in the right column. Use for foreign-key relationships where child values must reference a valid parent.Rule 2
Every value in the left column must exist in the right column. Use for foreign-key relationships where child values must reference a valid parent.Rule 3
Every distinct value in the right (parent) column will appear at least once in the left (child) column. Extra child rows may have random parent values.Referenced Contracts (auto-computed)
Ctrl+S to save · Esc to cancel
{
"id": "cst_seed_001",
"name": "arc-endpoints-valid",
"description": "Every arc must connect two nodes that exist in the network (subset). Every node must have at least one outbound arc (coverage), ensuring the network graph has no isolated locations. Prevents dangling references and disconnected nodes.",
"tags": [
"network",
"referential-integrity",
"coverage"
],
"rules": [
{
"type": "subset",
"left": "arcs.FROM_NODE",
"right": "nodes.NODE_ID"
},
{
"type": "subset",
"left": "arcs.TO_NODE",
"right": "nodes.NODE_ID"
},
{
"type": "coverage",
"left": "arcs.FROM_NODE",
"right": "nodes.NODE_ID"
}
],
"contractRefs": [
"arcs",
"nodes"
],
"createdAt": "2026-02-11T10:00:00Z",
"updatedAt": "2026-02-18T04:55:01.9686478Z"
}