A comparison is accepted once
Only a comparison that is still unreviewed can be accepted. After acceptance the review note is part of the record.
| Record | What it holds | In the pilot |
|---|---|---|
| Diagram | A drawing as a set of components and the directed links between them. | Now Two JSON diagrams, before and after. |
| Revision | One version of a diagram. | Now Before and after are held together in one comparison. |
| Component | A node with a stable ID and a text label. | Now Added, removed and relabelled components are reported. |
| Connection | A directed link from one component ID to another. | Now Added and removed links are reported. |
| Change | One difference between two revisions. | Now Five lists: added and removed nodes, changed labels, added and removed links. |
| Reviewer | The person who accepts the findings. | Now One review note on acceptance. Planned Named reviewers and sign-off by role. |
The pilot does not sign anyone in or restrict who can accept. Permissions by role are planned.
Every link in each revision must name two components from that same revision. Otherwise the comparison is refused with “A link references an unknown node.” and nothing is recorded.
Only a comparison that is still unreviewed can be accepted. After acceptance the review note is part of the record.
The record keeps revision A and revision B as submitted. A detected change sits beside them rather than editing either one.
Other checks: a diagram must be valid JSON with exactly nodes and links, every node needs a text label, and the same link may not appear twice. Pilot limits: 250 components and 400 links per diagram.