@genome-spy/app 0.77.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.json CHANGED
@@ -357,6 +357,63 @@
357
357
  },
358
358
  "type": "object"
359
359
  },
360
+ "scales": {
361
+ "additionalProperties": {
362
+ "$ref": "#/definitions/Scale"
363
+ },
364
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
365
+ "properties": {
366
+ "angle": {
367
+ "$ref": "#/definitions/Scale"
368
+ },
369
+ "color": {
370
+ "$ref": "#/definitions/Scale"
371
+ },
372
+ "dx": {
373
+ "$ref": "#/definitions/Scale"
374
+ },
375
+ "dy": {
376
+ "$ref": "#/definitions/Scale"
377
+ },
378
+ "fill": {
379
+ "$ref": "#/definitions/Scale"
380
+ },
381
+ "fillOpacity": {
382
+ "$ref": "#/definitions/Scale"
383
+ },
384
+ "opacity": {
385
+ "$ref": "#/definitions/Scale"
386
+ },
387
+ "shape": {
388
+ "$ref": "#/definitions/Scale"
389
+ },
390
+ "size": {
391
+ "$ref": "#/definitions/Scale"
392
+ },
393
+ "stroke": {
394
+ "$ref": "#/definitions/Scale"
395
+ },
396
+ "strokeOpacity": {
397
+ "$ref": "#/definitions/Scale"
398
+ },
399
+ "strokeWidth": {
400
+ "$ref": "#/definitions/Scale"
401
+ },
402
+ "x": {
403
+ "$ref": "#/definitions/Scale"
404
+ },
405
+ "x2": {
406
+ "$ref": "#/definitions/Scale"
407
+ },
408
+ "y": {
409
+ "$ref": "#/definitions/Scale"
410
+ },
411
+ "y2": {
412
+ "$ref": "#/definitions/Scale"
413
+ }
414
+ },
415
+ "type": "object"
416
+ },
360
417
  "separator": {
361
418
  "anyOf": [
362
419
  {
@@ -727,6 +784,63 @@
727
784
  },
728
785
  "type": "object"
729
786
  },
787
+ "scales": {
788
+ "additionalProperties": {
789
+ "$ref": "#/definitions/Scale"
790
+ },
791
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
792
+ "properties": {
793
+ "angle": {
794
+ "$ref": "#/definitions/Scale"
795
+ },
796
+ "color": {
797
+ "$ref": "#/definitions/Scale"
798
+ },
799
+ "dx": {
800
+ "$ref": "#/definitions/Scale"
801
+ },
802
+ "dy": {
803
+ "$ref": "#/definitions/Scale"
804
+ },
805
+ "fill": {
806
+ "$ref": "#/definitions/Scale"
807
+ },
808
+ "fillOpacity": {
809
+ "$ref": "#/definitions/Scale"
810
+ },
811
+ "opacity": {
812
+ "$ref": "#/definitions/Scale"
813
+ },
814
+ "shape": {
815
+ "$ref": "#/definitions/Scale"
816
+ },
817
+ "size": {
818
+ "$ref": "#/definitions/Scale"
819
+ },
820
+ "stroke": {
821
+ "$ref": "#/definitions/Scale"
822
+ },
823
+ "strokeOpacity": {
824
+ "$ref": "#/definitions/Scale"
825
+ },
826
+ "strokeWidth": {
827
+ "$ref": "#/definitions/Scale"
828
+ },
829
+ "x": {
830
+ "$ref": "#/definitions/Scale"
831
+ },
832
+ "x2": {
833
+ "$ref": "#/definitions/Scale"
834
+ },
835
+ "y": {
836
+ "$ref": "#/definitions/Scale"
837
+ },
838
+ "y2": {
839
+ "$ref": "#/definitions/Scale"
840
+ }
841
+ },
842
+ "type": "object"
843
+ },
730
844
  "separator": {
731
845
  "anyOf": [
732
846
  {
@@ -1113,6 +1227,63 @@
1113
1227
  },
1114
1228
  "type": "object"
1115
1229
  },
1230
+ "scales": {
1231
+ "additionalProperties": {
1232
+ "$ref": "#/definitions/Scale"
1233
+ },
1234
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
1235
+ "properties": {
1236
+ "angle": {
1237
+ "$ref": "#/definitions/Scale"
1238
+ },
1239
+ "color": {
1240
+ "$ref": "#/definitions/Scale"
1241
+ },
1242
+ "dx": {
1243
+ "$ref": "#/definitions/Scale"
1244
+ },
1245
+ "dy": {
1246
+ "$ref": "#/definitions/Scale"
1247
+ },
1248
+ "fill": {
1249
+ "$ref": "#/definitions/Scale"
1250
+ },
1251
+ "fillOpacity": {
1252
+ "$ref": "#/definitions/Scale"
1253
+ },
1254
+ "opacity": {
1255
+ "$ref": "#/definitions/Scale"
1256
+ },
1257
+ "shape": {
1258
+ "$ref": "#/definitions/Scale"
1259
+ },
1260
+ "size": {
1261
+ "$ref": "#/definitions/Scale"
1262
+ },
1263
+ "stroke": {
1264
+ "$ref": "#/definitions/Scale"
1265
+ },
1266
+ "strokeOpacity": {
1267
+ "$ref": "#/definitions/Scale"
1268
+ },
1269
+ "strokeWidth": {
1270
+ "$ref": "#/definitions/Scale"
1271
+ },
1272
+ "x": {
1273
+ "$ref": "#/definitions/Scale"
1274
+ },
1275
+ "x2": {
1276
+ "$ref": "#/definitions/Scale"
1277
+ },
1278
+ "y": {
1279
+ "$ref": "#/definitions/Scale"
1280
+ },
1281
+ "y2": {
1282
+ "$ref": "#/definitions/Scale"
1283
+ }
1284
+ },
1285
+ "type": "object"
1286
+ },
1116
1287
  "templates": {
1117
1288
  "additionalProperties": {
1118
1289
  "$ref": "#/definitions/AppNestedViewSpec"
@@ -1487,6 +1658,63 @@
1487
1658
  },
1488
1659
  "type": "object"
1489
1660
  },
1661
+ "scales": {
1662
+ "additionalProperties": {
1663
+ "$ref": "#/definitions/Scale"
1664
+ },
1665
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
1666
+ "properties": {
1667
+ "angle": {
1668
+ "$ref": "#/definitions/Scale"
1669
+ },
1670
+ "color": {
1671
+ "$ref": "#/definitions/Scale"
1672
+ },
1673
+ "dx": {
1674
+ "$ref": "#/definitions/Scale"
1675
+ },
1676
+ "dy": {
1677
+ "$ref": "#/definitions/Scale"
1678
+ },
1679
+ "fill": {
1680
+ "$ref": "#/definitions/Scale"
1681
+ },
1682
+ "fillOpacity": {
1683
+ "$ref": "#/definitions/Scale"
1684
+ },
1685
+ "opacity": {
1686
+ "$ref": "#/definitions/Scale"
1687
+ },
1688
+ "shape": {
1689
+ "$ref": "#/definitions/Scale"
1690
+ },
1691
+ "size": {
1692
+ "$ref": "#/definitions/Scale"
1693
+ },
1694
+ "stroke": {
1695
+ "$ref": "#/definitions/Scale"
1696
+ },
1697
+ "strokeOpacity": {
1698
+ "$ref": "#/definitions/Scale"
1699
+ },
1700
+ "strokeWidth": {
1701
+ "$ref": "#/definitions/Scale"
1702
+ },
1703
+ "x": {
1704
+ "$ref": "#/definitions/Scale"
1705
+ },
1706
+ "x2": {
1707
+ "$ref": "#/definitions/Scale"
1708
+ },
1709
+ "y": {
1710
+ "$ref": "#/definitions/Scale"
1711
+ },
1712
+ "y2": {
1713
+ "$ref": "#/definitions/Scale"
1714
+ }
1715
+ },
1716
+ "type": "object"
1717
+ },
1490
1718
  "stops": {
1491
1719
  "$ref": "#/definitions/MultiscaleStopsDef",
1492
1720
  "description": "Stop definition that controls transitions between the multiscale levels.\n\n- `number[]` is shorthand for `{ metric: \"unitsPerPixel\", values: ... }`\n- `(number | ExprRef)[]` supports mixed constants and expressions\n- Object form allows configuring metric, channel, and fade."
@@ -1916,6 +2144,63 @@
1916
2144
  },
1917
2145
  "type": "object"
1918
2146
  },
2147
+ "scales": {
2148
+ "additionalProperties": {
2149
+ "$ref": "#/definitions/Scale"
2150
+ },
2151
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
2152
+ "properties": {
2153
+ "angle": {
2154
+ "$ref": "#/definitions/Scale"
2155
+ },
2156
+ "color": {
2157
+ "$ref": "#/definitions/Scale"
2158
+ },
2159
+ "dx": {
2160
+ "$ref": "#/definitions/Scale"
2161
+ },
2162
+ "dy": {
2163
+ "$ref": "#/definitions/Scale"
2164
+ },
2165
+ "fill": {
2166
+ "$ref": "#/definitions/Scale"
2167
+ },
2168
+ "fillOpacity": {
2169
+ "$ref": "#/definitions/Scale"
2170
+ },
2171
+ "opacity": {
2172
+ "$ref": "#/definitions/Scale"
2173
+ },
2174
+ "shape": {
2175
+ "$ref": "#/definitions/Scale"
2176
+ },
2177
+ "size": {
2178
+ "$ref": "#/definitions/Scale"
2179
+ },
2180
+ "stroke": {
2181
+ "$ref": "#/definitions/Scale"
2182
+ },
2183
+ "strokeOpacity": {
2184
+ "$ref": "#/definitions/Scale"
2185
+ },
2186
+ "strokeWidth": {
2187
+ "$ref": "#/definitions/Scale"
2188
+ },
2189
+ "x": {
2190
+ "$ref": "#/definitions/Scale"
2191
+ },
2192
+ "x2": {
2193
+ "$ref": "#/definitions/Scale"
2194
+ },
2195
+ "y": {
2196
+ "$ref": "#/definitions/Scale"
2197
+ },
2198
+ "y2": {
2199
+ "$ref": "#/definitions/Scale"
2200
+ }
2201
+ },
2202
+ "type": "object"
2203
+ },
1919
2204
  "specId": {
1920
2205
  "description": "A unique identifier that is used in storing state bookmarks to browser's IndexedDB. This is needed to make distinction between visualizations that are served from the same origin, i.e., the same host and port.",
1921
2206
  "type": "string"
@@ -2343,6 +2628,63 @@
2343
2628
  },
2344
2629
  "type": "object"
2345
2630
  },
2631
+ "scales": {
2632
+ "additionalProperties": {
2633
+ "$ref": "#/definitions/Scale"
2634
+ },
2635
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
2636
+ "properties": {
2637
+ "angle": {
2638
+ "$ref": "#/definitions/Scale"
2639
+ },
2640
+ "color": {
2641
+ "$ref": "#/definitions/Scale"
2642
+ },
2643
+ "dx": {
2644
+ "$ref": "#/definitions/Scale"
2645
+ },
2646
+ "dy": {
2647
+ "$ref": "#/definitions/Scale"
2648
+ },
2649
+ "fill": {
2650
+ "$ref": "#/definitions/Scale"
2651
+ },
2652
+ "fillOpacity": {
2653
+ "$ref": "#/definitions/Scale"
2654
+ },
2655
+ "opacity": {
2656
+ "$ref": "#/definitions/Scale"
2657
+ },
2658
+ "shape": {
2659
+ "$ref": "#/definitions/Scale"
2660
+ },
2661
+ "size": {
2662
+ "$ref": "#/definitions/Scale"
2663
+ },
2664
+ "stroke": {
2665
+ "$ref": "#/definitions/Scale"
2666
+ },
2667
+ "strokeOpacity": {
2668
+ "$ref": "#/definitions/Scale"
2669
+ },
2670
+ "strokeWidth": {
2671
+ "$ref": "#/definitions/Scale"
2672
+ },
2673
+ "x": {
2674
+ "$ref": "#/definitions/Scale"
2675
+ },
2676
+ "x2": {
2677
+ "$ref": "#/definitions/Scale"
2678
+ },
2679
+ "y": {
2680
+ "$ref": "#/definitions/Scale"
2681
+ },
2682
+ "y2": {
2683
+ "$ref": "#/definitions/Scale"
2684
+ }
2685
+ },
2686
+ "type": "object"
2687
+ },
2346
2688
  "specId": {
2347
2689
  "description": "A unique identifier that is used in storing state bookmarks to browser's IndexedDB. This is needed to make distinction between visualizations that are served from the same origin, i.e., the same host and port.",
2348
2690
  "type": "string"
@@ -2769,6 +3111,63 @@
2769
3111
  },
2770
3112
  "type": "object"
2771
3113
  },
3114
+ "scales": {
3115
+ "additionalProperties": {
3116
+ "$ref": "#/definitions/Scale"
3117
+ },
3118
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
3119
+ "properties": {
3120
+ "angle": {
3121
+ "$ref": "#/definitions/Scale"
3122
+ },
3123
+ "color": {
3124
+ "$ref": "#/definitions/Scale"
3125
+ },
3126
+ "dx": {
3127
+ "$ref": "#/definitions/Scale"
3128
+ },
3129
+ "dy": {
3130
+ "$ref": "#/definitions/Scale"
3131
+ },
3132
+ "fill": {
3133
+ "$ref": "#/definitions/Scale"
3134
+ },
3135
+ "fillOpacity": {
3136
+ "$ref": "#/definitions/Scale"
3137
+ },
3138
+ "opacity": {
3139
+ "$ref": "#/definitions/Scale"
3140
+ },
3141
+ "shape": {
3142
+ "$ref": "#/definitions/Scale"
3143
+ },
3144
+ "size": {
3145
+ "$ref": "#/definitions/Scale"
3146
+ },
3147
+ "stroke": {
3148
+ "$ref": "#/definitions/Scale"
3149
+ },
3150
+ "strokeOpacity": {
3151
+ "$ref": "#/definitions/Scale"
3152
+ },
3153
+ "strokeWidth": {
3154
+ "$ref": "#/definitions/Scale"
3155
+ },
3156
+ "x": {
3157
+ "$ref": "#/definitions/Scale"
3158
+ },
3159
+ "x2": {
3160
+ "$ref": "#/definitions/Scale"
3161
+ },
3162
+ "y": {
3163
+ "$ref": "#/definitions/Scale"
3164
+ },
3165
+ "y2": {
3166
+ "$ref": "#/definitions/Scale"
3167
+ }
3168
+ },
3169
+ "type": "object"
3170
+ },
2772
3171
  "specId": {
2773
3172
  "description": "A unique identifier that is used in storing state bookmarks to browser's IndexedDB. This is needed to make distinction between visualizations that are served from the same origin, i.e., the same host and port.",
2774
3173
  "type": "string"
@@ -3170,6 +3569,63 @@
3170
3569
  },
3171
3570
  "type": "object"
3172
3571
  },
3572
+ "scales": {
3573
+ "additionalProperties": {
3574
+ "$ref": "#/definitions/Scale"
3575
+ },
3576
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
3577
+ "properties": {
3578
+ "angle": {
3579
+ "$ref": "#/definitions/Scale"
3580
+ },
3581
+ "color": {
3582
+ "$ref": "#/definitions/Scale"
3583
+ },
3584
+ "dx": {
3585
+ "$ref": "#/definitions/Scale"
3586
+ },
3587
+ "dy": {
3588
+ "$ref": "#/definitions/Scale"
3589
+ },
3590
+ "fill": {
3591
+ "$ref": "#/definitions/Scale"
3592
+ },
3593
+ "fillOpacity": {
3594
+ "$ref": "#/definitions/Scale"
3595
+ },
3596
+ "opacity": {
3597
+ "$ref": "#/definitions/Scale"
3598
+ },
3599
+ "shape": {
3600
+ "$ref": "#/definitions/Scale"
3601
+ },
3602
+ "size": {
3603
+ "$ref": "#/definitions/Scale"
3604
+ },
3605
+ "stroke": {
3606
+ "$ref": "#/definitions/Scale"
3607
+ },
3608
+ "strokeOpacity": {
3609
+ "$ref": "#/definitions/Scale"
3610
+ },
3611
+ "strokeWidth": {
3612
+ "$ref": "#/definitions/Scale"
3613
+ },
3614
+ "x": {
3615
+ "$ref": "#/definitions/Scale"
3616
+ },
3617
+ "x2": {
3618
+ "$ref": "#/definitions/Scale"
3619
+ },
3620
+ "y": {
3621
+ "$ref": "#/definitions/Scale"
3622
+ },
3623
+ "y2": {
3624
+ "$ref": "#/definitions/Scale"
3625
+ }
3626
+ },
3627
+ "type": "object"
3628
+ },
3173
3629
  "separator": {
3174
3630
  "anyOf": [
3175
3631
  {
@@ -3604,6 +4060,63 @@
3604
4060
  },
3605
4061
  "type": "object"
3606
4062
  },
4063
+ "scales": {
4064
+ "additionalProperties": {
4065
+ "$ref": "#/definitions/Scale"
4066
+ },
4067
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
4068
+ "properties": {
4069
+ "angle": {
4070
+ "$ref": "#/definitions/Scale"
4071
+ },
4072
+ "color": {
4073
+ "$ref": "#/definitions/Scale"
4074
+ },
4075
+ "dx": {
4076
+ "$ref": "#/definitions/Scale"
4077
+ },
4078
+ "dy": {
4079
+ "$ref": "#/definitions/Scale"
4080
+ },
4081
+ "fill": {
4082
+ "$ref": "#/definitions/Scale"
4083
+ },
4084
+ "fillOpacity": {
4085
+ "$ref": "#/definitions/Scale"
4086
+ },
4087
+ "opacity": {
4088
+ "$ref": "#/definitions/Scale"
4089
+ },
4090
+ "shape": {
4091
+ "$ref": "#/definitions/Scale"
4092
+ },
4093
+ "size": {
4094
+ "$ref": "#/definitions/Scale"
4095
+ },
4096
+ "stroke": {
4097
+ "$ref": "#/definitions/Scale"
4098
+ },
4099
+ "strokeOpacity": {
4100
+ "$ref": "#/definitions/Scale"
4101
+ },
4102
+ "strokeWidth": {
4103
+ "$ref": "#/definitions/Scale"
4104
+ },
4105
+ "x": {
4106
+ "$ref": "#/definitions/Scale"
4107
+ },
4108
+ "x2": {
4109
+ "$ref": "#/definitions/Scale"
4110
+ },
4111
+ "y": {
4112
+ "$ref": "#/definitions/Scale"
4113
+ },
4114
+ "y2": {
4115
+ "$ref": "#/definitions/Scale"
4116
+ }
4117
+ },
4118
+ "type": "object"
4119
+ },
3607
4120
  "separator": {
3608
4121
  "anyOf": [
3609
4122
  {
@@ -4029,6 +4542,63 @@
4029
4542
  },
4030
4543
  "type": "object"
4031
4544
  },
4545
+ "scales": {
4546
+ "additionalProperties": {
4547
+ "$ref": "#/definitions/Scale"
4548
+ },
4549
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
4550
+ "properties": {
4551
+ "angle": {
4552
+ "$ref": "#/definitions/Scale"
4553
+ },
4554
+ "color": {
4555
+ "$ref": "#/definitions/Scale"
4556
+ },
4557
+ "dx": {
4558
+ "$ref": "#/definitions/Scale"
4559
+ },
4560
+ "dy": {
4561
+ "$ref": "#/definitions/Scale"
4562
+ },
4563
+ "fill": {
4564
+ "$ref": "#/definitions/Scale"
4565
+ },
4566
+ "fillOpacity": {
4567
+ "$ref": "#/definitions/Scale"
4568
+ },
4569
+ "opacity": {
4570
+ "$ref": "#/definitions/Scale"
4571
+ },
4572
+ "shape": {
4573
+ "$ref": "#/definitions/Scale"
4574
+ },
4575
+ "size": {
4576
+ "$ref": "#/definitions/Scale"
4577
+ },
4578
+ "stroke": {
4579
+ "$ref": "#/definitions/Scale"
4580
+ },
4581
+ "strokeOpacity": {
4582
+ "$ref": "#/definitions/Scale"
4583
+ },
4584
+ "strokeWidth": {
4585
+ "$ref": "#/definitions/Scale"
4586
+ },
4587
+ "x": {
4588
+ "$ref": "#/definitions/Scale"
4589
+ },
4590
+ "x2": {
4591
+ "$ref": "#/definitions/Scale"
4592
+ },
4593
+ "y": {
4594
+ "$ref": "#/definitions/Scale"
4595
+ },
4596
+ "y2": {
4597
+ "$ref": "#/definitions/Scale"
4598
+ }
4599
+ },
4600
+ "type": "object"
4601
+ },
4032
4602
  "separator": {
4033
4603
  "anyOf": [
4034
4604
  {
@@ -4450,6 +5020,63 @@
4450
5020
  "$ref": "#/definitions/SampleDef",
4451
5021
  "description": "Sample identity and label configuration.\n\nIf `identity` is omitted, sample identifiers are inferred from the data."
4452
5022
  },
5023
+ "scales": {
5024
+ "additionalProperties": {
5025
+ "$ref": "#/definitions/Scale"
5026
+ },
5027
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
5028
+ "properties": {
5029
+ "angle": {
5030
+ "$ref": "#/definitions/Scale"
5031
+ },
5032
+ "color": {
5033
+ "$ref": "#/definitions/Scale"
5034
+ },
5035
+ "dx": {
5036
+ "$ref": "#/definitions/Scale"
5037
+ },
5038
+ "dy": {
5039
+ "$ref": "#/definitions/Scale"
5040
+ },
5041
+ "fill": {
5042
+ "$ref": "#/definitions/Scale"
5043
+ },
5044
+ "fillOpacity": {
5045
+ "$ref": "#/definitions/Scale"
5046
+ },
5047
+ "opacity": {
5048
+ "$ref": "#/definitions/Scale"
5049
+ },
5050
+ "shape": {
5051
+ "$ref": "#/definitions/Scale"
5052
+ },
5053
+ "size": {
5054
+ "$ref": "#/definitions/Scale"
5055
+ },
5056
+ "stroke": {
5057
+ "$ref": "#/definitions/Scale"
5058
+ },
5059
+ "strokeOpacity": {
5060
+ "$ref": "#/definitions/Scale"
5061
+ },
5062
+ "strokeWidth": {
5063
+ "$ref": "#/definitions/Scale"
5064
+ },
5065
+ "x": {
5066
+ "$ref": "#/definitions/Scale"
5067
+ },
5068
+ "x2": {
5069
+ "$ref": "#/definitions/Scale"
5070
+ },
5071
+ "y": {
5072
+ "$ref": "#/definitions/Scale"
5073
+ },
5074
+ "y2": {
5075
+ "$ref": "#/definitions/Scale"
5076
+ }
5077
+ },
5078
+ "type": "object"
5079
+ },
4453
5080
  "spec": {
4454
5081
  "anyOf": [
4455
5082
  {
@@ -4853,6 +5480,63 @@
4853
5480
  },
4854
5481
  "type": "object"
4855
5482
  },
5483
+ "scales": {
5484
+ "additionalProperties": {
5485
+ "$ref": "#/definitions/Scale"
5486
+ },
5487
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
5488
+ "properties": {
5489
+ "angle": {
5490
+ "$ref": "#/definitions/Scale"
5491
+ },
5492
+ "color": {
5493
+ "$ref": "#/definitions/Scale"
5494
+ },
5495
+ "dx": {
5496
+ "$ref": "#/definitions/Scale"
5497
+ },
5498
+ "dy": {
5499
+ "$ref": "#/definitions/Scale"
5500
+ },
5501
+ "fill": {
5502
+ "$ref": "#/definitions/Scale"
5503
+ },
5504
+ "fillOpacity": {
5505
+ "$ref": "#/definitions/Scale"
5506
+ },
5507
+ "opacity": {
5508
+ "$ref": "#/definitions/Scale"
5509
+ },
5510
+ "shape": {
5511
+ "$ref": "#/definitions/Scale"
5512
+ },
5513
+ "size": {
5514
+ "$ref": "#/definitions/Scale"
5515
+ },
5516
+ "stroke": {
5517
+ "$ref": "#/definitions/Scale"
5518
+ },
5519
+ "strokeOpacity": {
5520
+ "$ref": "#/definitions/Scale"
5521
+ },
5522
+ "strokeWidth": {
5523
+ "$ref": "#/definitions/Scale"
5524
+ },
5525
+ "x": {
5526
+ "$ref": "#/definitions/Scale"
5527
+ },
5528
+ "x2": {
5529
+ "$ref": "#/definitions/Scale"
5530
+ },
5531
+ "y": {
5532
+ "$ref": "#/definitions/Scale"
5533
+ },
5534
+ "y2": {
5535
+ "$ref": "#/definitions/Scale"
5536
+ }
5537
+ },
5538
+ "type": "object"
5539
+ },
4856
5540
  "templates": {
4857
5541
  "additionalProperties": {
4858
5542
  "$ref": "#/definitions/AppNestedViewSpec"
@@ -5198,6 +5882,63 @@
5198
5882
  },
5199
5883
  "type": "object"
5200
5884
  },
5885
+ "scales": {
5886
+ "additionalProperties": {
5887
+ "$ref": "#/definitions/Scale"
5888
+ },
5889
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
5890
+ "properties": {
5891
+ "angle": {
5892
+ "$ref": "#/definitions/Scale"
5893
+ },
5894
+ "color": {
5895
+ "$ref": "#/definitions/Scale"
5896
+ },
5897
+ "dx": {
5898
+ "$ref": "#/definitions/Scale"
5899
+ },
5900
+ "dy": {
5901
+ "$ref": "#/definitions/Scale"
5902
+ },
5903
+ "fill": {
5904
+ "$ref": "#/definitions/Scale"
5905
+ },
5906
+ "fillOpacity": {
5907
+ "$ref": "#/definitions/Scale"
5908
+ },
5909
+ "opacity": {
5910
+ "$ref": "#/definitions/Scale"
5911
+ },
5912
+ "shape": {
5913
+ "$ref": "#/definitions/Scale"
5914
+ },
5915
+ "size": {
5916
+ "$ref": "#/definitions/Scale"
5917
+ },
5918
+ "stroke": {
5919
+ "$ref": "#/definitions/Scale"
5920
+ },
5921
+ "strokeOpacity": {
5922
+ "$ref": "#/definitions/Scale"
5923
+ },
5924
+ "strokeWidth": {
5925
+ "$ref": "#/definitions/Scale"
5926
+ },
5927
+ "x": {
5928
+ "$ref": "#/definitions/Scale"
5929
+ },
5930
+ "x2": {
5931
+ "$ref": "#/definitions/Scale"
5932
+ },
5933
+ "y": {
5934
+ "$ref": "#/definitions/Scale"
5935
+ },
5936
+ "y2": {
5937
+ "$ref": "#/definitions/Scale"
5938
+ }
5939
+ },
5940
+ "type": "object"
5941
+ },
5201
5942
  "separator": {
5202
5943
  "anyOf": [
5203
5944
  {
@@ -7407,6 +8148,28 @@
7407
8148
  }
7408
8149
  ]
7409
8150
  },
8151
+ "DomainValue": {
8152
+ "anyOf": [
8153
+ {
8154
+ "type": "number"
8155
+ },
8156
+ {
8157
+ "type": "string"
8158
+ },
8159
+ {
8160
+ "type": "boolean"
8161
+ },
8162
+ {
8163
+ "$ref": "#/definitions/ExprRef"
8164
+ }
8165
+ ]
8166
+ },
8167
+ "DomainValueArray": {
8168
+ "items": {
8169
+ "$ref": "#/definitions/DomainValue"
8170
+ },
8171
+ "type": "array"
8172
+ },
7410
8173
  "DsvDataFormat": {
7411
8174
  "additionalProperties": false,
7412
8175
  "properties": {
@@ -13814,6 +14577,63 @@
13814
14577
  "$ref": "#/definitions/SampleDef",
13815
14578
  "description": "Sample identity and label configuration.\n\nIf `identity` is omitted, sample identifiers are inferred from the data."
13816
14579
  },
14580
+ "scales": {
14581
+ "additionalProperties": {
14582
+ "$ref": "#/definitions/Scale"
14583
+ },
14584
+ "description": "Configures scale resolutions used by this view subtree.\n\nUse this when a composed view shares a scale across child views and the scale settings, such as the visible domain, belong to the composed view rather than an individual encoding.",
14585
+ "properties": {
14586
+ "angle": {
14587
+ "$ref": "#/definitions/Scale"
14588
+ },
14589
+ "color": {
14590
+ "$ref": "#/definitions/Scale"
14591
+ },
14592
+ "dx": {
14593
+ "$ref": "#/definitions/Scale"
14594
+ },
14595
+ "dy": {
14596
+ "$ref": "#/definitions/Scale"
14597
+ },
14598
+ "fill": {
14599
+ "$ref": "#/definitions/Scale"
14600
+ },
14601
+ "fillOpacity": {
14602
+ "$ref": "#/definitions/Scale"
14603
+ },
14604
+ "opacity": {
14605
+ "$ref": "#/definitions/Scale"
14606
+ },
14607
+ "shape": {
14608
+ "$ref": "#/definitions/Scale"
14609
+ },
14610
+ "size": {
14611
+ "$ref": "#/definitions/Scale"
14612
+ },
14613
+ "stroke": {
14614
+ "$ref": "#/definitions/Scale"
14615
+ },
14616
+ "strokeOpacity": {
14617
+ "$ref": "#/definitions/Scale"
14618
+ },
14619
+ "strokeWidth": {
14620
+ "$ref": "#/definitions/Scale"
14621
+ },
14622
+ "x": {
14623
+ "$ref": "#/definitions/Scale"
14624
+ },
14625
+ "x2": {
14626
+ "$ref": "#/definitions/Scale"
14627
+ },
14628
+ "y": {
14629
+ "$ref": "#/definitions/Scale"
14630
+ },
14631
+ "y2": {
14632
+ "$ref": "#/definitions/Scale"
14633
+ }
14634
+ },
14635
+ "type": "object"
14636
+ },
13817
14637
  "spec": {
13818
14638
  "anyOf": [
13819
14639
  {
@@ -13992,9 +14812,12 @@
13992
14812
  },
13993
14813
  {
13994
14814
  "$ref": "#/definitions/ExprRef"
14815
+ },
14816
+ {
14817
+ "$ref": "#/definitions/DomainValueArray"
13995
14818
  }
13996
14819
  ],
13997
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
14820
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
13998
14821
  },
13999
14822
  "domainMax": {
14000
14823
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -14018,7 +14841,7 @@
14018
14841
  "type": "object"
14019
14842
  }
14020
14843
  ],
14021
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
14844
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
14022
14845
  },
14023
14846
  "exponent": {
14024
14847
  "description": "The exponent of the `pow` scale.",
@@ -14091,27 +14914,25 @@
14091
14914
  "anyOf": [
14092
14915
  {
14093
14916
  "items": {
14094
- "type": "number"
14095
- },
14096
- "type": "array"
14097
- },
14098
- {
14099
- "items": {
14100
- "type": "string"
14917
+ "anyOf": [
14918
+ {
14919
+ "type": "number"
14920
+ },
14921
+ {
14922
+ "type": "string"
14923
+ },
14924
+ {
14925
+ "$ref": "#/definitions/ExprRef"
14926
+ }
14927
+ ]
14101
14928
  },
14102
14929
  "type": "array"
14103
14930
  },
14104
14931
  {
14105
14932
  "type": "string"
14106
- },
14107
- {
14108
- "items": {
14109
- "$ref": "#/definitions/ExprRef"
14110
- },
14111
- "type": "array"
14112
14933
  }
14113
14934
  ],
14114
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
14935
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
14115
14936
  },
14116
14937
  "reverse": {
14117
14938
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -14204,9 +15025,12 @@
14204
15025
  },
14205
15026
  {
14206
15027
  "$ref": "#/definitions/ExprRef"
15028
+ },
15029
+ {
15030
+ "$ref": "#/definitions/DomainValueArray"
14207
15031
  }
14208
15032
  ],
14209
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
15033
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
14210
15034
  },
14211
15035
  "domainMax": {
14212
15036
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -14230,7 +15054,7 @@
14230
15054
  "type": "object"
14231
15055
  }
14232
15056
  ],
14233
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
15057
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
14234
15058
  },
14235
15059
  "exponent": {
14236
15060
  "description": "The exponent of the `pow` scale.",
@@ -14287,9 +15111,12 @@
14287
15111
  },
14288
15112
  {
14289
15113
  "$ref": "#/definitions/ExprRef"
15114
+ },
15115
+ {
15116
+ "$ref": "#/definitions/DomainValueArray"
14290
15117
  }
14291
15118
  ],
14292
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
15119
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
14293
15120
  },
14294
15121
  "domainMax": {
14295
15122
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -14313,7 +15140,7 @@
14313
15140
  "type": "object"
14314
15141
  }
14315
15142
  ],
14316
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
15143
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
14317
15144
  },
14318
15145
  "exponent": {
14319
15146
  "description": "The exponent of the `pow` scale.",
@@ -14386,27 +15213,25 @@
14386
15213
  "anyOf": [
14387
15214
  {
14388
15215
  "items": {
14389
- "type": "number"
14390
- },
14391
- "type": "array"
14392
- },
14393
- {
14394
- "items": {
14395
- "type": "string"
15216
+ "anyOf": [
15217
+ {
15218
+ "type": "number"
15219
+ },
15220
+ {
15221
+ "type": "string"
15222
+ },
15223
+ {
15224
+ "$ref": "#/definitions/ExprRef"
15225
+ }
15226
+ ]
14396
15227
  },
14397
15228
  "type": "array"
14398
15229
  },
14399
15230
  {
14400
15231
  "type": "string"
14401
- },
14402
- {
14403
- "items": {
14404
- "$ref": "#/definitions/ExprRef"
14405
- },
14406
- "type": "array"
14407
15232
  }
14408
15233
  ],
14409
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15234
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
14410
15235
  },
14411
15236
  "reverse": {
14412
15237
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -14511,9 +15336,12 @@
14511
15336
  },
14512
15337
  {
14513
15338
  "$ref": "#/definitions/ExprRef"
15339
+ },
15340
+ {
15341
+ "$ref": "#/definitions/DomainValueArray"
14514
15342
  }
14515
15343
  ],
14516
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
15344
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
14517
15345
  },
14518
15346
  "domainMax": {
14519
15347
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -14537,7 +15365,7 @@
14537
15365
  "type": "object"
14538
15366
  }
14539
15367
  ],
14540
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
15368
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
14541
15369
  },
14542
15370
  "exponent": {
14543
15371
  "description": "The exponent of the `pow` scale.",
@@ -14610,27 +15438,25 @@
14610
15438
  "anyOf": [
14611
15439
  {
14612
15440
  "items": {
14613
- "type": "number"
14614
- },
14615
- "type": "array"
14616
- },
14617
- {
14618
- "items": {
14619
- "type": "string"
15441
+ "anyOf": [
15442
+ {
15443
+ "type": "number"
15444
+ },
15445
+ {
15446
+ "type": "string"
15447
+ },
15448
+ {
15449
+ "$ref": "#/definitions/ExprRef"
15450
+ }
15451
+ ]
14620
15452
  },
14621
15453
  "type": "array"
14622
15454
  },
14623
15455
  {
14624
15456
  "type": "string"
14625
- },
14626
- {
14627
- "items": {
14628
- "$ref": "#/definitions/ExprRef"
14629
- },
14630
- "type": "array"
14631
15457
  }
14632
15458
  ],
14633
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15459
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
14634
15460
  },
14635
15461
  "reverse": {
14636
15462
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -14755,9 +15581,12 @@
14755
15581
  },
14756
15582
  {
14757
15583
  "$ref": "#/definitions/ExprRef"
15584
+ },
15585
+ {
15586
+ "$ref": "#/definitions/DomainValueArray"
14758
15587
  }
14759
15588
  ],
14760
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
15589
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
14761
15590
  },
14762
15591
  "domainMax": {
14763
15592
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -14781,7 +15610,7 @@
14781
15610
  "type": "object"
14782
15611
  }
14783
15612
  ],
14784
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
15613
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
14785
15614
  },
14786
15615
  "exponent": {
14787
15616
  "description": "The exponent of the `pow` scale.",
@@ -14854,27 +15683,25 @@
14854
15683
  "anyOf": [
14855
15684
  {
14856
15685
  "items": {
14857
- "type": "number"
14858
- },
14859
- "type": "array"
14860
- },
14861
- {
14862
- "items": {
14863
- "type": "string"
15686
+ "anyOf": [
15687
+ {
15688
+ "type": "number"
15689
+ },
15690
+ {
15691
+ "type": "string"
15692
+ },
15693
+ {
15694
+ "$ref": "#/definitions/ExprRef"
15695
+ }
15696
+ ]
14864
15697
  },
14865
15698
  "type": "array"
14866
15699
  },
14867
15700
  {
14868
15701
  "type": "string"
14869
- },
14870
- {
14871
- "items": {
14872
- "$ref": "#/definitions/ExprRef"
14873
- },
14874
- "type": "array"
14875
15702
  }
14876
15703
  ],
14877
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15704
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
14878
15705
  },
14879
15706
  "reverse": {
14880
15707
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -14976,9 +15803,12 @@
14976
15803
  },
14977
15804
  {
14978
15805
  "$ref": "#/definitions/ExprRef"
15806
+ },
15807
+ {
15808
+ "$ref": "#/definitions/DomainValueArray"
14979
15809
  }
14980
15810
  ],
14981
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
15811
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
14982
15812
  },
14983
15813
  "domainMax": {
14984
15814
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -15002,7 +15832,7 @@
15002
15832
  "type": "object"
15003
15833
  }
15004
15834
  ],
15005
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
15835
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
15006
15836
  },
15007
15837
  "exponent": {
15008
15838
  "description": "The exponent of the `pow` scale.",
@@ -15075,27 +15905,25 @@
15075
15905
  "anyOf": [
15076
15906
  {
15077
15907
  "items": {
15078
- "type": "number"
15079
- },
15080
- "type": "array"
15081
- },
15082
- {
15083
- "items": {
15084
- "type": "string"
15908
+ "anyOf": [
15909
+ {
15910
+ "type": "number"
15911
+ },
15912
+ {
15913
+ "type": "string"
15914
+ },
15915
+ {
15916
+ "$ref": "#/definitions/ExprRef"
15917
+ }
15918
+ ]
15085
15919
  },
15086
15920
  "type": "array"
15087
15921
  },
15088
15922
  {
15089
15923
  "type": "string"
15090
- },
15091
- {
15092
- "items": {
15093
- "$ref": "#/definitions/ExprRef"
15094
- },
15095
- "type": "array"
15096
15924
  }
15097
15925
  ],
15098
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15926
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15099
15927
  },
15100
15928
  "reverse": {
15101
15929
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -15210,9 +16038,12 @@
15210
16038
  },
15211
16039
  {
15212
16040
  "$ref": "#/definitions/ExprRef"
16041
+ },
16042
+ {
16043
+ "$ref": "#/definitions/DomainValueArray"
15213
16044
  }
15214
16045
  ],
15215
- "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values."
16046
+ "description": "Customized domain values.\n\nFor _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise) can be created by providing a `domain` with more than two entries.\n\nFor _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).\n\nFor _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.\n\nThe domain can also be defined by an expression reference that evaluates to the domain array. Array elements may also be expression references."
15216
16047
  },
15217
16048
  "domainMax": {
15218
16049
  "description": "Sets the maximum value in the scale domain, overriding the `domain` property. This property is only intended for use with scales having continuous domains.",
@@ -15236,7 +16067,7 @@
15236
16067
  "type": "object"
15237
16068
  }
15238
16069
  ],
15239
- "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains defined by an `ExprRef`, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for ExprRef-driven domains."
16070
+ "description": "Controls whether domain updates are applied immediately or with a smooth transition.\n\nSet this to `false` to apply domain updates immediately. The default is `true`, except for domains that include `ExprRef`s, which default to `false` unless overridden.\n\n__Default value:__ `true`, except `false` for `ExprRef`-driven domains."
15240
16071
  },
15241
16072
  "exponent": {
15242
16073
  "description": "The exponent of the `pow` scale.",
@@ -15309,27 +16140,25 @@
15309
16140
  "anyOf": [
15310
16141
  {
15311
16142
  "items": {
15312
- "type": "number"
15313
- },
15314
- "type": "array"
15315
- },
15316
- {
15317
- "items": {
15318
- "type": "string"
16143
+ "anyOf": [
16144
+ {
16145
+ "type": "number"
16146
+ },
16147
+ {
16148
+ "type": "string"
16149
+ },
16150
+ {
16151
+ "$ref": "#/definitions/ExprRef"
16152
+ }
16153
+ ]
15319
16154
  },
15320
16155
  "type": "array"
15321
16156
  },
15322
16157
  {
15323
16158
  "type": "string"
15324
- },
15325
- {
15326
- "items": {
15327
- "$ref": "#/definitions/ExprRef"
15328
- },
15329
- "type": "array"
15330
16159
  }
15331
16160
  ],
15332
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
16161
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15333
16162
  },
15334
16163
  "reverse": {
15335
16164
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",
@@ -15380,27 +16209,25 @@
15380
16209
  "anyOf": [
15381
16210
  {
15382
16211
  "items": {
15383
- "type": "number"
15384
- },
15385
- "type": "array"
15386
- },
15387
- {
15388
- "items": {
15389
- "type": "string"
16212
+ "anyOf": [
16213
+ {
16214
+ "type": "number"
16215
+ },
16216
+ {
16217
+ "type": "string"
16218
+ },
16219
+ {
16220
+ "$ref": "#/definitions/ExprRef"
16221
+ }
16222
+ ]
15390
16223
  },
15391
16224
  "type": "array"
15392
16225
  },
15393
16226
  {
15394
16227
  "type": "string"
15395
- },
15396
- {
15397
- "items": {
15398
- "$ref": "#/definitions/ExprRef"
15399
- },
15400
- "type": "array"
15401
16228
  }
15402
16229
  ],
15403
- "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise).\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
16230
+ "description": "The range of the scale. One of:\n\n- A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `\"symbol\"`, or `\"diverging\"`).\n\n- For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.\n\n- For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.\n\n__Notes:__\n\n1) For color scales you can also specify a color [`scheme`](https://vega.github.io/vega-lite/docs/scale.html#scheme) instead of `range`.\n\n2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`)."
15404
16231
  },
15405
16232
  "reverse": {
15406
16233
  "description": "If true, reverses the order of the scale range.\n\n__Default value:__ `false`.",