@cardenelabs/dragon 0.18.2 → 0.19.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.
- package/README.md +3 -0
- package/dist/index.cjs +690 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -1
- package/dist/index.d.ts +53 -1
- package/dist/index.js +690 -148
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/compile.ts +87 -9
- package/src/json-parser.ts +38 -0
- package/src/keywords.ts +33 -0
- package/src/schemas/diagram.json +586 -140
- package/src/types.ts +12 -1
- package/src/v05/parser.ts +76 -3
package/src/schemas/diagram.json
CHANGED
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
"title": "Dragon DSL Diagram",
|
|
5
5
|
"description": "LLM 向け Dragon DSL の JSON Schema。 Anthropic Claude tool use / OpenAI GPT structured output の schema field に注入して使う。 生成された JSON は jsonToDiagram() に渡して CdlDiagram に変換する。",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"required": [
|
|
7
|
+
"required": [
|
|
8
|
+
"title",
|
|
9
|
+
"type",
|
|
10
|
+
"actors",
|
|
11
|
+
"flow"
|
|
12
|
+
],
|
|
8
13
|
"additionalProperties": false,
|
|
9
14
|
"properties": {
|
|
10
15
|
"title": {
|
|
@@ -88,7 +93,9 @@
|
|
|
88
93
|
},
|
|
89
94
|
{
|
|
90
95
|
"type": "object",
|
|
91
|
-
"required": [
|
|
96
|
+
"required": [
|
|
97
|
+
"name"
|
|
98
|
+
],
|
|
92
99
|
"additionalProperties": false,
|
|
93
100
|
"properties": {
|
|
94
101
|
"name": {
|
|
@@ -151,7 +158,11 @@
|
|
|
151
158
|
"type": "object",
|
|
152
159
|
"description": "parts の状態の上書き。 kind に parts identifier を指定した時だけ使える。",
|
|
153
160
|
"additionalProperties": {
|
|
154
|
-
"type": [
|
|
161
|
+
"type": [
|
|
162
|
+
"number",
|
|
163
|
+
"string",
|
|
164
|
+
"boolean"
|
|
165
|
+
]
|
|
155
166
|
}
|
|
156
167
|
},
|
|
157
168
|
"tone": {
|
|
@@ -259,7 +270,10 @@
|
|
|
259
270
|
"type": "object",
|
|
260
271
|
"additionalProperties": false,
|
|
261
272
|
"description": "auto layout の結果からずらす幅 (dx, dy)。 絶対座標は posX / posY で書く。",
|
|
262
|
-
"required": [
|
|
273
|
+
"required": [
|
|
274
|
+
"x",
|
|
275
|
+
"y"
|
|
276
|
+
],
|
|
263
277
|
"properties": {
|
|
264
278
|
"x": {
|
|
265
279
|
"type": "number"
|
|
@@ -280,27 +294,49 @@
|
|
|
280
294
|
"shape": {
|
|
281
295
|
"type": "object",
|
|
282
296
|
"description": "箱の中に描く図形。 水位 / 角度 / 半径を状態で動かせる。 kind ごとに書ける欄が違う (rect / circle / arc / wave / polygon)。",
|
|
283
|
-
"required": [
|
|
297
|
+
"required": [
|
|
298
|
+
"kind"
|
|
299
|
+
],
|
|
284
300
|
"properties": {
|
|
285
301
|
"kind": {
|
|
286
302
|
"type": "string",
|
|
287
|
-
"enum": [
|
|
303
|
+
"enum": [
|
|
304
|
+
"rect",
|
|
305
|
+
"circle",
|
|
306
|
+
"arc",
|
|
307
|
+
"wave",
|
|
308
|
+
"polygon"
|
|
309
|
+
]
|
|
288
310
|
},
|
|
289
311
|
"source": {
|
|
290
|
-
"type": [
|
|
312
|
+
"type": [
|
|
313
|
+
"number",
|
|
314
|
+
"string"
|
|
315
|
+
]
|
|
291
316
|
},
|
|
292
317
|
"fillMax": {
|
|
293
318
|
"type": "number"
|
|
294
319
|
},
|
|
295
320
|
"orient": {
|
|
296
321
|
"type": "string",
|
|
297
|
-
"enum": [
|
|
322
|
+
"enum": [
|
|
323
|
+
"up",
|
|
324
|
+
"down",
|
|
325
|
+
"left",
|
|
326
|
+
"right"
|
|
327
|
+
]
|
|
298
328
|
},
|
|
299
329
|
"radius": {
|
|
300
|
-
"type": [
|
|
330
|
+
"type": [
|
|
331
|
+
"number",
|
|
332
|
+
"string"
|
|
333
|
+
]
|
|
301
334
|
},
|
|
302
335
|
"fillProgress": {
|
|
303
|
-
"type": [
|
|
336
|
+
"type": [
|
|
337
|
+
"number",
|
|
338
|
+
"string"
|
|
339
|
+
]
|
|
304
340
|
},
|
|
305
341
|
"innerRadius": {
|
|
306
342
|
"type": "number"
|
|
@@ -312,13 +348,19 @@
|
|
|
312
348
|
"type": "number"
|
|
313
349
|
},
|
|
314
350
|
"angle": {
|
|
315
|
-
"type": [
|
|
351
|
+
"type": [
|
|
352
|
+
"number",
|
|
353
|
+
"string"
|
|
354
|
+
]
|
|
316
355
|
},
|
|
317
356
|
"sweepMax": {
|
|
318
357
|
"type": "number"
|
|
319
358
|
},
|
|
320
359
|
"level": {
|
|
321
|
-
"type": [
|
|
360
|
+
"type": [
|
|
361
|
+
"number",
|
|
362
|
+
"string"
|
|
363
|
+
]
|
|
322
364
|
},
|
|
323
365
|
"amplitude": {
|
|
324
366
|
"type": "number"
|
|
@@ -333,7 +375,10 @@
|
|
|
333
375
|
"type": "number"
|
|
334
376
|
},
|
|
335
377
|
"rotation": {
|
|
336
|
-
"type": [
|
|
378
|
+
"type": [
|
|
379
|
+
"number",
|
|
380
|
+
"string"
|
|
381
|
+
]
|
|
337
382
|
},
|
|
338
383
|
"fill": {
|
|
339
384
|
"type": "string"
|
|
@@ -347,41 +392,61 @@
|
|
|
347
392
|
{
|
|
348
393
|
"properties": {
|
|
349
394
|
"kind": {
|
|
350
|
-
"enum": [
|
|
395
|
+
"enum": [
|
|
396
|
+
"rect"
|
|
397
|
+
]
|
|
351
398
|
}
|
|
352
399
|
},
|
|
353
|
-
"required": [
|
|
400
|
+
"required": [
|
|
401
|
+
"source",
|
|
402
|
+
"fillMax"
|
|
403
|
+
]
|
|
354
404
|
},
|
|
355
405
|
{
|
|
356
406
|
"properties": {
|
|
357
407
|
"kind": {
|
|
358
|
-
"enum": [
|
|
408
|
+
"enum": [
|
|
409
|
+
"circle"
|
|
410
|
+
]
|
|
359
411
|
}
|
|
360
412
|
}
|
|
361
413
|
},
|
|
362
414
|
{
|
|
363
415
|
"properties": {
|
|
364
416
|
"kind": {
|
|
365
|
-
"enum": [
|
|
417
|
+
"enum": [
|
|
418
|
+
"arc"
|
|
419
|
+
]
|
|
366
420
|
}
|
|
367
421
|
},
|
|
368
|
-
"required": [
|
|
422
|
+
"required": [
|
|
423
|
+
"angle"
|
|
424
|
+
]
|
|
369
425
|
},
|
|
370
426
|
{
|
|
371
427
|
"properties": {
|
|
372
428
|
"kind": {
|
|
373
|
-
"enum": [
|
|
429
|
+
"enum": [
|
|
430
|
+
"wave"
|
|
431
|
+
]
|
|
374
432
|
}
|
|
375
433
|
},
|
|
376
|
-
"required": [
|
|
434
|
+
"required": [
|
|
435
|
+
"level",
|
|
436
|
+
"amplitude"
|
|
437
|
+
]
|
|
377
438
|
},
|
|
378
439
|
{
|
|
379
440
|
"properties": {
|
|
380
441
|
"kind": {
|
|
381
|
-
"enum": [
|
|
442
|
+
"enum": [
|
|
443
|
+
"polygon"
|
|
444
|
+
]
|
|
382
445
|
}
|
|
383
446
|
},
|
|
384
|
-
"required": [
|
|
447
|
+
"required": [
|
|
448
|
+
"sides"
|
|
449
|
+
]
|
|
385
450
|
}
|
|
386
451
|
]
|
|
387
452
|
},
|
|
@@ -398,19 +463,28 @@
|
|
|
398
463
|
"description": "箱の高さを値に追随させる。 wBind と同じ読み方"
|
|
399
464
|
},
|
|
400
465
|
"opacity": {
|
|
401
|
-
"type": [
|
|
466
|
+
"type": [
|
|
467
|
+
"number",
|
|
468
|
+
"string"
|
|
469
|
+
],
|
|
402
470
|
"minLength": 1,
|
|
403
471
|
"pattern": "\\S",
|
|
404
472
|
"description": "箱の濃さ。 0 から 1 の数か、状態の名前。 書かなければ完全に見える"
|
|
405
473
|
},
|
|
406
474
|
"renderOffsetX": {
|
|
407
|
-
"type": [
|
|
475
|
+
"type": [
|
|
476
|
+
"number",
|
|
477
|
+
"string"
|
|
478
|
+
],
|
|
408
479
|
"minLength": 1,
|
|
409
480
|
"pattern": "\\S",
|
|
410
481
|
"description": "描く時だけ箱を横へずらす量。 配置計算と矢印はずらす前の位置を使う"
|
|
411
482
|
},
|
|
412
483
|
"renderOffsetY": {
|
|
413
|
-
"type": [
|
|
484
|
+
"type": [
|
|
485
|
+
"number",
|
|
486
|
+
"string"
|
|
487
|
+
],
|
|
414
488
|
"minLength": 1,
|
|
415
489
|
"pattern": "\\S",
|
|
416
490
|
"description": "描く時だけ箱を縦へずらす量。 renderOffsetX と同じ読み方"
|
|
@@ -425,7 +499,11 @@
|
|
|
425
499
|
"description": "step の配列 (矢印で actor 間を繋ぐ)。 sequence では順序が意味を持つ。",
|
|
426
500
|
"items": {
|
|
427
501
|
"type": "object",
|
|
428
|
-
"required": [
|
|
502
|
+
"required": [
|
|
503
|
+
"from",
|
|
504
|
+
"to",
|
|
505
|
+
"label"
|
|
506
|
+
],
|
|
429
507
|
"additionalProperties": false,
|
|
430
508
|
"properties": {
|
|
431
509
|
"from": {
|
|
@@ -464,7 +542,11 @@
|
|
|
464
542
|
},
|
|
465
543
|
"style": {
|
|
466
544
|
"type": "string",
|
|
467
|
-
"enum": [
|
|
545
|
+
"enum": [
|
|
546
|
+
"solid",
|
|
547
|
+
"dotted-flow",
|
|
548
|
+
"dashed"
|
|
549
|
+
],
|
|
468
550
|
"description": "矢印の線種"
|
|
469
551
|
},
|
|
470
552
|
"guard": {
|
|
@@ -477,37 +559,90 @@
|
|
|
477
559
|
},
|
|
478
560
|
"side": {
|
|
479
561
|
"type": "string",
|
|
480
|
-
"enum": [
|
|
562
|
+
"enum": [
|
|
563
|
+
"top",
|
|
564
|
+
"right",
|
|
565
|
+
"bottom",
|
|
566
|
+
"left"
|
|
567
|
+
],
|
|
481
568
|
"description": "矢印がどの辺から出るか。 書かなければ描画側が自動で選ぶ。"
|
|
482
569
|
},
|
|
483
570
|
"head": {
|
|
484
571
|
"type": "string",
|
|
485
|
-
"enum": [
|
|
572
|
+
"enum": [
|
|
573
|
+
"none",
|
|
574
|
+
"triangle",
|
|
575
|
+
"diamond",
|
|
576
|
+
"open",
|
|
577
|
+
"crow",
|
|
578
|
+
"one",
|
|
579
|
+
"zero-one",
|
|
580
|
+
"many",
|
|
581
|
+
"zero-many"
|
|
582
|
+
],
|
|
486
583
|
"description": "着き先側の端の形。 端の形で関係の種類を示す = triangle (継ぐ) / diamond (持つ) / open (使う) / crow (多) / one / zero-one / many / zero-many (個数)。 書かなければ塗った三角になる。"
|
|
487
584
|
},
|
|
488
585
|
"tailHead": {
|
|
489
586
|
"type": "string",
|
|
490
|
-
"enum": [
|
|
587
|
+
"enum": [
|
|
588
|
+
"none",
|
|
589
|
+
"triangle",
|
|
590
|
+
"diamond",
|
|
591
|
+
"open",
|
|
592
|
+
"crow",
|
|
593
|
+
"one",
|
|
594
|
+
"zero-one",
|
|
595
|
+
"many",
|
|
596
|
+
"zero-many"
|
|
597
|
+
],
|
|
491
598
|
"description": "出どころ側の端の形。 両端に別々の印を立てる時に書く。"
|
|
492
599
|
},
|
|
493
600
|
"headFill": {
|
|
494
601
|
"type": "string",
|
|
495
|
-
"enum": [
|
|
602
|
+
"enum": [
|
|
603
|
+
"solid",
|
|
604
|
+
"hollow"
|
|
605
|
+
],
|
|
496
606
|
"description": "着き先側の端の塗り。 中空は「弱い関係」 を表す。"
|
|
497
607
|
},
|
|
498
608
|
"tailHeadFill": {
|
|
499
609
|
"type": "string",
|
|
500
|
-
"enum": [
|
|
610
|
+
"enum": [
|
|
611
|
+
"solid",
|
|
612
|
+
"hollow"
|
|
613
|
+
],
|
|
501
614
|
"description": "出どころ側の端の塗り。"
|
|
502
615
|
},
|
|
503
616
|
"relation": {
|
|
504
617
|
"type": "string",
|
|
505
|
-
"enum": [
|
|
618
|
+
"enum": [
|
|
619
|
+
"extends",
|
|
620
|
+
"implements",
|
|
621
|
+
"aggregates",
|
|
622
|
+
"composes",
|
|
623
|
+
"associates",
|
|
624
|
+
"uses"
|
|
625
|
+
],
|
|
506
626
|
"description": "クラス図の関係の語。 書くと端の形 / 塗り / 線種がまとめて決まる。"
|
|
507
627
|
},
|
|
628
|
+
"role": {
|
|
629
|
+
"type": "string",
|
|
630
|
+
"enum": [
|
|
631
|
+
"main"
|
|
632
|
+
],
|
|
633
|
+
"description": "辺の役目。 main を書いた辺だけ「いま」 の色で引く。 主となる 1 本 (または 1 続き) にだけ書く"
|
|
634
|
+
},
|
|
635
|
+
"labelPlate": {
|
|
636
|
+
"type": "boolean",
|
|
637
|
+
"description": "説明文の下地を敷くか。 false で外す。 丸い下地は箱と同じ形なので、罫の細い図では名前が小さな箱に見える"
|
|
638
|
+
},
|
|
508
639
|
"kind": {
|
|
509
640
|
"type": "string",
|
|
510
|
-
"enum": [
|
|
641
|
+
"enum": [
|
|
642
|
+
"call",
|
|
643
|
+
"return",
|
|
644
|
+
"fire"
|
|
645
|
+
],
|
|
511
646
|
"description": "順序図の言づての種類。 call (返事を待つ) / return (返し) / fire (返事を待たない)。"
|
|
512
647
|
},
|
|
513
648
|
"labelOffsetX": {
|
|
@@ -526,7 +661,10 @@
|
|
|
526
661
|
"type": "object",
|
|
527
662
|
"additionalProperties": false,
|
|
528
663
|
"description": "矢印の説明文をずらす幅 (dx, dy)。",
|
|
529
|
-
"required": [
|
|
664
|
+
"required": [
|
|
665
|
+
"x",
|
|
666
|
+
"y"
|
|
667
|
+
],
|
|
530
668
|
"properties": {
|
|
531
669
|
"x": {
|
|
532
670
|
"type": "number"
|
|
@@ -563,7 +701,10 @@
|
|
|
563
701
|
"additionalProperties": false,
|
|
564
702
|
"patternProperties": {
|
|
565
703
|
"^[a-zA-Z_][a-zA-Z0-9_]*$": {
|
|
566
|
-
"type": [
|
|
704
|
+
"type": [
|
|
705
|
+
"number",
|
|
706
|
+
"string"
|
|
707
|
+
],
|
|
567
708
|
"description": "初期値。 数か文字列。 名前は英字か _ で始め、 英数字と _ だけを使う"
|
|
568
709
|
}
|
|
569
710
|
},
|
|
@@ -597,7 +738,9 @@
|
|
|
597
738
|
"description": "アニメーション phase 配列。 各 phase で focus 対象を highlight し、 tween / set で states の値を動かす。 optional。",
|
|
598
739
|
"items": {
|
|
599
740
|
"type": "object",
|
|
600
|
-
"required": [
|
|
741
|
+
"required": [
|
|
742
|
+
"step"
|
|
743
|
+
],
|
|
601
744
|
"additionalProperties": false,
|
|
602
745
|
"properties": {
|
|
603
746
|
"step": {
|
|
@@ -627,7 +770,16 @@
|
|
|
627
770
|
},
|
|
628
771
|
"draw": {
|
|
629
772
|
"type": "string",
|
|
630
|
-
"enum": [
|
|
773
|
+
"enum": [
|
|
774
|
+
"line",
|
|
775
|
+
"bar",
|
|
776
|
+
"pie",
|
|
777
|
+
"journey",
|
|
778
|
+
"mind",
|
|
779
|
+
"tree",
|
|
780
|
+
"gantt",
|
|
781
|
+
"funnel"
|
|
782
|
+
],
|
|
631
783
|
"description": "この phase で起点から描くもの。 語は図種と揃える。 line / journey = 線が左端から右へ伸びる / bar = 棒が横軸から上へ伸びる / pie = 扇が 12 時から時計回りに開く / mind = 枝が中心から外へ伸びる / tree = 枝が根から下へ伸びる / gantt = 帯が各始端から右へ伸びる / funnel = 段が上端から順に積まれる"
|
|
632
784
|
},
|
|
633
785
|
"drawRatio": {
|
|
@@ -657,7 +809,10 @@
|
|
|
657
809
|
"additionalProperties": false,
|
|
658
810
|
"patternProperties": {
|
|
659
811
|
"^[a-zA-Z_][a-zA-Z0-9_]*$": {
|
|
660
|
-
"type": [
|
|
812
|
+
"type": [
|
|
813
|
+
"number",
|
|
814
|
+
"string"
|
|
815
|
+
]
|
|
661
816
|
}
|
|
662
817
|
}
|
|
663
818
|
}
|
|
@@ -730,7 +885,10 @@
|
|
|
730
885
|
"type": "object",
|
|
731
886
|
"additionalProperties": false,
|
|
732
887
|
"description": "縦列をずらす幅 (dx, dy)。",
|
|
733
|
-
"required": [
|
|
888
|
+
"required": [
|
|
889
|
+
"x",
|
|
890
|
+
"y"
|
|
891
|
+
],
|
|
734
892
|
"properties": {
|
|
735
893
|
"x": {
|
|
736
894
|
"type": "number"
|
|
@@ -748,7 +906,9 @@
|
|
|
748
906
|
"description": "topology で使う group 宣言。 key = group id、 value = { label, lanes }。",
|
|
749
907
|
"additionalProperties": {
|
|
750
908
|
"type": "object",
|
|
751
|
-
"required": [
|
|
909
|
+
"required": [
|
|
910
|
+
"lanes"
|
|
911
|
+
],
|
|
752
912
|
"additionalProperties": false,
|
|
753
913
|
"properties": {
|
|
754
914
|
"label": {
|
|
@@ -769,7 +929,10 @@
|
|
|
769
929
|
"description": "値を見せる部品。 状態の値を割合の輪 / 数え上げ / 目盛りで出す。 箱ではないので縦列に載らず、図全体に 1 つの並びとして持つ。",
|
|
770
930
|
"items": {
|
|
771
931
|
"type": "object",
|
|
772
|
-
"required": [
|
|
932
|
+
"required": [
|
|
933
|
+
"id",
|
|
934
|
+
"kind"
|
|
935
|
+
],
|
|
773
936
|
"additionalProperties": false,
|
|
774
937
|
"properties": {
|
|
775
938
|
"id": {
|
|
@@ -959,7 +1122,10 @@
|
|
|
959
1122
|
"minItems": 1,
|
|
960
1123
|
"items": {
|
|
961
1124
|
"type": "object",
|
|
962
|
-
"required": [
|
|
1125
|
+
"required": [
|
|
1126
|
+
"status",
|
|
1127
|
+
"color"
|
|
1128
|
+
],
|
|
963
1129
|
"additionalProperties": false,
|
|
964
1130
|
"properties": {
|
|
965
1131
|
"status": {
|
|
@@ -1099,7 +1265,10 @@
|
|
|
1099
1265
|
"minItems": 1,
|
|
1100
1266
|
"items": {
|
|
1101
1267
|
"type": "object",
|
|
1102
|
-
"required": [
|
|
1268
|
+
"required": [
|
|
1269
|
+
"value",
|
|
1270
|
+
"color"
|
|
1271
|
+
],
|
|
1103
1272
|
"additionalProperties": false,
|
|
1104
1273
|
"properties": {
|
|
1105
1274
|
"value": {
|
|
@@ -1230,130 +1399,207 @@
|
|
|
1230
1399
|
{
|
|
1231
1400
|
"properties": {
|
|
1232
1401
|
"kind": {
|
|
1233
|
-
"enum": [
|
|
1402
|
+
"enum": [
|
|
1403
|
+
"bar"
|
|
1404
|
+
]
|
|
1234
1405
|
}
|
|
1235
1406
|
},
|
|
1236
|
-
"required": [
|
|
1407
|
+
"required": [
|
|
1408
|
+
"source",
|
|
1409
|
+
"min",
|
|
1410
|
+
"max"
|
|
1411
|
+
]
|
|
1237
1412
|
},
|
|
1238
1413
|
{
|
|
1239
1414
|
"properties": {
|
|
1240
1415
|
"kind": {
|
|
1241
|
-
"enum": [
|
|
1416
|
+
"enum": [
|
|
1417
|
+
"gauge"
|
|
1418
|
+
]
|
|
1242
1419
|
}
|
|
1243
1420
|
},
|
|
1244
|
-
"required": [
|
|
1421
|
+
"required": [
|
|
1422
|
+
"source",
|
|
1423
|
+
"min",
|
|
1424
|
+
"max"
|
|
1425
|
+
]
|
|
1245
1426
|
},
|
|
1246
1427
|
{
|
|
1247
1428
|
"properties": {
|
|
1248
1429
|
"kind": {
|
|
1249
|
-
"enum": [
|
|
1430
|
+
"enum": [
|
|
1431
|
+
"stat"
|
|
1432
|
+
]
|
|
1250
1433
|
}
|
|
1251
1434
|
},
|
|
1252
|
-
"required": [
|
|
1435
|
+
"required": [
|
|
1436
|
+
"source"
|
|
1437
|
+
]
|
|
1253
1438
|
},
|
|
1254
1439
|
{
|
|
1255
1440
|
"properties": {
|
|
1256
1441
|
"kind": {
|
|
1257
|
-
"enum": [
|
|
1442
|
+
"enum": [
|
|
1443
|
+
"sparkline"
|
|
1444
|
+
]
|
|
1258
1445
|
}
|
|
1259
1446
|
},
|
|
1260
|
-
"required": [
|
|
1447
|
+
"required": [
|
|
1448
|
+
"source"
|
|
1449
|
+
]
|
|
1261
1450
|
},
|
|
1262
1451
|
{
|
|
1263
1452
|
"properties": {
|
|
1264
1453
|
"kind": {
|
|
1265
|
-
"enum": [
|
|
1454
|
+
"enum": [
|
|
1455
|
+
"countup"
|
|
1456
|
+
]
|
|
1266
1457
|
}
|
|
1267
1458
|
},
|
|
1268
|
-
"required": [
|
|
1459
|
+
"required": [
|
|
1460
|
+
"source"
|
|
1461
|
+
]
|
|
1269
1462
|
},
|
|
1270
1463
|
{
|
|
1271
1464
|
"properties": {
|
|
1272
1465
|
"kind": {
|
|
1273
|
-
"enum": [
|
|
1466
|
+
"enum": [
|
|
1467
|
+
"typewriter"
|
|
1468
|
+
]
|
|
1274
1469
|
}
|
|
1275
1470
|
},
|
|
1276
|
-
"required": [
|
|
1471
|
+
"required": [
|
|
1472
|
+
"source"
|
|
1473
|
+
]
|
|
1277
1474
|
},
|
|
1278
1475
|
{
|
|
1279
1476
|
"properties": {
|
|
1280
1477
|
"kind": {
|
|
1281
|
-
"enum": [
|
|
1478
|
+
"enum": [
|
|
1479
|
+
"delta"
|
|
1480
|
+
]
|
|
1282
1481
|
}
|
|
1283
1482
|
},
|
|
1284
|
-
"required": [
|
|
1483
|
+
"required": [
|
|
1484
|
+
"source"
|
|
1485
|
+
]
|
|
1285
1486
|
},
|
|
1286
1487
|
{
|
|
1287
1488
|
"properties": {
|
|
1288
1489
|
"kind": {
|
|
1289
|
-
"enum": [
|
|
1490
|
+
"enum": [
|
|
1491
|
+
"percent-ring"
|
|
1492
|
+
]
|
|
1290
1493
|
}
|
|
1291
1494
|
},
|
|
1292
|
-
"required": [
|
|
1495
|
+
"required": [
|
|
1496
|
+
"source",
|
|
1497
|
+
"max"
|
|
1498
|
+
]
|
|
1293
1499
|
},
|
|
1294
1500
|
{
|
|
1295
1501
|
"properties": {
|
|
1296
1502
|
"kind": {
|
|
1297
|
-
"enum": [
|
|
1503
|
+
"enum": [
|
|
1504
|
+
"heat-cell"
|
|
1505
|
+
]
|
|
1298
1506
|
}
|
|
1299
1507
|
},
|
|
1300
|
-
"required": [
|
|
1508
|
+
"required": [
|
|
1509
|
+
"source",
|
|
1510
|
+
"min",
|
|
1511
|
+
"max"
|
|
1512
|
+
]
|
|
1301
1513
|
},
|
|
1302
1514
|
{
|
|
1303
1515
|
"properties": {
|
|
1304
1516
|
"kind": {
|
|
1305
|
-
"enum": [
|
|
1517
|
+
"enum": [
|
|
1518
|
+
"donut"
|
|
1519
|
+
]
|
|
1306
1520
|
}
|
|
1307
1521
|
},
|
|
1308
|
-
"required": [
|
|
1522
|
+
"required": [
|
|
1523
|
+
"source"
|
|
1524
|
+
]
|
|
1309
1525
|
},
|
|
1310
1526
|
{
|
|
1311
1527
|
"properties": {
|
|
1312
1528
|
"kind": {
|
|
1313
|
-
"enum": [
|
|
1529
|
+
"enum": [
|
|
1530
|
+
"radar"
|
|
1531
|
+
]
|
|
1314
1532
|
}
|
|
1315
1533
|
},
|
|
1316
|
-
"required": [
|
|
1534
|
+
"required": [
|
|
1535
|
+
"source",
|
|
1536
|
+
"max"
|
|
1537
|
+
]
|
|
1317
1538
|
},
|
|
1318
1539
|
{
|
|
1319
1540
|
"properties": {
|
|
1320
1541
|
"kind": {
|
|
1321
|
-
"enum": [
|
|
1542
|
+
"enum": [
|
|
1543
|
+
"step-progress"
|
|
1544
|
+
]
|
|
1322
1545
|
}
|
|
1323
1546
|
},
|
|
1324
|
-
"required": [
|
|
1547
|
+
"required": [
|
|
1548
|
+
"source",
|
|
1549
|
+
"stepsSource"
|
|
1550
|
+
]
|
|
1325
1551
|
},
|
|
1326
1552
|
{
|
|
1327
1553
|
"properties": {
|
|
1328
1554
|
"kind": {
|
|
1329
|
-
"enum": [
|
|
1555
|
+
"enum": [
|
|
1556
|
+
"status-dot"
|
|
1557
|
+
]
|
|
1330
1558
|
}
|
|
1331
1559
|
},
|
|
1332
|
-
"required": [
|
|
1560
|
+
"required": [
|
|
1561
|
+
"source",
|
|
1562
|
+
"map"
|
|
1563
|
+
]
|
|
1333
1564
|
},
|
|
1334
1565
|
{
|
|
1335
1566
|
"properties": {
|
|
1336
1567
|
"kind": {
|
|
1337
|
-
"enum": [
|
|
1568
|
+
"enum": [
|
|
1569
|
+
"notification"
|
|
1570
|
+
]
|
|
1338
1571
|
}
|
|
1339
1572
|
},
|
|
1340
|
-
"required": [
|
|
1573
|
+
"required": [
|
|
1574
|
+
"kindSource",
|
|
1575
|
+
"titleSource"
|
|
1576
|
+
]
|
|
1341
1577
|
},
|
|
1342
1578
|
{
|
|
1343
1579
|
"properties": {
|
|
1344
1580
|
"kind": {
|
|
1345
|
-
"enum": [
|
|
1581
|
+
"enum": [
|
|
1582
|
+
"kpi-card"
|
|
1583
|
+
]
|
|
1346
1584
|
}
|
|
1347
1585
|
},
|
|
1348
|
-
"required": [
|
|
1586
|
+
"required": [
|
|
1587
|
+
"source",
|
|
1588
|
+
"historySource",
|
|
1589
|
+
"comparisonSource"
|
|
1590
|
+
]
|
|
1349
1591
|
},
|
|
1350
1592
|
{
|
|
1351
1593
|
"properties": {
|
|
1352
1594
|
"kind": {
|
|
1353
|
-
"enum": [
|
|
1595
|
+
"enum": [
|
|
1596
|
+
"status-timeline"
|
|
1597
|
+
]
|
|
1354
1598
|
}
|
|
1355
1599
|
},
|
|
1356
|
-
"required": [
|
|
1600
|
+
"required": [
|
|
1601
|
+
"source"
|
|
1602
|
+
]
|
|
1357
1603
|
},
|
|
1358
1604
|
{
|
|
1359
1605
|
"properties": {
|
|
@@ -1425,19 +1671,26 @@
|
|
|
1425
1671
|
]
|
|
1426
1672
|
}
|
|
1427
1673
|
},
|
|
1428
|
-
"required": [
|
|
1674
|
+
"required": [
|
|
1675
|
+
"source"
|
|
1676
|
+
]
|
|
1429
1677
|
},
|
|
1430
1678
|
{
|
|
1431
1679
|
"properties": {
|
|
1432
1680
|
"kind": {
|
|
1433
|
-
"enum": [
|
|
1681
|
+
"enum": [
|
|
1682
|
+
"badge"
|
|
1683
|
+
]
|
|
1434
1684
|
},
|
|
1435
1685
|
"map": {
|
|
1436
1686
|
"type": "array",
|
|
1437
1687
|
"minItems": 1,
|
|
1438
1688
|
"items": {
|
|
1439
1689
|
"type": "object",
|
|
1440
|
-
"required": [
|
|
1690
|
+
"required": [
|
|
1691
|
+
"value",
|
|
1692
|
+
"color"
|
|
1693
|
+
],
|
|
1441
1694
|
"additionalProperties": false,
|
|
1442
1695
|
"properties": {
|
|
1443
1696
|
"value": {
|
|
@@ -1450,7 +1703,9 @@
|
|
|
1450
1703
|
}
|
|
1451
1704
|
}
|
|
1452
1705
|
},
|
|
1453
|
-
"required": [
|
|
1706
|
+
"required": [
|
|
1707
|
+
"source"
|
|
1708
|
+
]
|
|
1454
1709
|
},
|
|
1455
1710
|
{
|
|
1456
1711
|
"properties": {
|
|
@@ -1469,119 +1724,210 @@
|
|
|
1469
1724
|
]
|
|
1470
1725
|
}
|
|
1471
1726
|
},
|
|
1472
|
-
"required": [
|
|
1727
|
+
"required": [
|
|
1728
|
+
"source",
|
|
1729
|
+
"min",
|
|
1730
|
+
"max"
|
|
1731
|
+
]
|
|
1473
1732
|
},
|
|
1474
1733
|
{
|
|
1475
1734
|
"properties": {
|
|
1476
1735
|
"kind": {
|
|
1477
|
-
"enum": [
|
|
1736
|
+
"enum": [
|
|
1737
|
+
"attendance-grid"
|
|
1738
|
+
]
|
|
1478
1739
|
}
|
|
1479
1740
|
},
|
|
1480
|
-
"required": [
|
|
1741
|
+
"required": [
|
|
1742
|
+
"source",
|
|
1743
|
+
"membersSource"
|
|
1744
|
+
]
|
|
1481
1745
|
},
|
|
1482
1746
|
{
|
|
1483
1747
|
"properties": {
|
|
1484
1748
|
"kind": {
|
|
1485
|
-
"enum": [
|
|
1749
|
+
"enum": [
|
|
1750
|
+
"bubble-chart"
|
|
1751
|
+
]
|
|
1486
1752
|
}
|
|
1487
1753
|
},
|
|
1488
|
-
"required": [
|
|
1754
|
+
"required": [
|
|
1755
|
+
"source",
|
|
1756
|
+
"xMin",
|
|
1757
|
+
"xMax",
|
|
1758
|
+
"yMin",
|
|
1759
|
+
"yMax",
|
|
1760
|
+
"rMin",
|
|
1761
|
+
"rMax"
|
|
1762
|
+
]
|
|
1489
1763
|
},
|
|
1490
1764
|
{
|
|
1491
1765
|
"properties": {
|
|
1492
1766
|
"kind": {
|
|
1493
|
-
"enum": [
|
|
1767
|
+
"enum": [
|
|
1768
|
+
"bullet-chart"
|
|
1769
|
+
]
|
|
1494
1770
|
}
|
|
1495
1771
|
},
|
|
1496
|
-
"required": [
|
|
1772
|
+
"required": [
|
|
1773
|
+
"source",
|
|
1774
|
+
"targetSource",
|
|
1775
|
+
"max"
|
|
1776
|
+
]
|
|
1497
1777
|
},
|
|
1498
1778
|
{
|
|
1499
1779
|
"properties": {
|
|
1500
1780
|
"kind": {
|
|
1501
|
-
"enum": [
|
|
1781
|
+
"enum": [
|
|
1782
|
+
"calendar-heatmap",
|
|
1783
|
+
"polar-area",
|
|
1784
|
+
"progress-group"
|
|
1785
|
+
]
|
|
1502
1786
|
}
|
|
1503
1787
|
},
|
|
1504
|
-
"required": [
|
|
1788
|
+
"required": [
|
|
1789
|
+
"source",
|
|
1790
|
+
"max"
|
|
1791
|
+
]
|
|
1505
1792
|
},
|
|
1506
1793
|
{
|
|
1507
1794
|
"properties": {
|
|
1508
1795
|
"kind": {
|
|
1509
|
-
"enum": [
|
|
1796
|
+
"enum": [
|
|
1797
|
+
"diff-counter"
|
|
1798
|
+
]
|
|
1510
1799
|
}
|
|
1511
1800
|
},
|
|
1512
|
-
"required": [
|
|
1801
|
+
"required": [
|
|
1802
|
+
"additionsSource",
|
|
1803
|
+
"deletionsSource"
|
|
1804
|
+
]
|
|
1513
1805
|
},
|
|
1514
1806
|
{
|
|
1515
1807
|
"properties": {
|
|
1516
1808
|
"kind": {
|
|
1517
|
-
"enum": [
|
|
1809
|
+
"enum": [
|
|
1810
|
+
"kpi-trend-tile"
|
|
1811
|
+
]
|
|
1518
1812
|
}
|
|
1519
1813
|
},
|
|
1520
|
-
"required": [
|
|
1814
|
+
"required": [
|
|
1815
|
+
"source",
|
|
1816
|
+
"prevSource",
|
|
1817
|
+
"historySource"
|
|
1818
|
+
]
|
|
1521
1819
|
},
|
|
1522
1820
|
{
|
|
1523
1821
|
"properties": {
|
|
1524
1822
|
"kind": {
|
|
1525
|
-
"enum": [
|
|
1823
|
+
"enum": [
|
|
1824
|
+
"map-pin"
|
|
1825
|
+
]
|
|
1526
1826
|
}
|
|
1527
1827
|
},
|
|
1528
|
-
"required": [
|
|
1828
|
+
"required": [
|
|
1829
|
+
"source",
|
|
1830
|
+
"xMin",
|
|
1831
|
+
"xMax",
|
|
1832
|
+
"yMin",
|
|
1833
|
+
"yMax"
|
|
1834
|
+
]
|
|
1529
1835
|
},
|
|
1530
1836
|
{
|
|
1531
1837
|
"properties": {
|
|
1532
1838
|
"kind": {
|
|
1533
|
-
"enum": [
|
|
1839
|
+
"enum": [
|
|
1840
|
+
"media-player"
|
|
1841
|
+
]
|
|
1534
1842
|
}
|
|
1535
1843
|
},
|
|
1536
|
-
"required": [
|
|
1844
|
+
"required": [
|
|
1845
|
+
"source",
|
|
1846
|
+
"durationSource",
|
|
1847
|
+
"playingSource"
|
|
1848
|
+
]
|
|
1537
1849
|
},
|
|
1538
1850
|
{
|
|
1539
1851
|
"properties": {
|
|
1540
1852
|
"kind": {
|
|
1541
|
-
"enum": [
|
|
1853
|
+
"enum": [
|
|
1854
|
+
"mini-map"
|
|
1855
|
+
]
|
|
1542
1856
|
}
|
|
1543
1857
|
},
|
|
1544
|
-
"required": [
|
|
1858
|
+
"required": [
|
|
1859
|
+
"source",
|
|
1860
|
+
"canvasW",
|
|
1861
|
+
"canvasH"
|
|
1862
|
+
]
|
|
1545
1863
|
},
|
|
1546
1864
|
{
|
|
1547
1865
|
"properties": {
|
|
1548
1866
|
"kind": {
|
|
1549
|
-
"enum": [
|
|
1867
|
+
"enum": [
|
|
1868
|
+
"order-status",
|
|
1869
|
+
"step-indicator"
|
|
1870
|
+
]
|
|
1550
1871
|
}
|
|
1551
1872
|
},
|
|
1552
|
-
"required": [
|
|
1873
|
+
"required": [
|
|
1874
|
+
"source",
|
|
1875
|
+
"stepsSource"
|
|
1876
|
+
]
|
|
1553
1877
|
},
|
|
1554
1878
|
{
|
|
1555
1879
|
"properties": {
|
|
1556
1880
|
"kind": {
|
|
1557
|
-
"enum": [
|
|
1881
|
+
"enum": [
|
|
1882
|
+
"path-progress"
|
|
1883
|
+
]
|
|
1558
1884
|
}
|
|
1559
1885
|
},
|
|
1560
|
-
"required": [
|
|
1886
|
+
"required": [
|
|
1887
|
+
"source",
|
|
1888
|
+
"pathD"
|
|
1889
|
+
]
|
|
1561
1890
|
},
|
|
1562
1891
|
{
|
|
1563
1892
|
"properties": {
|
|
1564
1893
|
"kind": {
|
|
1565
|
-
"enum": [
|
|
1894
|
+
"enum": [
|
|
1895
|
+
"price-tag"
|
|
1896
|
+
]
|
|
1566
1897
|
}
|
|
1567
1898
|
},
|
|
1568
|
-
"required": [
|
|
1899
|
+
"required": [
|
|
1900
|
+
"oldSource",
|
|
1901
|
+
"newSource"
|
|
1902
|
+
]
|
|
1569
1903
|
},
|
|
1570
1904
|
{
|
|
1571
1905
|
"properties": {
|
|
1572
1906
|
"kind": {
|
|
1573
|
-
"enum": [
|
|
1907
|
+
"enum": [
|
|
1908
|
+
"spinner"
|
|
1909
|
+
]
|
|
1574
1910
|
}
|
|
1575
1911
|
},
|
|
1576
|
-
"required": [
|
|
1912
|
+
"required": [
|
|
1913
|
+
"source",
|
|
1914
|
+
"textSource"
|
|
1915
|
+
]
|
|
1577
1916
|
},
|
|
1578
1917
|
{
|
|
1579
1918
|
"properties": {
|
|
1580
1919
|
"kind": {
|
|
1581
|
-
"enum": [
|
|
1920
|
+
"enum": [
|
|
1921
|
+
"stacked-bar"
|
|
1922
|
+
]
|
|
1582
1923
|
}
|
|
1583
1924
|
},
|
|
1584
|
-
"required": [
|
|
1925
|
+
"required": [
|
|
1926
|
+
"sourceA",
|
|
1927
|
+
"sourceB",
|
|
1928
|
+
"min",
|
|
1929
|
+
"max"
|
|
1930
|
+
]
|
|
1585
1931
|
}
|
|
1586
1932
|
]
|
|
1587
1933
|
}
|
|
@@ -1591,7 +1937,10 @@
|
|
|
1591
1937
|
"description": "読む人が動かすつまみ。 値を握り、箱の文字や部品がその値を追いかける。 箱ではないので縦列に載らず、図全体に 1 つの並びとして持つ。",
|
|
1592
1938
|
"items": {
|
|
1593
1939
|
"type": "object",
|
|
1594
|
-
"required": [
|
|
1940
|
+
"required": [
|
|
1941
|
+
"id",
|
|
1942
|
+
"kind"
|
|
1943
|
+
],
|
|
1595
1944
|
"additionalProperties": false,
|
|
1596
1945
|
"properties": {
|
|
1597
1946
|
"id": {
|
|
@@ -1630,7 +1979,11 @@
|
|
|
1630
1979
|
"type": "number"
|
|
1631
1980
|
},
|
|
1632
1981
|
"defaultValue": {
|
|
1633
|
-
"type": [
|
|
1982
|
+
"type": [
|
|
1983
|
+
"boolean",
|
|
1984
|
+
"number",
|
|
1985
|
+
"string"
|
|
1986
|
+
]
|
|
1634
1987
|
},
|
|
1635
1988
|
"defaultValues": {
|
|
1636
1989
|
"type": "array",
|
|
@@ -1697,89 +2050,142 @@
|
|
|
1697
2050
|
{
|
|
1698
2051
|
"properties": {
|
|
1699
2052
|
"kind": {
|
|
1700
|
-
"enum": [
|
|
2053
|
+
"enum": [
|
|
2054
|
+
"color",
|
|
2055
|
+
"datetime",
|
|
2056
|
+
"text"
|
|
2057
|
+
]
|
|
1701
2058
|
},
|
|
1702
2059
|
"defaultValue": {
|
|
1703
2060
|
"type": "string"
|
|
1704
2061
|
}
|
|
1705
2062
|
},
|
|
1706
|
-
"required": [
|
|
2063
|
+
"required": [
|
|
2064
|
+
"defaultValue"
|
|
2065
|
+
]
|
|
1707
2066
|
},
|
|
1708
2067
|
{
|
|
1709
2068
|
"properties": {
|
|
1710
2069
|
"kind": {
|
|
1711
|
-
"enum": [
|
|
2070
|
+
"enum": [
|
|
2071
|
+
"dropdown",
|
|
2072
|
+
"radio",
|
|
2073
|
+
"tabs"
|
|
2074
|
+
]
|
|
1712
2075
|
},
|
|
1713
2076
|
"defaultValue": {
|
|
1714
2077
|
"type": "string"
|
|
1715
2078
|
}
|
|
1716
2079
|
},
|
|
1717
|
-
"required": [
|
|
2080
|
+
"required": [
|
|
2081
|
+
"options",
|
|
2082
|
+
"defaultValue"
|
|
2083
|
+
]
|
|
1718
2084
|
},
|
|
1719
2085
|
{
|
|
1720
2086
|
"properties": {
|
|
1721
2087
|
"kind": {
|
|
1722
|
-
"enum": [
|
|
2088
|
+
"enum": [
|
|
2089
|
+
"multi-select"
|
|
2090
|
+
]
|
|
1723
2091
|
}
|
|
1724
2092
|
},
|
|
1725
|
-
"required": [
|
|
2093
|
+
"required": [
|
|
2094
|
+
"options",
|
|
2095
|
+
"defaultValues"
|
|
2096
|
+
]
|
|
1726
2097
|
},
|
|
1727
2098
|
{
|
|
1728
2099
|
"properties": {
|
|
1729
2100
|
"kind": {
|
|
1730
|
-
"enum": [
|
|
2101
|
+
"enum": [
|
|
2102
|
+
"number",
|
|
2103
|
+
"stepper"
|
|
2104
|
+
]
|
|
1731
2105
|
},
|
|
1732
2106
|
"defaultValue": {
|
|
1733
2107
|
"type": "number"
|
|
1734
2108
|
}
|
|
1735
2109
|
},
|
|
1736
|
-
"required": [
|
|
2110
|
+
"required": [
|
|
2111
|
+
"defaultValue"
|
|
2112
|
+
]
|
|
1737
2113
|
},
|
|
1738
2114
|
{
|
|
1739
2115
|
"properties": {
|
|
1740
2116
|
"kind": {
|
|
1741
|
-
"enum": [
|
|
2117
|
+
"enum": [
|
|
2118
|
+
"range"
|
|
2119
|
+
]
|
|
1742
2120
|
}
|
|
1743
2121
|
},
|
|
1744
|
-
"required": [
|
|
2122
|
+
"required": [
|
|
2123
|
+
"min",
|
|
2124
|
+
"max",
|
|
2125
|
+
"defaultLo",
|
|
2126
|
+
"defaultHi"
|
|
2127
|
+
]
|
|
1745
2128
|
},
|
|
1746
2129
|
{
|
|
1747
2130
|
"properties": {
|
|
1748
2131
|
"kind": {
|
|
1749
|
-
"enum": [
|
|
2132
|
+
"enum": [
|
|
2133
|
+
"slider"
|
|
2134
|
+
]
|
|
1750
2135
|
},
|
|
1751
2136
|
"defaultValue": {
|
|
1752
2137
|
"type": "number"
|
|
1753
2138
|
}
|
|
1754
2139
|
},
|
|
1755
|
-
"required": [
|
|
2140
|
+
"required": [
|
|
2141
|
+
"min",
|
|
2142
|
+
"max",
|
|
2143
|
+
"defaultValue"
|
|
2144
|
+
]
|
|
1756
2145
|
},
|
|
1757
2146
|
{
|
|
1758
2147
|
"properties": {
|
|
1759
2148
|
"kind": {
|
|
1760
|
-
"enum": [
|
|
2149
|
+
"enum": [
|
|
2150
|
+
"timeline"
|
|
2151
|
+
]
|
|
1761
2152
|
}
|
|
1762
2153
|
},
|
|
1763
|
-
"required": [
|
|
2154
|
+
"required": [
|
|
2155
|
+
"duration"
|
|
2156
|
+
]
|
|
1764
2157
|
},
|
|
1765
2158
|
{
|
|
1766
2159
|
"properties": {
|
|
1767
2160
|
"kind": {
|
|
1768
|
-
"enum": [
|
|
2161
|
+
"enum": [
|
|
2162
|
+
"toggle"
|
|
2163
|
+
]
|
|
1769
2164
|
},
|
|
1770
2165
|
"defaultValue": {
|
|
1771
2166
|
"type": "boolean"
|
|
1772
2167
|
}
|
|
1773
2168
|
},
|
|
1774
|
-
"required": [
|
|
2169
|
+
"required": [
|
|
2170
|
+
"defaultValue"
|
|
2171
|
+
]
|
|
1775
2172
|
},
|
|
1776
2173
|
{
|
|
1777
2174
|
"properties": {
|
|
1778
2175
|
"kind": {
|
|
1779
|
-
"enum": [
|
|
2176
|
+
"enum": [
|
|
2177
|
+
"xypad"
|
|
2178
|
+
]
|
|
1780
2179
|
}
|
|
1781
2180
|
},
|
|
1782
|
-
"required": [
|
|
2181
|
+
"required": [
|
|
2182
|
+
"xMin",
|
|
2183
|
+
"xMax",
|
|
2184
|
+
"yMin",
|
|
2185
|
+
"yMax",
|
|
2186
|
+
"defaultX",
|
|
2187
|
+
"defaultY"
|
|
2188
|
+
]
|
|
1783
2189
|
}
|
|
1784
2190
|
]
|
|
1785
2191
|
}
|
|
@@ -1798,12 +2204,26 @@
|
|
|
1798
2204
|
},
|
|
1799
2205
|
"direction": {
|
|
1800
2206
|
"type": "string",
|
|
1801
|
-
"enum": [
|
|
2207
|
+
"enum": [
|
|
2208
|
+
"vertical",
|
|
2209
|
+
"horizontal"
|
|
2210
|
+
],
|
|
1802
2211
|
"description": "図の並ぶ向き。 vertical = 1 つの縦列に積む。 horizontal = 1 人ずつ縦列を作る。 効くのは flow と swimlane だけ。"
|
|
1803
2212
|
},
|
|
2213
|
+
"palette": {
|
|
2214
|
+
"type": "string",
|
|
2215
|
+
"enum": [
|
|
2216
|
+
"kinari",
|
|
2217
|
+
"celadon"
|
|
2218
|
+
],
|
|
2219
|
+
"description": "図の配色。 kinari = 生成りに茶 (ER 図の既定)。 celadon = 青磁に墨。 名前だけが図に載り、色の値は消費側が決める。"
|
|
2220
|
+
},
|
|
1804
2221
|
"reveal": {
|
|
1805
2222
|
"type": "string",
|
|
1806
|
-
"enum": [
|
|
2223
|
+
"enum": [
|
|
2224
|
+
"phase",
|
|
2225
|
+
"all"
|
|
2226
|
+
],
|
|
1807
2227
|
"description": "矢印をいつ出すか。 phase (既定) = 段が名指しする矢印はその段が来るまで描かない。 all = 段に関わらず最初から全部描く。"
|
|
1808
2228
|
},
|
|
1809
2229
|
"bands": {
|
|
@@ -1811,12 +2231,27 @@
|
|
|
1811
2231
|
"description": "順序図で面が動いている間の帯。 書かなければ面ごとに「最初に関わった段から最後まで」 の 1 本になる。",
|
|
1812
2232
|
"items": {
|
|
1813
2233
|
"type": "object",
|
|
1814
|
-
"required": [
|
|
2234
|
+
"required": [
|
|
2235
|
+
"actor",
|
|
2236
|
+
"from",
|
|
2237
|
+
"to"
|
|
2238
|
+
],
|
|
1815
2239
|
"additionalProperties": false,
|
|
1816
2240
|
"properties": {
|
|
1817
|
-
"actor": {
|
|
1818
|
-
|
|
1819
|
-
|
|
2241
|
+
"actor": {
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"description": "帯を出す面の名前"
|
|
2244
|
+
},
|
|
2245
|
+
"from": {
|
|
2246
|
+
"type": "integer",
|
|
2247
|
+
"minimum": 0,
|
|
2248
|
+
"description": "始まりの言づての番号 (0 起点)"
|
|
2249
|
+
},
|
|
2250
|
+
"to": {
|
|
2251
|
+
"type": "integer",
|
|
2252
|
+
"minimum": 0,
|
|
2253
|
+
"description": "終わりの言づての番号 (0 起点)"
|
|
2254
|
+
}
|
|
1820
2255
|
}
|
|
1821
2256
|
}
|
|
1822
2257
|
},
|
|
@@ -1825,7 +2260,10 @@
|
|
|
1825
2260
|
"description": "押下などの出来事で動く仕掛け。 相手は名前で指す (box / lane / arrow / diagram のどれか 1 つ)。",
|
|
1826
2261
|
"items": {
|
|
1827
2262
|
"type": "object",
|
|
1828
|
-
"required": [
|
|
2263
|
+
"required": [
|
|
2264
|
+
"on",
|
|
2265
|
+
"handler"
|
|
2266
|
+
],
|
|
1829
2267
|
"additionalProperties": false,
|
|
1830
2268
|
"properties": {
|
|
1831
2269
|
"on": {
|
|
@@ -1870,16 +2308,24 @@
|
|
|
1870
2308
|
},
|
|
1871
2309
|
"oneOf": [
|
|
1872
2310
|
{
|
|
1873
|
-
"required": [
|
|
2311
|
+
"required": [
|
|
2312
|
+
"box"
|
|
2313
|
+
]
|
|
1874
2314
|
},
|
|
1875
2315
|
{
|
|
1876
|
-
"required": [
|
|
2316
|
+
"required": [
|
|
2317
|
+
"lane"
|
|
2318
|
+
]
|
|
1877
2319
|
},
|
|
1878
2320
|
{
|
|
1879
|
-
"required": [
|
|
2321
|
+
"required": [
|
|
2322
|
+
"arrow"
|
|
2323
|
+
]
|
|
1880
2324
|
},
|
|
1881
2325
|
{
|
|
1882
|
-
"required": [
|
|
2326
|
+
"required": [
|
|
2327
|
+
"diagram"
|
|
2328
|
+
]
|
|
1883
2329
|
}
|
|
1884
2330
|
]
|
|
1885
2331
|
}
|