@asteby/metacore-genui 2.1.0 → 2.2.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 +40 -6
- package/dist/diagram.d.ts +34 -0
- package/dist/diagram.d.ts.map +1 -0
- package/dist/diagram.js +103 -0
- package/dist/diagram.js.map +1 -0
- package/dist/generated/genui-v2-schema.d.ts +387 -30
- package/dist/generated/genui-v2-schema.d.ts.map +1 -1
- package/dist/generated/genui-v2-schema.js +511 -32
- package/dist/generated/genui-v2-schema.js.map +1 -1
- package/dist/generated/genui-v2.d.ts +346 -2
- package/dist/generated/genui-v2.d.ts.map +1 -1
- package/dist/generative-ui.d.ts +11 -1
- package/dist/generative-ui.d.ts.map +1 -1
- package/dist/generative-ui.js +3 -3
- package/dist/generative-ui.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/map-points.d.ts +31 -0
- package/dist/map-points.d.ts.map +1 -0
- package/dist/map-points.js +60 -0
- package/dist/map-points.js.map +1 -0
- package/dist/markdown.d.ts +13 -0
- package/dist/markdown.d.ts.map +1 -0
- package/dist/markdown.js +63 -0
- package/dist/markdown.js.map +1 -0
- package/dist/metric.d.ts +12 -0
- package/dist/metric.d.ts.map +1 -0
- package/dist/metric.js +80 -0
- package/dist/metric.js.map +1 -0
- package/dist/registry.d.ts +69 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +49 -0
- package/dist/registry.js.map +1 -0
- package/dist/render-v2.d.ts +23 -0
- package/dist/render-v2.d.ts.map +1 -0
- package/dist/render-v2.js +166 -0
- package/dist/render-v2.js.map +1 -0
- package/dist/validate-v2.d.ts.map +1 -1
- package/dist/validate-v2.js +48 -1
- package/dist/validate-v2.js.map +1 -1
- package/package.json +2 -2
- package/schema/genui-v2.schema.json +443 -32
|
@@ -127,14 +127,15 @@
|
|
|
127
127
|
},
|
|
128
128
|
"id": {
|
|
129
129
|
"type": "string",
|
|
130
|
-
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
|
|
131
|
-
"description": "Identificador único dentro del documento."
|
|
130
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z][A-Za-z0-9_-]{0,63}$",
|
|
131
|
+
"description": "Identificador único dentro del documento.",
|
|
132
|
+
"x-no-proto": true
|
|
132
133
|
},
|
|
133
134
|
"key": {
|
|
134
135
|
"type": "string",
|
|
135
|
-
"pattern": "^(?!(
|
|
136
|
+
"pattern": "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
|
|
136
137
|
"x-no-proto": true,
|
|
137
|
-
"description": "Clave de campo, columna o entrada
|
|
138
|
+
"description": "Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin \"a..b\" ni \"a.\"); ningún segmento puede ser __proto__, constructor ni prototype."
|
|
138
139
|
},
|
|
139
140
|
"bindingPath": {
|
|
140
141
|
"type": "string",
|
|
@@ -164,7 +165,8 @@
|
|
|
164
165
|
"properties": {
|
|
165
166
|
"$t": {
|
|
166
167
|
"type": "string",
|
|
167
|
-
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
168
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z0-9_.:-]{1,128}$",
|
|
169
|
+
"x-no-proto": true
|
|
168
170
|
},
|
|
169
171
|
"args": {
|
|
170
172
|
"type": "object",
|
|
@@ -244,7 +246,8 @@
|
|
|
244
246
|
},
|
|
245
247
|
"name": {
|
|
246
248
|
"type": "string",
|
|
247
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
|
|
249
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]{0,63}$",
|
|
250
|
+
"x-no-proto": true
|
|
248
251
|
},
|
|
249
252
|
"predicate": {
|
|
250
253
|
"type": "object",
|
|
@@ -388,7 +391,8 @@
|
|
|
388
391
|
"type": "object",
|
|
389
392
|
"maxProperties": 24,
|
|
390
393
|
"propertyNames": {
|
|
391
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_
|
|
394
|
+
"pattern": "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
|
|
395
|
+
"x-no-proto": true
|
|
392
396
|
},
|
|
393
397
|
"additionalProperties": {
|
|
394
398
|
"$ref": "#/$defs/value"
|
|
@@ -534,7 +538,8 @@
|
|
|
534
538
|
},
|
|
535
539
|
"icon": {
|
|
536
540
|
"type": "string",
|
|
537
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
541
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
542
|
+
"x-no-proto": true
|
|
538
543
|
},
|
|
539
544
|
"confirm": {
|
|
540
545
|
"type": "object",
|
|
@@ -587,7 +592,8 @@
|
|
|
587
592
|
},
|
|
588
593
|
"icon": {
|
|
589
594
|
"type": "string",
|
|
590
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
595
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
596
|
+
"x-no-proto": true
|
|
591
597
|
},
|
|
592
598
|
"confirm": {
|
|
593
599
|
"type": "object",
|
|
@@ -613,8 +619,9 @@
|
|
|
613
619
|
},
|
|
614
620
|
"action": {
|
|
615
621
|
"type": "string",
|
|
616
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
|
|
617
|
-
"description": "Acción del manifest <addon>.<Model>.<key>."
|
|
622
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
|
|
623
|
+
"description": "Acción del manifest <addon>.<Model>.<key>.",
|
|
624
|
+
"x-no-proto": true
|
|
618
625
|
},
|
|
619
626
|
"record": {
|
|
620
627
|
"$ref": "#/$defs/value"
|
|
@@ -683,7 +690,8 @@
|
|
|
683
690
|
},
|
|
684
691
|
"icon": {
|
|
685
692
|
"type": "string",
|
|
686
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
693
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
694
|
+
"x-no-proto": true
|
|
687
695
|
},
|
|
688
696
|
"confirm": {
|
|
689
697
|
"type": "object",
|
|
@@ -715,7 +723,8 @@
|
|
|
715
723
|
},
|
|
716
724
|
"action": {
|
|
717
725
|
"type": "string",
|
|
718
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$"
|
|
726
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
|
|
727
|
+
"x-no-proto": true
|
|
719
728
|
}
|
|
720
729
|
}
|
|
721
730
|
},
|
|
@@ -744,7 +753,8 @@
|
|
|
744
753
|
},
|
|
745
754
|
"icon": {
|
|
746
755
|
"type": "string",
|
|
747
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
756
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
757
|
+
"x-no-proto": true
|
|
748
758
|
},
|
|
749
759
|
"confirm": {
|
|
750
760
|
"type": "object",
|
|
@@ -802,7 +812,8 @@
|
|
|
802
812
|
},
|
|
803
813
|
"icon": {
|
|
804
814
|
"type": "string",
|
|
805
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
815
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
816
|
+
"x-no-proto": true
|
|
806
817
|
},
|
|
807
818
|
"confirm": {
|
|
808
819
|
"type": "object",
|
|
@@ -864,7 +875,8 @@
|
|
|
864
875
|
},
|
|
865
876
|
"icon": {
|
|
866
877
|
"type": "string",
|
|
867
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
878
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
879
|
+
"x-no-proto": true
|
|
868
880
|
},
|
|
869
881
|
"confirm": {
|
|
870
882
|
"type": "object",
|
|
@@ -926,7 +938,8 @@
|
|
|
926
938
|
},
|
|
927
939
|
"icon": {
|
|
928
940
|
"type": "string",
|
|
929
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
941
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
942
|
+
"x-no-proto": true
|
|
930
943
|
},
|
|
931
944
|
"confirm": {
|
|
932
945
|
"type": "object",
|
|
@@ -978,7 +991,8 @@
|
|
|
978
991
|
},
|
|
979
992
|
"icon": {
|
|
980
993
|
"type": "string",
|
|
981
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
994
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
995
|
+
"x-no-proto": true
|
|
982
996
|
},
|
|
983
997
|
"confirm": {
|
|
984
998
|
"type": "object",
|
|
@@ -1032,7 +1046,8 @@
|
|
|
1032
1046
|
},
|
|
1033
1047
|
"icon": {
|
|
1034
1048
|
"type": "string",
|
|
1035
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
1049
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
1050
|
+
"x-no-proto": true
|
|
1036
1051
|
},
|
|
1037
1052
|
"confirm": {
|
|
1038
1053
|
"type": "object",
|
|
@@ -1090,7 +1105,8 @@
|
|
|
1090
1105
|
},
|
|
1091
1106
|
"icon": {
|
|
1092
1107
|
"type": "string",
|
|
1093
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
1108
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
1109
|
+
"x-no-proto": true
|
|
1094
1110
|
},
|
|
1095
1111
|
"confirm": {
|
|
1096
1112
|
"type": "object",
|
|
@@ -1143,7 +1159,8 @@
|
|
|
1143
1159
|
},
|
|
1144
1160
|
"icon": {
|
|
1145
1161
|
"type": "string",
|
|
1146
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
1162
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
1163
|
+
"x-no-proto": true
|
|
1147
1164
|
},
|
|
1148
1165
|
"confirm": {
|
|
1149
1166
|
"type": "object",
|
|
@@ -1169,7 +1186,8 @@
|
|
|
1169
1186
|
},
|
|
1170
1187
|
"id": {
|
|
1171
1188
|
"type": "string",
|
|
1172
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
|
|
1189
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
|
|
1190
|
+
"x-no-proto": true
|
|
1173
1191
|
},
|
|
1174
1192
|
"params": {
|
|
1175
1193
|
"type": "object",
|
|
@@ -1227,8 +1245,8 @@
|
|
|
1227
1245
|
"maxLength": 160
|
|
1228
1246
|
},
|
|
1229
1247
|
"depends_on": {
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1248
|
+
"$ref": "#/$defs/key",
|
|
1249
|
+
"description": "Clave de otro campo del mismo formulario."
|
|
1232
1250
|
},
|
|
1233
1251
|
"visible_when": {
|
|
1234
1252
|
"type": "object",
|
|
@@ -1287,7 +1305,8 @@
|
|
|
1287
1305
|
},
|
|
1288
1306
|
"widget": {
|
|
1289
1307
|
"type": "string",
|
|
1290
|
-
"pattern": "^[a-z][a-z0-9_]{0,31}$"
|
|
1308
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,31}$",
|
|
1309
|
+
"x-no-proto": true
|
|
1291
1310
|
},
|
|
1292
1311
|
"section": {
|
|
1293
1312
|
"type": "string",
|
|
@@ -1325,7 +1344,8 @@
|
|
|
1325
1344
|
},
|
|
1326
1345
|
"widget": {
|
|
1327
1346
|
"type": "string",
|
|
1328
|
-
"pattern": "^[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$"
|
|
1347
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$",
|
|
1348
|
+
"x-no-proto": true
|
|
1329
1349
|
},
|
|
1330
1350
|
"inline": {
|
|
1331
1351
|
"type": "array",
|
|
@@ -1447,6 +1467,15 @@
|
|
|
1447
1467
|
},
|
|
1448
1468
|
{
|
|
1449
1469
|
"$ref": "#/$defs/block_ext"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"$ref": "#/$defs/block_map"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"$ref": "#/$defs/block_metric"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"$ref": "#/$defs/block_diagram"
|
|
1450
1479
|
}
|
|
1451
1480
|
]
|
|
1452
1481
|
},
|
|
@@ -1743,7 +1772,8 @@
|
|
|
1743
1772
|
},
|
|
1744
1773
|
"icon": {
|
|
1745
1774
|
"type": "string",
|
|
1746
|
-
"pattern": "^[a-z][a-z0-9-]{0,63}$"
|
|
1775
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
|
|
1776
|
+
"x-no-proto": true
|
|
1747
1777
|
},
|
|
1748
1778
|
"actions": {
|
|
1749
1779
|
"$ref": "#/$defs/actions"
|
|
@@ -2526,7 +2556,8 @@
|
|
|
2526
2556
|
"properties": {
|
|
2527
2557
|
"id": {
|
|
2528
2558
|
"type": "string",
|
|
2529
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
|
|
2559
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
|
|
2560
|
+
"x-no-proto": true
|
|
2530
2561
|
},
|
|
2531
2562
|
"label": {
|
|
2532
2563
|
"type": "string",
|
|
@@ -2589,7 +2620,8 @@
|
|
|
2589
2620
|
},
|
|
2590
2621
|
"addon": {
|
|
2591
2622
|
"type": "string",
|
|
2592
|
-
"pattern": "^[a-z][a-z0-9_]{0,63}$"
|
|
2623
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$",
|
|
2624
|
+
"x-no-proto": true
|
|
2593
2625
|
},
|
|
2594
2626
|
"keys": {
|
|
2595
2627
|
"type": "array",
|
|
@@ -2637,7 +2669,7 @@
|
|
|
2637
2669
|
"src": {
|
|
2638
2670
|
"type": "string",
|
|
2639
2671
|
"maxLength": 2048,
|
|
2640
|
-
"pattern": "^(asset:[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$"
|
|
2672
|
+
"pattern": "^(asset:(?!(?:__proto__|constructor|prototype)$)[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$"
|
|
2641
2673
|
},
|
|
2642
2674
|
"alt": {
|
|
2643
2675
|
"type": "string",
|
|
@@ -2681,7 +2713,8 @@
|
|
|
2681
2713
|
},
|
|
2682
2714
|
"name": {
|
|
2683
2715
|
"type": "string",
|
|
2684
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
|
|
2716
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
|
|
2717
|
+
"x-no-proto": true
|
|
2685
2718
|
},
|
|
2686
2719
|
"record": {
|
|
2687
2720
|
"$ref": "#/$defs/value"
|
|
@@ -2711,7 +2744,8 @@
|
|
|
2711
2744
|
},
|
|
2712
2745
|
"ext": {
|
|
2713
2746
|
"type": "string",
|
|
2714
|
-
"pattern": "^[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$"
|
|
2747
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$",
|
|
2748
|
+
"x-no-proto": true
|
|
2715
2749
|
},
|
|
2716
2750
|
"props": {
|
|
2717
2751
|
"type": "object",
|
|
@@ -2736,6 +2770,383 @@
|
|
|
2736
2770
|
}
|
|
2737
2771
|
}
|
|
2738
2772
|
}
|
|
2773
|
+
},
|
|
2774
|
+
"mapPoint": {
|
|
2775
|
+
"type": "object",
|
|
2776
|
+
"additionalProperties": false,
|
|
2777
|
+
"required": [
|
|
2778
|
+
"key",
|
|
2779
|
+
"lat",
|
|
2780
|
+
"lng",
|
|
2781
|
+
"label"
|
|
2782
|
+
],
|
|
2783
|
+
"properties": {
|
|
2784
|
+
"key": {
|
|
2785
|
+
"$ref": "#/$defs/key"
|
|
2786
|
+
},
|
|
2787
|
+
"lat": {
|
|
2788
|
+
"type": "number",
|
|
2789
|
+
"minimum": -90,
|
|
2790
|
+
"maximum": 90
|
|
2791
|
+
},
|
|
2792
|
+
"lng": {
|
|
2793
|
+
"type": "number",
|
|
2794
|
+
"minimum": -180,
|
|
2795
|
+
"maximum": 180
|
|
2796
|
+
},
|
|
2797
|
+
"label": {
|
|
2798
|
+
"$ref": "#/$defs/label"
|
|
2799
|
+
},
|
|
2800
|
+
"status": {
|
|
2801
|
+
"type": "string",
|
|
2802
|
+
"maxLength": 64
|
|
2803
|
+
},
|
|
2804
|
+
"group": {
|
|
2805
|
+
"type": "string",
|
|
2806
|
+
"maxLength": 64
|
|
2807
|
+
},
|
|
2808
|
+
"tone": {
|
|
2809
|
+
"$ref": "#/$defs/tone"
|
|
2810
|
+
},
|
|
2811
|
+
"details": {
|
|
2812
|
+
"type": "array",
|
|
2813
|
+
"maxItems": 8,
|
|
2814
|
+
"items": {
|
|
2815
|
+
"type": "object",
|
|
2816
|
+
"additionalProperties": false,
|
|
2817
|
+
"required": [
|
|
2818
|
+
"value"
|
|
2819
|
+
],
|
|
2820
|
+
"properties": {
|
|
2821
|
+
"label": {
|
|
2822
|
+
"$ref": "#/$defs/label"
|
|
2823
|
+
},
|
|
2824
|
+
"value": {
|
|
2825
|
+
"$ref": "#/$defs/text"
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
},
|
|
2832
|
+
"mapFields": {
|
|
2833
|
+
"type": "object",
|
|
2834
|
+
"additionalProperties": false,
|
|
2835
|
+
"description": "Columnas de la fuente que alimentan cada punto.",
|
|
2836
|
+
"properties": {
|
|
2837
|
+
"key": {
|
|
2838
|
+
"$ref": "#/$defs/key"
|
|
2839
|
+
},
|
|
2840
|
+
"lat": {
|
|
2841
|
+
"$ref": "#/$defs/key"
|
|
2842
|
+
},
|
|
2843
|
+
"lng": {
|
|
2844
|
+
"$ref": "#/$defs/key"
|
|
2845
|
+
},
|
|
2846
|
+
"label": {
|
|
2847
|
+
"$ref": "#/$defs/key"
|
|
2848
|
+
},
|
|
2849
|
+
"status": {
|
|
2850
|
+
"$ref": "#/$defs/key"
|
|
2851
|
+
},
|
|
2852
|
+
"group": {
|
|
2853
|
+
"$ref": "#/$defs/key"
|
|
2854
|
+
},
|
|
2855
|
+
"tone": {
|
|
2856
|
+
"$ref": "#/$defs/key"
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
"block_map": {
|
|
2861
|
+
"type": "object",
|
|
2862
|
+
"additionalProperties": false,
|
|
2863
|
+
"required": [
|
|
2864
|
+
"type",
|
|
2865
|
+
"summary"
|
|
2866
|
+
],
|
|
2867
|
+
"properties": {
|
|
2868
|
+
"type": {
|
|
2869
|
+
"const": "map"
|
|
2870
|
+
},
|
|
2871
|
+
"id": {
|
|
2872
|
+
"$ref": "#/$defs/id"
|
|
2873
|
+
},
|
|
2874
|
+
"when": {
|
|
2875
|
+
"$ref": "#/$defs/predicate"
|
|
2876
|
+
},
|
|
2877
|
+
"fallback": {
|
|
2878
|
+
"type": "string",
|
|
2879
|
+
"maxLength": 2000
|
|
2880
|
+
},
|
|
2881
|
+
"title": {
|
|
2882
|
+
"$ref": "#/$defs/label"
|
|
2883
|
+
},
|
|
2884
|
+
"points": {
|
|
2885
|
+
"type": "array",
|
|
2886
|
+
"items": {
|
|
2887
|
+
"$ref": "#/$defs/mapPoint"
|
|
2888
|
+
},
|
|
2889
|
+
"maxItems": 200
|
|
2890
|
+
},
|
|
2891
|
+
"source": {
|
|
2892
|
+
"$ref": "#/$defs/source"
|
|
2893
|
+
},
|
|
2894
|
+
"fields": {
|
|
2895
|
+
"$ref": "#/$defs/mapFields"
|
|
2896
|
+
},
|
|
2897
|
+
"status_tones": {
|
|
2898
|
+
"type": "object",
|
|
2899
|
+
"maxProperties": 16,
|
|
2900
|
+
"propertyNames": {
|
|
2901
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,64}$"
|
|
2902
|
+
},
|
|
2903
|
+
"additionalProperties": {
|
|
2904
|
+
"$ref": "#/$defs/tone"
|
|
2905
|
+
},
|
|
2906
|
+
"description": "Color por estado: status -> Tone (nunca colores literales)."
|
|
2907
|
+
},
|
|
2908
|
+
"group_by": {
|
|
2909
|
+
"enum": [
|
|
2910
|
+
"status",
|
|
2911
|
+
"group"
|
|
2912
|
+
]
|
|
2913
|
+
},
|
|
2914
|
+
"legend": {
|
|
2915
|
+
"type": "boolean"
|
|
2916
|
+
},
|
|
2917
|
+
"cluster": {
|
|
2918
|
+
"type": "boolean"
|
|
2919
|
+
},
|
|
2920
|
+
"tooltip": {
|
|
2921
|
+
"type": "boolean"
|
|
2922
|
+
},
|
|
2923
|
+
"detail_panel": {
|
|
2924
|
+
"type": "boolean",
|
|
2925
|
+
"description": "Panel lateral con el detalle del punto seleccionado."
|
|
2926
|
+
},
|
|
2927
|
+
"on_select": {
|
|
2928
|
+
"$ref": "#/$defs/action"
|
|
2929
|
+
},
|
|
2930
|
+
"height": {
|
|
2931
|
+
"enum": [
|
|
2932
|
+
"sm",
|
|
2933
|
+
"md",
|
|
2934
|
+
"lg"
|
|
2935
|
+
]
|
|
2936
|
+
},
|
|
2937
|
+
"summary": {
|
|
2938
|
+
"type": "string",
|
|
2939
|
+
"maxLength": 2000,
|
|
2940
|
+
"description": "Resumen accesible (obligatorio)."
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
"block_metric": {
|
|
2945
|
+
"type": "object",
|
|
2946
|
+
"additionalProperties": false,
|
|
2947
|
+
"required": [
|
|
2948
|
+
"type",
|
|
2949
|
+
"label"
|
|
2950
|
+
],
|
|
2951
|
+
"properties": {
|
|
2952
|
+
"type": {
|
|
2953
|
+
"const": "metric"
|
|
2954
|
+
},
|
|
2955
|
+
"id": {
|
|
2956
|
+
"$ref": "#/$defs/id"
|
|
2957
|
+
},
|
|
2958
|
+
"when": {
|
|
2959
|
+
"$ref": "#/$defs/predicate"
|
|
2960
|
+
},
|
|
2961
|
+
"fallback": {
|
|
2962
|
+
"type": "string",
|
|
2963
|
+
"maxLength": 2000
|
|
2964
|
+
},
|
|
2965
|
+
"label": {
|
|
2966
|
+
"$ref": "#/$defs/label"
|
|
2967
|
+
},
|
|
2968
|
+
"value": {
|
|
2969
|
+
"$ref": "#/$defs/value"
|
|
2970
|
+
},
|
|
2971
|
+
"source": {
|
|
2972
|
+
"$ref": "#/$defs/source"
|
|
2973
|
+
},
|
|
2974
|
+
"field": {
|
|
2975
|
+
"$ref": "#/$defs/key"
|
|
2976
|
+
},
|
|
2977
|
+
"format": {
|
|
2978
|
+
"$ref": "#/$defs/statFormat"
|
|
2979
|
+
},
|
|
2980
|
+
"trend": {
|
|
2981
|
+
"enum": [
|
|
2982
|
+
"up",
|
|
2983
|
+
"down",
|
|
2984
|
+
"flat"
|
|
2985
|
+
]
|
|
2986
|
+
},
|
|
2987
|
+
"delta": {
|
|
2988
|
+
"type": "string",
|
|
2989
|
+
"maxLength": 64
|
|
2990
|
+
},
|
|
2991
|
+
"compare": {
|
|
2992
|
+
"type": "string",
|
|
2993
|
+
"maxLength": 160
|
|
2994
|
+
},
|
|
2995
|
+
"tone": {
|
|
2996
|
+
"$ref": "#/$defs/tone"
|
|
2997
|
+
},
|
|
2998
|
+
"thresholds": {
|
|
2999
|
+
"type": "array",
|
|
3000
|
+
"maxItems": 4,
|
|
3001
|
+
"items": {
|
|
3002
|
+
"type": "object",
|
|
3003
|
+
"additionalProperties": false,
|
|
3004
|
+
"required": [
|
|
3005
|
+
"at",
|
|
3006
|
+
"tone"
|
|
3007
|
+
],
|
|
3008
|
+
"properties": {
|
|
3009
|
+
"at": {
|
|
3010
|
+
"type": "number"
|
|
3011
|
+
},
|
|
3012
|
+
"tone": {
|
|
3013
|
+
"$ref": "#/$defs/tone"
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
},
|
|
3017
|
+
"description": "Tono por severidad: el umbral mayor alcanzado por el valor gana."
|
|
3018
|
+
},
|
|
3019
|
+
"spark": {
|
|
3020
|
+
"type": "array",
|
|
3021
|
+
"maxItems": 60,
|
|
3022
|
+
"items": {
|
|
3023
|
+
"type": "number"
|
|
3024
|
+
}
|
|
3025
|
+
},
|
|
3026
|
+
"spark_field": {
|
|
3027
|
+
"$ref": "#/$defs/key"
|
|
3028
|
+
},
|
|
3029
|
+
"hint": {
|
|
3030
|
+
"$ref": "#/$defs/label"
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
"diagramNode": {
|
|
3035
|
+
"type": "object",
|
|
3036
|
+
"additionalProperties": false,
|
|
3037
|
+
"required": [
|
|
3038
|
+
"id",
|
|
3039
|
+
"label"
|
|
3040
|
+
],
|
|
3041
|
+
"properties": {
|
|
3042
|
+
"id": {
|
|
3043
|
+
"$ref": "#/$defs/key"
|
|
3044
|
+
},
|
|
3045
|
+
"label": {
|
|
3046
|
+
"$ref": "#/$defs/label"
|
|
3047
|
+
},
|
|
3048
|
+
"kind": {
|
|
3049
|
+
"enum": [
|
|
3050
|
+
"service",
|
|
3051
|
+
"database",
|
|
3052
|
+
"queue",
|
|
3053
|
+
"user",
|
|
3054
|
+
"external",
|
|
3055
|
+
"group",
|
|
3056
|
+
"generic"
|
|
3057
|
+
]
|
|
3058
|
+
},
|
|
3059
|
+
"tone": {
|
|
3060
|
+
"$ref": "#/$defs/tone"
|
|
3061
|
+
},
|
|
3062
|
+
"detail": {
|
|
3063
|
+
"type": "string",
|
|
3064
|
+
"maxLength": 160
|
|
3065
|
+
},
|
|
3066
|
+
"route": {
|
|
3067
|
+
"$ref": "#/$defs/route"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
"diagramEdge": {
|
|
3072
|
+
"type": "object",
|
|
3073
|
+
"additionalProperties": false,
|
|
3074
|
+
"required": [
|
|
3075
|
+
"from",
|
|
3076
|
+
"to"
|
|
3077
|
+
],
|
|
3078
|
+
"properties": {
|
|
3079
|
+
"from": {
|
|
3080
|
+
"$ref": "#/$defs/key"
|
|
3081
|
+
},
|
|
3082
|
+
"to": {
|
|
3083
|
+
"$ref": "#/$defs/key"
|
|
3084
|
+
},
|
|
3085
|
+
"label": {
|
|
3086
|
+
"$ref": "#/$defs/label"
|
|
3087
|
+
},
|
|
3088
|
+
"tone": {
|
|
3089
|
+
"$ref": "#/$defs/tone"
|
|
3090
|
+
},
|
|
3091
|
+
"style": {
|
|
3092
|
+
"enum": [
|
|
3093
|
+
"solid",
|
|
3094
|
+
"dashed"
|
|
3095
|
+
]
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
"block_diagram": {
|
|
3100
|
+
"type": "object",
|
|
3101
|
+
"additionalProperties": false,
|
|
3102
|
+
"required": [
|
|
3103
|
+
"type",
|
|
3104
|
+
"nodes",
|
|
3105
|
+
"summary"
|
|
3106
|
+
],
|
|
3107
|
+
"properties": {
|
|
3108
|
+
"type": {
|
|
3109
|
+
"const": "diagram"
|
|
3110
|
+
},
|
|
3111
|
+
"id": {
|
|
3112
|
+
"$ref": "#/$defs/id"
|
|
3113
|
+
},
|
|
3114
|
+
"when": {
|
|
3115
|
+
"$ref": "#/$defs/predicate"
|
|
3116
|
+
},
|
|
3117
|
+
"fallback": {
|
|
3118
|
+
"type": "string",
|
|
3119
|
+
"maxLength": 2000
|
|
3120
|
+
},
|
|
3121
|
+
"title": {
|
|
3122
|
+
"$ref": "#/$defs/label"
|
|
3123
|
+
},
|
|
3124
|
+
"direction": {
|
|
3125
|
+
"enum": [
|
|
3126
|
+
"lr",
|
|
3127
|
+
"tb"
|
|
3128
|
+
]
|
|
3129
|
+
},
|
|
3130
|
+
"nodes": {
|
|
3131
|
+
"type": "array",
|
|
3132
|
+
"items": {
|
|
3133
|
+
"$ref": "#/$defs/diagramNode"
|
|
3134
|
+
},
|
|
3135
|
+
"maxItems": 60,
|
|
3136
|
+
"minItems": 1
|
|
3137
|
+
},
|
|
3138
|
+
"edges": {
|
|
3139
|
+
"type": "array",
|
|
3140
|
+
"items": {
|
|
3141
|
+
"$ref": "#/$defs/diagramEdge"
|
|
3142
|
+
},
|
|
3143
|
+
"maxItems": 120
|
|
3144
|
+
},
|
|
3145
|
+
"summary": {
|
|
3146
|
+
"type": "string",
|
|
3147
|
+
"maxLength": 2000
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
2739
3150
|
}
|
|
2740
3151
|
}
|
|
2741
3152
|
}
|