@praxisui/charts 10.0.0-rc.65 → 10.0.0-rc.67

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-25T23:28:16.697Z",
3
+ "generatedAt": "2026-11-27T10:56:19.853Z",
4
4
  "packageName": "@praxisui/charts",
5
- "packageVersion": "10.0.0-rc.65",
5
+ "packageVersion": "10.0.0-rc.67",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 13,
@@ -1251,6 +1251,13 @@
1251
1251
  "required": false,
1252
1252
  "description": "Primary semantic query contract for dynamic-page orchestration. Charts consume filters, sort and limit from queryContext while preserving filterCriteria as a compatibility bridge."
1253
1253
  },
1254
+ {
1255
+ "name": "epistemicBadgeVariant",
1256
+ "type": "'compact' | 'detailed'",
1257
+ "required": false,
1258
+ "description": "Controls whether the frameless epistemic provenance footer renders as a compact pill or a detailed guidance card.",
1259
+ "default": "compact"
1260
+ },
1254
1261
  {
1255
1262
  "name": "remoteDataResolver",
1256
1263
  "type": "PraxisChartRemoteDataResolver | null",
@@ -1366,6 +1373,18 @@
1366
1373
  "type": "PraxisChartDocumentPatchChangeEvent",
1367
1374
  "required": false,
1368
1375
  "description": "Emitted on Apply and Save with inputPatch.chartDocument so dynamic widget hosts can materialize the canonical document without inferring persistence from event names."
1376
+ },
1377
+ {
1378
+ "name": "brushSelect",
1379
+ "type": "PraxisChartBrushSelectionEvent",
1380
+ "required": false,
1381
+ "description": "Emitted when declarative area brushing resolves selected non-suppressed identifiers and rows."
1382
+ },
1383
+ {
1384
+ "name": "timelineChange",
1385
+ "type": "PraxisChartTimelineChangeEvent",
1386
+ "required": false,
1387
+ "description": "Emitted when timeline playback or step navigation changes the active period slice."
1369
1388
  }
1370
1389
  ],
1371
1390
  "configSchemaId": null,
@@ -1391,7 +1410,8 @@
1391
1410
  "title",
1392
1411
  "subtitle",
1393
1412
  "height",
1394
- "motion"
1413
+ "motion",
1414
+ "epistemicBadgeVariant"
1395
1415
  ],
1396
1416
  "schemaVersion": "1.0.0",
1397
1417
  "actions": [
@@ -1594,28 +1614,800 @@
1594
1614
  }
1595
1615
  },
1596
1616
  {
1597
- "id": "loadStateChange",
1598
- "label": "Load State",
1599
- "direction": "output",
1600
- "semanticKind": "status",
1601
- "description": "Operational state signal for loading, ready and error transitions.",
1602
- "cardinality": "stream",
1603
- "schema": {
1604
- "id": "PraxisChartLoadState",
1605
- "kind": "ts-type",
1606
- "ref": "PraxisChartLoadState"
1607
- },
1608
- "exposure": {
1609
- "public": true,
1610
- "group": "status"
1611
- }
1612
- }
1613
- ],
1614
- "runtimeProfiles": [
1615
- {
1616
- "id": "public-chart-document-praxis-stats-timeseries",
1617
+ "id": "loadStateChange",
1618
+ "label": "Load State",
1619
+ "direction": "output",
1620
+ "semanticKind": "status",
1621
+ "description": "Operational state signal for loading, ready and error transitions.",
1622
+ "cardinality": "stream",
1623
+ "schema": {
1624
+ "id": "PraxisChartLoadState",
1625
+ "kind": "ts-type",
1626
+ "ref": "PraxisChartLoadState"
1627
+ },
1628
+ "exposure": {
1629
+ "public": true,
1630
+ "group": "status"
1631
+ }
1632
+ },
1633
+ {
1634
+ "id": "brushSelect",
1635
+ "label": "Brush Selection",
1636
+ "direction": "output",
1637
+ "semanticKind": "event",
1638
+ "description": "Area brush selection payload omitting privacy-suppressed records and carrying bulk handoff metadata.",
1639
+ "cardinality": "stream",
1640
+ "schema": {
1641
+ "id": "PraxisChartBrushSelectionEvent",
1642
+ "kind": "ts-type",
1643
+ "ref": "PraxisChartBrushSelectionEvent"
1644
+ },
1645
+ "exposure": {
1646
+ "public": true,
1647
+ "group": "interaction"
1648
+ }
1649
+ },
1650
+ {
1651
+ "id": "timelineChange",
1652
+ "label": "Timeline Change",
1653
+ "direction": "output",
1654
+ "semanticKind": "event",
1655
+ "description": "Emitted when the active timeline playback frame or milestone changes.",
1656
+ "cardinality": "stream",
1657
+ "schema": {
1658
+ "id": "PraxisChartTimelineChangeEvent",
1659
+ "kind": "ts-type",
1660
+ "ref": "PraxisChartTimelineChangeEvent"
1661
+ },
1662
+ "exposure": {
1663
+ "public": true,
1664
+ "group": "interaction"
1665
+ }
1666
+ }
1667
+ ],
1668
+ "runtimeProfiles": [
1669
+ {
1670
+ "id": "public-chart-document-praxis-stats-timeseries",
1671
+ "audience": "public-untrusted",
1672
+ "description": "Documento canônico de chart timeseries com leitura de recurso e filtro governado.",
1673
+ "constraints": [
1674
+ {
1675
+ "path": "$",
1676
+ "operator": "keys-subset",
1677
+ "values": [
1678
+ "chartDocument",
1679
+ "queryContext",
1680
+ "enableCustomization",
1681
+ "epistemicBadgeVariant"
1682
+ ]
1683
+ },
1684
+ {
1685
+ "path": "enableCustomization",
1686
+ "operator": "not-true"
1687
+ },
1688
+ {
1689
+ "path": "chartDocument",
1690
+ "operator": "keys-subset",
1691
+ "values": [
1692
+ "version",
1693
+ "kind",
1694
+ "preset",
1695
+ "chartId",
1696
+ "orientation",
1697
+ "title",
1698
+ "subtitle",
1699
+ "sizing",
1700
+ "height",
1701
+ "source",
1702
+ "dimensions",
1703
+ "metrics",
1704
+ "aggregations",
1705
+ "groupBy",
1706
+ "sort",
1707
+ "filters",
1708
+ "limit",
1709
+ "legend",
1710
+ "labels",
1711
+ "tooltip",
1712
+ "theme",
1713
+ "state",
1714
+ "motion",
1715
+ "gauge",
1716
+ "boxplot",
1717
+ "calendar",
1718
+ "waterfall",
1719
+ "sankey",
1720
+ "hierarchy",
1721
+ "radar",
1722
+ "matrix",
1723
+ "rangeComparison",
1724
+ "beeswarm",
1725
+ "parallel",
1726
+ "chord",
1727
+ "trajectory",
1728
+ "brushSelection",
1729
+ "timeline",
1730
+ "syncGroup",
1731
+ "referenceLines",
1732
+ "referenceBands",
1733
+ "targetMarkers",
1734
+ "comparison",
1735
+ "dataZoom",
1736
+ "axisScaleBreak",
1737
+ "labelLayout",
1738
+ "renderer",
1739
+ "epistemicMeta"
1740
+ ]
1741
+ },
1742
+ {
1743
+ "path": "chartDocument.version",
1744
+ "operator": "equals",
1745
+ "value": "0.1.0"
1746
+ },
1747
+ {
1748
+ "path": "chartDocument.source",
1749
+ "operator": "keys-subset",
1750
+ "values": [
1751
+ "kind",
1752
+ "resource",
1753
+ "operation",
1754
+ "options",
1755
+ "refresh"
1756
+ ]
1757
+ },
1758
+ {
1759
+ "path": "chartDocument.source.kind",
1760
+ "operator": "equals",
1761
+ "value": "praxis.stats"
1762
+ },
1763
+ {
1764
+ "path": "chartDocument.source.resource",
1765
+ "operator": "present"
1766
+ },
1767
+ {
1768
+ "path": "chartDocument.source.operation",
1769
+ "operator": "equals",
1770
+ "value": "timeseries"
1771
+ }
1772
+ ],
1773
+ "effects": [
1774
+ {
1775
+ "kind": "resource-read",
1776
+ "resourcePath": "chartDocument.source.resource",
1777
+ "operations": [
1778
+ {
1779
+ "operationId": "statsTimeSeries",
1780
+ "method": "POST",
1781
+ "pathSuffix": "stats/timeseries",
1782
+ "role": "primary",
1783
+ "queryContext": {
1784
+ "portId": "queryContext",
1785
+ "requestFieldPath": "filter"
1786
+ }
1787
+ }
1788
+ ]
1789
+ }
1790
+ ]
1791
+ },
1792
+ {
1793
+ "id": "public-chart-document-praxis-stats-group-by",
1794
+ "audience": "public-untrusted",
1795
+ "description": "Documento canônico de chart group-by com leitura de recurso e filtro governado.",
1796
+ "constraints": [
1797
+ {
1798
+ "path": "$",
1799
+ "operator": "keys-subset",
1800
+ "values": [
1801
+ "chartDocument",
1802
+ "queryContext",
1803
+ "enableCustomization",
1804
+ "epistemicBadgeVariant"
1805
+ ]
1806
+ },
1807
+ {
1808
+ "path": "enableCustomization",
1809
+ "operator": "not-true"
1810
+ },
1811
+ {
1812
+ "path": "chartDocument",
1813
+ "operator": "keys-subset",
1814
+ "values": [
1815
+ "version",
1816
+ "kind",
1817
+ "preset",
1818
+ "chartId",
1819
+ "orientation",
1820
+ "title",
1821
+ "subtitle",
1822
+ "sizing",
1823
+ "height",
1824
+ "source",
1825
+ "dimensions",
1826
+ "metrics",
1827
+ "aggregations",
1828
+ "groupBy",
1829
+ "sort",
1830
+ "filters",
1831
+ "limit",
1832
+ "legend",
1833
+ "labels",
1834
+ "tooltip",
1835
+ "theme",
1836
+ "state",
1837
+ "motion",
1838
+ "gauge",
1839
+ "boxplot",
1840
+ "calendar",
1841
+ "waterfall",
1842
+ "sankey",
1843
+ "hierarchy",
1844
+ "radar",
1845
+ "matrix",
1846
+ "rangeComparison",
1847
+ "beeswarm",
1848
+ "parallel",
1849
+ "chord",
1850
+ "trajectory",
1851
+ "brushSelection",
1852
+ "timeline",
1853
+ "syncGroup",
1854
+ "referenceLines",
1855
+ "referenceBands",
1856
+ "targetMarkers",
1857
+ "comparison",
1858
+ "dataZoom",
1859
+ "axisScaleBreak",
1860
+ "labelLayout",
1861
+ "renderer",
1862
+ "epistemicMeta"
1863
+ ]
1864
+ },
1865
+ {
1866
+ "path": "chartDocument.version",
1867
+ "operator": "equals",
1868
+ "value": "0.1.0"
1869
+ },
1870
+ {
1871
+ "path": "chartDocument.source",
1872
+ "operator": "keys-subset",
1873
+ "values": [
1874
+ "kind",
1875
+ "resource",
1876
+ "operation",
1877
+ "options",
1878
+ "refresh"
1879
+ ]
1880
+ },
1881
+ {
1882
+ "path": "chartDocument.source.kind",
1883
+ "operator": "equals",
1884
+ "value": "praxis.stats"
1885
+ },
1886
+ {
1887
+ "path": "chartDocument.source.resource",
1888
+ "operator": "present"
1889
+ },
1890
+ {
1891
+ "path": "chartDocument.source.operation",
1892
+ "operator": "equals",
1893
+ "value": "group-by"
1894
+ }
1895
+ ],
1896
+ "effects": [
1897
+ {
1898
+ "kind": "resource-read",
1899
+ "resourcePath": "chartDocument.source.resource",
1900
+ "operations": [
1901
+ {
1902
+ "operationId": "statsGroupBy",
1903
+ "method": "POST",
1904
+ "pathSuffix": "stats/group-by",
1905
+ "role": "primary",
1906
+ "queryContext": {
1907
+ "portId": "queryContext",
1908
+ "requestFieldPath": "filter"
1909
+ }
1910
+ }
1911
+ ]
1912
+ }
1913
+ ]
1914
+ },
1915
+ {
1916
+ "id": "public-chart-document-praxis-stats-comparison",
1917
+ "audience": "public-untrusted",
1918
+ "description": "Documento canônico de chart comparison com leitura de recurso e filtro governado.",
1919
+ "constraints": [
1920
+ {
1921
+ "path": "$",
1922
+ "operator": "keys-subset",
1923
+ "values": [
1924
+ "chartDocument",
1925
+ "queryContext",
1926
+ "enableCustomization",
1927
+ "epistemicBadgeVariant"
1928
+ ]
1929
+ },
1930
+ {
1931
+ "path": "enableCustomization",
1932
+ "operator": "not-true"
1933
+ },
1934
+ {
1935
+ "path": "chartDocument",
1936
+ "operator": "keys-subset",
1937
+ "values": [
1938
+ "version",
1939
+ "kind",
1940
+ "preset",
1941
+ "chartId",
1942
+ "orientation",
1943
+ "title",
1944
+ "subtitle",
1945
+ "sizing",
1946
+ "height",
1947
+ "source",
1948
+ "dimensions",
1949
+ "metrics",
1950
+ "aggregations",
1951
+ "groupBy",
1952
+ "sort",
1953
+ "filters",
1954
+ "limit",
1955
+ "legend",
1956
+ "labels",
1957
+ "tooltip",
1958
+ "theme",
1959
+ "state",
1960
+ "motion",
1961
+ "gauge",
1962
+ "boxplot",
1963
+ "calendar",
1964
+ "waterfall",
1965
+ "sankey",
1966
+ "hierarchy",
1967
+ "radar",
1968
+ "matrix",
1969
+ "rangeComparison",
1970
+ "beeswarm",
1971
+ "parallel",
1972
+ "chord",
1973
+ "trajectory",
1974
+ "brushSelection",
1975
+ "timeline",
1976
+ "syncGroup",
1977
+ "referenceLines",
1978
+ "referenceBands",
1979
+ "targetMarkers",
1980
+ "comparison",
1981
+ "dataZoom",
1982
+ "axisScaleBreak",
1983
+ "labelLayout",
1984
+ "renderer",
1985
+ "epistemicMeta"
1986
+ ]
1987
+ },
1988
+ {
1989
+ "path": "chartDocument.version",
1990
+ "operator": "equals",
1991
+ "value": "0.1.0"
1992
+ },
1993
+ {
1994
+ "path": "chartDocument.source",
1995
+ "operator": "keys-subset",
1996
+ "values": [
1997
+ "kind",
1998
+ "resource",
1999
+ "operation",
2000
+ "options",
2001
+ "refresh"
2002
+ ]
2003
+ },
2004
+ {
2005
+ "path": "chartDocument.source.kind",
2006
+ "operator": "equals",
2007
+ "value": "praxis.stats"
2008
+ },
2009
+ {
2010
+ "path": "chartDocument.source.resource",
2011
+ "operator": "present"
2012
+ },
2013
+ {
2014
+ "path": "chartDocument.source.operation",
2015
+ "operator": "equals",
2016
+ "value": "comparison"
2017
+ }
2018
+ ],
2019
+ "effects": [
2020
+ {
2021
+ "kind": "resource-read",
2022
+ "resourcePath": "chartDocument.source.resource",
2023
+ "operations": [
2024
+ {
2025
+ "operationId": "statsComparison",
2026
+ "method": "POST",
2027
+ "pathSuffix": "stats/comparison",
2028
+ "role": "primary",
2029
+ "queryContext": {
2030
+ "portId": "queryContext",
2031
+ "requestFieldPath": "filter"
2032
+ }
2033
+ }
2034
+ ]
2035
+ }
2036
+ ]
2037
+ },
2038
+ {
2039
+ "id": "public-chart-document-praxis-stats-distribution",
2040
+ "audience": "public-untrusted",
2041
+ "description": "Documento canônico de chart distribution com leitura de recurso e filtro governado.",
2042
+ "constraints": [
2043
+ {
2044
+ "path": "$",
2045
+ "operator": "keys-subset",
2046
+ "values": [
2047
+ "chartDocument",
2048
+ "queryContext",
2049
+ "enableCustomization",
2050
+ "epistemicBadgeVariant"
2051
+ ]
2052
+ },
2053
+ {
2054
+ "path": "enableCustomization",
2055
+ "operator": "not-true"
2056
+ },
2057
+ {
2058
+ "path": "chartDocument",
2059
+ "operator": "keys-subset",
2060
+ "values": [
2061
+ "version",
2062
+ "kind",
2063
+ "preset",
2064
+ "chartId",
2065
+ "orientation",
2066
+ "title",
2067
+ "subtitle",
2068
+ "sizing",
2069
+ "height",
2070
+ "source",
2071
+ "dimensions",
2072
+ "metrics",
2073
+ "aggregations",
2074
+ "groupBy",
2075
+ "sort",
2076
+ "filters",
2077
+ "limit",
2078
+ "legend",
2079
+ "labels",
2080
+ "tooltip",
2081
+ "theme",
2082
+ "state",
2083
+ "motion",
2084
+ "gauge",
2085
+ "boxplot",
2086
+ "calendar",
2087
+ "waterfall",
2088
+ "sankey",
2089
+ "hierarchy",
2090
+ "radar",
2091
+ "matrix",
2092
+ "rangeComparison",
2093
+ "beeswarm",
2094
+ "parallel",
2095
+ "chord",
2096
+ "trajectory",
2097
+ "brushSelection",
2098
+ "timeline",
2099
+ "syncGroup",
2100
+ "referenceLines",
2101
+ "referenceBands",
2102
+ "targetMarkers",
2103
+ "comparison",
2104
+ "dataZoom",
2105
+ "axisScaleBreak",
2106
+ "labelLayout",
2107
+ "renderer",
2108
+ "epistemicMeta"
2109
+ ]
2110
+ },
2111
+ {
2112
+ "path": "chartDocument.version",
2113
+ "operator": "equals",
2114
+ "value": "0.1.0"
2115
+ },
2116
+ {
2117
+ "path": "chartDocument.source",
2118
+ "operator": "keys-subset",
2119
+ "values": [
2120
+ "kind",
2121
+ "resource",
2122
+ "operation",
2123
+ "options",
2124
+ "refresh"
2125
+ ]
2126
+ },
2127
+ {
2128
+ "path": "chartDocument.source.kind",
2129
+ "operator": "equals",
2130
+ "value": "praxis.stats"
2131
+ },
2132
+ {
2133
+ "path": "chartDocument.source.resource",
2134
+ "operator": "present"
2135
+ },
2136
+ {
2137
+ "path": "chartDocument.source.operation",
2138
+ "operator": "equals",
2139
+ "value": "distribution"
2140
+ }
2141
+ ],
2142
+ "effects": [
2143
+ {
2144
+ "kind": "resource-read",
2145
+ "resourcePath": "chartDocument.source.resource",
2146
+ "operations": [
2147
+ {
2148
+ "operationId": "statsDistribution",
2149
+ "method": "POST",
2150
+ "pathSuffix": "stats/distribution",
2151
+ "role": "primary",
2152
+ "queryContext": {
2153
+ "portId": "queryContext",
2154
+ "requestFieldPath": "filter"
2155
+ }
2156
+ }
2157
+ ]
2158
+ }
2159
+ ]
2160
+ },
2161
+ {
2162
+ "id": "public-chart-document-praxis-stats-inference",
2163
+ "audience": "public-untrusted",
2164
+ "description": "Documento canônico de chart inference com leitura de recurso e filtro governado.",
2165
+ "constraints": [
2166
+ {
2167
+ "path": "$",
2168
+ "operator": "keys-subset",
2169
+ "values": [
2170
+ "chartDocument",
2171
+ "queryContext",
2172
+ "enableCustomization",
2173
+ "epistemicBadgeVariant"
2174
+ ]
2175
+ },
2176
+ {
2177
+ "path": "enableCustomization",
2178
+ "operator": "not-true"
2179
+ },
2180
+ {
2181
+ "path": "chartDocument",
2182
+ "operator": "keys-subset",
2183
+ "values": [
2184
+ "version",
2185
+ "kind",
2186
+ "preset",
2187
+ "chartId",
2188
+ "orientation",
2189
+ "title",
2190
+ "subtitle",
2191
+ "sizing",
2192
+ "height",
2193
+ "source",
2194
+ "dimensions",
2195
+ "metrics",
2196
+ "aggregations",
2197
+ "groupBy",
2198
+ "sort",
2199
+ "filters",
2200
+ "limit",
2201
+ "legend",
2202
+ "labels",
2203
+ "tooltip",
2204
+ "theme",
2205
+ "state",
2206
+ "motion",
2207
+ "gauge",
2208
+ "boxplot",
2209
+ "calendar",
2210
+ "waterfall",
2211
+ "sankey",
2212
+ "hierarchy",
2213
+ "radar",
2214
+ "matrix",
2215
+ "rangeComparison",
2216
+ "beeswarm",
2217
+ "parallel",
2218
+ "chord",
2219
+ "trajectory",
2220
+ "brushSelection",
2221
+ "timeline",
2222
+ "syncGroup",
2223
+ "referenceLines",
2224
+ "referenceBands",
2225
+ "targetMarkers",
2226
+ "comparison",
2227
+ "dataZoom",
2228
+ "axisScaleBreak",
2229
+ "labelLayout",
2230
+ "renderer",
2231
+ "epistemicMeta"
2232
+ ]
2233
+ },
2234
+ {
2235
+ "path": "chartDocument.version",
2236
+ "operator": "equals",
2237
+ "value": "0.1.0"
2238
+ },
2239
+ {
2240
+ "path": "chartDocument.source",
2241
+ "operator": "keys-subset",
2242
+ "values": [
2243
+ "kind",
2244
+ "resource",
2245
+ "operation",
2246
+ "options",
2247
+ "refresh"
2248
+ ]
2249
+ },
2250
+ {
2251
+ "path": "chartDocument.source.kind",
2252
+ "operator": "equals",
2253
+ "value": "praxis.stats"
2254
+ },
2255
+ {
2256
+ "path": "chartDocument.source.resource",
2257
+ "operator": "present"
2258
+ },
2259
+ {
2260
+ "path": "chartDocument.source.operation",
2261
+ "operator": "equals",
2262
+ "value": "inference"
2263
+ }
2264
+ ],
2265
+ "effects": [
2266
+ {
2267
+ "kind": "resource-read",
2268
+ "resourcePath": "chartDocument.source.resource",
2269
+ "operations": [
2270
+ {
2271
+ "operationId": "statsInference",
2272
+ "method": "POST",
2273
+ "pathSuffix": "stats/inference",
2274
+ "role": "primary",
2275
+ "queryContext": {
2276
+ "portId": "queryContext",
2277
+ "requestFieldPath": "filter"
2278
+ }
2279
+ }
2280
+ ]
2281
+ }
2282
+ ]
2283
+ },
2284
+ {
2285
+ "id": "public-chart-document-praxis-stats-anomalies",
2286
+ "audience": "public-untrusted",
2287
+ "description": "Documento canônico de chart anomalies com leitura de recurso e filtro governado.",
2288
+ "constraints": [
2289
+ {
2290
+ "path": "$",
2291
+ "operator": "keys-subset",
2292
+ "values": [
2293
+ "chartDocument",
2294
+ "queryContext",
2295
+ "enableCustomization",
2296
+ "epistemicBadgeVariant"
2297
+ ]
2298
+ },
2299
+ {
2300
+ "path": "enableCustomization",
2301
+ "operator": "not-true"
2302
+ },
2303
+ {
2304
+ "path": "chartDocument",
2305
+ "operator": "keys-subset",
2306
+ "values": [
2307
+ "version",
2308
+ "kind",
2309
+ "preset",
2310
+ "chartId",
2311
+ "orientation",
2312
+ "title",
2313
+ "subtitle",
2314
+ "sizing",
2315
+ "height",
2316
+ "source",
2317
+ "dimensions",
2318
+ "metrics",
2319
+ "aggregations",
2320
+ "groupBy",
2321
+ "sort",
2322
+ "filters",
2323
+ "limit",
2324
+ "legend",
2325
+ "labels",
2326
+ "tooltip",
2327
+ "theme",
2328
+ "state",
2329
+ "motion",
2330
+ "gauge",
2331
+ "boxplot",
2332
+ "calendar",
2333
+ "waterfall",
2334
+ "sankey",
2335
+ "hierarchy",
2336
+ "radar",
2337
+ "matrix",
2338
+ "rangeComparison",
2339
+ "beeswarm",
2340
+ "parallel",
2341
+ "chord",
2342
+ "trajectory",
2343
+ "brushSelection",
2344
+ "timeline",
2345
+ "syncGroup",
2346
+ "referenceLines",
2347
+ "referenceBands",
2348
+ "targetMarkers",
2349
+ "comparison",
2350
+ "dataZoom",
2351
+ "axisScaleBreak",
2352
+ "labelLayout",
2353
+ "renderer",
2354
+ "epistemicMeta"
2355
+ ]
2356
+ },
2357
+ {
2358
+ "path": "chartDocument.version",
2359
+ "operator": "equals",
2360
+ "value": "0.1.0"
2361
+ },
2362
+ {
2363
+ "path": "chartDocument.source",
2364
+ "operator": "keys-subset",
2365
+ "values": [
2366
+ "kind",
2367
+ "resource",
2368
+ "operation",
2369
+ "options",
2370
+ "refresh"
2371
+ ]
2372
+ },
2373
+ {
2374
+ "path": "chartDocument.source.kind",
2375
+ "operator": "equals",
2376
+ "value": "praxis.stats"
2377
+ },
2378
+ {
2379
+ "path": "chartDocument.source.resource",
2380
+ "operator": "present"
2381
+ },
2382
+ {
2383
+ "path": "chartDocument.source.operation",
2384
+ "operator": "equals",
2385
+ "value": "anomalies"
2386
+ }
2387
+ ],
2388
+ "effects": [
2389
+ {
2390
+ "kind": "resource-read",
2391
+ "resourcePath": "chartDocument.source.resource",
2392
+ "operations": [
2393
+ {
2394
+ "operationId": "statsAnomalies",
2395
+ "method": "POST",
2396
+ "pathSuffix": "stats/anomalies",
2397
+ "role": "primary",
2398
+ "queryContext": {
2399
+ "portId": "queryContext",
2400
+ "requestFieldPath": "filter"
2401
+ }
2402
+ }
2403
+ ]
2404
+ }
2405
+ ]
2406
+ },
2407
+ {
2408
+ "id": "public-chart-document-praxis-stats-simulation",
1617
2409
  "audience": "public-untrusted",
1618
- "description": "Documento canônico de chart timeseries com leitura de recurso e filtro governado.",
2410
+ "description": "Documento canônico de chart simulation com leitura de recurso e filtro governado.",
1619
2411
  "constraints": [
1620
2412
  {
1621
2413
  "path": "$",
@@ -1623,7 +2415,8 @@
1623
2415
  "values": [
1624
2416
  "chartDocument",
1625
2417
  "queryContext",
1626
- "enableCustomization"
2418
+ "enableCustomization",
2419
+ "epistemicBadgeVariant"
1627
2420
  ]
1628
2421
  },
1629
2422
  {
@@ -1664,6 +2457,15 @@
1664
2457
  "sankey",
1665
2458
  "hierarchy",
1666
2459
  "radar",
2460
+ "matrix",
2461
+ "rangeComparison",
2462
+ "beeswarm",
2463
+ "parallel",
2464
+ "chord",
2465
+ "trajectory",
2466
+ "brushSelection",
2467
+ "timeline",
2468
+ "syncGroup",
1667
2469
  "referenceLines",
1668
2470
  "referenceBands",
1669
2471
  "targetMarkers",
@@ -1671,7 +2473,8 @@
1671
2473
  "dataZoom",
1672
2474
  "axisScaleBreak",
1673
2475
  "labelLayout",
1674
- "renderer"
2476
+ "renderer",
2477
+ "epistemicMeta"
1675
2478
  ]
1676
2479
  },
1677
2480
  {
@@ -1702,7 +2505,7 @@
1702
2505
  {
1703
2506
  "path": "chartDocument.source.operation",
1704
2507
  "operator": "equals",
1705
- "value": "timeseries"
2508
+ "value": "simulation"
1706
2509
  }
1707
2510
  ],
1708
2511
  "effects": [
@@ -1711,9 +2514,9 @@
1711
2514
  "resourcePath": "chartDocument.source.resource",
1712
2515
  "operations": [
1713
2516
  {
1714
- "operationId": "statsTimeSeries",
2517
+ "operationId": "statsSimulation",
1715
2518
  "method": "POST",
1716
- "pathSuffix": "stats/timeseries",
2519
+ "pathSuffix": "stats/simulation",
1717
2520
  "role": "primary",
1718
2521
  "queryContext": {
1719
2522
  "portId": "queryContext",
@@ -1725,9 +2528,9 @@
1725
2528
  ]
1726
2529
  },
1727
2530
  {
1728
- "id": "public-chart-document-praxis-stats-group-by",
2531
+ "id": "public-chart-document-praxis-stats-counterfactual",
1729
2532
  "audience": "public-untrusted",
1730
- "description": "Documento canônico de chart group-by com leitura de recurso e filtro governado.",
2533
+ "description": "Documento canônico de chart counterfactual com leitura de recurso e filtro governado.",
1731
2534
  "constraints": [
1732
2535
  {
1733
2536
  "path": "$",
@@ -1735,7 +2538,8 @@
1735
2538
  "values": [
1736
2539
  "chartDocument",
1737
2540
  "queryContext",
1738
- "enableCustomization"
2541
+ "enableCustomization",
2542
+ "epistemicBadgeVariant"
1739
2543
  ]
1740
2544
  },
1741
2545
  {
@@ -1776,6 +2580,15 @@
1776
2580
  "sankey",
1777
2581
  "hierarchy",
1778
2582
  "radar",
2583
+ "matrix",
2584
+ "rangeComparison",
2585
+ "beeswarm",
2586
+ "parallel",
2587
+ "chord",
2588
+ "trajectory",
2589
+ "brushSelection",
2590
+ "timeline",
2591
+ "syncGroup",
1779
2592
  "referenceLines",
1780
2593
  "referenceBands",
1781
2594
  "targetMarkers",
@@ -1783,7 +2596,8 @@
1783
2596
  "dataZoom",
1784
2597
  "axisScaleBreak",
1785
2598
  "labelLayout",
1786
- "renderer"
2599
+ "renderer",
2600
+ "epistemicMeta"
1787
2601
  ]
1788
2602
  },
1789
2603
  {
@@ -1814,7 +2628,7 @@
1814
2628
  {
1815
2629
  "path": "chartDocument.source.operation",
1816
2630
  "operator": "equals",
1817
- "value": "group-by"
2631
+ "value": "counterfactual"
1818
2632
  }
1819
2633
  ],
1820
2634
  "effects": [
@@ -1823,9 +2637,9 @@
1823
2637
  "resourcePath": "chartDocument.source.resource",
1824
2638
  "operations": [
1825
2639
  {
1826
- "operationId": "statsGroupBy",
2640
+ "operationId": "statsCounterfactual",
1827
2641
  "method": "POST",
1828
- "pathSuffix": "stats/group-by",
2642
+ "pathSuffix": "stats/counterfactual",
1829
2643
  "role": "primary",
1830
2644
  "queryContext": {
1831
2645
  "portId": "queryContext",
@@ -1847,7 +2661,8 @@
1847
2661
  "values": [
1848
2662
  "config",
1849
2663
  "queryContext",
1850
- "enableCustomization"
2664
+ "enableCustomization",
2665
+ "epistemicBadgeVariant"
1851
2666
  ]
1852
2667
  },
1853
2668
  {
@@ -1875,6 +2690,15 @@
1875
2690
  "sankey",
1876
2691
  "hierarchy",
1877
2692
  "radar",
2693
+ "matrix",
2694
+ "rangeComparison",
2695
+ "beeswarm",
2696
+ "parallel",
2697
+ "chord",
2698
+ "trajectory",
2699
+ "brushSelection",
2700
+ "timeline",
2701
+ "syncGroup",
1878
2702
  "theme",
1879
2703
  "motion",
1880
2704
  "referenceLines",
@@ -1885,6 +2709,7 @@
1885
2709
  "axisScaleBreak",
1886
2710
  "labelLayout",
1887
2711
  "renderer",
2712
+ "epistemicMeta",
1888
2713
  "emptyState",
1889
2714
  "state",
1890
2715
  "preferredLoadState"
@@ -1927,7 +2752,27 @@
1927
2752
  "metrics",
1928
2753
  "filters",
1929
2754
  "sort",
1930
- "limit"
2755
+ "limit",
2756
+ "timezone",
2757
+ "periodField",
2758
+ "periodPreset",
2759
+ "comparisonPeriod",
2760
+ "tests",
2761
+ "groupByField",
2762
+ "expectedField",
2763
+ "observedField",
2764
+ "residualField",
2765
+ "variableOrRetroactiveEligible",
2766
+ "methods",
2767
+ "alpha",
2768
+ "materialityThreshold",
2769
+ "madThreshold",
2770
+ "minCohortSize",
2771
+ "minGroupSize",
2772
+ "enableBenford",
2773
+ "minBenfordSamples",
2774
+ "minBucketCount",
2775
+ "maxFindings"
1931
2776
  ]
1932
2777
  },
1933
2778
  {
@@ -1980,7 +2825,8 @@
1980
2825
  "values": [
1981
2826
  "config",
1982
2827
  "queryContext",
1983
- "enableCustomization"
2828
+ "enableCustomization",
2829
+ "epistemicBadgeVariant"
1984
2830
  ]
1985
2831
  },
1986
2832
  {
@@ -2008,6 +2854,15 @@
2008
2854
  "sankey",
2009
2855
  "hierarchy",
2010
2856
  "radar",
2857
+ "matrix",
2858
+ "rangeComparison",
2859
+ "beeswarm",
2860
+ "parallel",
2861
+ "chord",
2862
+ "trajectory",
2863
+ "brushSelection",
2864
+ "timeline",
2865
+ "syncGroup",
2011
2866
  "theme",
2012
2867
  "motion",
2013
2868
  "referenceLines",
@@ -2018,6 +2873,7 @@
2018
2873
  "axisScaleBreak",
2019
2874
  "labelLayout",
2020
2875
  "renderer",
2876
+ "epistemicMeta",
2021
2877
  "emptyState",
2022
2878
  "state",
2023
2879
  "preferredLoadState"
@@ -2060,7 +2916,27 @@
2060
2916
  "metrics",
2061
2917
  "filters",
2062
2918
  "sort",
2063
- "limit"
2919
+ "limit",
2920
+ "timezone",
2921
+ "periodField",
2922
+ "periodPreset",
2923
+ "comparisonPeriod",
2924
+ "tests",
2925
+ "groupByField",
2926
+ "expectedField",
2927
+ "observedField",
2928
+ "residualField",
2929
+ "variableOrRetroactiveEligible",
2930
+ "methods",
2931
+ "alpha",
2932
+ "materialityThreshold",
2933
+ "madThreshold",
2934
+ "minCohortSize",
2935
+ "minGroupSize",
2936
+ "enableBenford",
2937
+ "minBenfordSamples",
2938
+ "minBucketCount",
2939
+ "maxFindings"
2064
2940
  ]
2065
2941
  },
2066
2942
  {
@@ -2200,6 +3076,11 @@
2200
3076
  "type": "PraxisChartRemoteDataResolver | null",
2201
3077
  "description": "Host-governed remote row resolver for integrations outside the default praxis.stats client."
2202
3078
  },
3079
+ {
3080
+ "name": "epistemicBadgeVariant",
3081
+ "type": "'compact' | 'detailed'",
3082
+ "description": "Controls whether the frameless epistemic provenance footer renders as a compact pill or a detailed guidance card."
3083
+ },
2203
3084
  {
2204
3085
  "name": "dataAlternativeMode",
2205
3086
  "type": "'built-in' | 'external' | 'none'",
@@ -2860,7 +3741,12 @@
2860
3741
  "heatmap",
2861
3742
  "boxplot",
2862
3743
  "calendar",
2863
- "waterfall"
3744
+ "waterfall",
3745
+ "matrix-grid",
3746
+ "range-comparison",
3747
+ "beeswarm",
3748
+ "parallel",
3749
+ "chord"
2864
3750
  ]
2865
3751
  },
2866
3752
  "chartId": {
@@ -2906,12 +3792,29 @@
2906
3792
  "group-by",
2907
3793
  "timeseries",
2908
3794
  "distribution",
2909
- "comparison"
3795
+ "comparison",
3796
+ "inference",
3797
+ "anomalies",
3798
+ "simulation",
3799
+ "counterfactual"
2910
3800
  ]
2911
3801
  },
2912
3802
  "options": {
2913
3803
  "type": "object",
2914
3804
  "properties": {
3805
+ "limit": {
3806
+ "type": "integer",
3807
+ "minimum": 1
3808
+ },
3809
+ "granularity": {
3810
+ "type": "string"
3811
+ },
3812
+ "from": {
3813
+ "type": "string"
3814
+ },
3815
+ "to": {
3816
+ "type": "string"
3817
+ },
2915
3818
  "timezone": {
2916
3819
  "type": "string"
2917
3820
  },
@@ -2960,30 +3863,292 @@
2960
3863
  "THIS_YEAR"
2961
3864
  ]
2962
3865
  },
2963
- "mode": {
3866
+ "mode": {
3867
+ "enum": [
3868
+ "PREVIOUS_ALIGNED",
3869
+ "PREVIOUS_CALENDAR_PERIOD"
3870
+ ]
3871
+ }
3872
+ }
3873
+ },
3874
+ "tests": {
3875
+ "type": "array",
3876
+ "items": {
3877
+ "enum": [
3878
+ "WILCOXON_SIGNED_RANK",
3879
+ "MANN_WHITNEY_U",
3880
+ "KOLMOGOROV_SMIRNOV_2SAMP",
3881
+ "WELCH_T",
3882
+ "ONE_WAY_ANOVA",
3883
+ "CHI_SQUARE_INDEPENDENCE",
3884
+ "BENFORD_NIGRINI_MAD"
3885
+ ]
3886
+ }
3887
+ },
3888
+ "groupByField": {
3889
+ "type": "string"
3890
+ },
3891
+ "expectedField": {
3892
+ "type": "string"
3893
+ },
3894
+ "observedField": {
3895
+ "type": "string"
3896
+ },
3897
+ "residualField": {
3898
+ "type": "string"
3899
+ },
3900
+ "variableOrRetroactiveEligible": {
3901
+ "type": "boolean"
3902
+ },
3903
+ "methods": {
3904
+ "type": "array",
3905
+ "items": {
3906
+ "enum": [
3907
+ "PAIRED_RESIDUAL_SHIFT",
3908
+ "ROBUST_MAD_ZSCORE",
3909
+ "GRUBBS_ESD",
3910
+ "NIGRINI_BENFORD",
3911
+ "EMPIRICAL_BAYES_SHRINKAGE"
3912
+ ]
3913
+ }
3914
+ },
3915
+ "alpha": {
3916
+ "type": "number",
3917
+ "exclusiveMinimum": 0,
3918
+ "exclusiveMaximum": 1
3919
+ },
3920
+ "materialityThreshold": {
3921
+ "type": "number",
3922
+ "minimum": 0
3923
+ },
3924
+ "madThreshold": {
3925
+ "type": "number",
3926
+ "exclusiveMinimum": 0
3927
+ },
3928
+ "minCohortSize": {
3929
+ "type": "integer",
3930
+ "minimum": 1
3931
+ },
3932
+ "minGroupSize": {
3933
+ "type": "integer",
3934
+ "minimum": 1
3935
+ },
3936
+ "enableBenford": {
3937
+ "type": "boolean"
3938
+ },
3939
+ "minBenfordSamples": {
3940
+ "type": "integer",
3941
+ "minimum": 1
3942
+ },
3943
+ "minBucketCount": {
3944
+ "type": "integer",
3945
+ "minimum": 1
3946
+ },
3947
+ "maxFindings": {
3948
+ "type": "integer",
3949
+ "minimum": 1
3950
+ }
3951
+ }
3952
+ }
3953
+ }
3954
+ },
3955
+ "dimensions": {
3956
+ "type": "array",
3957
+ "items": {
3958
+ "type": "object"
3959
+ }
3960
+ },
3961
+ "metrics": {
3962
+ "type": "array",
3963
+ "items": {
3964
+ "type": "object",
3965
+ "required": [
3966
+ "field"
3967
+ ],
3968
+ "properties": {
3969
+ "field": {
3970
+ "type": "string"
3971
+ },
3972
+ "sourceField": {
3973
+ "type": "string"
3974
+ },
3975
+ "label": {
3976
+ "oneOf": [
3977
+ {
3978
+ "type": "string"
3979
+ },
3980
+ {
3981
+ "type": "object"
3982
+ }
3983
+ ]
3984
+ },
3985
+ "aggregation": {
3986
+ "enum": [
3987
+ "sum",
3988
+ "avg",
3989
+ "min",
3990
+ "max",
3991
+ "median",
3992
+ "percentile-10",
3993
+ "percentile-25",
3994
+ "percentile-50",
3995
+ "percentile-75",
3996
+ "percentile-90",
3997
+ "percentile-95",
3998
+ "percentile-99",
3999
+ "count",
4000
+ "distinct-count",
4001
+ "avg-per-cycle-occurrence"
4002
+ ]
4003
+ },
4004
+ "seriesKind": {
4005
+ "enum": [
4006
+ "bar",
4007
+ "line",
4008
+ "area"
4009
+ ]
4010
+ },
4011
+ "axis": {
4012
+ "enum": [
4013
+ "primary",
4014
+ "secondary"
4015
+ ]
4016
+ },
4017
+ "color": {
4018
+ "type": "string"
4019
+ },
4020
+ "format": {
4021
+ "type": "string"
4022
+ },
4023
+ "lineStyle": {
4024
+ "enum": [
4025
+ "solid",
4026
+ "dashed",
4027
+ "dotted"
4028
+ ]
4029
+ },
4030
+ "step": {
4031
+ "enum": [
4032
+ false,
4033
+ "start",
4034
+ "middle",
4035
+ "end"
4036
+ ]
4037
+ },
4038
+ "connectNulls": {
4039
+ "type": "boolean"
4040
+ },
4041
+ "confidenceBands": {
4042
+ "type": "array",
4043
+ "maxItems": 3,
4044
+ "items": {
4045
+ "type": "object",
4046
+ "required": [
4047
+ "lowerField",
4048
+ "upperField"
4049
+ ],
4050
+ "properties": {
4051
+ "id": {
4052
+ "type": "string"
4053
+ },
4054
+ "lowerField": {
4055
+ "type": "string"
4056
+ },
4057
+ "upperField": {
4058
+ "type": "string"
4059
+ },
4060
+ "label": {
4061
+ "oneOf": [
4062
+ {
4063
+ "type": "string"
4064
+ },
4065
+ {
4066
+ "type": "object"
4067
+ }
4068
+ ]
4069
+ },
4070
+ "level": {
4071
+ "type": "number",
4072
+ "exclusiveMinimum": 0,
4073
+ "exclusiveMaximum": 1
4074
+ },
4075
+ "tone": {
2964
4076
  "enum": [
2965
- "PREVIOUS_ALIGNED",
2966
- "PREVIOUS_CALENDAR_PERIOD"
4077
+ "neutral",
4078
+ "info",
4079
+ "success",
4080
+ "warning",
4081
+ "danger",
4082
+ "critical"
2967
4083
  ]
4084
+ },
4085
+ "color": {
4086
+ "type": "string"
4087
+ },
4088
+ "opacity": {
4089
+ "type": "number",
4090
+ "minimum": 0.05,
4091
+ "maximum": 0.6
2968
4092
  }
2969
4093
  }
2970
4094
  }
4095
+ },
4096
+ "errorBar": {
4097
+ "type": "object",
4098
+ "required": [
4099
+ "lowField",
4100
+ "highField"
4101
+ ],
4102
+ "properties": {
4103
+ "lowField": {
4104
+ "type": "string"
4105
+ },
4106
+ "highField": {
4107
+ "type": "string"
4108
+ },
4109
+ "label": {
4110
+ "oneOf": [
4111
+ {
4112
+ "type": "string"
4113
+ },
4114
+ {
4115
+ "type": "object"
4116
+ }
4117
+ ]
4118
+ },
4119
+ "level": {
4120
+ "type": "number",
4121
+ "exclusiveMinimum": 0,
4122
+ "exclusiveMaximum": 1
4123
+ },
4124
+ "tone": {
4125
+ "enum": [
4126
+ "neutral",
4127
+ "info",
4128
+ "success",
4129
+ "warning",
4130
+ "danger",
4131
+ "critical"
4132
+ ]
4133
+ },
4134
+ "color": {
4135
+ "type": "string"
4136
+ },
4137
+ "capWidth": {
4138
+ "type": "number",
4139
+ "minimum": 4,
4140
+ "maximum": 24
4141
+ },
4142
+ "lineWidth": {
4143
+ "type": "number",
4144
+ "minimum": 1,
4145
+ "maximum": 4
4146
+ }
4147
+ }
2971
4148
  }
2972
4149
  }
2973
4150
  }
2974
4151
  },
2975
- "dimensions": {
2976
- "type": "array",
2977
- "items": {
2978
- "type": "object"
2979
- }
2980
- },
2981
- "metrics": {
2982
- "type": "array",
2983
- "items": {
2984
- "type": "object"
2985
- }
2986
- },
2987
4152
  "gauge": {
2988
4153
  "type": "object",
2989
4154
  "required": [
@@ -3180,7 +4345,87 @@
3180
4345
  ]
3181
4346
  },
3182
4347
  "epistemicMeta": {
3183
- "type": "object"
4348
+ "type": "object",
4349
+ "properties": {
4350
+ "kind": {
4351
+ "enum": [
4352
+ "DETERMINISTIC_LAW",
4353
+ "CALIBRATED_PROBABILITY",
4354
+ "STOCHASTIC_SIMULATION",
4355
+ "CAUSAL_HYPOTHESIS",
4356
+ "OPTIMIZATION_RESULT"
4357
+ ]
4358
+ },
4359
+ "availabilityState": {
4360
+ "enum": [
4361
+ "AVAILABLE",
4362
+ "INSUFFICIENT_SAMPLE",
4363
+ "K_ANONYMITY_SUPPRESSED",
4364
+ "ENGINE_UNAVAILABLE",
4365
+ "DEGRADED"
4366
+ ]
4367
+ },
4368
+ "statisticallySignificant": {
4369
+ "type": "boolean"
4370
+ },
4371
+ "qValueFdr": {
4372
+ "type": [
4373
+ "number",
4374
+ "null"
4375
+ ]
4376
+ },
4377
+ "sampleSize": {
4378
+ "type": [
4379
+ "integer",
4380
+ "null"
4381
+ ]
4382
+ },
4383
+ "suppressedCellCount": {
4384
+ "type": [
4385
+ "integer",
4386
+ "null"
4387
+ ]
4388
+ },
4389
+ "provenanceHash": {
4390
+ "type": [
4391
+ "string",
4392
+ "null"
4393
+ ]
4394
+ },
4395
+ "modelCardId": {
4396
+ "type": [
4397
+ "string",
4398
+ "null"
4399
+ ]
4400
+ },
4401
+ "datasetKey": {
4402
+ "type": [
4403
+ "string",
4404
+ "null"
4405
+ ]
4406
+ },
4407
+ "methodologyNote": {
4408
+ "type": [
4409
+ "string",
4410
+ "null"
4411
+ ]
4412
+ },
4413
+ "nigriniMad": {
4414
+ "type": [
4415
+ "number",
4416
+ "null"
4417
+ ]
4418
+ },
4419
+ "nigriniConformity": {
4420
+ "enum": [
4421
+ "CLOSE_CONFORMITY",
4422
+ "ACCEPTABLE_CONFORMITY",
4423
+ "MARGINAL_CONFORMITY",
4424
+ "MARGINALLY_ACCEPTABLE",
4425
+ "NON_CONFORMITY"
4426
+ ]
4427
+ }
4428
+ }
3184
4429
  },
3185
4430
  "motion": {
3186
4431
  "type": "object",
@@ -3295,7 +4540,12 @@
3295
4540
  "heatmap",
3296
4541
  "boxplot",
3297
4542
  "calendar",
3298
- "waterfall"
4543
+ "waterfall",
4544
+ "matrix-grid",
4545
+ "range-comparison",
4546
+ "beeswarm",
4547
+ "parallel",
4548
+ "chord"
3299
4549
  ]
3300
4550
  },
3301
4551
  "orientation": {
@@ -3422,60 +4672,6 @@
3422
4672
  "field"
3423
4673
  ],
3424
4674
  "properties": {
3425
- "field": {
3426
- "type": "string"
3427
- },
3428
- "sourceField": {
3429
- "type": "string"
3430
- },
3431
- "label": {
3432
- "oneOf": [
3433
- {
3434
- "type": "string"
3435
- },
3436
- {
3437
- "type": "object"
3438
- }
3439
- ]
3440
- },
3441
- "aggregation": {
3442
- "enum": [
3443
- "sum",
3444
- "avg",
3445
- "min",
3446
- "max",
3447
- "median",
3448
- "percentile-10",
3449
- "percentile-25",
3450
- "percentile-50",
3451
- "percentile-75",
3452
- "percentile-90",
3453
- "percentile-95",
3454
- "percentile-99",
3455
- "count",
3456
- "distinct-count",
3457
- "avg-per-cycle-occurrence"
3458
- ]
3459
- },
3460
- "seriesKind": {
3461
- "enum": [
3462
- "bar",
3463
- "line",
3464
- "area"
3465
- ]
3466
- },
3467
- "axis": {
3468
- "enum": [
3469
- "primary",
3470
- "secondary"
3471
- ]
3472
- },
3473
- "color": {
3474
- "type": "string"
3475
- },
3476
- "format": {
3477
- "type": "string"
3478
- },
3479
4675
  "afterField": {
3480
4676
  "type": "string"
3481
4677
  }
@@ -3503,60 +4699,6 @@
3503
4699
  "field"
3504
4700
  ],
3505
4701
  "properties": {
3506
- "field": {
3507
- "type": "string"
3508
- },
3509
- "sourceField": {
3510
- "type": "string"
3511
- },
3512
- "label": {
3513
- "oneOf": [
3514
- {
3515
- "type": "string"
3516
- },
3517
- {
3518
- "type": "object"
3519
- }
3520
- ]
3521
- },
3522
- "aggregation": {
3523
- "enum": [
3524
- "sum",
3525
- "avg",
3526
- "min",
3527
- "max",
3528
- "median",
3529
- "percentile-10",
3530
- "percentile-25",
3531
- "percentile-50",
3532
- "percentile-75",
3533
- "percentile-90",
3534
- "percentile-95",
3535
- "percentile-99",
3536
- "count",
3537
- "distinct-count",
3538
- "avg-per-cycle-occurrence"
3539
- ]
3540
- },
3541
- "seriesKind": {
3542
- "enum": [
3543
- "bar",
3544
- "line",
3545
- "area"
3546
- ]
3547
- },
3548
- "axis": {
3549
- "enum": [
3550
- "primary",
3551
- "secondary"
3552
- ]
3553
- },
3554
- "color": {
3555
- "type": "string"
3556
- },
3557
- "format": {
3558
- "type": "string"
3559
- },
3560
4702
  "afterField": {
3561
4703
  "type": "string"
3562
4704
  }
@@ -3829,7 +4971,11 @@
3829
4971
  "group-by",
3830
4972
  "timeseries",
3831
4973
  "distribution",
3832
- "comparison"
4974
+ "comparison",
4975
+ "inference",
4976
+ "anomalies",
4977
+ "simulation",
4978
+ "counterfactual"
3833
4979
  ]
3834
4980
  },
3835
4981
  "limit": {
@@ -3848,26 +4994,177 @@
3848
4994
  "field": {
3849
4995
  "type": "string"
3850
4996
  },
3851
- "timezone": {
4997
+ "timezone": {
4998
+ "type": "string"
4999
+ },
5000
+ "preset": {
5001
+ "enum": [
5002
+ "TODAY",
5003
+ "YESTERDAY",
5004
+ "LAST_7_DAYS",
5005
+ "LAST_30_DAYS",
5006
+ "THIS_MONTH",
5007
+ "LAST_MONTH",
5008
+ "THIS_QUARTER",
5009
+ "THIS_YEAR"
5010
+ ]
5011
+ },
5012
+ "mode": {
5013
+ "enum": [
5014
+ "PREVIOUS_ALIGNED",
5015
+ "PREVIOUS_CALENDAR_PERIOD"
5016
+ ]
5017
+ }
5018
+ }
5019
+ },
5020
+ "options": {
5021
+ "type": "object",
5022
+ "properties": {
5023
+ "limit": {
5024
+ "type": "integer",
5025
+ "minimum": 1
5026
+ },
5027
+ "granularity": {
5028
+ "type": "string"
5029
+ },
5030
+ "from": {
5031
+ "type": "string"
5032
+ },
5033
+ "to": {
5034
+ "type": "string"
5035
+ },
5036
+ "timezone": {
5037
+ "type": "string"
5038
+ },
5039
+ "periodField": {
5040
+ "type": "string"
5041
+ },
5042
+ "periodPreset": {
5043
+ "enum": [
5044
+ "TODAY",
5045
+ "YESTERDAY",
5046
+ "LAST_7_DAYS",
5047
+ "LAST_30_DAYS",
5048
+ "THIS_MONTH",
5049
+ "LAST_MONTH",
5050
+ "THIS_QUARTER",
5051
+ "THIS_YEAR"
5052
+ ]
5053
+ },
5054
+ "fillGaps": {
5055
+ "type": "boolean"
5056
+ },
5057
+ "comparisonPeriod": {
5058
+ "type": "object",
5059
+ "required": [
5060
+ "field",
5061
+ "timezone",
5062
+ "preset",
5063
+ "mode"
5064
+ ],
5065
+ "properties": {
5066
+ "field": {
5067
+ "type": "string"
5068
+ },
5069
+ "timezone": {
5070
+ "type": "string"
5071
+ },
5072
+ "preset": {
5073
+ "enum": [
5074
+ "TODAY",
5075
+ "YESTERDAY",
5076
+ "LAST_7_DAYS",
5077
+ "LAST_30_DAYS",
5078
+ "THIS_MONTH",
5079
+ "LAST_MONTH",
5080
+ "THIS_QUARTER",
5081
+ "THIS_YEAR"
5082
+ ]
5083
+ },
5084
+ "mode": {
5085
+ "enum": [
5086
+ "PREVIOUS_ALIGNED",
5087
+ "PREVIOUS_CALENDAR_PERIOD"
5088
+ ]
5089
+ }
5090
+ }
5091
+ },
5092
+ "tests": {
5093
+ "type": "array",
5094
+ "items": {
5095
+ "enum": [
5096
+ "WILCOXON_SIGNED_RANK",
5097
+ "MANN_WHITNEY_U",
5098
+ "KOLMOGOROV_SMIRNOV_2SAMP",
5099
+ "WELCH_T",
5100
+ "ONE_WAY_ANOVA",
5101
+ "CHI_SQUARE_INDEPENDENCE",
5102
+ "BENFORD_NIGRINI_MAD"
5103
+ ]
5104
+ }
5105
+ },
5106
+ "groupByField": {
5107
+ "type": "string"
5108
+ },
5109
+ "expectedField": {
3852
5110
  "type": "string"
3853
5111
  },
3854
- "preset": {
3855
- "enum": [
3856
- "TODAY",
3857
- "YESTERDAY",
3858
- "LAST_7_DAYS",
3859
- "LAST_30_DAYS",
3860
- "THIS_MONTH",
3861
- "LAST_MONTH",
3862
- "THIS_QUARTER",
3863
- "THIS_YEAR"
3864
- ]
5112
+ "observedField": {
5113
+ "type": "string"
3865
5114
  },
3866
- "mode": {
3867
- "enum": [
3868
- "PREVIOUS_ALIGNED",
3869
- "PREVIOUS_CALENDAR_PERIOD"
3870
- ]
5115
+ "residualField": {
5116
+ "type": "string"
5117
+ },
5118
+ "variableOrRetroactiveEligible": {
5119
+ "type": "boolean"
5120
+ },
5121
+ "methods": {
5122
+ "type": "array",
5123
+ "items": {
5124
+ "enum": [
5125
+ "PAIRED_RESIDUAL_SHIFT",
5126
+ "ROBUST_MAD_ZSCORE",
5127
+ "GRUBBS_ESD",
5128
+ "NIGRINI_BENFORD",
5129
+ "EMPIRICAL_BAYES_SHRINKAGE"
5130
+ ]
5131
+ }
5132
+ },
5133
+ "alpha": {
5134
+ "type": "number",
5135
+ "exclusiveMinimum": 0,
5136
+ "exclusiveMaximum": 1
5137
+ },
5138
+ "materialityThreshold": {
5139
+ "type": "number",
5140
+ "minimum": 0
5141
+ },
5142
+ "madThreshold": {
5143
+ "type": "number",
5144
+ "exclusiveMinimum": 0
5145
+ },
5146
+ "minCohortSize": {
5147
+ "type": "integer",
5148
+ "minimum": 1
5149
+ },
5150
+ "minGroupSize": {
5151
+ "type": "integer",
5152
+ "minimum": 1
5153
+ },
5154
+ "enableBenford": {
5155
+ "type": "boolean"
5156
+ },
5157
+ "minBenfordSamples": {
5158
+ "type": "integer",
5159
+ "minimum": 1
5160
+ },
5161
+ "minBucketCount": {
5162
+ "type": "integer",
5163
+ "minimum": 1
5164
+ },
5165
+ "maxFindings": {
5166
+ "type": "integer",
5167
+ "minimum": 1
3871
5168
  }
3872
5169
  }
3873
5170
  },
@@ -3902,60 +5199,6 @@
3902
5199
  "field"
3903
5200
  ],
3904
5201
  "properties": {
3905
- "field": {
3906
- "type": "string"
3907
- },
3908
- "sourceField": {
3909
- "type": "string"
3910
- },
3911
- "label": {
3912
- "oneOf": [
3913
- {
3914
- "type": "string"
3915
- },
3916
- {
3917
- "type": "object"
3918
- }
3919
- ]
3920
- },
3921
- "aggregation": {
3922
- "enum": [
3923
- "sum",
3924
- "avg",
3925
- "min",
3926
- "max",
3927
- "median",
3928
- "percentile-10",
3929
- "percentile-25",
3930
- "percentile-50",
3931
- "percentile-75",
3932
- "percentile-90",
3933
- "percentile-95",
3934
- "percentile-99",
3935
- "count",
3936
- "distinct-count",
3937
- "avg-per-cycle-occurrence"
3938
- ]
3939
- },
3940
- "seriesKind": {
3941
- "enum": [
3942
- "bar",
3943
- "line",
3944
- "area"
3945
- ]
3946
- },
3947
- "axis": {
3948
- "enum": [
3949
- "primary",
3950
- "secondary"
3951
- ]
3952
- },
3953
- "color": {
3954
- "type": "string"
3955
- },
3956
- "format": {
3957
- "type": "string"
3958
- },
3959
5202
  "afterField": {
3960
5203
  "type": "string"
3961
5204
  }
@@ -3973,12 +5216,14 @@
3973
5216
  "availableResources[]",
3974
5217
  "availableFields[]",
3975
5218
  "chartDocument.source",
5219
+ "chartDocument.source.options",
3976
5220
  "chartDocument.source.options.limit",
3977
5221
  "chartDocument.dimensions[]",
3978
5222
  "chartDocument.metrics[]"
3979
5223
  ],
3980
5224
  "writes": [
3981
5225
  "chartDocument.source",
5226
+ "chartDocument.source.options",
3982
5227
  "chartDocument.source.options.limit",
3983
5228
  "chartDocument.source.options.comparisonPeriod",
3984
5229
  "chartDocument.dimensions[]",
@@ -4009,7 +5254,11 @@
4009
5254
  "group-by",
4010
5255
  "timeseries",
4011
5256
  "distribution",
4012
- "comparison"
5257
+ "comparison",
5258
+ "inference",
5259
+ "anomalies",
5260
+ "simulation",
5261
+ "counterfactual"
4013
5262
  ]
4014
5263
  },
4015
5264
  "limit": {
@@ -4051,6 +5300,157 @@
4051
5300
  }
4052
5301
  }
4053
5302
  },
5303
+ "options": {
5304
+ "type": "object",
5305
+ "properties": {
5306
+ "limit": {
5307
+ "type": "integer",
5308
+ "minimum": 1
5309
+ },
5310
+ "granularity": {
5311
+ "type": "string"
5312
+ },
5313
+ "from": {
5314
+ "type": "string"
5315
+ },
5316
+ "to": {
5317
+ "type": "string"
5318
+ },
5319
+ "timezone": {
5320
+ "type": "string"
5321
+ },
5322
+ "periodField": {
5323
+ "type": "string"
5324
+ },
5325
+ "periodPreset": {
5326
+ "enum": [
5327
+ "TODAY",
5328
+ "YESTERDAY",
5329
+ "LAST_7_DAYS",
5330
+ "LAST_30_DAYS",
5331
+ "THIS_MONTH",
5332
+ "LAST_MONTH",
5333
+ "THIS_QUARTER",
5334
+ "THIS_YEAR"
5335
+ ]
5336
+ },
5337
+ "fillGaps": {
5338
+ "type": "boolean"
5339
+ },
5340
+ "comparisonPeriod": {
5341
+ "type": "object",
5342
+ "required": [
5343
+ "field",
5344
+ "timezone",
5345
+ "preset",
5346
+ "mode"
5347
+ ],
5348
+ "properties": {
5349
+ "field": {
5350
+ "type": "string"
5351
+ },
5352
+ "timezone": {
5353
+ "type": "string"
5354
+ },
5355
+ "preset": {
5356
+ "enum": [
5357
+ "TODAY",
5358
+ "YESTERDAY",
5359
+ "LAST_7_DAYS",
5360
+ "LAST_30_DAYS",
5361
+ "THIS_MONTH",
5362
+ "LAST_MONTH",
5363
+ "THIS_QUARTER",
5364
+ "THIS_YEAR"
5365
+ ]
5366
+ },
5367
+ "mode": {
5368
+ "enum": [
5369
+ "PREVIOUS_ALIGNED",
5370
+ "PREVIOUS_CALENDAR_PERIOD"
5371
+ ]
5372
+ }
5373
+ }
5374
+ },
5375
+ "tests": {
5376
+ "type": "array",
5377
+ "items": {
5378
+ "enum": [
5379
+ "WILCOXON_SIGNED_RANK",
5380
+ "MANN_WHITNEY_U",
5381
+ "KOLMOGOROV_SMIRNOV_2SAMP",
5382
+ "WELCH_T",
5383
+ "ONE_WAY_ANOVA",
5384
+ "CHI_SQUARE_INDEPENDENCE",
5385
+ "BENFORD_NIGRINI_MAD"
5386
+ ]
5387
+ }
5388
+ },
5389
+ "groupByField": {
5390
+ "type": "string"
5391
+ },
5392
+ "expectedField": {
5393
+ "type": "string"
5394
+ },
5395
+ "observedField": {
5396
+ "type": "string"
5397
+ },
5398
+ "residualField": {
5399
+ "type": "string"
5400
+ },
5401
+ "variableOrRetroactiveEligible": {
5402
+ "type": "boolean"
5403
+ },
5404
+ "methods": {
5405
+ "type": "array",
5406
+ "items": {
5407
+ "enum": [
5408
+ "PAIRED_RESIDUAL_SHIFT",
5409
+ "ROBUST_MAD_ZSCORE",
5410
+ "GRUBBS_ESD",
5411
+ "NIGRINI_BENFORD",
5412
+ "EMPIRICAL_BAYES_SHRINKAGE"
5413
+ ]
5414
+ }
5415
+ },
5416
+ "alpha": {
5417
+ "type": "number",
5418
+ "exclusiveMinimum": 0,
5419
+ "exclusiveMaximum": 1
5420
+ },
5421
+ "materialityThreshold": {
5422
+ "type": "number",
5423
+ "minimum": 0
5424
+ },
5425
+ "madThreshold": {
5426
+ "type": "number",
5427
+ "exclusiveMinimum": 0
5428
+ },
5429
+ "minCohortSize": {
5430
+ "type": "integer",
5431
+ "minimum": 1
5432
+ },
5433
+ "minGroupSize": {
5434
+ "type": "integer",
5435
+ "minimum": 1
5436
+ },
5437
+ "enableBenford": {
5438
+ "type": "boolean"
5439
+ },
5440
+ "minBenfordSamples": {
5441
+ "type": "integer",
5442
+ "minimum": 1
5443
+ },
5444
+ "minBucketCount": {
5445
+ "type": "integer",
5446
+ "minimum": 1
5447
+ },
5448
+ "maxFindings": {
5449
+ "type": "integer",
5450
+ "minimum": 1
5451
+ }
5452
+ }
5453
+ },
4054
5454
  "dimensions": {
4055
5455
  "type": "array"
4056
5456
  },
@@ -4086,6 +5486,7 @@
4086
5486
  ],
4087
5487
  "affectedPaths": [
4088
5488
  "chartDocument.source",
5489
+ "chartDocument.source.options",
4089
5490
  "chartDocument.source.options.limit",
4090
5491
  "chartDocument.source.options.comparisonPeriod",
4091
5492
  "chartDocument.dimensions[]",
@@ -5688,6 +7089,70 @@
5688
7089
  }
5689
7090
  },
5690
7091
  "isPositive": false
7092
+ },
7093
+ {
7094
+ "id": "add-forecast-confidence-band",
7095
+ "request": "Add a dashed projected payroll series with a 90% confidence band between p10 and p90.",
7096
+ "operationId": "series.add",
7097
+ "params": {
7098
+ "field": "projectedCost",
7099
+ "aggregation": "avg",
7100
+ "lineStyle": "dashed",
7101
+ "confidenceBands": [
7102
+ {
7103
+ "lowerField": "p10",
7104
+ "upperField": "p90",
7105
+ "level": 0.9,
7106
+ "tone": "info",
7107
+ "opacity": 0.14
7108
+ }
7109
+ ]
7110
+ },
7111
+ "isPositive": true
7112
+ },
7113
+ {
7114
+ "id": "add-inference-error-bar",
7115
+ "request": "Add an effectSize metric with a 95% confidence interval error bar from ciLow to ciHigh.",
7116
+ "operationId": "series.add",
7117
+ "params": {
7118
+ "field": "effectSize",
7119
+ "aggregation": "avg",
7120
+ "errorBar": {
7121
+ "lowField": "ciLow",
7122
+ "highField": "ciHigh",
7123
+ "level": 0.95,
7124
+ "tone": "info",
7125
+ "capWidth": 10
7126
+ }
7127
+ },
7128
+ "isPositive": true
7129
+ },
7130
+ {
7131
+ "id": "reject-error-bar-on-stacked-bar",
7132
+ "request": "Attach an errorBar to a stacked-bar chart metric.",
7133
+ "operationId": "chart.document.set",
7134
+ "params": {
7135
+ "version": "0.1.0",
7136
+ "kind": "stacked-bar",
7137
+ "source": {
7138
+ "kind": "derived"
7139
+ },
7140
+ "dimensions": [
7141
+ {
7142
+ "field": "segment"
7143
+ }
7144
+ ],
7145
+ "metrics": [
7146
+ {
7147
+ "field": "effectSize",
7148
+ "errorBar": {
7149
+ "lowField": "ciLow",
7150
+ "highField": "ciHigh"
7151
+ }
7152
+ }
7153
+ ]
7154
+ },
7155
+ "isPositive": false
5691
7156
  }
5692
7157
  ]
5693
7158
  },
@@ -5695,9 +7160,9 @@
5695
7160
  {
5696
7161
  "chunkIndex": 0,
5697
7162
  "chunkKind": "summary",
5698
- "content": "Component ID: praxis-chart\nSelector: praxis-chart\nFriendly Name: Praxis Chart\nDescription: Chart component for analytics and metadata-driven visualizations in Praxis UI.\nLib/Package: @praxisui/charts\nTags: chart, analytics, widget, visualization\nInputs:\n - config (PraxisChartConfig)\n - resourceKey (string | null)\n - data (PraxisChartDataRow[])\n - chartDocument (PraxisXUiChartContract | null)\n - queryContext (PraxisDataQueryContext | null)\n - remoteDataResolver (PraxisChartRemoteDataResolver | null)\n - dataAlternativeMode ('built-in' | 'external' | 'none')\n - externalDataAlternativeLabel (string | null)\n - filterCriteria (Record<string, unknown> | null)\n - enableCustomization (boolean)\n - availableResources (ReadonlyArray<ChartEditorResourceOption>)\n - availableFields (ReadonlyArray<ChartEditorFieldOption>)\n - availableTargets (ReadonlyArray<ChartEditorTargetOption>)\nOutputs:\n - pointClick (PraxisChartPointEvent)\n - pointAction (PraxisChartPointActionEvent)\n - selectionChange (PraxisChartSelectionEvent)\n - drillDown (PraxisChartDrillDownEvent)\n - crossFilter (PraxisChartCrossFilterEvent)\n - queryRequest (PraxisChartQueryRequestEvent)\n - loadStateChange (PraxisChartLoadState)\n - chartDocumentApplied (PraxisXUiChartContract)\n - chartDocumentSaved (PraxisXUiChartContract)\n - chartDocumentPatchChange (PraxisChartDocumentPatchChangeEvent)\nInsertion Presets:\n - canonical-chart: Canonical chart - Creates a chart widget from the canonical x-ui.chart authoring document.\n",
7163
+ "content": "Component ID: praxis-chart\nSelector: praxis-chart\nFriendly Name: Praxis Chart\nDescription: Chart component for analytics and metadata-driven visualizations in Praxis UI.\nLib/Package: @praxisui/charts\nTags: chart, analytics, widget, visualization\nInputs:\n - config (PraxisChartConfig)\n - resourceKey (string | null)\n - data (PraxisChartDataRow[])\n - chartDocument (PraxisXUiChartContract | null)\n - queryContext (PraxisDataQueryContext | null)\n - epistemicBadgeVariant ('compact' | 'detailed')\n - remoteDataResolver (PraxisChartRemoteDataResolver | null)\n - dataAlternativeMode ('built-in' | 'external' | 'none')\n - externalDataAlternativeLabel (string | null)\n - filterCriteria (Record<string, unknown> | null)\n - enableCustomization (boolean)\n - availableResources (ReadonlyArray<ChartEditorResourceOption>)\n - availableFields (ReadonlyArray<ChartEditorFieldOption>)\n - availableTargets (ReadonlyArray<ChartEditorTargetOption>)\nOutputs:\n - pointClick (PraxisChartPointEvent)\n - pointAction (PraxisChartPointActionEvent)\n - selectionChange (PraxisChartSelectionEvent)\n - drillDown (PraxisChartDrillDownEvent)\n - crossFilter (PraxisChartCrossFilterEvent)\n - queryRequest (PraxisChartQueryRequestEvent)\n - loadStateChange (PraxisChartLoadState)\n - chartDocumentApplied (PraxisXUiChartContract)\n - chartDocumentSaved (PraxisXUiChartContract)\n - chartDocumentPatchChange (PraxisChartDocumentPatchChangeEvent)\n - brushSelect (PraxisChartBrushSelectionEvent)\n - timelineChange (PraxisChartTimelineChangeEvent)\nInsertion Presets:\n - canonical-chart: Canonical chart - Creates a chart widget from the canonical x-ui.chart authoring document.\n",
5699
7164
  "sourcePointer": "projects/praxis-charts/src/lib/praxis-chart.metadata.ts",
5700
- "contentHash": "7b06d5deb3ceb8aafda4d0fc3c63bb869e3d533656f4680e0d1e4b6d3fe207df",
7165
+ "contentHash": "f21e53f31d824e04c6f2b190495a73dd8168ae7acdcb8527eb87b49431373a14",
5701
7166
  "sourceKind": "component_definition",
5702
7167
  "sourceId": "praxis-chart",
5703
7168
  "corpusVersion": "1.0.0"
@@ -5705,9 +7170,9 @@
5705
7170
  {
5706
7171
  "chunkIndex": 1,
5707
7172
  "chunkKind": "authoring_manifest",
5708
- "content": "{\"operationId\":\"chart.document.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set chart document Effects: set-value. Save this chart in the editor and reopen it without changing the runtime chart document. Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy. Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>.\",\"scope\":\"global\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-document-root\",\"required\":false},\"inputContract\":{\"required\":[\"version\",\"kind\",\"source\"],\"properties\":[\"version\",\"kind\",\"chartId\",\"title\",\"subtitle\",\"source\",\"dimensions\",\"metrics\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"events\",\"referenceLines\",\"referenceBands\",\"targetMarkers\",\"comparison\",\"dataZoom\",\"axisScaleBreak\",\"labelLayout\",\"renderer\",\"epistemicMeta\",\"motion\"],\"semanticTerms\":[\"version\",\"kind\",\"chartId\",\"title\",\"subtitle\",\"source\",\"dimensions\",\"metrics\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"events\",\"referenceLines\",\"referenceBands\",\"targetMarkers\",\"comparison\",\"dataZoom\",\"axisScaleBreak\",\"labelLayout\",\"renderer\",\"epistemicMeta\",\"motion\",\"0.1.0\",\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"heatmap\",\"source.kind\",\"source.resource\",\"source.operation\",\"source.options\",\"gauge.scale\",\"boxplot.scaleMethod\",\"boxplot.showOutliers\",\"boxplot.showSampleSize\",\"boxplot.iqrMultiplier\",\"boxplot.madMultiplier\",\"boxplot.quartileFields\",\"calendar.range\",\"calendar.cellSize\",\"calendar.showDayLabels\",\"calendar.showMonthLabels\",\"calendar.firstDayOfWeek\",\"calendar.dateField\",\"calendar.endDateField\",\"calendar.colorScale\",\"waterfall.roleField\",\"waterfall.roles\",\"waterfall.showConnectors\",\"waterfall.appendTotal\",\"waterfall.totalLabel\",\"canvas\",\"svg\",\"motion.enabled\",\"motion.preset\",\"praxis.stats\",\"derived\",\"group-by\",\"timeseries\",\"distribution\",\"source.options.timezone\",\"source.options.periodField\",\"source.options.periodPreset\",\"source.options.fillGaps\",\"source.options.comparisonPeriod\"]},\"effects\":[\"set-value\"],\"affectedPaths\":[\"chartDocument\"],\"validators\":[{\"validatorId\":\"chart-document-shape\",\"level\":\"error\",\"code\":\"CHART_DOCUMENT_SHAPE\",\"description\":\"Document must conform to PraxisXUiChartContract.\"},{\"validatorId\":\"chart-version-supported\",\"level\":\"error\",\"code\":\"CHART_VERSION_SUPPORTED\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"gauge-scale-valid\",\"level\":\"error\",\"code\":\"GAUGE_SCALE_VALID\",\"description\":\"Gauge scale requires finite min and max values with max greater than min; runtime rejects values outside the declared scale without clamping.\"},{\"validatorId\":\"boxplot-quartiles-valid\",\"level\":\"error\",\"code\":\"BOXPLOT_QUARTILES_VALID\",\"description\":\"Boxplot charts over praxis.stats group-by require MIN, PERCENTILE_25, MEDIAN/PERCENTILE_50, PERCENTILE_75 and MAX metrics, while scaleMethod supports Tukey (iqrMultiplier) or Robust MAD (madMultiplier).\"},{\"validatorId\":\"calendar-range-valid\",\"level\":\"error\",\"code\":\"CALENDAR_RANGE_VALID\",\"description\":\"Calendar charts require valid YYYY, YYYY-MM, YYYY-S1/S2, YYYY-H1/H2 or [YYYY-MM-DD, YYYY-MM-DD] bounds, DAY granularity over stats and strict distinction between 0 and null/omitted.\"},{\"validatorId\":\"waterfall-roles-valid\",\"level\":\"error\",\"code\":\"WATERFALL_ROLES_VALID\",\"description\":\"Waterfall charts require explicit step order and valid step roles (start, increase, decrease, subtotal, total).\"},{\"validatorId\":\"sankey-dag-acyclic\",\"level\":\"error\",\"code\":\"SANKEY_DAG_ACYCLIC\",\"description\":\"Sankey flows require an acyclic directed graph (no cycles or self-loops) aligned with the nodes/links contract of <praxis-relationship-graph> (#668); cyclic graphs must use <praxis-relationship-graph>.\"},{\"validatorId\":\"hierarchy-multilevel-contract\",\"level\":\"error\",\"code\":\"HIERARCHY_MULTILEVEL_CONTRACT\",\"description\":\"Sunburst and multilevel treemap share ordered dimensions[] or explicit path/parentId/children hierarchies with bottom-up proportional aggregation while keeping 1D flat treemaps unchanged.\"},{\"validatorId\":\"radar-indicators-valid\",\"level\":\"error\",\"code\":\"RADAR_INDICATORS_VALID\",\"description\":\"Multidimensional RadarChart requires >= 3 indicators with finite bounds where max > min; do not confuse RadarChart with the business term \\\"Radar Preventivo\\\".\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"round-trip-editor-runtime\",\"request\":\"Save this chart in the editor and reopen it without changing the runtime chart document.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"total\",\"aggregation\":\"count\"}]},\"isPositive\":true},{\"id\":\"set-sunburst-hierarchy\",\"request\":\"Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sunburst\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"orgao\"},{\"field\":\"subempresa\"},{\"field\":\"setor\"}],\"metrics\":[{\"field\":\"headcount\",\"aggregation\":\"sum\"}]},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-cyclic-sankey\",\"request\":\"Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sankey\",\"source\":{\"kind\":\"derived\"},\"sankey\":{\"links\":[{\"source\":\"A\",\"target\":\"B\",\"value\":10},{\"source\":\"B\",\"target\":\"A\",\"value\":5}]}},\"isPositive\":false}]}",
7173
+ "content": "{\"operationId\":\"chart.document.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set chart document Effects: set-value. Save this chart in the editor and reopen it without changing the runtime chart document. Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy. Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>. Attach an errorBar to a stacked-bar chart metric.\",\"scope\":\"global\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-document-root\",\"required\":false},\"inputContract\":{\"required\":[\"version\",\"kind\",\"source\"],\"properties\":[\"version\",\"kind\",\"chartId\",\"title\",\"subtitle\",\"source\",\"dimensions\",\"metrics\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"events\",\"referenceLines\",\"referenceBands\",\"targetMarkers\",\"comparison\",\"dataZoom\",\"axisScaleBreak\",\"labelLayout\",\"renderer\",\"epistemicMeta\",\"motion\"],\"semanticTerms\":[\"version\",\"kind\",\"chartId\",\"title\",\"subtitle\",\"source\",\"dimensions\",\"metrics\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"events\",\"referenceLines\",\"referenceBands\",\"targetMarkers\",\"comparison\",\"dataZoom\",\"axisScaleBreak\",\"labelLayout\",\"renderer\",\"epistemicMeta\",\"motion\",\"0.1.0\",\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"heatmap\",\"matrix-grid\",\"range-comparison\",\"beeswarm\",\"parallel\",\"chord\",\"source.kind\",\"source.resource\",\"source.operation\",\"source.options\",\"gauge.scale\",\"boxplot.scaleMethod\",\"boxplot.showOutliers\",\"boxplot.showSampleSize\",\"boxplot.iqrMultiplier\",\"boxplot.madMultiplier\",\"boxplot.quartileFields\",\"calendar.range\",\"calendar.cellSize\",\"calendar.showDayLabels\",\"calendar.showMonthLabels\",\"calendar.firstDayOfWeek\",\"calendar.dateField\",\"calendar.endDateField\",\"calendar.colorScale\",\"waterfall.roleField\",\"waterfall.roles\",\"waterfall.showConnectors\",\"waterfall.appendTotal\",\"waterfall.totalLabel\",\"canvas\",\"svg\",\"epistemicMeta.kind\",\"epistemicMeta.availabilityState\",\"epistemicMeta.statisticallySignificant\",\"epistemicMeta.qValueFdr\",\"epistemicMeta.sampleSize\",\"epistemicMeta.suppressedCellCount\",\"epistemicMeta.provenanceHash\"]},\"effects\":[\"set-value\"],\"affectedPaths\":[\"chartDocument\"],\"validators\":[{\"validatorId\":\"chart-document-shape\",\"level\":\"error\",\"code\":\"CHART_DOCUMENT_SHAPE\",\"description\":\"Document must conform to PraxisXUiChartContract.\"},{\"validatorId\":\"chart-version-supported\",\"level\":\"error\",\"code\":\"CHART_VERSION_SUPPORTED\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"gauge-scale-valid\",\"level\":\"error\",\"code\":\"GAUGE_SCALE_VALID\",\"description\":\"Gauge scale requires finite min and max values with max greater than min; runtime rejects values outside the declared scale without clamping.\"},{\"validatorId\":\"boxplot-quartiles-valid\",\"level\":\"error\",\"code\":\"BOXPLOT_QUARTILES_VALID\",\"description\":\"Boxplot charts over praxis.stats group-by require MIN, PERCENTILE_25, MEDIAN/PERCENTILE_50, PERCENTILE_75 and MAX metrics, while scaleMethod supports Tukey (iqrMultiplier) or Robust MAD (madMultiplier).\"},{\"validatorId\":\"calendar-range-valid\",\"level\":\"error\",\"code\":\"CALENDAR_RANGE_VALID\",\"description\":\"Calendar charts require valid YYYY, YYYY-MM, YYYY-S1/S2, YYYY-H1/H2 or [YYYY-MM-DD, YYYY-MM-DD] bounds, DAY granularity over stats and strict distinction between 0 and null/omitted.\"},{\"validatorId\":\"waterfall-roles-valid\",\"level\":\"error\",\"code\":\"WATERFALL_ROLES_VALID\",\"description\":\"Waterfall charts require explicit step order and valid step roles (start, increase, decrease, subtotal, total).\"},{\"validatorId\":\"sankey-dag-acyclic\",\"level\":\"error\",\"code\":\"SANKEY_DAG_ACYCLIC\",\"description\":\"Sankey flows require an acyclic directed graph (no cycles or self-loops) aligned with the nodes/links contract of <praxis-relationship-graph> (#668); cyclic graphs must use <praxis-relationship-graph>.\"},{\"validatorId\":\"hierarchy-multilevel-contract\",\"level\":\"error\",\"code\":\"HIERARCHY_MULTILEVEL_CONTRACT\",\"description\":\"Sunburst and multilevel treemap share ordered dimensions[] or explicit path/parentId/children hierarchies with bottom-up proportional aggregation while keeping 1D flat treemaps unchanged.\"},{\"validatorId\":\"radar-indicators-valid\",\"level\":\"error\",\"code\":\"RADAR_INDICATORS_VALID\",\"description\":\"Multidimensional RadarChart requires >= 3 indicators with finite bounds where max > min; do not confuse RadarChart with the business term \\\"Radar Preventivo\\\".\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"round-trip-editor-runtime\",\"request\":\"Save this chart in the editor and reopen it without changing the runtime chart document.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"total\",\"aggregation\":\"count\"}]},\"isPositive\":true},{\"id\":\"set-sunburst-hierarchy\",\"request\":\"Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sunburst\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"orgao\"},{\"field\":\"subempresa\"},{\"field\":\"setor\"}],\"metrics\":[{\"field\":\"headcount\",\"aggregation\":\"sum\"}]},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-cyclic-sankey\",\"request\":\"Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sankey\",\"source\":{\"kind\":\"derived\"},\"sankey\":{\"links\":[{\"source\":\"A\",\"target\":\"B\",\"value\":10},{\"source\":\"B\",\"target\":\"A\",\"value\":5}]}},\"isPositive\":false},{\"id\":\"reject-error-bar-on-stacked-bar\",\"request\":\"Attach an errorBar to a stacked-bar chart metric.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"stacked-bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"segment\"}],\"metrics\":[{\"field\":\"effectSize\",\"errorBar\":{\"lowField\":\"ciLow\",\"highField\":\"ciHigh\"}}]},\"isPositive\":false}]}",
5709
7174
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5710
- "contentHash": "f4a62f82a8cac074b252666f09b87dc7357517ce3bdd3ba1019a15eca8843527",
7175
+ "contentHash": "43f68f98b4f161e088cfe1f1bfc7d337ab1680144eff7c17abff272427e4a6b9",
5711
7176
  "sourceKind": "component_definition",
5712
7177
  "sourceId": "praxis-chart",
5713
7178
  "corpusVersion": "1.0.0"
@@ -5715,9 +7180,9 @@
5715
7180
  {
5716
7181
  "chunkIndex": 2,
5717
7182
  "chunkKind": "authoring_manifest",
5718
- "content": "{\"operationId\":\"chart.type.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set chart type Effects: merge-object. Use a bar chart for employees by department. Show ticket response distribution by team using a boxplot with outliers. Display daily activity density for 2026-03 as a calendar heatmap. Show revenue bridge from start to net total using a waterfall chart. Render an acyclic proportional flow from triage to approval using canonical Sankey links. Compare employee competencies against target bounds on a multidimensional radar chart. Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"scope\":\"global\",\"target\":{\"kind\":\"chartType\",\"resolver\":\"x-ui-chart-kind\",\"required\":false},\"inputContract\":{\"required\":[\"kind\"],\"properties\":[\"kind\",\"orientation\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\"],\"semanticTerms\":[\"kind\",\"orientation\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"heatmap\",\"vertical\",\"horizontal\",\"gauge.scale\",\"gauge.scale.min\",\"gauge.scale.max\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"chartDocument.kind\",\"chartDocument.orientation\",\"chartDocument.metrics[]\",\"chartDocument.dimensions[]\",\"chartDocument.gauge.scale\",\"chartDocument.boxplot\",\"chartDocument.calendar\",\"chartDocument.waterfall\",\"chartDocument.sankey\",\"chartDocument.hierarchy\",\"chartDocument.radar\"],\"validators\":[{\"validatorId\":\"chart-type-supported\",\"level\":\"error\",\"code\":\"CHART_TYPE_SUPPORTED\",\"description\":\"Chart kind must be supported by @praxisui/charts.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"category-slice-single-metric\",\"level\":\"error\",\"code\":\"CATEGORY_SLICE_SINGLE_METRIC\",\"description\":\"Pie, donut, funnel, pyramid and treemap charts require exactly one metric.\"},{\"validatorId\":\"combo-minimum-series\",\"level\":\"error\",\"code\":\"COMBO_MINIMUM_SERIES\",\"description\":\"Combo charts require at least two metrics.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"gauge-scale-valid\",\"level\":\"error\",\"code\":\"GAUGE_SCALE_VALID\",\"description\":\"Gauge scale requires finite min and max values with max greater than min; runtime rejects values outside the declared scale without clamping.\"},{\"validatorId\":\"boxplot-quartiles-valid\",\"level\":\"error\",\"code\":\"BOXPLOT_QUARTILES_VALID\",\"description\":\"Boxplot charts over praxis.stats group-by require MIN, PERCENTILE_25, MEDIAN/PERCENTILE_50, PERCENTILE_75 and MAX metrics, while scaleMethod supports Tukey (iqrMultiplier) or Robust MAD (madMultiplier).\"},{\"validatorId\":\"calendar-range-valid\",\"level\":\"error\",\"code\":\"CALENDAR_RANGE_VALID\",\"description\":\"Calendar charts require valid YYYY, YYYY-MM, YYYY-S1/S2, YYYY-H1/H2 or [YYYY-MM-DD, YYYY-MM-DD] bounds, DAY granularity over stats and strict distinction between 0 and null/omitted.\"},{\"validatorId\":\"waterfall-roles-valid\",\"level\":\"error\",\"code\":\"WATERFALL_ROLES_VALID\",\"description\":\"Waterfall charts require explicit step order and valid step roles (start, increase, decrease, subtotal, total).\"},{\"validatorId\":\"sankey-dag-acyclic\",\"level\":\"error\",\"code\":\"SANKEY_DAG_ACYCLIC\",\"description\":\"Sankey flows require an acyclic directed graph (no cycles or self-loops) aligned with the nodes/links contract of <praxis-relationship-graph> (#668); cyclic graphs must use <praxis-relationship-graph>.\"},{\"validatorId\":\"hierarchy-multilevel-contract\",\"level\":\"error\",\"code\":\"HIERARCHY_MULTILEVEL_CONTRACT\",\"description\":\"Sunburst and multilevel treemap share ordered dimensions[] or explicit path/parentId/children hierarchies with bottom-up proportional aggregation while keeping 1D flat treemaps unchanged.\"},{\"validatorId\":\"radar-indicators-valid\",\"level\":\"error\",\"code\":\"RADAR_INDICATORS_VALID\",\"description\":\"Multidimensional RadarChart requires >= 3 indicators with finite bounds where max > min; do not confuse RadarChart with the business term \\\"Radar Preventivo\\\".\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"set-bar-chart\",\"request\":\"Use a bar chart for employees by department.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"bar\"},\"isPositive\":true},{\"id\":\"set-boxplot-chart\",\"request\":\"Show ticket response distribution by team using a boxplot with outliers.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"boxplot\"},\"isPositive\":true},{\"id\":\"set-calendar-chart\",\"request\":\"Display daily activity density for 2026-03 as a calendar heatmap.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"calendar\"},\"isPositive\":true},{\"id\":\"set-waterfall-chart\",\"request\":\"Show revenue bridge from start to net total using a waterfall chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"waterfall\"},\"isPositive\":true},{\"id\":\"set-sankey-acyclic-flow\",\"request\":\"Render an acyclic proportional flow from triage to approval using canonical Sankey links.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"sankey\",\"sankey\":{\"sourceField\":\"origem\",\"targetField\":\"destino\",\"valueField\":\"volume\"}},\"isPositive\":true},{\"id\":\"set-radar-comparative\",\"request\":\"Compare employee competencies against target bounds on a multidimensional radar chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"shape\":\"polygon\",\"indicators\":[{\"name\":\"Entrega\",\"min\":0,\"max\":100},{\"name\":\"Qualidade\",\"min\":0,\"max\":100},{\"name\":\"Colaboração\",\"min\":0,\"max\":100}]}},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-radar-preventivo-misuse\",\"request\":\"Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"indicators\":[{\"name\":\"Elegíveis\",\"min\":0,\"max\":100}]}},\"isPositive\":false}]}",
7183
+ "content": "{\"operationId\":\"chart.type.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set chart type Effects: merge-object. Use a bar chart for employees by department. Show ticket response distribution by team using a boxplot with outliers. Display daily activity density for 2026-03 as a calendar heatmap. Show revenue bridge from start to net total using a waterfall chart. Render an acyclic proportional flow from triage to approval using canonical Sankey links. Compare employee competencies against target bounds on a multidimensional radar chart. Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"scope\":\"global\",\"target\":{\"kind\":\"chartType\",\"resolver\":\"x-ui-chart-kind\",\"required\":false},\"inputContract\":{\"required\":[\"kind\"],\"properties\":[\"kind\",\"orientation\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\"],\"semanticTerms\":[\"kind\",\"orientation\",\"gauge\",\"boxplot\",\"calendar\",\"waterfall\",\"sankey\",\"hierarchy\",\"radar\",\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"heatmap\",\"matrix-grid\",\"range-comparison\",\"beeswarm\",\"parallel\",\"chord\",\"vertical\",\"horizontal\",\"gauge.scale\",\"gauge.scale.min\",\"gauge.scale.max\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"chartDocument.kind\",\"chartDocument.orientation\",\"chartDocument.metrics[]\",\"chartDocument.dimensions[]\",\"chartDocument.gauge.scale\",\"chartDocument.boxplot\",\"chartDocument.calendar\",\"chartDocument.waterfall\",\"chartDocument.sankey\",\"chartDocument.hierarchy\",\"chartDocument.radar\"],\"validators\":[{\"validatorId\":\"chart-type-supported\",\"level\":\"error\",\"code\":\"CHART_TYPE_SUPPORTED\",\"description\":\"Chart kind must be supported by @praxisui/charts.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"category-slice-single-metric\",\"level\":\"error\",\"code\":\"CATEGORY_SLICE_SINGLE_METRIC\",\"description\":\"Pie, donut, funnel, pyramid and treemap charts require exactly one metric.\"},{\"validatorId\":\"combo-minimum-series\",\"level\":\"error\",\"code\":\"COMBO_MINIMUM_SERIES\",\"description\":\"Combo charts require at least two metrics.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"gauge-scale-valid\",\"level\":\"error\",\"code\":\"GAUGE_SCALE_VALID\",\"description\":\"Gauge scale requires finite min and max values with max greater than min; runtime rejects values outside the declared scale without clamping.\"},{\"validatorId\":\"boxplot-quartiles-valid\",\"level\":\"error\",\"code\":\"BOXPLOT_QUARTILES_VALID\",\"description\":\"Boxplot charts over praxis.stats group-by require MIN, PERCENTILE_25, MEDIAN/PERCENTILE_50, PERCENTILE_75 and MAX metrics, while scaleMethod supports Tukey (iqrMultiplier) or Robust MAD (madMultiplier).\"},{\"validatorId\":\"calendar-range-valid\",\"level\":\"error\",\"code\":\"CALENDAR_RANGE_VALID\",\"description\":\"Calendar charts require valid YYYY, YYYY-MM, YYYY-S1/S2, YYYY-H1/H2 or [YYYY-MM-DD, YYYY-MM-DD] bounds, DAY granularity over stats and strict distinction between 0 and null/omitted.\"},{\"validatorId\":\"waterfall-roles-valid\",\"level\":\"error\",\"code\":\"WATERFALL_ROLES_VALID\",\"description\":\"Waterfall charts require explicit step order and valid step roles (start, increase, decrease, subtotal, total).\"},{\"validatorId\":\"sankey-dag-acyclic\",\"level\":\"error\",\"code\":\"SANKEY_DAG_ACYCLIC\",\"description\":\"Sankey flows require an acyclic directed graph (no cycles or self-loops) aligned with the nodes/links contract of <praxis-relationship-graph> (#668); cyclic graphs must use <praxis-relationship-graph>.\"},{\"validatorId\":\"hierarchy-multilevel-contract\",\"level\":\"error\",\"code\":\"HIERARCHY_MULTILEVEL_CONTRACT\",\"description\":\"Sunburst and multilevel treemap share ordered dimensions[] or explicit path/parentId/children hierarchies with bottom-up proportional aggregation while keeping 1D flat treemaps unchanged.\"},{\"validatorId\":\"radar-indicators-valid\",\"level\":\"error\",\"code\":\"RADAR_INDICATORS_VALID\",\"description\":\"Multidimensional RadarChart requires >= 3 indicators with finite bounds where max > min; do not confuse RadarChart with the business term \\\"Radar Preventivo\\\".\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"set-bar-chart\",\"request\":\"Use a bar chart for employees by department.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"bar\"},\"isPositive\":true},{\"id\":\"set-boxplot-chart\",\"request\":\"Show ticket response distribution by team using a boxplot with outliers.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"boxplot\"},\"isPositive\":true},{\"id\":\"set-calendar-chart\",\"request\":\"Display daily activity density for 2026-03 as a calendar heatmap.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"calendar\"},\"isPositive\":true},{\"id\":\"set-waterfall-chart\",\"request\":\"Show revenue bridge from start to net total using a waterfall chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"waterfall\"},\"isPositive\":true},{\"id\":\"set-sankey-acyclic-flow\",\"request\":\"Render an acyclic proportional flow from triage to approval using canonical Sankey links.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"sankey\",\"sankey\":{\"sourceField\":\"origem\",\"targetField\":\"destino\",\"valueField\":\"volume\"}},\"isPositive\":true},{\"id\":\"set-radar-comparative\",\"request\":\"Compare employee competencies against target bounds on a multidimensional radar chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"shape\":\"polygon\",\"indicators\":[{\"name\":\"Entrega\",\"min\":0,\"max\":100},{\"name\":\"Qualidade\",\"min\":0,\"max\":100},{\"name\":\"Colaboração\",\"min\":0,\"max\":100}]}},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-radar-preventivo-misuse\",\"request\":\"Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"indicators\":[{\"name\":\"Elegíveis\",\"min\":0,\"max\":100}]}},\"isPositive\":false}]}",
5719
7184
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5720
- "contentHash": "3d4271157390b256373dec083d57582a01df0afa37d4a3d5bf5eabd238b34e26",
7185
+ "contentHash": "3f8aba61b68b10b3a62e3e61ccdc23059dc31722119ea383b896cf35f74bea0a",
5721
7186
  "sourceKind": "component_definition",
5722
7187
  "sourceId": "praxis-chart",
5723
7188
  "corpusVersion": "1.0.0"
@@ -5725,9 +7190,9 @@
5725
7190
  {
5726
7191
  "chunkIndex": 3,
5727
7192
  "chunkKind": "authoring_manifest",
5728
- "content": "{\"operationId\":\"series.add\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Add chart series Effects: compile-domain-patch. Add salary as a summed metric.\",\"scope\":\"dataBinding\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"required\":false},\"inputContract\":{\"required\":[\"field\"],\"properties\":[\"field\",\"sourceField\",\"label\",\"aggregation\",\"seriesKind\",\"axis\",\"color\",\"format\",\"afterField\"],\"semanticTerms\":[\"field\",\"sourceField\",\"label\",\"aggregation\",\"seriesKind\",\"axis\",\"color\",\"format\",\"afterField\",\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\",\"bar\",\"line\",\"area\",\"primary\",\"secondary\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"validators\":[{\"validatorId\":\"series-field-exists\",\"level\":\"error\",\"code\":\"SERIES_FIELD_EXISTS\",\"description\":\"Series field must exist in availableFields or schema context.\"},{\"validatorId\":\"series-field-aggregable\",\"level\":\"error\",\"code\":\"SERIES_FIELD_AGGREGABLE\",\"description\":\"Metric fields must support the requested aggregation.\"},{\"validatorId\":\"series-id-unique\",\"level\":\"error\",\"code\":\"SERIES_ID_UNIQUE\",\"description\":\"Metric/series identity must be stable and unique by field.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-salary-series\",\"request\":\"Add salary as a summed metric.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"salary\",\"aggregation\":\"sum\",\"label\":\"Salary\"},\"isPositive\":true}],\"negativeExamples\":[]}",
7193
+ "content": "{\"operationId\":\"series.add\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Add chart series Effects: compile-domain-patch. Add salary as a summed metric. Add a dashed projected payroll series with a 90% confidence band between p10 and p90. Add an effectSize metric with a 95% confidence interval error bar from ciLow to ciHigh.\",\"scope\":\"dataBinding\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"required\":false},\"inputContract\":{\"required\":[\"field\"],\"properties\":[\"afterField\"],\"semanticTerms\":[\"afterField\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"validators\":[{\"validatorId\":\"series-field-exists\",\"level\":\"error\",\"code\":\"SERIES_FIELD_EXISTS\",\"description\":\"Series field must exist in availableFields or schema context.\"},{\"validatorId\":\"series-field-aggregable\",\"level\":\"error\",\"code\":\"SERIES_FIELD_AGGREGABLE\",\"description\":\"Metric fields must support the requested aggregation.\"},{\"validatorId\":\"series-id-unique\",\"level\":\"error\",\"code\":\"SERIES_ID_UNIQUE\",\"description\":\"Metric/series identity must be stable and unique by field.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-salary-series\",\"request\":\"Add salary as a summed metric.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"salary\",\"aggregation\":\"sum\",\"label\":\"Salary\"},\"isPositive\":true},{\"id\":\"add-forecast-confidence-band\",\"request\":\"Add a dashed projected payroll series with a 90% confidence band between p10 and p90.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"projectedCost\",\"aggregation\":\"avg\",\"lineStyle\":\"dashed\",\"confidenceBands\":[{\"lowerField\":\"p10\",\"upperField\":\"p90\",\"level\":0.9,\"tone\":\"info\",\"opacity\":0.14}]},\"isPositive\":true},{\"id\":\"add-inference-error-bar\",\"request\":\"Add an effectSize metric with a 95% confidence interval error bar from ciLow to ciHigh.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"effectSize\",\"aggregation\":\"avg\",\"errorBar\":{\"lowField\":\"ciLow\",\"highField\":\"ciHigh\",\"level\":0.95,\"tone\":\"info\",\"capWidth\":10}},\"isPositive\":true}],\"negativeExamples\":[]}",
5729
7194
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5730
- "contentHash": "6908b9a2ae4a5f514911eadd5f2e2540056aa1b9d72d2f2e404571a966d06ab1",
7195
+ "contentHash": "b1751aa4df865855baa73bb995bde03da557490896cc7b887caddd86a967a967",
5731
7196
  "sourceKind": "component_definition",
5732
7197
  "sourceId": "praxis-chart",
5733
7198
  "corpusVersion": "1.0.0"
@@ -5755,9 +7220,9 @@
5755
7220
  {
5756
7221
  "chunkIndex": 6,
5757
7222
  "chunkKind": "authoring_manifest",
5758
- "content": "{\"operationId\":\"data.resource.bind\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Bind chart data resource Effects: compile-domain-patch. Bind this chart to payroll stats grouped by department. Compare active employees by department with the previous aligned 30-day period. Use the prompt example text to decide which backend endpoint to call.\",\"scope\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-source-and-field-catalog\",\"required\":false},\"inputContract\":{\"required\":[\"sourceKind\"],\"properties\":[\"sourceKind\",\"resource\",\"operation\",\"limit\",\"comparisonPeriod\",\"dimensions\",\"metrics\"],\"semanticTerms\":[\"sourceKind\",\"resource\",\"operation\",\"limit\",\"comparisonPeriod\",\"dimensions\",\"metrics\",\"praxis.stats\",\"derived\",\"group-by\",\"timeseries\",\"distribution\",\"comparison\",\"comparisonPeriod.field\",\"comparisonPeriod.timezone\",\"comparisonPeriod.preset\",\"comparisonPeriod.mode\",\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\",\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\",\"dimensions.field\",\"dimensions.role\",\"dimensions.extraction\",\"dimensions.alias\",\"metrics.field\",\"metrics.sourceField\",\"metrics.label\",\"metrics.aggregation\",\"metrics.seriesKind\",\"metrics.axis\",\"metrics.color\",\"metrics.format\",\"metrics.afterField\",\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\",\"bar\",\"line\",\"area\",\"primary\",\"secondary\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"chartDocument.source\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"validators\":[{\"validatorId\":\"remote-resource-in-api-metadata\",\"level\":\"error\",\"code\":\"REMOTE_RESOURCE_IN_API_METADATA\",\"description\":\"Remote praxis.stats resource must equal a governed root-relative availableResources[].path beginning with exactly one slash; a discovery id is not an executable resource path.\"},{\"validatorId\":\"bound-fields-exist\",\"level\":\"error\",\"code\":\"BOUND_FIELDS_EXIST\",\"description\":\"Bound dimensions and metrics must exist in the capability-backed field context and satisfy its operation, aggregation and distribution-mode eligibility.\"},{\"validatorId\":\"stats-operation-supported\",\"level\":\"error\",\"code\":\"STATS_OPERATION_SUPPORTED\",\"description\":\"Remote datasource operation must be supported by the stats backend.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"comparison-period-complete\",\"level\":\"error\",\"code\":\"COMPARISON_PERIOD_COMPLETE\",\"description\":\"Comparison requires a time-series eligible period field, timezone, preset and mode grounded in the governed resource capabilities.\"},{\"validatorId\":\"comparison-metrics-supported\",\"level\":\"error\",\"code\":\"COMPARISON_METRICS_SUPPORTED\",\"description\":\"Comparison requires unique metrics[] aliases using only COUNT, DISTINCT_COUNT or SUM capabilities; singular metric payloads are not authorable.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"affects-remote-binding\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"bind-stats-resource\",\"request\":\"Bind this chart to payroll stats grouped by department.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/stats/payroll\",\"operation\":\"group-by\"},\"isPositive\":true},{\"id\":\"bind-comparison-resource\",\"request\":\"Compare active employees by department with the previous aligned 30-day period.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/human-resources/employees\",\"operation\":\"comparison\",\"comparisonPeriod\":{\"field\":\"admissionDate\",\"timezone\":\"America/Sao_Paulo\",\"preset\":\"LAST_30_DAYS\",\"mode\":\"PREVIOUS_ALIGNED\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"employeeId\",\"aggregation\":\"distinct-count\"}]},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-prompt-routing\",\"request\":\"Use the prompt example text to decide which backend endpoint to call.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"from prompt example\"},\"isPositive\":false}]}",
7223
+ "content": "{\"operationId\":\"data.resource.bind\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Bind chart data resource Effects: compile-domain-patch. Bind this chart to payroll stats grouped by department. Compare active employees by department with the previous aligned 30-day period. Use the prompt example text to decide which backend endpoint to call.\",\"scope\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-source-and-field-catalog\",\"required\":false},\"inputContract\":{\"required\":[\"sourceKind\"],\"properties\":[\"sourceKind\",\"resource\",\"operation\",\"limit\",\"comparisonPeriod\",\"options\",\"dimensions\",\"metrics\"],\"semanticTerms\":[\"sourceKind\",\"resource\",\"operation\",\"limit\",\"comparisonPeriod\",\"options\",\"dimensions\",\"metrics\",\"praxis.stats\",\"derived\",\"group-by\",\"timeseries\",\"distribution\",\"comparison\",\"inference\",\"anomalies\",\"simulation\",\"counterfactual\",\"comparisonPeriod.field\",\"comparisonPeriod.timezone\",\"comparisonPeriod.preset\",\"comparisonPeriod.mode\",\"options.limit\",\"options.granularity\",\"options.from\",\"options.to\",\"options.timezone\",\"options.periodField\",\"options.periodPreset\",\"options.fillGaps\",\"options.comparisonPeriod\",\"options.tests\",\"options.groupByField\",\"options.expectedField\",\"options.observedField\",\"options.residualField\",\"options.variableOrRetroactiveEligible\",\"options.methods\",\"options.alpha\",\"options.materialityThreshold\",\"options.madThreshold\",\"options.minCohortSize\",\"options.minGroupSize\",\"options.enableBenford\",\"options.minBenfordSamples\",\"options.minBucketCount\",\"options.maxFindings\",\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\",\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\",\"options.comparisonPeriod.field\",\"options.comparisonPeriod.timezone\",\"options.comparisonPeriod.preset\",\"options.comparisonPeriod.mode\",\"dimensions.field\",\"dimensions.role\",\"dimensions.extraction\",\"dimensions.alias\",\"metrics.afterField\",\"WILCOXON_SIGNED_RANK\",\"MANN_WHITNEY_U\",\"KOLMOGOROV_SMIRNOV_2SAMP\",\"WELCH_T\",\"ONE_WAY_ANOVA\",\"CHI_SQUARE_INDEPENDENCE\",\"BENFORD_NIGRINI_MAD\",\"PAIRED_RESIDUAL_SHIFT\",\"ROBUST_MAD_ZSCORE\",\"GRUBBS_ESD\",\"NIGRINI_BENFORD\",\"EMPIRICAL_BAYES_SHRINKAGE\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"chartDocument.source\",\"chartDocument.source.options\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"validators\":[{\"validatorId\":\"remote-resource-in-api-metadata\",\"level\":\"error\",\"code\":\"REMOTE_RESOURCE_IN_API_METADATA\",\"description\":\"Remote praxis.stats resource must equal a governed root-relative availableResources[].path beginning with exactly one slash; a discovery id is not an executable resource path.\"},{\"validatorId\":\"bound-fields-exist\",\"level\":\"error\",\"code\":\"BOUND_FIELDS_EXIST\",\"description\":\"Bound dimensions and metrics must exist in the capability-backed field context and satisfy its operation, aggregation and distribution-mode eligibility.\"},{\"validatorId\":\"stats-operation-supported\",\"level\":\"error\",\"code\":\"STATS_OPERATION_SUPPORTED\",\"description\":\"Remote datasource operation must be supported by the stats backend.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"comparison-period-complete\",\"level\":\"error\",\"code\":\"COMPARISON_PERIOD_COMPLETE\",\"description\":\"Comparison requires a time-series eligible period field, timezone, preset and mode grounded in the governed resource capabilities.\"},{\"validatorId\":\"comparison-metrics-supported\",\"level\":\"error\",\"code\":\"COMPARISON_METRICS_SUPPORTED\",\"description\":\"Comparison requires unique metrics[] aliases using only COUNT, DISTINCT_COUNT or SUM capabilities; singular metric payloads are not authorable.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"affects-remote-binding\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"bind-stats-resource\",\"request\":\"Bind this chart to payroll stats grouped by department.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/stats/payroll\",\"operation\":\"group-by\"},\"isPositive\":true},{\"id\":\"bind-comparison-resource\",\"request\":\"Compare active employees by department with the previous aligned 30-day period.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/human-resources/employees\",\"operation\":\"comparison\",\"comparisonPeriod\":{\"field\":\"admissionDate\",\"timezone\":\"America/Sao_Paulo\",\"preset\":\"LAST_30_DAYS\",\"mode\":\"PREVIOUS_ALIGNED\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"employeeId\",\"aggregation\":\"distinct-count\"}]},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-prompt-routing\",\"request\":\"Use the prompt example text to decide which backend endpoint to call.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"from prompt example\"},\"isPositive\":false}]}",
5759
7224
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5760
- "contentHash": "05c04cf2fc3f8f71da0d936ffa6441a8ac0ec5cdf6f258c79c178a6ccf4c68d9",
7225
+ "contentHash": "92d0e3473a46be475be2ddd255685825b0adbb4af99f87b831611aff6946c914",
5761
7226
  "sourceKind": "component_definition",
5762
7227
  "sourceId": "praxis-chart",
5763
7228
  "corpusVersion": "1.0.0"
@@ -5875,9 +7340,9 @@
5875
7340
  {
5876
7341
  "chunkIndex": 18,
5877
7342
  "chunkKind": "authoring_manifest",
5878
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"chartDocument\",\"type\":\"PraxisXUiChartContract | null\",\"description\":\"Canonical x-ui.chart document used as the authoring source of truth.\"},{\"name\":\"config\",\"type\":\"PraxisChartConfig\",\"description\":\"Runtime chart configuration mapped from or supplied beside the canonical chart document.\"},{\"name\":\"queryContext\",\"type\":\"PraxisChartQueryContext | null\",\"description\":\"Canonical @praxisui/core query context observed by remote datasource requests; flat filters execute in praxis.stats and governed filterExpression is preserved but rejected until stats expression support is proven.\"},{\"name\":\"remoteDataResolver\",\"type\":\"PraxisChartRemoteDataResolver | null\",\"description\":\"Host-governed remote row resolver for integrations outside the default praxis.stats client.\"},{\"name\":\"dataAlternativeMode\",\"type\":\"'built-in' | 'external' | 'none'\",\"description\":\"Controls the built-in accessible data table toggle/panel ('built-in' by default; 'external' suppresses the duplicate internal table control when an orchestrator like <praxis-analytics-presentation> provides an authoritative table family; 'none' disables it).\"},{\"name\":\"externalDataAlternativeLabel\",\"type\":\"string | null\",\"description\":\"Localized label of the external table family announced in chart accessibility descriptions when dataAlternativeMode is external.\"},{\"name\":\"availableResources\",\"type\":\"ChartEditorResourceOption[]\",\"description\":\"Transient authoring catalog: id is the stable /schemas/catalog discovery identity, while path is the governed root-relative operational value persisted to chartDocument.source.resource.\"},{\"name\":\"availableFields\",\"type\":\"ChartEditorFieldOption[]\",\"description\":\"Transient capability-backed field catalog. operations, aggregations and distributionModes declare exact group-by, timeseries, distribution/terms and distribution/histogram eligibility.\"},{\"name\":\"availableTargets\",\"type\":\"ChartEditorTargetOption[]\",\"description\":\"Transient visual-authoring targets derived from existing top-level composition links to public, non-deprecated widget ports or explicitly writable declared page state; id is the unique authoring identity and events[] declares the exact structured Chart events authorized by compatible links. Raw pointClick evidence never authorizes events.pointClick, which is emitted through pointAction. Local transform.output semantic-kind inspection does not replace a Core-validated transform-output projection (P2), and the visual catalog does not yet publish the target input-schema/port projection required for end-to-end mapping validation.\"}]}",
7343
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"chartDocument\",\"type\":\"PraxisXUiChartContract | null\",\"description\":\"Canonical x-ui.chart document used as the authoring source of truth.\"},{\"name\":\"config\",\"type\":\"PraxisChartConfig\",\"description\":\"Runtime chart configuration mapped from or supplied beside the canonical chart document.\"},{\"name\":\"queryContext\",\"type\":\"PraxisChartQueryContext | null\",\"description\":\"Canonical @praxisui/core query context observed by remote datasource requests; flat filters execute in praxis.stats and governed filterExpression is preserved but rejected until stats expression support is proven.\"},{\"name\":\"remoteDataResolver\",\"type\":\"PraxisChartRemoteDataResolver | null\",\"description\":\"Host-governed remote row resolver for integrations outside the default praxis.stats client.\"},{\"name\":\"epistemicBadgeVariant\",\"type\":\"'compact' | 'detailed'\",\"description\":\"Controls whether the frameless epistemic provenance footer renders as a compact pill or a detailed guidance card.\"},{\"name\":\"dataAlternativeMode\",\"type\":\"'built-in' | 'external' | 'none'\",\"description\":\"Controls the built-in accessible data table toggle/panel ('built-in' by default; 'external' suppresses the duplicate internal table control when an orchestrator like <praxis-analytics-presentation> provides an authoritative table family; 'none' disables it).\"},{\"name\":\"externalDataAlternativeLabel\",\"type\":\"string | null\",\"description\":\"Localized label of the external table family announced in chart accessibility descriptions when dataAlternativeMode is external.\"},{\"name\":\"availableResources\",\"type\":\"ChartEditorResourceOption[]\",\"description\":\"Transient authoring catalog: id is the stable /schemas/catalog discovery identity, while path is the governed root-relative operational value persisted to chartDocument.source.resource.\"},{\"name\":\"availableFields\",\"type\":\"ChartEditorFieldOption[]\",\"description\":\"Transient capability-backed field catalog. operations, aggregations and distributionModes declare exact group-by, timeseries, distribution/terms and distribution/histogram eligibility.\"},{\"name\":\"availableTargets\",\"type\":\"ChartEditorTargetOption[]\",\"description\":\"Transient visual-authoring targets derived from existing top-level composition links to public, non-deprecated widget ports or explicitly writable declared page state; id is the unique authoring identity and events[] declares the exact structured Chart events authorized by compatible links. Raw pointClick evidence never authorizes events.pointClick, which is emitted through pointAction. Local transform.output semantic-kind inspection does not replace a Core-validated transform-output projection (P2), and the visual catalog does not yet publish the target input-schema/port projection required for end-to-end mapping validation.\"}]}",
5879
7344
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5880
- "contentHash": "826da07f583552bfe87fdc6be093025e343f4c8fd13be5dfac6b18976c060819",
7345
+ "contentHash": "ae3733839c04951679045868a2d49ad25d43c7cbb84ba9d5f45c2465496ddade",
5881
7346
  "sourceKind": "component_definition",
5882
7347
  "sourceId": "praxis-chart",
5883
7348
  "corpusVersion": "1.0.0"
@@ -5895,9 +7360,9 @@
5895
7360
  {
5896
7361
  "chunkIndex": 20,
5897
7362
  "chunkKind": "authoring_manifest",
5898
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"chart.document.set\",\"title\":\"Set chart document\",\"scope\":\"global\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-document-root\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"version\",\"kind\",\"source\"],\"allOf\":[{\"if\":{\"properties\":{\"kind\":{\"const\":\"scatter\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":2}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"heatmap\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":2,\"maxItems\":2},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\",\"gauge\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"},\"source\":{\"properties\":{\"kind\":{\"const\":\"praxis.stats\"}},\"required\":[\"kind\"]}},\"required\":[\"kind\",\"source\"]},\"then\":{\"properties\":{\"source\":{\"required\":[\"operation\",\"options\"],\"properties\":{\"operation\":{\"const\":\"group-by\"},\"options\":{\"type\":\"object\",\"required\":[\"limit\"],\"properties\":{\"limit\":{\"const\":1}}}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"boxplot\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"calendar\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"waterfall\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"sankey\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Sankey charts model acyclic directed proportional flows (DAG) using canonical nodes/links aligned with <praxis-relationship-graph> (#668) or 2D tabular dimensions.\",\"properties\":{\"sankey\":{\"type\":\"object\",\"properties\":{\"nodes\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"links\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"sourceField\":{\"type\":\"string\"},\"targetField\":{\"type\":\"string\"},\"valueField\":{\"type\":\"string\"},\"orientation\":{\"enum\":[\"horizontal\",\"vertical\"]},\"nodeAlign\":{\"enum\":[\"justify\",\"left\",\"right\"]}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"sunburst\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Sunburst charts share the ordered dimensions[] / path / parentId / children hierarchical tree contract with multilevel treemap.\",\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"hierarchy\":{\"type\":\"object\"}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"radar\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Multidimensional RadarChart over >= 3 bounded [min, max] indicators; distinct from the business domain term \\\"Radar Preventivo\\\".\",\"properties\":{\"radar\":{\"type\":\"object\",\"properties\":{\"indicators\":{\"type\":\"array\",\"minItems\":3,\"items\":{\"type\":\"object\"}},\"shape\":{\"enum\":[\"polygon\",\"circle\"]},\"splitNumber\":{\"type\":\"integer\",\"minimum\":1},\"fillArea\":{\"type\":\"boolean\"}}}}}}],\"properties\":{\"version\":{\"const\":\"0.1.0\"},\"kind\":{\"enum\":[\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"sankey\",\"radar\",\"gauge\",\"heatmap\",\"boxplot\",\"calendar\",\"waterfall\"]},\"chartId\":{\"type\":\"string\"},\"title\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"subtitle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"source\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\"]},\"options\":{\"type\":\"object\",\"properties\":{\"timezone\":{\"type\":\"string\"},\"periodField\":{\"type\":\"string\"},\"periodPreset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"fillGaps\":{\"type\":\"boolean\"},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}}}}}},\"dimensions\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}},\"boxplot\":{\"type\":\"object\",\"properties\":{\"scaleMethod\":{\"type\":\"string\",\"enum\":[\"tukey\",\"mad\"]},\"showOutliers\":{\"type\":\"boolean\"},\"showSampleSize\":{\"type\":\"boolean\"},\"iqrMultiplier\":{\"type\":\"number\",\"minimum\":0},\"madMultiplier\":{\"type\":\"number\",\"minimum\":0},\"quartileFields\":{\"type\":\"object\"}}},\"calendar\":{\"type\":\"object\",\"properties\":{\"range\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"minItems\":2,\"maxItems\":2,\"items\":{\"type\":\"string\"}}]},\"cellSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"string\"},{\"type\":\"array\"}]},\"showDayLabels\":{\"type\":\"boolean\"},\"showMonthLabels\":{\"type\":\"boolean\"},\"firstDayOfWeek\":{\"enum\":[0,1]},\"dateField\":{\"type\":\"string\"},\"endDateField\":{\"type\":\"string\"},\"colorScale\":{\"type\":\"object\"}}},\"waterfall\":{\"type\":\"object\",\"properties\":{\"roleField\":{\"type\":\"string\"},\"roles\":{\"type\":\"object\"},\"showConnectors\":{\"type\":\"boolean\"},\"appendTotal\":{\"type\":\"boolean\"},\"totalLabel\":{\"type\":\"string\"}}},\"sankey\":{\"type\":\"object\"},\"hierarchy\":{\"type\":\"object\"},\"radar\":{\"type\":\"object\"},\"events\":{\"type\":\"object\"},\"referenceLines\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"referenceBands\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"targetMarkers\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"comparison\":{\"type\":\"object\"},\"dataZoom\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"axisScaleBreak\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"labelLayout\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"renderer\":{\"enum\":[\"canvas\",\"svg\"]},\"epistemicMeta\":{\"type\":\"object\"},\"motion\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"preset\":{\"enum\":[\"subtle\",\"standard\",\"expressive\"]}}}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"chart-document-shape\",\"chart-version-supported\",\"chart-type-series-axis-compatible\",\"gauge-scalar-contract\",\"gauge-scale-valid\",\"boxplot-quartiles-valid\",\"calendar-range-valid\",\"waterfall-roles-valid\",\"sankey-dag-acyclic\",\"hierarchy-multilevel-contract\",\"radar-indicators-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
7363
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations[0]\",\"fragmentPath\":\"operations[0]\",\"fragmentIdentity\":{\"operationId\":\"chart.document.set\"},\"fragment\":{\"operationId\":\"chart.document.set\",\"title\":\"Set chart document\",\"scope\":\"global\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-document-root\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}}}}",
5899
7364
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5900
- "contentHash": "59f27bdabb8ccd37559e278ea67ff779521d6c7a4134aa9e7aa48126f1f390ed",
7365
+ "contentHash": "47797159d13df184e160188b9202b095438bd4099c569d685ece75fb7592a4e0",
5901
7366
  "sourceKind": "component_definition",
5902
7367
  "sourceId": "praxis-chart",
5903
7368
  "corpusVersion": "1.0.0"
@@ -5905,9 +7370,9 @@
5905
7370
  {
5906
7371
  "chunkIndex": 21,
5907
7372
  "chunkKind": "authoring_manifest",
5908
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"chart.type.set\",\"title\":\"Set chart type\",\"scope\":\"global\",\"targetKind\":\"chartType\",\"target\":{\"kind\":\"chartType\",\"resolver\":\"x-ui-chart-kind\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"kind\"],\"allOf\":[{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"gauge\"]}}],\"properties\":{\"kind\":{\"enum\":[\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"sankey\",\"radar\",\"gauge\",\"heatmap\",\"boxplot\",\"calendar\",\"waterfall\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}},\"boxplot\":{\"type\":\"object\"},\"calendar\":{\"type\":\"object\"},\"waterfall\":{\"type\":\"object\"},\"sankey\":{\"type\":\"object\"},\"hierarchy\":{\"type\":\"object\"},\"radar\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"chartDocument\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"chart-type-supported\",\"chart-type-series-axis-compatible\",\"category-slice-single-metric\",\"combo-minimum-series\",\"gauge-scalar-contract\",\"gauge-scale-valid\",\"boxplot-quartiles-valid\",\"calendar-range-valid\",\"waterfall-roles-valid\",\"sankey-dag-acyclic\",\"hierarchy-multilevel-contract\",\"radar-indicators-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.kind\",\"chartDocument.orientation\",\"chartDocument.metrics[]\",\"chartDocument.dimensions[]\",\"chartDocument.gauge.scale\",\"chartDocument.boxplot\",\"chartDocument.calendar\",\"chartDocument.waterfall\",\"chartDocument.sankey\",\"chartDocument.hierarchy\",\"chartDocument.radar\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"series.add\",\"title\":\"Add chart series\",\"scope\":\"dataBinding\",\"targetKind\":\"series\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"chartDocument.metrics[]\"],\"matchFields\":[\"field\",\"id\",\"name\"],\"inputMatchFields\":[\"field\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"sourceField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"aggregation\":{\"enum\":[\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\"]},\"seriesKind\":{\"enum\":[\"bar\",\"line\",\"area\"]},\"axis\":{\"enum\":[\"primary\",\"secondary\"]},\"color\":{\"type\":\"string\"},\"format\":{\"type\":\"string\"},\"afterField\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-series-add\",\"handlerContract\":{\"reads\":[\"chartDocument.kind\",\"chartDocument.metrics[]\",\"availableFields[]\"],\"writes\":[\"chartDocument.metrics[]\"],\"identityKeys\":[\"chartDocument.metrics[].field\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"sourceField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"aggregation\":{\"enum\":[\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\"]},\"seriesKind\":{\"enum\":[\"bar\",\"line\",\"area\"]},\"axis\":{\"enum\":[\"primary\",\"secondary\"]},\"color\":{\"type\":\"string\"},\"format\":{\"type\":\"string\"},\"afterField\":{\"type\":\"string\"}}},\"failureModes\":[\"field-not-in-catalog\",\"duplicate-series-field\",\"aggregation-not-supported\",\"chart-type-series-incompatible\"],\"description\":\"Adds a metric-backed series by semantic field, validating it against availableFields and chart kind compatibility before patching metrics[]. Scatter accepts at most two ordered metrics, mapped to X and Y in the dual-measure mode. Boxplot allows multiple quartile/statistical metrics sharing the same numeric field as long as (field, aggregation) pairs are distinct.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"series-field-exists\",\"series-field-aggregable\",\"series-id-unique\",\"chart-type-series-axis-compatible\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"series.remove\",\"title\":\"Remove chart series\",\"scope\":\"dataBinding\",\"targetKind\":\"series\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"chartDocument.metrics[]\"],\"matchFields\":[\"field\",\"id\",\"name\"],\"inputMatchFields\":[\"field\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"replacementField\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"remove-by-key\",\"path\":\"chartDocument.metrics[]\",\"key\":\"field\"}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"series-exists\",\"destructive-series-removal-confirmed\",\"chart-keeps-required-metric\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-series-exists\",\"confirmation-collected\"]},{\"operationId\":\"axis.configure\",\"title\":\"Configure chart axis\",\"scope\":\"dataBinding\",\"targetKind\":\"axis\",\"target\":{\"kind\":\"axis\",\"resolver\":\"x-ui-chart-dimension-or-metric-axis\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"dimensionField\":{\"type\":\"string\"},\"dimensionRole\":{\"enum\":[\"category\",\"series\",\"segment\",\"time\",\"value\"]},\"metricField\":{\"type\":\"string\"},\"metricAxis\":{\"enum\":[\"primary\",\"secondary\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-axis-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.kind\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\",\"availableFields[]\"],\"writes\":[\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\",\"chartDocument.orientation\"],\"identityKeys\":[\"chartDocument.dimensions[].field\",\"chartDocument.metrics[].field\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"dimensionField\":{\"type\":\"string\"},\"dimensionRole\":{\"enum\":[\"category\",\"series\",\"segment\",\"time\",\"value\"]},\"metricField\":{\"type\":\"string\"},\"metricAxis\":{\"enum\":[\"primary\",\"secondary\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]}}},\"failureModes\":[\"field-not-in-catalog\",\"secondary-axis-non-combo\",\"missing-required-dimension\",\"axis-role-incompatible\"],\"description\":\"Configures dimensions and metric axes using semantic fields, preserving combo-only secondary axis constraints.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"axis-field-exists\",\"secondary-axis-combo-only\",\"cartesian-dimension-required\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.dimensions[]\",\"chartDocument.metrics[].axis\",\"chartDocument.orientation\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
7373
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations[0].inputSchema\",\"fragmentPath\":\"operations[0].inputSchema\",\"fragmentIdentity\":{\"operationId\":\"chart.document.set\",\"type\":\"object\"},\"fragment\":{\"type\":\"object\",\"required\":[\"version\",\"kind\",\"source\"],\"allOf\":[{\"if\":{\"properties\":{\"kind\":{\"const\":\"scatter\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":2}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"heatmap\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":2,\"maxItems\":2},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\",\"gauge\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"},\"source\":{\"properties\":{\"kind\":{\"const\":\"praxis.stats\"}},\"required\":[\"kind\"]}},\"required\":[\"kind\",\"source\"]},\"then\":{\"properties\":{\"source\":{\"required\":[\"operation\",\"options\"],\"properties\":{\"operation\":{\"const\":\"group-by\"},\"options\":{\"type\":\"object\",\"required\":[\"limit\"],\"properties\":{\"limit\":{\"const\":1}}}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"boxplot\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"calendar\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"waterfall\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"dimensions\",\"metrics\"],\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"metrics\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":1}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"sankey\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Sankey charts model acyclic directed proportional flows (DAG) using canonical nodes/links aligned with <praxis-relationship-graph> (#668) or 2D tabular dimensions.\",\"properties\":{\"sankey\":{\"type\":\"object\",\"properties\":{\"nodes\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"links\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"sourceField\":{\"type\":\"string\"},\"targetField\":{\"type\":\"string\"},\"valueField\":{\"type\":\"string\"},\"orientation\":{\"enum\":[\"horizontal\",\"vertical\"]},\"nodeAlign\":{\"enum\":[\"justify\",\"left\",\"right\"]}}}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"sunburst\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Sunburst charts share the ordered dimensions[] / path / parentId / children hierarchical tree contract with multilevel treemap.\",\"properties\":{\"dimensions\":{\"type\":\"array\",\"minItems\":1},\"hierarchy\":{\"type\":\"object\"}}}},{\"if\":{\"properties\":{\"kind\":{\"const\":\"radar\"}},\"required\":[\"kind\"]},\"then\":{\"description\":\"Multidimensional RadarChart over >= 3 bounded [min, max] indicators; distinct from the business domain term \\\"Radar Preventivo\\\".\",\"properties\":{\"radar\":{\"type\":\"object\",\"properties\":{\"indicators\":{\"type\":\"array\",\"minItems\":3,\"items\":{\"type\":\"object\"}},\"shape\":{\"enum\":[\"polygon\",\"circle\"]},\"splitNumber\":{\"type\":\"integer\",\"minimum\":1},\"fillArea\":{\"type\":\"boolean\"}}}}}}]}}",
5909
7374
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5910
- "contentHash": "6dfe3688477db6d12ad26435261fbf45b2e71b9c851a20278a5ec66dca4b3b25",
7375
+ "contentHash": "673d7fd01b9d637046dd4ce7c952052daa251ed75806f231837119a9b377f5be",
5911
7376
  "sourceKind": "component_definition",
5912
7377
  "sourceId": "praxis-chart",
5913
7378
  "corpusVersion": "1.0.0"
@@ -5915,9 +7380,9 @@
5915
7380
  {
5916
7381
  "chunkIndex": 22,
5917
7382
  "chunkKind": "authoring_manifest",
5918
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"data.resource.bind\",\"title\":\"Bind chart data resource\",\"scope\":\"dataBinding\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-source-and-field-catalog\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.source\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceKind\"],\"properties\":{\"sourceKind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\",\"pattern\":\"^/(?!/)\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\"]},\"limit\":{\"type\":\"integer\",\"minimum\":1},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"dimensions\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"extraction\":{\"type\":\"string\"},\"alias\":{\"type\":\"string\"}}}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"sourceField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"aggregation\":{\"enum\":[\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\"]},\"seriesKind\":{\"enum\":[\"bar\",\"line\",\"area\"]},\"axis\":{\"enum\":[\"primary\",\"secondary\"]},\"color\":{\"type\":\"string\"},\"format\":{\"type\":\"string\"},\"afterField\":{\"type\":\"string\"}}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-data-resource-bind\",\"handlerContract\":{\"reads\":[\"availableResources[]\",\"availableFields[]\",\"chartDocument.source\",\"chartDocument.source.options.limit\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"writes\":[\"chartDocument.source\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"identityKeys\":[\"availableResources[].path\",\"availableFields[].field\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceKind\"],\"properties\":{\"sourceKind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\",\"pattern\":\"^/(?!/)\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\"]},\"limit\":{\"type\":\"integer\",\"minimum\":1},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"dimensions\":{\"type\":\"array\"},\"metrics\":{\"type\":\"array\"}}},\"failureModes\":[\"resource-not-in-api-metadata\",\"field-not-in-schema\",\"stats-operation-not-supported\",\"gauge-limit-required\",\"comparison-period-incomplete\",\"comparison-metric-unsupported\",\"remote-binding-incomplete\"],\"description\":\"Binds a derived or praxis.stats source using governed resource, capability and field catalogs. For praxis.stats, availableResources[].id is discovery-only: validation requires the matching availableResources[].path and compilation persists that path. Gauge bindings preserve the canonical scalar limit; comparison requires one canonical operation, metrics[] and an eligible period field.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"remote-resource-in-api-metadata\",\"bound-fields-exist\",\"stats-operation-supported\",\"chart-type-series-axis-compatible\",\"comparison-period-complete\",\"comparison-metrics-supported\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.source\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"submissionImpact\":\"affects-remote-binding\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"queryContext.set\",\"title\":\"Set chart query context\",\"scope\":\"dataBinding\",\"targetKind\":\"queryContext\",\"target\":{\"kind\":\"queryContext\",\"resolver\":\"praxis-chart-query-context\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"queryContext\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"filters\":{\"type\":\"object\"},\"filterExpression\":{\"type\":\"object\"},\"sort\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"limit\":{\"type\":\"number\"},\"page\":{\"type\":\"object\"},\"meta\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"queryContext\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"query-context-structured\",\"query-context-filter-expression-stats-unsupported\",\"query-context-fields-exist\",\"query-context-safe-values\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"queryContext\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"gauge.scale.configure\",\"title\":\"Configure gauge scale\",\"scope\":\"layout\",\"targetKind\":\"gaugeScale\",\"target\":{\"kind\":\"gaugeScale\",\"resolver\":\"x-ui-chart-gauge-scale\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.gauge.scale\",\"chartDocument.gauge\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.gauge.scale\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"gauge-scale-valid\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.gauge.scale\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"chart-kind-gauge\"]},{\"operationId\":\"pointClick.configure\",\"title\":\"Configure chart point click\",\"scope\":\"eventMapping\",\"targetKind\":\"pointClick\",\"target\":{\"kind\":\"pointClick\",\"resolver\":\"x-ui-chart-events-point-click\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-point-click-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.pointClick\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.pointClick\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures pointClick through the pointAction output while keeping pointClick as raw point evidence.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"point-click-action-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.pointClick\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]}]}",
7383
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations[0].inputSchema\",\"fragmentPath\":\"operations[0].inputSchema\",\"fragmentIdentity\":{\"operationId\":\"chart.document.set\",\"type\":\"object\"},\"fragment\":{\"properties\":{\"version\":{\"const\":\"0.1.0\"},\"kind\":{\"enum\":[\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"sankey\",\"radar\",\"gauge\",\"heatmap\",\"boxplot\",\"calendar\",\"waterfall\",\"matrix-grid\",\"range-comparison\",\"beeswarm\",\"parallel\",\"chord\"]},\"chartId\":{\"type\":\"string\"},\"title\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"subtitle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"source\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\",\"inference\",\"anomalies\",\"simulation\",\"counterfactual\"]},\"options\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"integer\",\"minimum\":1},\"granularity\":{\"type\":\"string\"},\"from\":{\"type\":\"string\"},\"to\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"periodField\":{\"type\":\"string\"},\"periodPreset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"fillGaps\":{\"type\":\"boolean\"},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"tests\":{\"type\":\"array\",\"items\":{\"enum\":[\"WILCOXON_SIGNED_RANK\",\"MANN_WHITNEY_U\",\"KOLMOGOROV_SMIRNOV_2SAMP\",\"WELCH_T\",\"ONE_WAY_ANOVA\",\"CHI_SQUARE_INDEPENDENCE\",\"BENFORD_NIGRINI_MAD\"]}},\"groupByField\":{\"type\":\"string\"},\"expectedField\":{\"type\":\"string\"},\"observedField\":{\"type\":\"string\"},\"residualField\":{\"type\":\"string\"},\"variableOrRetroactiveEligible\":{\"type\":\"boolean\"},\"methods\":{\"type\":\"array\",\"items\":{\"enum\":[\"PAIRED_RESIDUAL_SHIFT\",\"ROBUST_MAD_ZSCORE\",\"GRUBBS_ESD\",\"NIGRINI_BENFORD\",\"EMPIRICAL_BAYES_SHRINKAGE\"]}},\"alpha\":{\"type\":\"number\",\"exclusiveMinimum\":0,\"exclusiveMaximum\":1},\"materialityThreshold\":{\"type\":\"number\",\"minimum\":0},\"madThreshold\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"minCohortSize\":{\"type\":\"integer\",\"minimum\":1},\"minGroupSize\":{\"type\":\"integer\",\"minimum\":1},\"enableBenford\":{\"type\":\"boolean\"},\"minBenfordSamples\":{\"type\":\"integer\",\"minimum\":1},\"minBucketCount\":{\"type\":\"integer\",\"minimum\":1},\"maxFindings\":{\"type\":\"integer\",\"minimum\":1}}}}},\"dimensions\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"sourceField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"aggregation\":{\"enum\":[\"sum\",\"avg\",\"min\",\"max\",\"median\",\"percentile-10\",\"percentile-25\",\"percentile-50\",\"percentile-75\",\"percentile-90\",\"percentile-95\",\"percentile-99\",\"count\",\"distinct-count\",\"avg-per-cycle-occurrence\"]},\"seriesKind\":{\"enum\":[\"bar\",\"line\",\"area\"]},\"axis\":{\"enum\":[\"primary\",\"secondary\"]},\"color\":{\"type\":\"string\"},\"format\":{\"type\":\"string\"},\"lineStyle\":{\"enum\":[\"solid\",\"dashed\",\"dotted\"]},\"step\":{\"enum\":[false,\"start\",\"middle\",\"end\"]},\"connectNulls\":{\"type\":\"boolean\"},\"confidenceBands\":{\"type\":\"array\",\"maxItems\":3,\"items\":{\"type\":\"object\",\"required\":[\"lowerField\",\"upperField\"],\"properties\":{\"id\":{\"type\":\"string\"},\"lowerField\":{\"type\":\"string\"},\"upperField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"level\":{\"type\":\"number\",\"exclusiveMinimum\":0,\"exclusiveMaximum\":1},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"color\":{\"type\":\"string\"},\"opacity\":{\"type\":\"number\",\"minimum\":0.05,\"maximum\":0.6}}}},\"errorBar\":{\"type\":\"object\",\"required\":[\"lowField\",\"highField\"],\"properties\":{\"lowField\":{\"type\":\"string\"},\"highField\":{\"type\":\"string\"},\"label\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"level\":{\"type\":\"number\",\"exclusiveMinimum\":0,\"exclusiveMaximum\":1},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"color\":{\"type\":\"string\"},\"capWidth\":{\"type\":\"number\",\"minimum\":4,\"maximum\":24},\"lineWidth\":{\"type\":\"number\",\"minimum\":1,\"maximum\":4}}}}}},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}},\"boxplot\":{\"type\":\"object\",\"properties\":{\"scaleMethod\":{\"type\":\"string\",\"enum\":[\"tukey\",\"mad\"]},\"showOutliers\":{\"type\":\"boolean\"},\"showSampleSize\":{\"type\":\"boolean\"},\"iqrMultiplier\":{\"type\":\"number\",\"minimum\":0},\"madMultiplier\":{\"type\":\"number\",\"minimum\":0},\"quartileFields\":{\"type\":\"object\"}}},\"calendar\":{\"type\":\"object\",\"properties\":{\"range\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"minItems\":2,\"maxItems\":2,\"items\":{\"type\":\"string\"}}]},\"cellSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"string\"},{\"type\":\"array\"}]},\"showDayLabels\":{\"type\":\"boolean\"},\"showMonthLabels\":{\"type\":\"boolean\"},\"firstDayOfWeek\":{\"enum\":[0,1]},\"dateField\":{\"type\":\"string\"},\"endDateField\":{\"type\":\"string\"},\"colorScale\":{\"type\":\"object\"}}},\"waterfall\":{\"type\":\"object\",\"properties\":{\"roleField\":{\"type\":\"string\"},\"roles\":{\"type\":\"object\"},\"showConnectors\":{\"type\":\"boolean\"},\"appendTotal\":{\"type\":\"boolean\"},\"totalLabel\":{\"type\":\"string\"}}},\"sankey\":{\"type\":\"object\"},\"hierarchy\":{\"type\":\"object\"},\"radar\":{\"type\":\"object\"},\"events\":{\"type\":\"object\"},\"referenceLines\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"referenceBands\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"targetMarkers\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"comparison\":{\"type\":\"object\"},\"dataZoom\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"axisScaleBreak\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"labelLayout\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"renderer\":{\"enum\":[\"canvas\",\"svg\"]},\"epistemicMeta\":{\"type\":\"object\",\"properties\":{\"kind\":{\"enum\":[\"DETERMINISTIC_LAW\",\"CALIBRATED_PROBABILITY\",\"STOCHASTIC_SIMULATION\",\"CAUSAL_HYPOTHESIS\",\"OPTIMIZATION_RESULT\"]},\"availabilityState\":{\"enum\":[\"AVAILABLE\",\"INSUFFICIENT_SAMPLE\",\"K_ANONYMITY_SUPPRESSED\",\"ENGINE_UNAVAILABLE\",\"DEGRADED\"]},\"statisticallySignificant\":{\"type\":\"boolean\"},\"qValueFdr\":{\"type\":[\"number\",\"null\"]},\"sampleSize\":{\"type\":[\"integer\",\"null\"]},\"suppressedCellCount\":{\"type\":[\"integer\",\"null\"]},\"provenanceHash\":{\"type\":[\"string\",\"null\"]},\"modelCardId\":{\"type\":[\"string\",\"null\"]},\"datasetKey\":{\"type\":[\"string\",\"null\"]},\"methodologyNote\":{\"type\":[\"string\",\"null\"]},\"nigriniMad\":{\"type\":[\"number\",\"null\"]},\"nigriniConformity\":{\"enum\":[\"CLOSE_CONFORMITY\",\"ACCEPTABLE_CONFORMITY\",\"MARGINAL_CONFORMITY\",\"MARGINALLY_ACCEPTABLE\",\"NON_CONFORMITY\"]}}},\"motion\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"preset\":{\"enum\":[\"subtle\",\"standard\",\"expressive\"]}}}}}}",
5919
7384
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5920
- "contentHash": "68bda5c5be2f434c8dd4e7fe631668f437d8b546d1796a0f5356ad09c2f6b70d",
7385
+ "contentHash": "d10dd00779a7fd3e304a4a92084131fd12660f097b198b6a2893e2ef39c25bd9",
5921
7386
  "sourceKind": "component_definition",
5922
7387
  "sourceId": "praxis-chart",
5923
7388
  "corpusVersion": "1.0.0"
@@ -5925,9 +7390,9 @@
5925
7390
  {
5926
7391
  "chunkIndex": 23,
5927
7392
  "chunkKind": "authoring_manifest",
5928
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"crossFilter.configure\",\"title\":\"Configure chart cross-filter\",\"scope\":\"eventMapping\",\"targetKind\":\"crossFilter\",\"target\":{\"kind\":\"crossFilter\",\"resolver\":\"x-ui-chart-events-cross-filter\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-cross-filter-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.crossFilter\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.crossFilter\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures crossFilter as a structured event action emitted through the crossFilter output with safe query-context filters to a governed target. For praxis.stats rows, key is governed bucket identity and label is presentation evidence; mappings may use key when the target schema accepts that identity.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"cross-filter-output-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.crossFilter\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"drilldown.configure\",\"title\":\"Configure chart drilldown\",\"scope\":\"eventMapping\",\"targetKind\":\"drilldown\",\"target\":{\"kind\":\"drilldown\",\"resolver\":\"x-ui-chart-events-drill-down\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-drilldown-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.drillDown\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.drillDown\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"drilldown-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures drillDown through the dedicated drillDown output with governed route/widget targets and structured field mappings.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"drilldown-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.drillDown\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"selection.configure\",\"title\":\"Configure chart selection\",\"scope\":\"selection\",\"targetKind\":\"selection\",\"target\":{\"kind\":\"selection\",\"resolver\":\"x-ui-chart-events-selection-change\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-selection-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.selectionChange\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.selectionChange\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures selectionChange as single-point selection evidence whose event key is governed by the operation. Repeating the active point clears the selection and emits empty filters; selecting another point replaces it.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"selection-output-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.selectionChange\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"legend.configure\",\"title\":\"Configure chart legend\",\"scope\":\"skin\",\"targetKind\":\"legend\",\"target\":{\"kind\":\"legend\",\"resolver\":\"x-ui-chart-legend-feature\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.legend\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.legend\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"feature-toggle-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.legend\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"tooltip.configure\",\"title\":\"Configure chart tooltip\",\"scope\":\"skin\",\"targetKind\":\"tooltip\",\"target\":{\"kind\":\"tooltip\",\"resolver\":\"x-ui-chart-tooltip-feature\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.tooltip\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.tooltip\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"feature-toggle-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.tooltip\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]}]}",
7393
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations[0]\",\"fragmentPath\":\"operations[0]\",\"fragmentIdentity\":{\"operationId\":\"chart.document.set\"},\"fragment\":{\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"chart-document-shape\",\"chart-version-supported\",\"chart-type-series-axis-compatible\",\"gauge-scalar-contract\",\"gauge-scale-valid\",\"boxplot-quartiles-valid\",\"calendar-range-valid\",\"waterfall-roles-valid\",\"sankey-dag-acyclic\",\"hierarchy-multilevel-contract\",\"radar-indicators-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}}",
5929
7394
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5930
- "contentHash": "78adde36cd923c47973d38199a9ac04b9a8b1ae45c15f1dc0c9b8cdda0259f6b",
7395
+ "contentHash": "484694973f3f7221dedb07c2141b7f478d65fd5f71d41b065f52de12a80a9e36",
5931
7396
  "sourceKind": "component_definition",
5932
7397
  "sourceId": "praxis-chart",
5933
7398
  "corpusVersion": "1.0.0"
@@ -5935,9 +7400,9 @@
5935
7400
  {
5936
7401
  "chunkIndex": 24,
5937
7402
  "chunkKind": "authoring_manifest",
5938
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"annotations.configure\",\"title\":\"Configure reference lines, bands and target markers\",\"scope\":\"global\",\"targetKind\":\"annotations\",\"target\":{\"kind\":\"annotations\",\"resolver\":\"x-ui-chart-annotations\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.referenceLines\",\"chartDocument.referenceBands\",\"chartDocument.targetMarkers\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"referenceLines\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"referenceBands\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"targetMarkers\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.referenceLines\",\"inputPath\":\"referenceLines\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.referenceBands\",\"inputPath\":\"referenceBands\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.targetMarkers\",\"inputPath\":\"targetMarkers\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"annotations-bounds-valid\",\"chart-type-series-axis-compatible\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.referenceLines\",\"chartDocument.referenceBands\",\"chartDocument.targetMarkers\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"scalability.configure\",\"title\":\"Configure zoom, axis scale break, label layout, comparison deltas and renderer\",\"scope\":\"skin\",\"targetKind\":\"scalability\",\"target\":{\"kind\":\"scalability\",\"resolver\":\"x-ui-chart-scalability-renderer\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.dataZoom\",\"chartDocument.axisScaleBreak\",\"chartDocument.labelLayout\",\"chartDocument.renderer\",\"chartDocument.comparison\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"comparison\":{\"type\":\"object\"},\"dataZoom\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"axisScaleBreak\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"labelLayout\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"renderer\":{\"enum\":[\"canvas\",\"svg\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.comparison\",\"inputPath\":\"comparison\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.dataZoom\",\"inputPath\":\"dataZoom\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.axisScaleBreak\",\"inputPath\":\"axisScaleBreak\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.labelLayout\",\"inputPath\":\"labelLayout\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.renderer\",\"inputPath\":\"renderer\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"scalability-contract-valid\",\"renderer-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.comparison\",\"chartDocument.dataZoom\",\"chartDocument.axisScaleBreak\",\"chartDocument.labelLayout\",\"chartDocument.renderer\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]}]}",
7403
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"chart.type.set\",\"title\":\"Set chart type\",\"scope\":\"global\",\"targetKind\":\"chartType\",\"target\":{\"kind\":\"chartType\",\"resolver\":\"x-ui-chart-kind\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"kind\"],\"allOf\":[{\"if\":{\"properties\":{\"kind\":{\"const\":\"gauge\"}},\"required\":[\"kind\"]},\"then\":{\"required\":[\"gauge\"]}}],\"properties\":{\"kind\":{\"enum\":[\"bar\",\"combo\",\"horizontal-bar\",\"line\",\"pie\",\"donut\",\"area\",\"stacked-bar\",\"stacked-area\",\"scatter\",\"funnel\",\"pyramid\",\"treemap\",\"sunburst\",\"sankey\",\"radar\",\"gauge\",\"heatmap\",\"boxplot\",\"calendar\",\"waterfall\",\"matrix-grid\",\"range-comparison\",\"beeswarm\",\"parallel\",\"chord\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]},\"gauge\":{\"type\":\"object\",\"required\":[\"scale\"],\"properties\":{\"scale\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}}}},\"boxplot\":{\"type\":\"object\"},\"calendar\":{\"type\":\"object\"},\"waterfall\":{\"type\":\"object\"},\"sankey\":{\"type\":\"object\"},\"hierarchy\":{\"type\":\"object\"},\"radar\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"chartDocument\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"chart-type-supported\",\"chart-type-series-axis-compatible\",\"category-slice-single-metric\",\"combo-minimum-series\",\"gauge-scalar-contract\",\"gauge-scale-valid\",\"boxplot-quartiles-valid\",\"calendar-range-valid\",\"waterfall-roles-valid\",\"sankey-dag-acyclic\",\"hierarchy-multilevel-contract\",\"radar-indicators-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.kind\",\"chartDocument.orientation\",\"chartDocument.metrics[]\",\"chartDocument.dimensions[]\",\"chartDocument.gauge.scale\",\"chartDocument.boxplot\",\"chartDocument.calendar\",\"chartDocument.waterfall\",\"chartDocument.sankey\",\"chartDocument.hierarchy\",\"chartDocument.radar\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"series.add\",\"title\":\"Add chart series\",\"scope\":\"dataBinding\",\"targetKind\":\"series\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"chartDocument.metrics[]\"],\"matchFields\":[\"field\",\"id\",\"name\"],\"inputMatchFields\":[\"field\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"afterField\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-series-add\",\"handlerContract\":{\"reads\":[\"chartDocument.kind\",\"chartDocument.metrics[]\",\"availableFields[]\"],\"writes\":[\"chartDocument.metrics[]\"],\"identityKeys\":[\"chartDocument.metrics[].field\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"afterField\":{\"type\":\"string\"}}},\"failureModes\":[\"field-not-in-catalog\",\"duplicate-series-field\",\"aggregation-not-supported\",\"chart-type-series-incompatible\"],\"description\":\"Adds a metric-backed series by semantic field, validating it against availableFields and chart kind compatibility before patching metrics[]. Scatter accepts at most two ordered metrics, mapped to X and Y in the dual-measure mode. Boxplot allows multiple quartile/statistical metrics sharing the same numeric field as long as (field, aggregation) pairs are distinct.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"series-field-exists\",\"series-field-aggregable\",\"series-id-unique\",\"chart-type-series-axis-compatible\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"series.remove\",\"title\":\"Remove chart series\",\"scope\":\"dataBinding\",\"targetKind\":\"series\",\"target\":{\"kind\":\"series\",\"resolver\":\"x-ui-chart-metric-by-field\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"chartDocument.metrics[]\"],\"matchFields\":[\"field\",\"id\",\"name\"],\"inputMatchFields\":[\"field\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"replacementField\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"remove-by-key\",\"path\":\"chartDocument.metrics[]\",\"key\":\"field\"}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"series-exists\",\"destructive-series-removal-confirmed\",\"chart-keeps-required-metric\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.metrics[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-series-exists\",\"confirmation-collected\"]},{\"operationId\":\"axis.configure\",\"title\":\"Configure chart axis\",\"scope\":\"dataBinding\",\"targetKind\":\"axis\",\"target\":{\"kind\":\"axis\",\"resolver\":\"x-ui-chart-dimension-or-metric-axis\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"dimensionField\":{\"type\":\"string\"},\"dimensionRole\":{\"enum\":[\"category\",\"series\",\"segment\",\"time\",\"value\"]},\"metricField\":{\"type\":\"string\"},\"metricAxis\":{\"enum\":[\"primary\",\"secondary\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-axis-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.kind\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\",\"availableFields[]\"],\"writes\":[\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\",\"chartDocument.orientation\"],\"identityKeys\":[\"chartDocument.dimensions[].field\",\"chartDocument.metrics[].field\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"dimensionField\":{\"type\":\"string\"},\"dimensionRole\":{\"enum\":[\"category\",\"series\",\"segment\",\"time\",\"value\"]},\"metricField\":{\"type\":\"string\"},\"metricAxis\":{\"enum\":[\"primary\",\"secondary\"]},\"orientation\":{\"enum\":[\"vertical\",\"horizontal\"]}}},\"failureModes\":[\"field-not-in-catalog\",\"secondary-axis-non-combo\",\"missing-required-dimension\",\"axis-role-incompatible\"],\"description\":\"Configures dimensions and metric axes using semantic fields, preserving combo-only secondary axis constraints.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"axis-field-exists\",\"secondary-axis-combo-only\",\"cartesian-dimension-required\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.dimensions[]\",\"chartDocument.metrics[].axis\",\"chartDocument.orientation\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
5939
7404
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5940
- "contentHash": "8f1dff86add3fbabc2083169691d9dd93615acf93e36e58b83b03e5e545f83b9",
7405
+ "contentHash": "47955d7c76c08873b37737305d110e8da96c36fe941d7a13af5e57ea61f00ac3",
5941
7406
  "sourceKind": "component_definition",
5942
7407
  "sourceId": "praxis-chart",
5943
7408
  "corpusVersion": "1.0.0"
@@ -5945,6 +7410,36 @@
5945
7410
  {
5946
7411
  "chunkIndex": 25,
5947
7412
  "chunkKind": "authoring_manifest",
7413
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"data.resource.bind\",\"title\":\"Bind chart data resource\",\"scope\":\"dataBinding\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"x-ui-chart-source-and-field-catalog\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.source\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceKind\"],\"properties\":{\"sourceKind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\",\"pattern\":\"^/(?!/)\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\",\"inference\",\"anomalies\",\"simulation\",\"counterfactual\"]},\"limit\":{\"type\":\"integer\",\"minimum\":1},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"options\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"integer\",\"minimum\":1},\"granularity\":{\"type\":\"string\"},\"from\":{\"type\":\"string\"},\"to\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"periodField\":{\"type\":\"string\"},\"periodPreset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"fillGaps\":{\"type\":\"boolean\"},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"tests\":{\"type\":\"array\",\"items\":{\"enum\":[\"WILCOXON_SIGNED_RANK\",\"MANN_WHITNEY_U\",\"KOLMOGOROV_SMIRNOV_2SAMP\",\"WELCH_T\",\"ONE_WAY_ANOVA\",\"CHI_SQUARE_INDEPENDENCE\",\"BENFORD_NIGRINI_MAD\"]}},\"groupByField\":{\"type\":\"string\"},\"expectedField\":{\"type\":\"string\"},\"observedField\":{\"type\":\"string\"},\"residualField\":{\"type\":\"string\"},\"variableOrRetroactiveEligible\":{\"type\":\"boolean\"},\"methods\":{\"type\":\"array\",\"items\":{\"enum\":[\"PAIRED_RESIDUAL_SHIFT\",\"ROBUST_MAD_ZSCORE\",\"GRUBBS_ESD\",\"NIGRINI_BENFORD\",\"EMPIRICAL_BAYES_SHRINKAGE\"]}},\"alpha\":{\"type\":\"number\",\"exclusiveMinimum\":0,\"exclusiveMaximum\":1},\"materialityThreshold\":{\"type\":\"number\",\"minimum\":0},\"madThreshold\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"minCohortSize\":{\"type\":\"integer\",\"minimum\":1},\"minGroupSize\":{\"type\":\"integer\",\"minimum\":1},\"enableBenford\":{\"type\":\"boolean\"},\"minBenfordSamples\":{\"type\":\"integer\",\"minimum\":1},\"minBucketCount\":{\"type\":\"integer\",\"minimum\":1},\"maxFindings\":{\"type\":\"integer\",\"minimum\":1}}},\"dimensions\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"field\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"extraction\":{\"type\":\"string\"},\"alias\":{\"type\":\"string\"}}}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"field\"],\"properties\":{\"afterField\":{\"type\":\"string\"}}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-data-resource-bind\",\"handlerContract\":{\"reads\":[\"availableResources[]\",\"availableFields[]\",\"chartDocument.source\",\"chartDocument.source.options\",\"chartDocument.source.options.limit\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"writes\":[\"chartDocument.source\",\"chartDocument.source.options\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"identityKeys\":[\"availableResources[].path\",\"availableFields[].field\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"sourceKind\"],\"properties\":{\"sourceKind\":{\"enum\":[\"praxis.stats\",\"derived\"]},\"resource\":{\"type\":\"string\",\"pattern\":\"^/(?!/)\"},\"operation\":{\"enum\":[\"group-by\",\"timeseries\",\"distribution\",\"comparison\",\"inference\",\"anomalies\",\"simulation\",\"counterfactual\"]},\"limit\":{\"type\":\"integer\",\"minimum\":1},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"options\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"integer\",\"minimum\":1},\"granularity\":{\"type\":\"string\"},\"from\":{\"type\":\"string\"},\"to\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"periodField\":{\"type\":\"string\"},\"periodPreset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"fillGaps\":{\"type\":\"boolean\"},\"comparisonPeriod\":{\"type\":\"object\",\"required\":[\"field\",\"timezone\",\"preset\",\"mode\"],\"properties\":{\"field\":{\"type\":\"string\"},\"timezone\":{\"type\":\"string\"},\"preset\":{\"enum\":[\"TODAY\",\"YESTERDAY\",\"LAST_7_DAYS\",\"LAST_30_DAYS\",\"THIS_MONTH\",\"LAST_MONTH\",\"THIS_QUARTER\",\"THIS_YEAR\"]},\"mode\":{\"enum\":[\"PREVIOUS_ALIGNED\",\"PREVIOUS_CALENDAR_PERIOD\"]}}},\"tests\":{\"type\":\"array\",\"items\":{\"enum\":[\"WILCOXON_SIGNED_RANK\",\"MANN_WHITNEY_U\",\"KOLMOGOROV_SMIRNOV_2SAMP\",\"WELCH_T\",\"ONE_WAY_ANOVA\",\"CHI_SQUARE_INDEPENDENCE\",\"BENFORD_NIGRINI_MAD\"]}},\"groupByField\":{\"type\":\"string\"},\"expectedField\":{\"type\":\"string\"},\"observedField\":{\"type\":\"string\"},\"residualField\":{\"type\":\"string\"},\"variableOrRetroactiveEligible\":{\"type\":\"boolean\"},\"methods\":{\"type\":\"array\",\"items\":{\"enum\":[\"PAIRED_RESIDUAL_SHIFT\",\"ROBUST_MAD_ZSCORE\",\"GRUBBS_ESD\",\"NIGRINI_BENFORD\",\"EMPIRICAL_BAYES_SHRINKAGE\"]}},\"alpha\":{\"type\":\"number\",\"exclusiveMinimum\":0,\"exclusiveMaximum\":1},\"materialityThreshold\":{\"type\":\"number\",\"minimum\":0},\"madThreshold\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"minCohortSize\":{\"type\":\"integer\",\"minimum\":1},\"minGroupSize\":{\"type\":\"integer\",\"minimum\":1},\"enableBenford\":{\"type\":\"boolean\"},\"minBenfordSamples\":{\"type\":\"integer\",\"minimum\":1},\"minBucketCount\":{\"type\":\"integer\",\"minimum\":1},\"maxFindings\":{\"type\":\"integer\",\"minimum\":1}}},\"dimensions\":{\"type\":\"array\"},\"metrics\":{\"type\":\"array\"}}},\"failureModes\":[\"resource-not-in-api-metadata\",\"field-not-in-schema\",\"stats-operation-not-supported\",\"gauge-limit-required\",\"comparison-period-incomplete\",\"comparison-metric-unsupported\",\"remote-binding-incomplete\"],\"description\":\"Binds a derived or praxis.stats source using governed resource, capability and field catalogs. For praxis.stats, availableResources[].id is discovery-only: validation requires the matching availableResources[].path and compilation persists that path. Gauge bindings preserve the canonical scalar limit; comparison requires one canonical operation, metrics[] and an eligible period field.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"remote-resource-in-api-metadata\",\"bound-fields-exist\",\"stats-operation-supported\",\"chart-type-series-axis-compatible\",\"comparison-period-complete\",\"comparison-metrics-supported\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.source\",\"chartDocument.source.options\",\"chartDocument.source.options.limit\",\"chartDocument.source.options.comparisonPeriod\",\"chartDocument.dimensions[]\",\"chartDocument.metrics[]\"],\"submissionImpact\":\"affects-remote-binding\",\"preconditions\":[\"config-initialized\"]}]}",
7414
+ "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
7415
+ "contentHash": "b554fff589b53f3c9290f5f89f4ff85e825eb1f8002f696dcfd12bc8b945d768",
7416
+ "sourceKind": "component_definition",
7417
+ "sourceId": "praxis-chart",
7418
+ "corpusVersion": "1.0.0"
7419
+ },
7420
+ {
7421
+ "chunkIndex": 26,
7422
+ "chunkKind": "authoring_manifest",
7423
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"queryContext.set\",\"title\":\"Set chart query context\",\"scope\":\"dataBinding\",\"targetKind\":\"queryContext\",\"target\":{\"kind\":\"queryContext\",\"resolver\":\"praxis-chart-query-context\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"queryContext\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"filters\":{\"type\":\"object\"},\"filterExpression\":{\"type\":\"object\"},\"sort\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"limit\":{\"type\":\"number\"},\"page\":{\"type\":\"object\"},\"meta\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"queryContext\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"query-context-structured\",\"query-context-filter-expression-stats-unsupported\",\"query-context-fields-exist\",\"query-context-safe-values\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"queryContext\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"gauge.scale.configure\",\"title\":\"Configure gauge scale\",\"scope\":\"layout\",\"targetKind\":\"gaugeScale\",\"target\":{\"kind\":\"gaugeScale\",\"resolver\":\"x-ui-chart-gauge-scale\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.gauge.scale\",\"chartDocument.gauge\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"min\",\"max\"],\"properties\":{\"min\":{\"type\":\"number\"},\"max\":{\"type\":\"number\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.gauge.scale\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"gauge-scale-valid\",\"gauge-scalar-contract\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.gauge.scale\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"chart-kind-gauge\"]},{\"operationId\":\"pointClick.configure\",\"title\":\"Configure chart point click\",\"scope\":\"eventMapping\",\"targetKind\":\"pointClick\",\"target\":{\"kind\":\"pointClick\",\"resolver\":\"x-ui-chart-events-point-click\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-point-click-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.pointClick\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.pointClick\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures pointClick through the pointAction output while keeping pointClick as raw point evidence.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"point-click-action-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.pointClick\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"crossFilter.configure\",\"title\":\"Configure chart cross-filter\",\"scope\":\"eventMapping\",\"targetKind\":\"crossFilter\",\"target\":{\"kind\":\"crossFilter\",\"resolver\":\"x-ui-chart-events-cross-filter\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-cross-filter-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.crossFilter\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.crossFilter\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures crossFilter as a structured event action emitted through the crossFilter output with safe query-context filters to a governed target. For praxis.stats rows, key is governed bucket identity and label is presentation evidence; mappings may use key when the target schema accepts that identity.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"cross-filter-output-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.crossFilter\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"drilldown.configure\",\"title\":\"Configure chart drilldown\",\"scope\":\"eventMapping\",\"targetKind\":\"drilldown\",\"target\":{\"kind\":\"drilldown\",\"resolver\":\"x-ui-chart-events-drill-down\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-drilldown-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.drillDown\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.drillDown\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"drilldown-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures drillDown through the dedicated drillDown output with governed route/widget targets and structured field mappings.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"drilldown-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.drillDown\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
7424
+ "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
7425
+ "contentHash": "bf78ca1197925782819bcb04d6ee1548dca0f275d75e0962db8608d0c30ad4fb",
7426
+ "sourceKind": "component_definition",
7427
+ "sourceId": "praxis-chart",
7428
+ "corpusVersion": "1.0.0"
7429
+ },
7430
+ {
7431
+ "chunkIndex": 27,
7432
+ "chunkKind": "authoring_manifest",
7433
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"selection.configure\",\"title\":\"Configure chart selection\",\"scope\":\"selection\",\"targetKind\":\"selection\",\"target\":{\"kind\":\"selection\",\"resolver\":\"x-ui-chart-events-selection-change\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.events\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"chart-event-selection-configure\",\"handlerContract\":{\"reads\":[\"chartDocument.events.selectionChange\",\"chartDocument.dimensions[]\",\"availableTargets[]\"],\"writes\":[\"chartDocument.events.selectionChange\"],\"identityKeys\":[\"availableTargets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"action\"],\"properties\":{\"action\":{\"enum\":[\"filter-widget\",\"open-detail\",\"navigate\",\"update-context\",\"emit\"]},\"target\":{\"type\":\"string\"},\"mapping\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}}},\"failureModes\":[\"target-not-in-catalog\",\"mapping-source-field-missing\",\"mapping-target-invalid\",\"unsafe-event-action\"],\"description\":\"Configures selectionChange as single-point selection evidence whose event key is governed by the operation. Repeating the active point clears the selection and emits empty filters; selecting another point replaces it.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"selection-output-structured\",\"event-target-governed\",\"event-mapping-fields-exist\",\"event-action-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.events.selectionChange\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"legend.configure\",\"title\":\"Configure chart legend\",\"scope\":\"skin\",\"targetKind\":\"legend\",\"target\":{\"kind\":\"legend\",\"resolver\":\"x-ui-chart-legend-feature\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.legend\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.legend\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"feature-toggle-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.legend\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"tooltip.configure\",\"title\":\"Configure chart tooltip\",\"scope\":\"skin\",\"targetKind\":\"tooltip\",\"target\":{\"kind\":\"tooltip\",\"resolver\":\"x-ui-chart-tooltip-feature\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.tooltip\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.tooltip\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"feature-toggle-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.tooltip\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"annotations.configure\",\"title\":\"Configure reference lines, bands and target markers\",\"scope\":\"global\",\"targetKind\":\"annotations\",\"target\":{\"kind\":\"annotations\",\"resolver\":\"x-ui-chart-annotations\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.referenceLines\",\"chartDocument.referenceBands\",\"chartDocument.targetMarkers\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"referenceLines\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"referenceBands\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"targetMarkers\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.referenceLines\",\"inputPath\":\"referenceLines\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.referenceBands\",\"inputPath\":\"referenceBands\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.targetMarkers\",\"inputPath\":\"targetMarkers\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"annotations-bounds-valid\",\"chart-type-series-axis-compatible\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.referenceLines\",\"chartDocument.referenceBands\",\"chartDocument.targetMarkers\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"scalability.configure\",\"title\":\"Configure zoom, axis scale break, label layout, comparison deltas and renderer\",\"scope\":\"skin\",\"targetKind\":\"scalability\",\"target\":{\"kind\":\"scalability\",\"resolver\":\"x-ui-chart-scalability-renderer\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"chartDocument.dataZoom\",\"chartDocument.axisScaleBreak\",\"chartDocument.labelLayout\",\"chartDocument.renderer\",\"chartDocument.comparison\",\"chartDocument\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"comparison\":{\"type\":\"object\"},\"dataZoom\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"axisScaleBreak\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"labelLayout\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"object\"}]},\"renderer\":{\"enum\":[\"canvas\",\"svg\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"chartDocument.comparison\",\"inputPath\":\"comparison\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.dataZoom\",\"inputPath\":\"dataZoom\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.axisScaleBreak\",\"inputPath\":\"axisScaleBreak\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.labelLayout\",\"inputPath\":\"labelLayout\"},{\"kind\":\"set-value\",\"path\":\"chartDocument.renderer\",\"inputPath\":\"renderer\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"scalability-contract-valid\",\"renderer-supported\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"chartDocument.comparison\",\"chartDocument.dataZoom\",\"chartDocument.axisScaleBreak\",\"chartDocument.labelLayout\",\"chartDocument.renderer\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]}]}",
7434
+ "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
7435
+ "contentHash": "cc88c615348638cfbe138cea72b016ff6691d7ec49da5e7127705283d3f20d98",
7436
+ "sourceKind": "component_definition",
7437
+ "sourceId": "praxis-chart",
7438
+ "corpusVersion": "1.0.0"
7439
+ },
7440
+ {
7441
+ "chunkIndex": 28,
7442
+ "chunkKind": "authoring_manifest",
5948
7443
  "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"chart-document-shape\",\"level\":\"error\",\"code\":\"CHART_DOCUMENT_SHAPE\",\"description\":\"Document must conform to PraxisXUiChartContract.\"},{\"validatorId\":\"chart-version-supported\",\"level\":\"error\",\"code\":\"CHART_VERSION_SUPPORTED\"},{\"validatorId\":\"chart-type-supported\",\"level\":\"error\",\"code\":\"CHART_TYPE_SUPPORTED\",\"description\":\"Chart kind must be supported by @praxisui/charts.\"},{\"validatorId\":\"chart-type-series-axis-compatible\",\"level\":\"error\",\"code\":\"CHART_TYPE_SERIES_AXIS_COMPATIBLE\",\"description\":\"Chart kind, dimensions, metrics and axes must be compatible.\"},{\"validatorId\":\"category-slice-single-metric\",\"level\":\"error\",\"code\":\"CATEGORY_SLICE_SINGLE_METRIC\",\"description\":\"Pie, donut, funnel, pyramid and treemap charts require exactly one metric.\"},{\"validatorId\":\"combo-minimum-series\",\"level\":\"error\",\"code\":\"COMBO_MINIMUM_SERIES\",\"description\":\"Combo charts require at least two metrics.\"},{\"validatorId\":\"gauge-scalar-contract\",\"level\":\"error\",\"code\":\"GAUGE_SCALAR_CONTRACT\",\"description\":\"Gauge charts require one dimension, exactly one metric and, for praxis.stats, one group-by bucket selected with source.options.limit=1.\"},{\"validatorId\":\"gauge-scale-valid\",\"level\":\"error\",\"code\":\"GAUGE_SCALE_VALID\",\"description\":\"Gauge scale requires finite min and max values with max greater than min; runtime rejects values outside the declared scale without clamping.\"},{\"validatorId\":\"boxplot-quartiles-valid\",\"level\":\"error\",\"code\":\"BOXPLOT_QUARTILES_VALID\",\"description\":\"Boxplot charts over praxis.stats group-by require MIN, PERCENTILE_25, MEDIAN/PERCENTILE_50, PERCENTILE_75 and MAX metrics, while scaleMethod supports Tukey (iqrMultiplier) or Robust MAD (madMultiplier).\"},{\"validatorId\":\"calendar-range-valid\",\"level\":\"error\",\"code\":\"CALENDAR_RANGE_VALID\",\"description\":\"Calendar charts require valid YYYY, YYYY-MM, YYYY-S1/S2, YYYY-H1/H2 or [YYYY-MM-DD, YYYY-MM-DD] bounds, DAY granularity over stats and strict distinction between 0 and null/omitted.\"},{\"validatorId\":\"waterfall-roles-valid\",\"level\":\"error\",\"code\":\"WATERFALL_ROLES_VALID\",\"description\":\"Waterfall charts require explicit step order and valid step roles (start, increase, decrease, subtotal, total).\"},{\"validatorId\":\"sankey-dag-acyclic\",\"level\":\"error\",\"code\":\"SANKEY_DAG_ACYCLIC\",\"description\":\"Sankey flows require an acyclic directed graph (no cycles or self-loops) aligned with the nodes/links contract of <praxis-relationship-graph> (#668); cyclic graphs must use <praxis-relationship-graph>.\"},{\"validatorId\":\"hierarchy-multilevel-contract\",\"level\":\"error\",\"code\":\"HIERARCHY_MULTILEVEL_CONTRACT\",\"description\":\"Sunburst and multilevel treemap share ordered dimensions[] or explicit path/parentId/children hierarchies with bottom-up proportional aggregation while keeping 1D flat treemaps unchanged.\"},{\"validatorId\":\"radar-indicators-valid\",\"level\":\"error\",\"code\":\"RADAR_INDICATORS_VALID\",\"description\":\"Multidimensional RadarChart requires >= 3 indicators with finite bounds where max > min; do not confuse RadarChart with the business term \\\"Radar Preventivo\\\".\"},{\"validatorId\":\"series-field-exists\",\"level\":\"error\",\"code\":\"SERIES_FIELD_EXISTS\",\"description\":\"Series field must exist in availableFields or schema context.\"},{\"validatorId\":\"series-field-aggregable\",\"level\":\"error\",\"code\":\"SERIES_FIELD_AGGREGABLE\",\"description\":\"Metric fields must support the requested aggregation.\"},{\"validatorId\":\"series-id-unique\",\"level\":\"error\",\"code\":\"SERIES_ID_UNIQUE\",\"description\":\"Metric/series identity must be stable and unique by field.\"},{\"validatorId\":\"series-exists\",\"level\":\"error\",\"code\":\"SERIES_EXISTS\",\"description\":\"Series removal target must exist.\"},{\"validatorId\":\"destructive-series-removal-confirmed\",\"level\":\"error\",\"code\":\"DESTRUCTIVE_SERIES_REMOVAL_CONFIRMED\",\"description\":\"Removing a series requires explicit confirmation.\"},{\"validatorId\":\"chart-keeps-required-metric\",\"level\":\"error\",\"code\":\"CHART_KEEPS_REQUIRED_METRIC\",\"description\":\"A chart cannot be left without required metrics.\"},{\"validatorId\":\"axis-field-exists\",\"level\":\"error\",\"code\":\"AXIS_FIELD_EXISTS\",\"description\":\"Axis/dimension fields must exist in availableFields or schema context.\"},{\"validatorId\":\"secondary-axis-combo-only\",\"level\":\"error\",\"code\":\"SECONDARY_AXIS_COMBO_ONLY\",\"description\":\"Secondary axis is supported only for combo charts.\"},{\"validatorId\":\"cartesian-dimension-required\",\"level\":\"error\",\"code\":\"CARTESIAN_DIMENSION_REQUIRED\",\"description\":\"Cartesian charts require at least one dimension.\"},{\"validatorId\":\"remote-resource-in-api-metadata\",\"level\":\"error\",\"code\":\"REMOTE_RESOURCE_IN_API_METADATA\",\"description\":\"Remote praxis.stats resource must equal a governed root-relative availableResources[].path beginning with exactly one slash; a discovery id is not an executable resource path.\"},{\"validatorId\":\"bound-fields-exist\",\"level\":\"error\",\"code\":\"BOUND_FIELDS_EXIST\",\"description\":\"Bound dimensions and metrics must exist in the capability-backed field context and satisfy its operation, aggregation and distribution-mode eligibility.\"},{\"validatorId\":\"stats-operation-supported\",\"level\":\"error\",\"code\":\"STATS_OPERATION_SUPPORTED\",\"description\":\"Remote datasource operation must be supported by the stats backend.\"},{\"validatorId\":\"comparison-period-complete\",\"level\":\"error\",\"code\":\"COMPARISON_PERIOD_COMPLETE\",\"description\":\"Comparison requires a time-series eligible period field, timezone, preset and mode grounded in the governed resource capabilities.\"},{\"validatorId\":\"comparison-metrics-supported\",\"level\":\"error\",\"code\":\"COMPARISON_METRICS_SUPPORTED\",\"description\":\"Comparison requires unique metrics[] aliases using only COUNT, DISTINCT_COUNT or SUM capabilities; singular metric payloads are not authorable.\"},{\"validatorId\":\"query-context-structured\",\"level\":\"error\",\"code\":\"QUERY_CONTEXT_STRUCTURED\",\"description\":\"queryContext must use the canonical @praxisui/core structure for filters, filterExpression, sort, limit, page and meta.\"},{\"validatorId\":\"query-context-filter-expression-stats-unsupported\",\"level\":\"error\",\"code\":\"QUERY_CONTEXT_FILTER_EXPRESSION_STATS_UNSUPPORTED\",\"description\":\"praxis.stats currently executes only flat queryContext.filters; governed filterExpression must be preserved for diagnostics and rejected until backend expression support is declared.\"},{\"validatorId\":\"query-context-fields-exist\",\"level\":\"warning\",\"code\":\"QUERY_CONTEXT_FIELDS_EXIST\",\"description\":\"queryContext filter fields should exist in the schema/data context.\"},{\"validatorId\":\"query-context-safe-values\",\"level\":\"error\",\"code\":\"QUERY_CONTEXT_SAFE_VALUES\",\"description\":\"queryContext values must be serializable safe data.\"},{\"validatorId\":\"point-click-action-structured\",\"level\":\"error\",\"code\":\"POINT_CLICK_ACTION_STRUCTURED\",\"description\":\"Configured pointClick actions must be emitted through pointAction while pointClick remains raw point evidence.\"},{\"validatorId\":\"cross-filter-output-structured\",\"level\":\"error\",\"code\":\"CROSS_FILTER_OUTPUT_STRUCTURED\",\"description\":\"Cross-filter output must be structured as query-context filters.\"},{\"validatorId\":\"event-target-governed\",\"level\":\"error\",\"code\":\"EVENT_TARGET_GOVERNED\",\"description\":\"Event targets must resolve to exactly one availableTargets[].id and declare the authored event plus action; missing, duplicate or cross-event identities fail closed.\"},{\"validatorId\":\"event-mapping-fields-exist\",\"level\":\"error\",\"code\":\"EVENT_MAPPING_FIELDS_EXIST\",\"description\":\"Event mapping source fields must exist in chart data context; praxis.stats reserves key for bucket identity and label for presentation.\"},{\"validatorId\":\"event-action-supported\",\"level\":\"error\",\"code\":\"EVENT_ACTION_SUPPORTED\",\"description\":\"Event action must be one of the supported structured action kinds.\"}]}",
5949
7444
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5950
7445
  "contentHash": "09ec053f8f1a2ae08bd5c36c8e5621ed059f7f992585422101a33f4f095b085b",
@@ -5953,7 +7448,7 @@
5953
7448
  "corpusVersion": "1.0.0"
5954
7449
  },
5955
7450
  {
5956
- "chunkIndex": 26,
7451
+ "chunkIndex": 29,
5957
7452
  "chunkKind": "authoring_manifest",
5958
7453
  "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"drilldown-target-governed\",\"level\":\"error\",\"code\":\"DRILLDOWN_TARGET_GOVERNED\",\"description\":\"Drilldown target must be a governed route or widget target.\"},{\"validatorId\":\"selection-output-structured\",\"level\":\"error\",\"code\":\"SELECTION_OUTPUT_STRUCTURED\",\"description\":\"Selection output must resolve selected point filters deterministically.\"},{\"validatorId\":\"feature-toggle-valid\",\"level\":\"error\",\"code\":\"FEATURE_TOGGLE_VALID\",\"description\":\"Legend and tooltip feature values must be boolean or toggleable feature objects.\"},{\"validatorId\":\"annotations-bounds-valid\",\"level\":\"error\",\"code\":\"ANNOTATIONS_BOUNDS_VALID\",\"description\":\"Reference lines, bands (min < max) and target markers must use finite coordinates and governed semantic tones.\"},{\"validatorId\":\"scalability-contract-valid\",\"level\":\"error\",\"code\":\"SCALABILITY_CONTRACT_VALID\",\"description\":\"DataZoom ranges (0 <= startPercent < endPercent <= 100), axisScaleBreak outlier ratios/intervals and labelLayout options must be valid and renderer-neutral.\"},{\"validatorId\":\"renderer-supported\",\"level\":\"error\",\"code\":\"RENDERER_SUPPORTED\",\"description\":\"Renderer mode must be canvas or svg.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"EDITOR_RUNTIME_ROUND_TRIP\",\"description\":\"PraxisChartConfigEditor must save/reopen the same canonical document that runtime consumes.\"}]}",
5959
7454
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
@@ -5963,7 +7458,7 @@
5963
7458
  "corpusVersion": "1.0.0"
5964
7459
  },
5965
7460
  {
5966
- "chunkIndex": 27,
7461
+ "chunkIndex": 30,
5967
7462
  "chunkKind": "authoring_manifest",
5968
7463
  "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"The canonical saved shape is PraxisXUiChartContract, not raw ECharts options.\",\"PraxisChartConfigEditor must preserve chart kind, source, dimensions, metrics, events, legend, tooltip, boxplot, calendar, waterfall, referenceLines, referenceBands, targetMarkers, comparison, dataZoom, axisScaleBreak, labelLayout and renderer across apply/save/reset/reopen and visual <-> JSON round-trip.\",\"Remote bindings persist availableResources[].path; availableResources[].id remains discovery identity, and transient resource/field/target catalogs and diagnostics are never persisted in widget inputs.\",\"Comparison must preserve one canonical /stats/comparison request with metrics[] and a complete comparisonPeriod; it must not downgrade into independent group-by calls.\",\"Scatter with one metric preserves dimension-X/metric-Y semantics; scatter with two metrics preserves the dimension as grouped bucket identity and ordered metrics as X/Y.\",\"Gauge preserves one dimension, exactly one metric, finite gauge.scale bounds and, for praxis.stats, the canonical group-by request with source.options.limit=1.\",\"Sankey preserves canonical nodes/links (aligned with <praxis-relationship-graph> #668) or 2D tabular sourceField/targetField/valueField and fails deterministically on cyclic flows with a recommendation to switch to <praxis-relationship-graph>.\",\"Sunburst and multilevel treemap preserve hierarchy configuration and ordered dimensions[] without altering flat 1D treemap configs.\",\"Radar preserves bounded [min, max] indicators (>= 3 axes, max > min) and multi-series comparisons; AI agents must explicitly disambiguate RadarChart from business domain terms such as \\\"Radar Preventivo\\\" (/api/workforce/radar-previdencia-elegibilidade-vacancia).\",\"Cross-filter, drilldown and selection authoring must persist structured event actions, not prompt examples or command strings.\",\"[P1] Backend handler, resolver and validators now execute directly; end-to-end Page Builder parity remains open until assistant requests project the transient availableTargets[].events catalog through validationContext and expose its fail-closed diagnostics.\",\"[P2] Transform-output semantics and target input-schema/port fields must be materialized and validated by Core; local transform.output inspection and backend-enriched inputFields are not substitutes for those canonical projections.\",\"Enrichment of capability-backed availableFields with /schemas/filtered property metadata remains a later schema-flow gate.\"]}",
5969
7464
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
@@ -5973,11 +7468,21 @@
5973
7468
  "corpusVersion": "1.0.0"
5974
7469
  },
5975
7470
  {
5976
- "chunkIndex": 28,
7471
+ "chunkIndex": 31,
7472
+ "chunkKind": "authoring_manifest",
7473
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"set-bar-chart\",\"request\":\"Use a bar chart for employees by department.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"bar\"},\"isPositive\":true},{\"id\":\"set-boxplot-chart\",\"request\":\"Show ticket response distribution by team using a boxplot with outliers.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"boxplot\"},\"isPositive\":true},{\"id\":\"set-calendar-chart\",\"request\":\"Display daily activity density for 2026-03 as a calendar heatmap.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"calendar\"},\"isPositive\":true},{\"id\":\"set-waterfall-chart\",\"request\":\"Show revenue bridge from start to net total using a waterfall chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"waterfall\"},\"isPositive\":true},{\"id\":\"add-salary-series\",\"request\":\"Add salary as a summed metric.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"salary\",\"aggregation\":\"sum\",\"label\":\"Salary\"},\"isPositive\":true},{\"id\":\"remove-old-series\",\"request\":\"Remove the old cost series.\",\"operationId\":\"series.remove\",\"target\":\"cost\",\"params\":{\"field\":\"cost\"},\"isPositive\":true},{\"id\":\"configure-secondary-axis\",\"request\":\"Put margin on a secondary axis for the combo chart.\",\"operationId\":\"axis.configure\",\"params\":{\"metricField\":\"margin\",\"metricAxis\":\"secondary\"},\"isPositive\":true},{\"id\":\"bind-stats-resource\",\"request\":\"Bind this chart to payroll stats grouped by department.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/stats/payroll\",\"operation\":\"group-by\"},\"isPositive\":true},{\"id\":\"bind-comparison-resource\",\"request\":\"Compare active employees by department with the previous aligned 30-day period.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/human-resources/employees\",\"operation\":\"comparison\",\"comparisonPeriod\":{\"field\":\"admissionDate\",\"timezone\":\"America/Sao_Paulo\",\"preset\":\"LAST_30_DAYS\",\"mode\":\"PREVIOUS_ALIGNED\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"employeeId\",\"aggregation\":\"distinct-count\"}]},\"isPositive\":true},{\"id\":\"set-query-context\",\"request\":\"Limit the chart to active employees and sort by total descending.\",\"operationId\":\"queryContext.set\",\"params\":{\"filters\":{\"status\":\"ACTIVE\"},\"sort\":[\"total,desc\"],\"limit\":10},\"isPositive\":true},{\"id\":\"configure-cross-filter\",\"request\":\"Use selected department to filter the employee table.\",\"operationId\":\"crossFilter.configure\",\"params\":{\"action\":\"filter-widget\",\"target\":\"employeesTable\",\"mapping\":{\"department\":\"department\"}},\"isPositive\":true},{\"id\":\"configure-stats-key-cross-filter\",\"request\":\"Use the governed department bucket identity to filter the employee table.\",\"operationId\":\"crossFilter.configure\",\"params\":{\"action\":\"filter-widget\",\"target\":\"employeesTable\",\"mapping\":{\"key\":\"departmentIdsIn\"}},\"isPositive\":true},{\"id\":\"configure-drilldown\",\"request\":\"Open the department detail when a point is clicked.\",\"operationId\":\"drilldown.configure\",\"params\":{\"action\":\"navigate\",\"target\":\"/departments/detail\",\"mapping\":{\"department\":\"departmentId\"}},\"isPositive\":true},{\"id\":\"configure-selection\",\"request\":\"Emit selected department as a structured selection event.\",\"operationId\":\"selection.configure\",\"params\":{\"action\":\"emit\",\"mapping\":{\"department\":\"department\"}},\"isPositive\":true},{\"id\":\"toggle-legend\",\"request\":\"Show the legend.\",\"operationId\":\"legend.configure\",\"params\":{\"enabled\":true},\"isPositive\":true},{\"id\":\"toggle-tooltip\",\"request\":\"Disable tooltips.\",\"operationId\":\"tooltip.configure\",\"params\":{\"enabled\":false},\"isPositive\":true},{\"id\":\"configure-gauge-scale\",\"request\":\"Set the gauge scale from zero to one.\",\"operationId\":\"gauge.scale.configure\",\"params\":{\"min\":0,\"max\":1},\"isPositive\":true},{\"id\":\"configure-reference-annotations\",\"request\":\"Add an SLA warning line at 80 and safe band between 0 and 60.\",\"operationId\":\"annotations.configure\",\"params\":{\"referenceLines\":[{\"value\":80,\"axis\":\"y\",\"tone\":\"warning\",\"label\":\"SLA\"}],\"referenceBands\":[{\"min\":0,\"max\":60,\"axis\":\"y\",\"tone\":\"success\",\"label\":\"Safe\"}]},\"isPositive\":true},{\"id\":\"configure-scalability-svg\",\"request\":\"Enable temporal zoom, outlier scale break and SVG renderer.\",\"operationId\":\"scalability.configure\",\"params\":{\"dataZoom\":{\"enabled\":true,\"mode\":\"both\"},\"axisScaleBreak\":{\"enabled\":true,\"mode\":\"auto\"},\"renderer\":\"svg\"},\"isPositive\":true},{\"id\":\"round-trip-editor-runtime\",\"request\":\"Save this chart in the editor and reopen it without changing the runtime chart document.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"total\",\"aggregation\":\"count\"}]},\"isPositive\":true},{\"id\":\"reject-invalid-reference-band\",\"request\":\"Reject inverted reference band bounds.\",\"operationId\":\"annotations.configure\",\"params\":{\"referenceBands\":[{\"min\":100,\"max\":20,\"axis\":\"y\"}]},\"isPositive\":false},{\"id\":\"reject-ambiguous-series-target\",\"request\":\"Remove total when more than one chart series resolves to total.\",\"operationId\":\"series.remove\",\"target\":\"total\",\"params\":{\"field\":\"total\"},\"isPositive\":false},{\"id\":\"reject-prompt-routing\",\"request\":\"Use the prompt example text to decide which backend endpoint to call.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"from prompt example\"},\"isPositive\":false},{\"id\":\"reject-unsafe-target\",\"request\":\"Navigate to javascript:alert(1) on drilldown.\",\"operationId\":\"drilldown.configure\",\"params\":{\"event\":\"drillDown\",\"action\":\"navigate\",\"target\":\"javascript:alert(1)\"},\"isPositive\":false},{\"id\":\"set-sankey-acyclic-flow\",\"request\":\"Render an acyclic proportional flow from triage to approval using canonical Sankey links.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"sankey\",\"sankey\":{\"sourceField\":\"origem\",\"targetField\":\"destino\",\"valueField\":\"volume\"}},\"isPositive\":true},{\"id\":\"set-sunburst-hierarchy\",\"request\":\"Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sunburst\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"orgao\"},{\"field\":\"subempresa\"},{\"field\":\"setor\"}],\"metrics\":[{\"field\":\"headcount\",\"aggregation\":\"sum\"}]},\"isPositive\":true},{\"id\":\"set-radar-comparative\",\"request\":\"Compare employee competencies against target bounds on a multidimensional radar chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"shape\":\"polygon\",\"indicators\":[{\"name\":\"Entrega\",\"min\":0,\"max\":100},{\"name\":\"Qualidade\",\"min\":0,\"max\":100},{\"name\":\"Colaboração\",\"min\":0,\"max\":100}]}},\"isPositive\":true},{\"id\":\"reject-cyclic-sankey\",\"request\":\"Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sankey\",\"source\":{\"kind\":\"derived\"},\"sankey\":{\"links\":[{\"source\":\"A\",\"target\":\"B\",\"value\":10},{\"source\":\"B\",\"target\":\"A\",\"value\":5}]}},\"isPositive\":false},{\"id\":\"reject-radar-preventivo-misuse\",\"request\":\"Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"indicators\":[{\"name\":\"Elegíveis\",\"min\":0,\"max\":100}]}},\"isPositive\":false},{\"id\":\"add-forecast-confidence-band\",\"request\":\"Add a dashed projected payroll series with a 90% confidence band between p10 and p90.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"projectedCost\",\"aggregation\":\"avg\",\"lineStyle\":\"dashed\",\"confidenceBands\":[{\"lowerField\":\"p10\",\"upperField\":\"p90\",\"level\":0.9,\"tone\":\"info\",\"opacity\":0.14}]},\"isPositive\":true}]}",
7474
+ "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
7475
+ "contentHash": "82796a05f689361882620812ec18a6bf1faaf2e99f8ed6757e9e0a409fbe5057",
7476
+ "sourceKind": "component_definition",
7477
+ "sourceId": "praxis-chart",
7478
+ "corpusVersion": "1.0.0"
7479
+ },
7480
+ {
7481
+ "chunkIndex": 32,
5977
7482
  "chunkKind": "authoring_manifest",
5978
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"set-bar-chart\",\"request\":\"Use a bar chart for employees by department.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"bar\"},\"isPositive\":true},{\"id\":\"set-boxplot-chart\",\"request\":\"Show ticket response distribution by team using a boxplot with outliers.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"boxplot\"},\"isPositive\":true},{\"id\":\"set-calendar-chart\",\"request\":\"Display daily activity density for 2026-03 as a calendar heatmap.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"calendar\"},\"isPositive\":true},{\"id\":\"set-waterfall-chart\",\"request\":\"Show revenue bridge from start to net total using a waterfall chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"waterfall\"},\"isPositive\":true},{\"id\":\"add-salary-series\",\"request\":\"Add salary as a summed metric.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"salary\",\"aggregation\":\"sum\",\"label\":\"Salary\"},\"isPositive\":true},{\"id\":\"remove-old-series\",\"request\":\"Remove the old cost series.\",\"operationId\":\"series.remove\",\"target\":\"cost\",\"params\":{\"field\":\"cost\"},\"isPositive\":true},{\"id\":\"configure-secondary-axis\",\"request\":\"Put margin on a secondary axis for the combo chart.\",\"operationId\":\"axis.configure\",\"params\":{\"metricField\":\"margin\",\"metricAxis\":\"secondary\"},\"isPositive\":true},{\"id\":\"bind-stats-resource\",\"request\":\"Bind this chart to payroll stats grouped by department.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/stats/payroll\",\"operation\":\"group-by\"},\"isPositive\":true},{\"id\":\"bind-comparison-resource\",\"request\":\"Compare active employees by department with the previous aligned 30-day period.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"/api/human-resources/employees\",\"operation\":\"comparison\",\"comparisonPeriod\":{\"field\":\"admissionDate\",\"timezone\":\"America/Sao_Paulo\",\"preset\":\"LAST_30_DAYS\",\"mode\":\"PREVIOUS_ALIGNED\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"employeeId\",\"aggregation\":\"distinct-count\"}]},\"isPositive\":true},{\"id\":\"set-query-context\",\"request\":\"Limit the chart to active employees and sort by total descending.\",\"operationId\":\"queryContext.set\",\"params\":{\"filters\":{\"status\":\"ACTIVE\"},\"sort\":[\"total,desc\"],\"limit\":10},\"isPositive\":true},{\"id\":\"configure-cross-filter\",\"request\":\"Use selected department to filter the employee table.\",\"operationId\":\"crossFilter.configure\",\"params\":{\"action\":\"filter-widget\",\"target\":\"employeesTable\",\"mapping\":{\"department\":\"department\"}},\"isPositive\":true},{\"id\":\"configure-stats-key-cross-filter\",\"request\":\"Use the governed department bucket identity to filter the employee table.\",\"operationId\":\"crossFilter.configure\",\"params\":{\"action\":\"filter-widget\",\"target\":\"employeesTable\",\"mapping\":{\"key\":\"departmentIdsIn\"}},\"isPositive\":true},{\"id\":\"configure-drilldown\",\"request\":\"Open the department detail when a point is clicked.\",\"operationId\":\"drilldown.configure\",\"params\":{\"action\":\"navigate\",\"target\":\"/departments/detail\",\"mapping\":{\"department\":\"departmentId\"}},\"isPositive\":true},{\"id\":\"configure-selection\",\"request\":\"Emit selected department as a structured selection event.\",\"operationId\":\"selection.configure\",\"params\":{\"action\":\"emit\",\"mapping\":{\"department\":\"department\"}},\"isPositive\":true},{\"id\":\"toggle-legend\",\"request\":\"Show the legend.\",\"operationId\":\"legend.configure\",\"params\":{\"enabled\":true},\"isPositive\":true},{\"id\":\"toggle-tooltip\",\"request\":\"Disable tooltips.\",\"operationId\":\"tooltip.configure\",\"params\":{\"enabled\":false},\"isPositive\":true},{\"id\":\"configure-gauge-scale\",\"request\":\"Set the gauge scale from zero to one.\",\"operationId\":\"gauge.scale.configure\",\"params\":{\"min\":0,\"max\":1},\"isPositive\":true},{\"id\":\"configure-reference-annotations\",\"request\":\"Add an SLA warning line at 80 and safe band between 0 and 60.\",\"operationId\":\"annotations.configure\",\"params\":{\"referenceLines\":[{\"value\":80,\"axis\":\"y\",\"tone\":\"warning\",\"label\":\"SLA\"}],\"referenceBands\":[{\"min\":0,\"max\":60,\"axis\":\"y\",\"tone\":\"success\",\"label\":\"Safe\"}]},\"isPositive\":true},{\"id\":\"configure-scalability-svg\",\"request\":\"Enable temporal zoom, outlier scale break and SVG renderer.\",\"operationId\":\"scalability.configure\",\"params\":{\"dataZoom\":{\"enabled\":true,\"mode\":\"both\"},\"axisScaleBreak\":{\"enabled\":true,\"mode\":\"auto\"},\"renderer\":\"svg\"},\"isPositive\":true},{\"id\":\"round-trip-editor-runtime\",\"request\":\"Save this chart in the editor and reopen it without changing the runtime chart document.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"department\"}],\"metrics\":[{\"field\":\"total\",\"aggregation\":\"count\"}]},\"isPositive\":true},{\"id\":\"reject-invalid-reference-band\",\"request\":\"Reject inverted reference band bounds.\",\"operationId\":\"annotations.configure\",\"params\":{\"referenceBands\":[{\"min\":100,\"max\":20,\"axis\":\"y\"}]},\"isPositive\":false},{\"id\":\"reject-ambiguous-series-target\",\"request\":\"Remove total when more than one chart series resolves to total.\",\"operationId\":\"series.remove\",\"target\":\"total\",\"params\":{\"field\":\"total\"},\"isPositive\":false},{\"id\":\"reject-prompt-routing\",\"request\":\"Use the prompt example text to decide which backend endpoint to call.\",\"operationId\":\"data.resource.bind\",\"params\":{\"sourceKind\":\"praxis.stats\",\"resource\":\"from prompt example\"},\"isPositive\":false},{\"id\":\"reject-unsafe-target\",\"request\":\"Navigate to javascript:alert(1) on drilldown.\",\"operationId\":\"drilldown.configure\",\"params\":{\"event\":\"drillDown\",\"action\":\"navigate\",\"target\":\"javascript:alert(1)\"},\"isPositive\":false},{\"id\":\"set-sankey-acyclic-flow\",\"request\":\"Render an acyclic proportional flow from triage to approval using canonical Sankey links.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"sankey\",\"sankey\":{\"sourceField\":\"origem\",\"targetField\":\"destino\",\"valueField\":\"volume\"}},\"isPositive\":true},{\"id\":\"set-sunburst-hierarchy\",\"request\":\"Visualize organizational headcount across orgao -> subempresa -> setor in a sunburst hierarchy.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sunburst\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"orgao\"},{\"field\":\"subempresa\"},{\"field\":\"setor\"}],\"metrics\":[{\"field\":\"headcount\",\"aggregation\":\"sum\"}]},\"isPositive\":true},{\"id\":\"set-radar-comparative\",\"request\":\"Compare employee competencies against target bounds on a multidimensional radar chart.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"shape\":\"polygon\",\"indicators\":[{\"name\":\"Entrega\",\"min\":0,\"max\":100},{\"name\":\"Qualidade\",\"min\":0,\"max\":100},{\"name\":\"Colaboração\",\"min\":0,\"max\":100}]}},\"isPositive\":true},{\"id\":\"reject-cyclic-sankey\",\"request\":\"Reject a cyclic A -> B -> A flow in Sankey and route users to <praxis-relationship-graph>.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"sankey\",\"source\":{\"kind\":\"derived\"},\"sankey\":{\"links\":[{\"source\":\"A\",\"target\":\"B\",\"value\":10},{\"source\":\"B\",\"target\":\"A\",\"value\":5}]}},\"isPositive\":false},{\"id\":\"reject-radar-preventivo-misuse\",\"request\":\"Map the business dashboard \\\"Radar Preventivo\\\" of retirement eligibility directly to kind=\\\"radar\\\" without >=3 [min,max] comparison indicators.\",\"operationId\":\"chart.type.set\",\"params\":{\"kind\":\"radar\",\"radar\":{\"indicators\":[{\"name\":\"Elegíveis\",\"min\":0,\"max\":100}]}},\"isPositive\":false}]}",
7483
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.4.0\",\"componentId\":\"praxis-chart\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisXUiChartContract\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"add-inference-error-bar\",\"request\":\"Add an effectSize metric with a 95% confidence interval error bar from ciLow to ciHigh.\",\"operationId\":\"series.add\",\"params\":{\"field\":\"effectSize\",\"aggregation\":\"avg\",\"errorBar\":{\"lowField\":\"ciLow\",\"highField\":\"ciHigh\",\"level\":0.95,\"tone\":\"info\",\"capWidth\":10}},\"isPositive\":true},{\"id\":\"reject-error-bar-on-stacked-bar\",\"request\":\"Attach an errorBar to a stacked-bar chart metric.\",\"operationId\":\"chart.document.set\",\"params\":{\"version\":\"0.1.0\",\"kind\":\"stacked-bar\",\"source\":{\"kind\":\"derived\"},\"dimensions\":[{\"field\":\"segment\"}],\"metrics\":[{\"field\":\"effectSize\",\"errorBar\":{\"lowField\":\"ciLow\",\"highField\":\"ciHigh\"}}]},\"isPositive\":false}]}",
5979
7484
  "sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-charts-authoring-manifest.ts",
5980
- "contentHash": "a80f6e3a61ca78b51cc9d000bcb01f851837d04930597897dd309ce5bbde174f",
7485
+ "contentHash": "c0964979fa25b3239ad0e99b1be63a880f83ccf0f4738b0e46fe68afa50de2f4",
5981
7486
  "sourceKind": "component_definition",
5982
7487
  "sourceId": "praxis-chart",
5983
7488
  "corpusVersion": "1.0.0"