@openplanr/protocol 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,660 @@
1
+ {
2
+ "kind": "diagram-authoring-capabilities",
3
+ "schemaVersion": "1.0.0",
4
+ "protocolVersion": "1.13.0",
5
+ "version": "1.0.0",
6
+ "liveCollaboration": false,
7
+ "profiles": [
8
+ {
9
+ "grammarId": "flowchart",
10
+ "authoring": true,
11
+ "primitives": [
12
+ "node",
13
+ "relation",
14
+ "group",
15
+ "annotation",
16
+ "emphasis"
17
+ ],
18
+ "nodeKinds": [
19
+ "process",
20
+ "start",
21
+ "end",
22
+ "decision",
23
+ "data-store",
24
+ "component"
25
+ ],
26
+ "relationKinds": [
27
+ "association",
28
+ "dependency",
29
+ "flow",
30
+ "message",
31
+ "transition"
32
+ ],
33
+ "operations": [
34
+ "insert-elements",
35
+ "update-semantics",
36
+ "remove-elements",
37
+ "set-membership-order",
38
+ "set-geometry",
39
+ "set-appearance-locks"
40
+ ],
41
+ "mermaid": {
42
+ "mode": "copy",
43
+ "certificationVersion": "flowchart-copy-v1",
44
+ "constructs": [
45
+ {
46
+ "construct": "flowchart-direction",
47
+ "import": "lossless",
48
+ "export": "lossless",
49
+ "semanticRoundTrip": "lossless",
50
+ "mapping": "flowchart TB/TD/LR/RL/BT maps to presentation layout direction"
51
+ },
52
+ {
53
+ "construct": "explicit-node-id",
54
+ "import": "lossless",
55
+ "export": "lossless",
56
+ "semanticRoundTrip": "lossless",
57
+ "mapping": "Explicit source ID maps through source-map to stable semantic node ID; labels never establish identity"
58
+ },
59
+ {
60
+ "construct": "plain-node-label",
61
+ "import": "lossless",
62
+ "export": "lossless",
63
+ "semanticRoundTrip": "lossless",
64
+ "mapping": "Escaped plain text maps to node label; HTML is inert text and is not executed"
65
+ },
66
+ {
67
+ "construct": "rectangle-node",
68
+ "import": "lossless",
69
+ "export": "lossless",
70
+ "semanticRoundTrip": "lossless",
71
+ "mapping": "node.kind process and presentation shape rectangle"
72
+ },
73
+ {
74
+ "construct": "rounded-node",
75
+ "import": "lossless",
76
+ "export": "lossless",
77
+ "semanticRoundTrip": "lossless",
78
+ "mapping": "node.kind process and presentation shape rounded-rectangle"
79
+ },
80
+ {
81
+ "construct": "decision-node",
82
+ "import": "lossless",
83
+ "export": "lossless",
84
+ "semanticRoundTrip": "lossless",
85
+ "mapping": "node.kind decision and presentation shape diamond"
86
+ },
87
+ {
88
+ "construct": "cylinder-node",
89
+ "import": "lossless",
90
+ "export": "lossless",
91
+ "semanticRoundTrip": "lossless",
92
+ "mapping": "node.kind data-store and presentation shape cylinder"
93
+ },
94
+ {
95
+ "construct": "directed-edge",
96
+ "import": "lossless",
97
+ "export": "lossless",
98
+ "semanticRoundTrip": "lossless",
99
+ "mapping": "relation.kind flow and direction forward; source and target IDs are semantic endpoints"
100
+ },
101
+ {
102
+ "construct": "bidirectional-edge",
103
+ "import": "lossless",
104
+ "export": "lossless",
105
+ "semanticRoundTrip": "lossless",
106
+ "mapping": "relation.kind flow and direction both"
107
+ },
108
+ {
109
+ "construct": "undirected-edge",
110
+ "import": "lossless",
111
+ "export": "lossless",
112
+ "semanticRoundTrip": "lossless",
113
+ "mapping": "relation.kind association and direction none"
114
+ },
115
+ {
116
+ "construct": "plain-edge-label",
117
+ "import": "lossless",
118
+ "export": "lossless",
119
+ "semanticRoundTrip": "lossless",
120
+ "mapping": "Escaped plain text maps to relation label"
121
+ },
122
+ {
123
+ "construct": "subgraph",
124
+ "import": "lossless",
125
+ "export": "lossless",
126
+ "semanticRoundTrip": "lossless",
127
+ "mapping": "Explicit subgraph ID maps to one semantic group in an acyclic single-parent forest"
128
+ },
129
+ {
130
+ "construct": "lane-semantics",
131
+ "import": "unsupported",
132
+ "export": "partial",
133
+ "semanticRoundTrip": "partial",
134
+ "mapping": "Mermaid subgraphs do not encode lane identity or explicit lane order"
135
+ },
136
+ {
137
+ "construct": "manual-geometry",
138
+ "import": "unsupported",
139
+ "export": "partial",
140
+ "semanticRoundTrip": "partial",
141
+ "mapping": "Standard Mermaid does not preserve coordinates, routes, attachments, stacking or locks"
142
+ },
143
+ {
144
+ "construct": "styles-and-directives",
145
+ "import": "unsupported",
146
+ "export": "unsupported",
147
+ "semanticRoundTrip": "unsupported",
148
+ "mapping": "CSS, classDef, init directives, links, callbacks and HTML labels are outside this certified subset"
149
+ },
150
+ {
151
+ "construct": "unsupported-construct",
152
+ "import": "unsupported",
153
+ "export": "unsupported",
154
+ "semanticRoundTrip": "unsupported",
155
+ "mapping": "Unrecognized syntax is retained as original source with explicit loss diagnostics"
156
+ }
157
+ ],
158
+ "linkedSource": false
159
+ }
160
+ },
161
+ {
162
+ "grammarId": "process",
163
+ "authoring": true,
164
+ "primitives": [
165
+ "node",
166
+ "relation",
167
+ "group",
168
+ "lane",
169
+ "annotation",
170
+ "emphasis"
171
+ ],
172
+ "nodeKinds": [
173
+ "process",
174
+ "start",
175
+ "end",
176
+ "decision",
177
+ "data-store",
178
+ "component"
179
+ ],
180
+ "relationKinds": [
181
+ "association",
182
+ "dependency",
183
+ "flow",
184
+ "message",
185
+ "transition"
186
+ ],
187
+ "operations": [
188
+ "insert-elements",
189
+ "update-semantics",
190
+ "remove-elements",
191
+ "set-membership-order",
192
+ "set-geometry",
193
+ "set-appearance-locks"
194
+ ],
195
+ "mermaid": {
196
+ "mode": "copy",
197
+ "certificationVersion": "flowchart-copy-v1",
198
+ "constructs": [
199
+ {
200
+ "construct": "flowchart-direction",
201
+ "import": "lossless",
202
+ "export": "lossless",
203
+ "semanticRoundTrip": "lossless",
204
+ "mapping": "flowchart TB/TD/LR/RL/BT maps to presentation layout direction"
205
+ },
206
+ {
207
+ "construct": "explicit-node-id",
208
+ "import": "lossless",
209
+ "export": "lossless",
210
+ "semanticRoundTrip": "lossless",
211
+ "mapping": "Explicit source ID maps through source-map to stable semantic node ID; labels never establish identity"
212
+ },
213
+ {
214
+ "construct": "plain-node-label",
215
+ "import": "lossless",
216
+ "export": "lossless",
217
+ "semanticRoundTrip": "lossless",
218
+ "mapping": "Escaped plain text maps to node label; HTML is inert text and is not executed"
219
+ },
220
+ {
221
+ "construct": "rectangle-node",
222
+ "import": "lossless",
223
+ "export": "lossless",
224
+ "semanticRoundTrip": "lossless",
225
+ "mapping": "node.kind process and presentation shape rectangle"
226
+ },
227
+ {
228
+ "construct": "rounded-node",
229
+ "import": "lossless",
230
+ "export": "lossless",
231
+ "semanticRoundTrip": "lossless",
232
+ "mapping": "node.kind process and presentation shape rounded-rectangle"
233
+ },
234
+ {
235
+ "construct": "decision-node",
236
+ "import": "lossless",
237
+ "export": "lossless",
238
+ "semanticRoundTrip": "lossless",
239
+ "mapping": "node.kind decision and presentation shape diamond"
240
+ },
241
+ {
242
+ "construct": "cylinder-node",
243
+ "import": "lossless",
244
+ "export": "lossless",
245
+ "semanticRoundTrip": "lossless",
246
+ "mapping": "node.kind data-store and presentation shape cylinder"
247
+ },
248
+ {
249
+ "construct": "directed-edge",
250
+ "import": "lossless",
251
+ "export": "lossless",
252
+ "semanticRoundTrip": "lossless",
253
+ "mapping": "relation.kind flow and direction forward; source and target IDs are semantic endpoints"
254
+ },
255
+ {
256
+ "construct": "bidirectional-edge",
257
+ "import": "lossless",
258
+ "export": "lossless",
259
+ "semanticRoundTrip": "lossless",
260
+ "mapping": "relation.kind flow and direction both"
261
+ },
262
+ {
263
+ "construct": "undirected-edge",
264
+ "import": "lossless",
265
+ "export": "lossless",
266
+ "semanticRoundTrip": "lossless",
267
+ "mapping": "relation.kind association and direction none"
268
+ },
269
+ {
270
+ "construct": "plain-edge-label",
271
+ "import": "lossless",
272
+ "export": "lossless",
273
+ "semanticRoundTrip": "lossless",
274
+ "mapping": "Escaped plain text maps to relation label"
275
+ },
276
+ {
277
+ "construct": "subgraph",
278
+ "import": "lossless",
279
+ "export": "lossless",
280
+ "semanticRoundTrip": "lossless",
281
+ "mapping": "Explicit subgraph ID maps to one semantic group in an acyclic single-parent forest"
282
+ },
283
+ {
284
+ "construct": "lane-semantics",
285
+ "import": "unsupported",
286
+ "export": "partial",
287
+ "semanticRoundTrip": "partial",
288
+ "mapping": "Mermaid subgraphs do not encode lane identity or explicit lane order"
289
+ },
290
+ {
291
+ "construct": "manual-geometry",
292
+ "import": "unsupported",
293
+ "export": "partial",
294
+ "semanticRoundTrip": "partial",
295
+ "mapping": "Standard Mermaid does not preserve coordinates, routes, attachments, stacking or locks"
296
+ },
297
+ {
298
+ "construct": "styles-and-directives",
299
+ "import": "unsupported",
300
+ "export": "unsupported",
301
+ "semanticRoundTrip": "unsupported",
302
+ "mapping": "CSS, classDef, init directives, links, callbacks and HTML labels are outside this certified subset"
303
+ },
304
+ {
305
+ "construct": "unsupported-construct",
306
+ "import": "unsupported",
307
+ "export": "unsupported",
308
+ "semanticRoundTrip": "unsupported",
309
+ "mapping": "Unrecognized syntax is retained as original source with explicit loss diagnostics"
310
+ }
311
+ ],
312
+ "linkedSource": false
313
+ }
314
+ },
315
+ {
316
+ "grammarId": "swimlane",
317
+ "authoring": true,
318
+ "primitives": [
319
+ "node",
320
+ "relation",
321
+ "group",
322
+ "lane",
323
+ "annotation",
324
+ "emphasis"
325
+ ],
326
+ "nodeKinds": [
327
+ "process",
328
+ "start",
329
+ "end",
330
+ "decision",
331
+ "data-store",
332
+ "component"
333
+ ],
334
+ "relationKinds": [
335
+ "association",
336
+ "dependency",
337
+ "flow",
338
+ "message",
339
+ "transition"
340
+ ],
341
+ "operations": [
342
+ "insert-elements",
343
+ "update-semantics",
344
+ "remove-elements",
345
+ "set-membership-order",
346
+ "set-geometry",
347
+ "set-appearance-locks"
348
+ ],
349
+ "mermaid": {
350
+ "mode": "copy",
351
+ "certificationVersion": "flowchart-copy-v1",
352
+ "constructs": [
353
+ {
354
+ "construct": "flowchart-direction",
355
+ "import": "lossless",
356
+ "export": "lossless",
357
+ "semanticRoundTrip": "lossless",
358
+ "mapping": "flowchart TB/TD/LR/RL/BT maps to presentation layout direction"
359
+ },
360
+ {
361
+ "construct": "explicit-node-id",
362
+ "import": "lossless",
363
+ "export": "lossless",
364
+ "semanticRoundTrip": "lossless",
365
+ "mapping": "Explicit source ID maps through source-map to stable semantic node ID; labels never establish identity"
366
+ },
367
+ {
368
+ "construct": "plain-node-label",
369
+ "import": "lossless",
370
+ "export": "lossless",
371
+ "semanticRoundTrip": "lossless",
372
+ "mapping": "Escaped plain text maps to node label; HTML is inert text and is not executed"
373
+ },
374
+ {
375
+ "construct": "rectangle-node",
376
+ "import": "lossless",
377
+ "export": "lossless",
378
+ "semanticRoundTrip": "lossless",
379
+ "mapping": "node.kind process and presentation shape rectangle"
380
+ },
381
+ {
382
+ "construct": "rounded-node",
383
+ "import": "lossless",
384
+ "export": "lossless",
385
+ "semanticRoundTrip": "lossless",
386
+ "mapping": "node.kind process and presentation shape rounded-rectangle"
387
+ },
388
+ {
389
+ "construct": "decision-node",
390
+ "import": "lossless",
391
+ "export": "lossless",
392
+ "semanticRoundTrip": "lossless",
393
+ "mapping": "node.kind decision and presentation shape diamond"
394
+ },
395
+ {
396
+ "construct": "cylinder-node",
397
+ "import": "lossless",
398
+ "export": "lossless",
399
+ "semanticRoundTrip": "lossless",
400
+ "mapping": "node.kind data-store and presentation shape cylinder"
401
+ },
402
+ {
403
+ "construct": "directed-edge",
404
+ "import": "lossless",
405
+ "export": "lossless",
406
+ "semanticRoundTrip": "lossless",
407
+ "mapping": "relation.kind flow and direction forward; source and target IDs are semantic endpoints"
408
+ },
409
+ {
410
+ "construct": "bidirectional-edge",
411
+ "import": "lossless",
412
+ "export": "lossless",
413
+ "semanticRoundTrip": "lossless",
414
+ "mapping": "relation.kind flow and direction both"
415
+ },
416
+ {
417
+ "construct": "undirected-edge",
418
+ "import": "lossless",
419
+ "export": "lossless",
420
+ "semanticRoundTrip": "lossless",
421
+ "mapping": "relation.kind association and direction none"
422
+ },
423
+ {
424
+ "construct": "plain-edge-label",
425
+ "import": "lossless",
426
+ "export": "lossless",
427
+ "semanticRoundTrip": "lossless",
428
+ "mapping": "Escaped plain text maps to relation label"
429
+ },
430
+ {
431
+ "construct": "subgraph",
432
+ "import": "lossless",
433
+ "export": "lossless",
434
+ "semanticRoundTrip": "lossless",
435
+ "mapping": "Explicit subgraph ID maps to one semantic group in an acyclic single-parent forest"
436
+ },
437
+ {
438
+ "construct": "lane-semantics",
439
+ "import": "unsupported",
440
+ "export": "partial",
441
+ "semanticRoundTrip": "partial",
442
+ "mapping": "Mermaid subgraphs do not encode lane identity or explicit lane order"
443
+ },
444
+ {
445
+ "construct": "manual-geometry",
446
+ "import": "unsupported",
447
+ "export": "partial",
448
+ "semanticRoundTrip": "partial",
449
+ "mapping": "Standard Mermaid does not preserve coordinates, routes, attachments, stacking or locks"
450
+ },
451
+ {
452
+ "construct": "styles-and-directives",
453
+ "import": "unsupported",
454
+ "export": "unsupported",
455
+ "semanticRoundTrip": "unsupported",
456
+ "mapping": "CSS, classDef, init directives, links, callbacks and HTML labels are outside this certified subset"
457
+ },
458
+ {
459
+ "construct": "unsupported-construct",
460
+ "import": "unsupported",
461
+ "export": "unsupported",
462
+ "semanticRoundTrip": "unsupported",
463
+ "mapping": "Unrecognized syntax is retained as original source with explicit loss diagnostics"
464
+ }
465
+ ],
466
+ "linkedSource": false
467
+ }
468
+ },
469
+ {
470
+ "grammarId": "architecture",
471
+ "authoring": true,
472
+ "primitives": [
473
+ "node",
474
+ "relation",
475
+ "group",
476
+ "annotation",
477
+ "emphasis"
478
+ ],
479
+ "nodeKinds": [
480
+ "process",
481
+ "start",
482
+ "end",
483
+ "decision",
484
+ "data-store",
485
+ "component"
486
+ ],
487
+ "relationKinds": [
488
+ "association",
489
+ "dependency",
490
+ "flow",
491
+ "message",
492
+ "transition"
493
+ ],
494
+ "operations": [
495
+ "insert-elements",
496
+ "update-semantics",
497
+ "remove-elements",
498
+ "set-membership-order",
499
+ "set-geometry",
500
+ "set-appearance-locks"
501
+ ],
502
+ "mermaid": {
503
+ "mode": "copy",
504
+ "certificationVersion": "flowchart-copy-v1",
505
+ "constructs": [
506
+ {
507
+ "construct": "flowchart-direction",
508
+ "import": "lossless",
509
+ "export": "lossless",
510
+ "semanticRoundTrip": "lossless",
511
+ "mapping": "flowchart TB/TD/LR/RL/BT maps to presentation layout direction"
512
+ },
513
+ {
514
+ "construct": "explicit-node-id",
515
+ "import": "lossless",
516
+ "export": "lossless",
517
+ "semanticRoundTrip": "lossless",
518
+ "mapping": "Explicit source ID maps through source-map to stable semantic node ID; labels never establish identity"
519
+ },
520
+ {
521
+ "construct": "plain-node-label",
522
+ "import": "lossless",
523
+ "export": "lossless",
524
+ "semanticRoundTrip": "lossless",
525
+ "mapping": "Escaped plain text maps to node label; HTML is inert text and is not executed"
526
+ },
527
+ {
528
+ "construct": "rectangle-node",
529
+ "import": "lossless",
530
+ "export": "lossless",
531
+ "semanticRoundTrip": "lossless",
532
+ "mapping": "node.kind process and presentation shape rectangle"
533
+ },
534
+ {
535
+ "construct": "rounded-node",
536
+ "import": "lossless",
537
+ "export": "lossless",
538
+ "semanticRoundTrip": "lossless",
539
+ "mapping": "node.kind process and presentation shape rounded-rectangle"
540
+ },
541
+ {
542
+ "construct": "decision-node",
543
+ "import": "lossless",
544
+ "export": "lossless",
545
+ "semanticRoundTrip": "lossless",
546
+ "mapping": "node.kind decision and presentation shape diamond"
547
+ },
548
+ {
549
+ "construct": "cylinder-node",
550
+ "import": "lossless",
551
+ "export": "lossless",
552
+ "semanticRoundTrip": "lossless",
553
+ "mapping": "node.kind data-store and presentation shape cylinder"
554
+ },
555
+ {
556
+ "construct": "directed-edge",
557
+ "import": "lossless",
558
+ "export": "lossless",
559
+ "semanticRoundTrip": "lossless",
560
+ "mapping": "relation.kind flow and direction forward; source and target IDs are semantic endpoints"
561
+ },
562
+ {
563
+ "construct": "bidirectional-edge",
564
+ "import": "lossless",
565
+ "export": "lossless",
566
+ "semanticRoundTrip": "lossless",
567
+ "mapping": "relation.kind flow and direction both"
568
+ },
569
+ {
570
+ "construct": "undirected-edge",
571
+ "import": "lossless",
572
+ "export": "lossless",
573
+ "semanticRoundTrip": "lossless",
574
+ "mapping": "relation.kind association and direction none"
575
+ },
576
+ {
577
+ "construct": "plain-edge-label",
578
+ "import": "lossless",
579
+ "export": "lossless",
580
+ "semanticRoundTrip": "lossless",
581
+ "mapping": "Escaped plain text maps to relation label"
582
+ },
583
+ {
584
+ "construct": "subgraph",
585
+ "import": "lossless",
586
+ "export": "lossless",
587
+ "semanticRoundTrip": "lossless",
588
+ "mapping": "Explicit subgraph ID maps to one semantic group in an acyclic single-parent forest"
589
+ },
590
+ {
591
+ "construct": "lane-semantics",
592
+ "import": "unsupported",
593
+ "export": "partial",
594
+ "semanticRoundTrip": "partial",
595
+ "mapping": "Mermaid subgraphs do not encode lane identity or explicit lane order"
596
+ },
597
+ {
598
+ "construct": "manual-geometry",
599
+ "import": "unsupported",
600
+ "export": "partial",
601
+ "semanticRoundTrip": "partial",
602
+ "mapping": "Standard Mermaid does not preserve coordinates, routes, attachments, stacking or locks"
603
+ },
604
+ {
605
+ "construct": "styles-and-directives",
606
+ "import": "unsupported",
607
+ "export": "unsupported",
608
+ "semanticRoundTrip": "unsupported",
609
+ "mapping": "CSS, classDef, init directives, links, callbacks and HTML labels are outside this certified subset"
610
+ },
611
+ {
612
+ "construct": "unsupported-construct",
613
+ "import": "unsupported",
614
+ "export": "unsupported",
615
+ "semanticRoundTrip": "unsupported",
616
+ "mapping": "Unrecognized syntax is retained as original source with explicit loss diagnostics"
617
+ }
618
+ ],
619
+ "linkedSource": false
620
+ }
621
+ }
622
+ ],
623
+ "unsupportedGrammars": [
624
+ "it-current-state",
625
+ "sequence",
626
+ "state-machine",
627
+ "er-data-model",
628
+ "timeline",
629
+ "quadrant",
630
+ "radar",
631
+ "polar",
632
+ "loop-flywheel",
633
+ "nested",
634
+ "tree",
635
+ "org-chart",
636
+ "layer-stack",
637
+ "venn",
638
+ "pyramid-funnel",
639
+ "bar",
640
+ "treemap",
641
+ "line",
642
+ "gantt",
643
+ "scatter",
644
+ "high-level",
645
+ "medallion",
646
+ "data-flow",
647
+ "dp-integration",
648
+ "dp-security-matrix",
649
+ "sankey",
650
+ "fishbone",
651
+ "wardley",
652
+ "kanban",
653
+ "user-journey",
654
+ "deployment",
655
+ "dependency-graph",
656
+ "uml-class",
657
+ "story-map",
658
+ "database-schema"
659
+ ]
660
+ }