CHR0067: A node needs exactly one key
Rule description
Section titled “Rule description”A node is identified by exactly one property marked with [Key]. An edge is identified by its type, its source and its target. An edge can additionally have one property marked with [Key], which identifies it among edges of the same type between the same two nodes. The rule reports a node with no key or several keys, and an edge with several keys.
Severity
Section titled “Severity”Error
How to fix
Section titled “How to fix”Mark exactly one property of a node with [Key]. Remove all but one [Key] from an edge, or remove them all when there is at most one edge of the type between two nodes.