@geode/opengeodeweb-viewer 1.15.1 → 1.15.2

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.
@@ -34,94 +34,178 @@
34
34
  },
35
35
  "mesh": {
36
36
  "cells": {
37
- "visibility": {
38
- "$id": "opengeodeweb_viewer.mesh.cells.visibility",
39
- "rpc": "visibility",
40
- "type": "object",
41
- "properties": {
42
- "id": {
43
- "type": "string",
44
- "minLength": 1
45
- },
46
- "visibility": {
47
- "type": "boolean"
48
- }
49
- },
50
- "required": [
51
- "id",
52
- "visibility"
53
- ],
54
- "additionalProperties": false
55
- },
56
- "vertex_scalar_range": {
57
- "$id": "opengeodeweb_viewer.mesh.cells.vertex_scalar_range",
58
- "rpc": "vertex_scalar_range",
59
- "type": "object",
60
- "properties": {
61
- "id": {
62
- "type": "string",
63
- "minLength": 1
37
+ "attribute": {
38
+ "cell": {
39
+ "scalar_range": {
40
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.cell.scalar_range",
41
+ "rpc": "scalar_range",
42
+ "type": "object",
43
+ "properties": {
44
+ "id": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ },
48
+ "minimum": {
49
+ "type": "number"
50
+ },
51
+ "maximum": {
52
+ "type": "number"
53
+ }
54
+ },
55
+ "required": [
56
+ "id",
57
+ "minimum",
58
+ "maximum"
59
+ ],
60
+ "additionalProperties": false
64
61
  },
65
- "minimum": {
66
- "type": "number"
62
+ "name": {
63
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.cell.name",
64
+ "rpc": "name",
65
+ "type": "object",
66
+ "properties": {
67
+ "id": {
68
+ "type": "string",
69
+ "minLength": 1
70
+ },
71
+ "name": {
72
+ "type": "string",
73
+ "minLength": 1
74
+ }
75
+ },
76
+ "required": [
77
+ "id",
78
+ "name"
79
+ ],
80
+ "additionalProperties": false
67
81
  },
68
- "maximum": {
69
- "type": "number"
82
+ "color_map": {
83
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.cell.color_map",
84
+ "rpc": "color_map",
85
+ "type": "object",
86
+ "properties": {
87
+ "id": {
88
+ "type": "string",
89
+ "minLength": 1
90
+ },
91
+ "points": {
92
+ "type": "array",
93
+ "description": "Flat array of [value, r, g, b, ...]",
94
+ "items": {
95
+ "type": "number"
96
+ },
97
+ "minItems": 8
98
+ },
99
+ "minimum": {
100
+ "type": "number"
101
+ },
102
+ "maximum": {
103
+ "type": "number"
104
+ }
105
+ },
106
+ "required": [
107
+ "id",
108
+ "points",
109
+ "minimum",
110
+ "maximum"
111
+ ],
112
+ "additionalProperties": false
70
113
  }
71
114
  },
72
- "required": [
73
- "id",
74
- "minimum",
75
- "maximum"
76
- ],
77
- "additionalProperties": false
78
- },
79
- "vertex_color_map": {
80
- "$id": "opengeodeweb_viewer.mesh.cells.color_map",
81
- "rpc": "color_map",
82
- "type": "object",
83
- "properties": {
84
- "id": {
85
- "type": "string",
86
- "minLength": 1
115
+ "vertex": {
116
+ "scalar_range": {
117
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.vertex.scalar_range",
118
+ "rpc": "scalar_range",
119
+ "type": "object",
120
+ "properties": {
121
+ "id": {
122
+ "type": "string",
123
+ "minLength": 1
124
+ },
125
+ "minimum": {
126
+ "type": "number"
127
+ },
128
+ "maximum": {
129
+ "type": "number"
130
+ }
131
+ },
132
+ "required": [
133
+ "id",
134
+ "minimum",
135
+ "maximum"
136
+ ],
137
+ "additionalProperties": false
87
138
  },
88
- "points": {
89
- "type": "array",
90
- "items": {
91
- "type": "array",
92
- "description": "[value, r, g, b]",
93
- "items": {
139
+ "name": {
140
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.vertex.name",
141
+ "rpc": "name",
142
+ "type": "object",
143
+ "properties": {
144
+ "id": {
145
+ "type": "string",
146
+ "minLength": 1
147
+ },
148
+ "name": {
149
+ "type": "string",
150
+ "minLength": 1
151
+ }
152
+ },
153
+ "required": [
154
+ "id",
155
+ "name"
156
+ ],
157
+ "additionalProperties": false
158
+ },
159
+ "color_map": {
160
+ "$id": "opengeodeweb_viewer.mesh.cells.attribute.vertex.color_map",
161
+ "rpc": "color_map",
162
+ "type": "object",
163
+ "properties": {
164
+ "id": {
165
+ "type": "string",
166
+ "minLength": 1
167
+ },
168
+ "points": {
169
+ "type": "array",
170
+ "description": "Flat array of [value, r, g, b, ...]",
171
+ "items": {
172
+ "type": "number"
173
+ },
174
+ "minItems": 8
175
+ },
176
+ "minimum": {
94
177
  "type": "number"
95
178
  },
96
- "minItems": 4,
97
- "maxItems": 4
179
+ "maximum": {
180
+ "type": "number"
181
+ }
98
182
  },
99
- "minLength": 2
183
+ "required": [
184
+ "id",
185
+ "points",
186
+ "minimum",
187
+ "maximum"
188
+ ],
189
+ "additionalProperties": false
100
190
  }
101
- },
102
- "required": [
103
- "id",
104
- "points"
105
- ],
106
- "additionalProperties": false
191
+ }
107
192
  },
108
- "vertex_attribute": {
109
- "$id": "opengeodeweb_viewer.mesh.cells.vertex_attribute",
110
- "rpc": "vertex_attribute",
193
+ "visibility": {
194
+ "$id": "opengeodeweb_viewer.mesh.cells.visibility",
195
+ "rpc": "visibility",
111
196
  "type": "object",
112
197
  "properties": {
113
198
  "id": {
114
199
  "type": "string",
115
200
  "minLength": 1
116
201
  },
117
- "name": {
118
- "type": "string",
119
- "minLength": 1
202
+ "visibility": {
203
+ "type": "boolean"
120
204
  }
121
205
  },
122
206
  "required": [
123
207
  "id",
124
- "name"
208
+ "visibility"
125
209
  ],
126
210
  "additionalProperties": false
127
211
  },
@@ -172,214 +256,151 @@
172
256
  "color"
173
257
  ],
174
258
  "additionalProperties": false
259
+ }
260
+ },
261
+ "edges": {
262
+ "attribute": {
263
+ "edge": {
264
+ "name": {
265
+ "$id": "opengeodeweb_viewer.mesh.edges.attribute.edge.name",
266
+ "rpc": "name",
267
+ "type": "object",
268
+ "properties": {
269
+ "id": {
270
+ "type": "string",
271
+ "minLength": 1
272
+ },
273
+ "name": {
274
+ "type": "string",
275
+ "minLength": 1
276
+ }
277
+ },
278
+ "required": [
279
+ "id",
280
+ "name"
281
+ ],
282
+ "additionalProperties": false
283
+ }
284
+ },
285
+ "vertex": {
286
+ "scalar_range": {
287
+ "$id": "opengeodeweb_viewer.mesh.edges.attribute.vertex.scalar_range",
288
+ "rpc": "scalar_range",
289
+ "type": "object",
290
+ "properties": {
291
+ "id": {
292
+ "type": "string",
293
+ "minLength": 1
294
+ },
295
+ "minimum": {
296
+ "type": "number"
297
+ },
298
+ "maximum": {
299
+ "type": "number"
300
+ }
301
+ },
302
+ "required": [
303
+ "id",
304
+ "minimum",
305
+ "maximum"
306
+ ],
307
+ "additionalProperties": false
308
+ },
309
+ "name": {
310
+ "$id": "opengeodeweb_viewer.mesh.edges.attribute.vertex.name",
311
+ "rpc": "name",
312
+ "type": "object",
313
+ "properties": {
314
+ "id": {
315
+ "type": "string",
316
+ "minLength": 1
317
+ },
318
+ "name": {
319
+ "type": "string",
320
+ "minLength": 1
321
+ }
322
+ },
323
+ "required": [
324
+ "id",
325
+ "name"
326
+ ],
327
+ "additionalProperties": false
328
+ },
329
+ "color_map": {
330
+ "$id": "opengeodeweb_viewer.mesh.edges.attribute.vertex.color_map",
331
+ "rpc": "color_map",
332
+ "type": "object",
333
+ "properties": {
334
+ "id": {
335
+ "type": "string",
336
+ "minLength": 1
337
+ },
338
+ "points": {
339
+ "type": "array",
340
+ "description": "Flat array of [value, r, g, b, ...]",
341
+ "items": {
342
+ "type": "number"
343
+ },
344
+ "minItems": 8
345
+ },
346
+ "minimum": {
347
+ "type": "number"
348
+ },
349
+ "maximum": {
350
+ "type": "number"
351
+ }
352
+ },
353
+ "required": [
354
+ "id",
355
+ "points",
356
+ "minimum",
357
+ "maximum"
358
+ ],
359
+ "additionalProperties": false
360
+ }
361
+ }
175
362
  },
176
- "cell_scalar_range": {
177
- "$id": "opengeodeweb_viewer.mesh.cells.cell_scalar_range",
178
- "rpc": "cell_scalar_range",
363
+ "width": {
364
+ "$id": "opengeodeweb_viewer.mesh.edges.width",
365
+ "rpc": "width",
179
366
  "type": "object",
180
367
  "properties": {
181
368
  "id": {
182
369
  "type": "string",
183
370
  "minLength": 1
184
371
  },
185
- "minimum": {
186
- "type": "number"
187
- },
188
- "maximum": {
372
+ "width": {
189
373
  "type": "number"
190
374
  }
191
375
  },
192
376
  "required": [
193
377
  "id",
194
- "minimum",
195
- "maximum"
378
+ "width"
196
379
  ],
197
380
  "additionalProperties": false
198
381
  },
199
- "cell_color_map": {
200
- "$id": "opengeodeweb_viewer.mesh.cells.color_map",
201
- "rpc": "color_map",
382
+ "visibility": {
383
+ "$id": "opengeodeweb_viewer.mesh.edges.visibility",
384
+ "rpc": "visibility",
202
385
  "type": "object",
203
386
  "properties": {
204
387
  "id": {
205
388
  "type": "string",
206
389
  "minLength": 1
207
390
  },
208
- "points": {
209
- "type": "array",
210
- "items": {
211
- "type": "array",
212
- "description": "[value, r, g, b]",
213
- "items": {
214
- "type": "number"
215
- },
216
- "minItems": 4,
217
- "maxItems": 4
218
- },
219
- "minLength": 2
391
+ "visibility": {
392
+ "type": "boolean"
220
393
  }
221
394
  },
222
395
  "required": [
223
396
  "id",
224
- "points"
397
+ "visibility"
225
398
  ],
226
399
  "additionalProperties": false
227
400
  },
228
- "cell_attribute": {
229
- "$id": "opengeodeweb_viewer.mesh.cells.cell_attribute",
230
- "rpc": "cell_attribute",
231
- "type": "object",
232
- "properties": {
233
- "id": {
234
- "type": "string",
235
- "minLength": 1
236
- },
237
- "name": {
238
- "type": "string",
239
- "minLength": 1
240
- }
241
- },
242
- "required": [
243
- "id",
244
- "name"
245
- ],
246
- "additionalProperties": false
247
- }
248
- },
249
- "edges": {
250
- "width": {
251
- "$id": "opengeodeweb_viewer.mesh.edges.width",
252
- "rpc": "width",
253
- "type": "object",
254
- "properties": {
255
- "id": {
256
- "type": "string",
257
- "minLength": 1
258
- },
259
- "width": {
260
- "type": "number"
261
- }
262
- },
263
- "required": [
264
- "id",
265
- "width"
266
- ],
267
- "additionalProperties": false
268
- },
269
- "visibility": {
270
- "$id": "opengeodeweb_viewer.mesh.edges.visibility",
271
- "rpc": "visibility",
272
- "type": "object",
273
- "properties": {
274
- "id": {
275
- "type": "string",
276
- "minLength": 1
277
- },
278
- "visibility": {
279
- "type": "boolean"
280
- }
281
- },
282
- "required": [
283
- "id",
284
- "visibility"
285
- ],
286
- "additionalProperties": false
287
- },
288
- "vertex_scalar_range": {
289
- "$id": "opengeodeweb_viewer.mesh.edges.vertex_scalar_range",
290
- "rpc": "vertex_scalar_range",
291
- "type": "object",
292
- "properties": {
293
- "id": {
294
- "type": "string",
295
- "minLength": 1
296
- },
297
- "minimum": {
298
- "type": "number"
299
- },
300
- "maximum": {
301
- "type": "number"
302
- }
303
- },
304
- "required": [
305
- "id",
306
- "minimum",
307
- "maximum"
308
- ],
309
- "additionalProperties": false
310
- },
311
- "vertex_color_map": {
312
- "$id": "opengeodeweb_viewer.mesh.edges.color_map",
313
- "rpc": "color_map",
314
- "type": "object",
315
- "properties": {
316
- "id": {
317
- "type": "string",
318
- "minLength": 1
319
- },
320
- "points": {
321
- "type": "array",
322
- "items": {
323
- "type": "array",
324
- "description": "[value, r, g, b]",
325
- "items": {
326
- "type": "number"
327
- },
328
- "minItems": 4,
329
- "maxItems": 4
330
- },
331
- "minLength": 2
332
- }
333
- },
334
- "required": [
335
- "id",
336
- "points"
337
- ],
338
- "additionalProperties": false
339
- },
340
- "vertex_attribute": {
341
- "$id": "opengeodeweb_viewer.mesh.edges.vertex_attribute",
342
- "rpc": "vertex_attribute",
343
- "type": "object",
344
- "properties": {
345
- "id": {
346
- "type": "string",
347
- "minLength": 1
348
- },
349
- "name": {
350
- "type": "string",
351
- "minLength": 1
352
- }
353
- },
354
- "required": [
355
- "id",
356
- "name"
357
- ],
358
- "additionalProperties": false
359
- },
360
- "edge_attribute": {
361
- "$id": "opengeodeweb_viewer.mesh.edges.edge_attribute",
362
- "rpc": "edge_attribute",
363
- "type": "object",
364
- "properties": {
365
- "id": {
366
- "type": "string",
367
- "minLength": 1
368
- },
369
- "name": {
370
- "type": "string",
371
- "minLength": 1
372
- }
373
- },
374
- "required": [
375
- "id",
376
- "name"
377
- ],
378
- "additionalProperties": false
379
- },
380
- "color": {
381
- "$id": "opengeodeweb_viewer.mesh.edges.color",
382
- "rpc": "color",
401
+ "color": {
402
+ "$id": "opengeodeweb_viewer.mesh.edges.color",
403
+ "rpc": "color",
383
404
  "type": "object",
384
405
  "properties": {
385
406
  "id": {
@@ -427,6 +448,85 @@
427
448
  }
428
449
  },
429
450
  "points": {
451
+ "attribute": {
452
+ "vertex": {
453
+ "scalar_range": {
454
+ "$id": "opengeodeweb_viewer.mesh.points.attribute.vertex.scalar_range",
455
+ "rpc": "scalar_range",
456
+ "type": "object",
457
+ "properties": {
458
+ "id": {
459
+ "type": "string",
460
+ "minLength": 1
461
+ },
462
+ "minimum": {
463
+ "type": "number"
464
+ },
465
+ "maximum": {
466
+ "type": "number"
467
+ }
468
+ },
469
+ "required": [
470
+ "id",
471
+ "minimum",
472
+ "maximum"
473
+ ],
474
+ "additionalProperties": false
475
+ },
476
+ "name": {
477
+ "$id": "opengeodeweb_viewer.mesh.points.attribute.vertex.name",
478
+ "rpc": "name",
479
+ "type": "object",
480
+ "properties": {
481
+ "id": {
482
+ "type": "string",
483
+ "minLength": 1
484
+ },
485
+ "name": {
486
+ "type": "string",
487
+ "minLength": 1
488
+ }
489
+ },
490
+ "required": [
491
+ "id",
492
+ "name"
493
+ ],
494
+ "additionalProperties": false
495
+ },
496
+ "color_map": {
497
+ "$id": "opengeodeweb_viewer.mesh.points.attribute.vertex.color_map",
498
+ "rpc": "color_map",
499
+ "type": "object",
500
+ "properties": {
501
+ "id": {
502
+ "type": "string",
503
+ "minLength": 1
504
+ },
505
+ "points": {
506
+ "type": "array",
507
+ "description": "Flat array of [value, r, g, b, ...]",
508
+ "items": {
509
+ "type": "number"
510
+ },
511
+ "minItems": 8
512
+ },
513
+ "minimum": {
514
+ "type": "number"
515
+ },
516
+ "maximum": {
517
+ "type": "number"
518
+ }
519
+ },
520
+ "required": [
521
+ "id",
522
+ "points",
523
+ "minimum",
524
+ "maximum"
525
+ ],
526
+ "additionalProperties": false
527
+ }
528
+ }
529
+ },
430
530
  "visibility": {
431
531
  "$id": "opengeodeweb_viewer.mesh.points.visibility",
432
532
  "rpc": "visibility",
@@ -480,21 +580,24 @@
480
580
  },
481
581
  "points": {
482
582
  "type": "array",
583
+ "description": "Flat array of [value, r, g, b, ...]",
483
584
  "items": {
484
- "type": "array",
485
- "description": "[value, r, g, b]",
486
- "items": {
487
- "type": "number"
488
- },
489
- "minItems": 4,
490
- "maxItems": 4
585
+ "type": "number"
491
586
  },
492
- "minLength": 2
587
+ "minItems": 8
588
+ },
589
+ "minimum": {
590
+ "type": "number"
591
+ },
592
+ "maximum": {
593
+ "type": "number"
493
594
  }
494
595
  },
495
596
  "required": [
496
597
  "id",
497
- "points"
598
+ "points",
599
+ "minimum",
600
+ "maximum"
498
601
  ],
499
602
  "additionalProperties": false
500
603
  },
@@ -587,166 +690,178 @@
587
690
  }
588
691
  },
589
692
  "polygons": {
590
- "visibility": {
591
- "$id": "opengeodeweb_viewer.mesh.polygons.visibility",
592
- "rpc": "visibility",
593
- "type": "object",
594
- "properties": {
595
- "id": {
596
- "type": "string",
597
- "minLength": 1
693
+ "attribute": {
694
+ "polygon": {
695
+ "scalar_range": {
696
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.polygon.scalar_range",
697
+ "rpc": "scalar_range",
698
+ "type": "object",
699
+ "properties": {
700
+ "id": {
701
+ "type": "string",
702
+ "minLength": 1
703
+ },
704
+ "minimum": {
705
+ "type": "number"
706
+ },
707
+ "maximum": {
708
+ "type": "number"
709
+ }
710
+ },
711
+ "required": [
712
+ "id",
713
+ "minimum",
714
+ "maximum"
715
+ ],
716
+ "additionalProperties": false
598
717
  },
599
- "visibility": {
600
- "type": "boolean"
718
+ "name": {
719
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.polygon.name",
720
+ "rpc": "name",
721
+ "type": "object",
722
+ "properties": {
723
+ "id": {
724
+ "type": "string",
725
+ "minLength": 1
726
+ },
727
+ "name": {
728
+ "type": "string",
729
+ "minLength": 1
730
+ }
731
+ },
732
+ "required": [
733
+ "id",
734
+ "name"
735
+ ],
736
+ "additionalProperties": false
737
+ },
738
+ "color_map": {
739
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.polygon.color_map",
740
+ "rpc": "color_map",
741
+ "type": "object",
742
+ "properties": {
743
+ "id": {
744
+ "type": "string",
745
+ "minLength": 1
746
+ },
747
+ "points": {
748
+ "type": "array",
749
+ "description": "Flat array of [value, r, g, b, ...]",
750
+ "items": {
751
+ "type": "number"
752
+ },
753
+ "minItems": 8
754
+ },
755
+ "minimum": {
756
+ "type": "number"
757
+ },
758
+ "maximum": {
759
+ "type": "number"
760
+ }
761
+ },
762
+ "required": [
763
+ "id",
764
+ "points",
765
+ "minimum",
766
+ "maximum"
767
+ ],
768
+ "additionalProperties": false
601
769
  }
602
770
  },
603
- "required": [
604
- "id",
605
- "visibility"
606
- ],
607
- "additionalProperties": false
608
- },
609
- "vertex_scalar_range": {
610
- "$id": "opengeodeweb_viewer.mesh.polygons.vertex_scalar_range",
611
- "rpc": "vertex_scalar_range",
612
- "type": "object",
613
- "properties": {
614
- "id": {
615
- "type": "string",
616
- "minLength": 1
617
- },
618
- "minimum": {
619
- "type": "number"
620
- },
621
- "maximum": {
622
- "type": "number"
623
- }
624
- },
625
- "required": [
626
- "id",
627
- "minimum",
628
- "maximum"
629
- ],
630
- "additionalProperties": false
631
- },
632
- "vertex_color_map": {
633
- "$id": "opengeodeweb_viewer.mesh.polygons.color_map",
634
- "rpc": "color_map",
635
- "type": "object",
636
- "properties": {
637
- "id": {
638
- "type": "string",
639
- "minLength": 1
640
- },
641
- "points": {
642
- "type": "array",
643
- "items": {
644
- "type": "array",
645
- "description": "[value, r, g, b]",
646
- "items": {
771
+ "vertex": {
772
+ "scalar_range": {
773
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.vertex.scalar_range",
774
+ "rpc": "scalar_range",
775
+ "type": "object",
776
+ "properties": {
777
+ "id": {
778
+ "type": "string",
779
+ "minLength": 1
780
+ },
781
+ "minimum": {
647
782
  "type": "number"
648
783
  },
649
- "minItems": 4,
650
- "maxItems": 4
784
+ "maximum": {
785
+ "type": "number"
786
+ }
651
787
  },
652
- "minLength": 2
653
- }
654
- },
655
- "required": [
656
- "id",
657
- "points"
658
- ],
659
- "additionalProperties": false
660
- },
661
- "vertex_attribute": {
662
- "$id": "opengeodeweb_viewer.mesh.polygons.vertex_attribute",
663
- "rpc": "vertex_attribute",
664
- "type": "object",
665
- "properties": {
666
- "id": {
667
- "type": "string",
668
- "minLength": 1
788
+ "required": [
789
+ "id",
790
+ "minimum",
791
+ "maximum"
792
+ ],
793
+ "additionalProperties": false
669
794
  },
670
795
  "name": {
671
- "type": "string",
672
- "minLength": 1
673
- }
674
- },
675
- "required": [
676
- "id",
677
- "name"
678
- ],
679
- "additionalProperties": false
680
- },
681
- "polygon_scalar_range": {
682
- "$id": "opengeodeweb_viewer.mesh.polygons.polygon_scalar_range",
683
- "rpc": "polygon_scalar_range",
684
- "type": "object",
685
- "properties": {
686
- "id": {
687
- "type": "string",
688
- "minLength": 1
689
- },
690
- "minimum": {
691
- "type": "number"
692
- },
693
- "maximum": {
694
- "type": "number"
695
- }
696
- },
697
- "required": [
698
- "id",
699
- "minimum",
700
- "maximum"
701
- ],
702
- "additionalProperties": false
703
- },
704
- "polygon_color_map": {
705
- "$id": "opengeodeweb_viewer.mesh.polygons.color_map",
706
- "rpc": "color_map",
707
- "type": "object",
708
- "properties": {
709
- "id": {
710
- "type": "string",
711
- "minLength": 1
796
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.vertex.name",
797
+ "rpc": "name",
798
+ "type": "object",
799
+ "properties": {
800
+ "id": {
801
+ "type": "string",
802
+ "minLength": 1
803
+ },
804
+ "name": {
805
+ "type": "string",
806
+ "minLength": 1
807
+ }
808
+ },
809
+ "required": [
810
+ "id",
811
+ "name"
812
+ ],
813
+ "additionalProperties": false
712
814
  },
713
- "points": {
714
- "type": "array",
715
- "items": {
716
- "type": "array",
717
- "description": "[value, r, g, b]",
718
- "items": {
815
+ "color_map": {
816
+ "$id": "opengeodeweb_viewer.mesh.polygons.attribute.vertex.color_map",
817
+ "rpc": "color_map",
818
+ "type": "object",
819
+ "properties": {
820
+ "id": {
821
+ "type": "string",
822
+ "minLength": 1
823
+ },
824
+ "points": {
825
+ "type": "array",
826
+ "description": "Flat array of [value, r, g, b, ...]",
827
+ "items": {
828
+ "type": "number"
829
+ },
830
+ "minItems": 8
831
+ },
832
+ "minimum": {
719
833
  "type": "number"
720
834
  },
721
- "minItems": 4,
722
- "maxItems": 4
835
+ "maximum": {
836
+ "type": "number"
837
+ }
723
838
  },
724
- "minLength": 2
839
+ "required": [
840
+ "id",
841
+ "points",
842
+ "minimum",
843
+ "maximum"
844
+ ],
845
+ "additionalProperties": false
725
846
  }
726
- },
727
- "required": [
728
- "id",
729
- "points"
730
- ],
731
- "additionalProperties": false
847
+ }
732
848
  },
733
- "polygon_attribute": {
734
- "$id": "opengeodeweb_viewer.mesh.polygons.polygon_attribute",
735
- "rpc": "polygon_attribute",
849
+ "visibility": {
850
+ "$id": "opengeodeweb_viewer.mesh.polygons.visibility",
851
+ "rpc": "visibility",
736
852
  "type": "object",
737
853
  "properties": {
738
854
  "id": {
739
855
  "type": "string",
740
856
  "minLength": 1
741
857
  },
742
- "name": {
743
- "type": "string",
744
- "minLength": 1
858
+ "visibility": {
859
+ "type": "boolean"
745
860
  }
746
861
  },
747
862
  "required": [
748
863
  "id",
749
- "name"
864
+ "visibility"
750
865
  ],
751
866
  "additionalProperties": false
752
867
  },
@@ -800,166 +915,178 @@
800
915
  }
801
916
  },
802
917
  "polyhedra": {
803
- "visibility": {
804
- "$id": "opengeodeweb_viewer.mesh.polyhedra.visibility",
805
- "rpc": "visibility",
806
- "type": "object",
807
- "properties": {
808
- "id": {
809
- "type": "string",
810
- "minLength": 1
811
- },
812
- "visibility": {
813
- "type": "boolean"
814
- }
815
- },
816
- "required": [
817
- "id",
818
- "visibility"
819
- ],
820
- "additionalProperties": false
821
- },
822
- "vertex_scalar_range": {
823
- "$id": "opengeodeweb_viewer.mesh.polyhedra.vertex_scalar_range",
824
- "rpc": "vertex_scalar_range",
825
- "type": "object",
826
- "properties": {
827
- "id": {
828
- "type": "string",
829
- "minLength": 1
830
- },
831
- "minimum": {
832
- "type": "number"
833
- },
834
- "maximum": {
835
- "type": "number"
836
- }
837
- },
838
- "required": [
839
- "id",
840
- "minimum",
841
- "maximum"
842
- ],
843
- "additionalProperties": false
844
- },
845
- "vertex_color_map": {
846
- "$id": "opengeodeweb_viewer.mesh.polyhedra.color_map",
847
- "rpc": "color_map",
848
- "type": "object",
849
- "properties": {
850
- "id": {
851
- "type": "string",
852
- "minLength": 1
853
- },
854
- "points": {
855
- "type": "array",
856
- "items": {
857
- "type": "array",
858
- "description": "[value, r, g, b]",
859
- "items": {
918
+ "attribute": {
919
+ "polyhedron": {
920
+ "scalar_range": {
921
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.polyhedron.scalar_range",
922
+ "rpc": "scalar_range",
923
+ "type": "object",
924
+ "properties": {
925
+ "id": {
926
+ "type": "string",
927
+ "minLength": 1
928
+ },
929
+ "minimum": {
860
930
  "type": "number"
861
931
  },
862
- "minItems": 4,
863
- "maxItems": 4
932
+ "maximum": {
933
+ "type": "number"
934
+ }
864
935
  },
865
- "minLength": 2
866
- }
867
- },
868
- "required": [
869
- "id",
870
- "points"
871
- ],
872
- "additionalProperties": false
873
- },
874
- "vertex_attribute": {
875
- "$id": "opengeodeweb_viewer.mesh.polyhedra.vertex_attribute",
876
- "rpc": "vertex_attribute",
877
- "type": "object",
878
- "properties": {
879
- "id": {
880
- "type": "string",
881
- "minLength": 1
936
+ "required": [
937
+ "id",
938
+ "minimum",
939
+ "maximum"
940
+ ],
941
+ "additionalProperties": false
882
942
  },
883
943
  "name": {
884
- "type": "string",
885
- "minLength": 1
886
- }
887
- },
888
- "required": [
889
- "id",
890
- "name"
891
- ],
892
- "additionalProperties": false
893
- },
894
- "polyhedron_scalar_range": {
895
- "$id": "opengeodeweb_viewer.mesh.polyhedra.polyhedron_scalar_range",
896
- "rpc": "polyhedron_scalar_range",
897
- "type": "object",
898
- "properties": {
899
- "id": {
900
- "type": "string",
901
- "minLength": 1
902
- },
903
- "minimum": {
904
- "type": "number"
944
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.polyhedron.name",
945
+ "rpc": "name",
946
+ "type": "object",
947
+ "properties": {
948
+ "id": {
949
+ "type": "string",
950
+ "minLength": 1
951
+ },
952
+ "name": {
953
+ "type": "string",
954
+ "minLength": 1
955
+ }
956
+ },
957
+ "required": [
958
+ "id",
959
+ "name"
960
+ ],
961
+ "additionalProperties": false
905
962
  },
906
- "maximum": {
907
- "type": "number"
963
+ "color_map": {
964
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.polyhedron.color_map",
965
+ "rpc": "color_map",
966
+ "type": "object",
967
+ "properties": {
968
+ "id": {
969
+ "type": "string",
970
+ "minLength": 1
971
+ },
972
+ "points": {
973
+ "type": "array",
974
+ "description": "Flat array of [value, r, g, b, ...]",
975
+ "items": {
976
+ "type": "number"
977
+ },
978
+ "minItems": 8
979
+ },
980
+ "minimum": {
981
+ "type": "number"
982
+ },
983
+ "maximum": {
984
+ "type": "number"
985
+ }
986
+ },
987
+ "required": [
988
+ "id",
989
+ "points",
990
+ "minimum",
991
+ "maximum"
992
+ ],
993
+ "additionalProperties": false
908
994
  }
909
995
  },
910
- "required": [
911
- "id",
912
- "minimum",
913
- "maximum"
914
- ],
915
- "additionalProperties": false
916
- },
917
- "polyhedron_attribute": {
918
- "$id": "opengeodeweb_viewer.mesh.polyhedra.polyhedron_attribute",
919
- "rpc": "polyhedron_attribute",
920
- "type": "object",
921
- "properties": {
922
- "id": {
923
- "type": "string",
924
- "minLength": 1
996
+ "vertex": {
997
+ "scalar_range": {
998
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.vertex.scalar_range",
999
+ "rpc": "scalar_range",
1000
+ "type": "object",
1001
+ "properties": {
1002
+ "id": {
1003
+ "type": "string",
1004
+ "minLength": 1
1005
+ },
1006
+ "minimum": {
1007
+ "type": "number"
1008
+ },
1009
+ "maximum": {
1010
+ "type": "number"
1011
+ }
1012
+ },
1013
+ "required": [
1014
+ "id",
1015
+ "minimum",
1016
+ "maximum"
1017
+ ],
1018
+ "additionalProperties": false
925
1019
  },
926
1020
  "name": {
927
- "type": "string",
928
- "minLength": 1
1021
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.vertex.name",
1022
+ "rpc": "name",
1023
+ "type": "object",
1024
+ "properties": {
1025
+ "id": {
1026
+ "type": "string",
1027
+ "minLength": 1
1028
+ },
1029
+ "name": {
1030
+ "type": "string",
1031
+ "minLength": 1
1032
+ }
1033
+ },
1034
+ "required": [
1035
+ "id",
1036
+ "name"
1037
+ ],
1038
+ "additionalProperties": false
1039
+ },
1040
+ "color_map": {
1041
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.attribute.vertex.color_map",
1042
+ "rpc": "color_map",
1043
+ "type": "object",
1044
+ "properties": {
1045
+ "id": {
1046
+ "type": "string",
1047
+ "minLength": 1
1048
+ },
1049
+ "points": {
1050
+ "type": "array",
1051
+ "description": "Flat array of [value, r, g, b, ...]",
1052
+ "items": {
1053
+ "type": "number"
1054
+ },
1055
+ "minItems": 8
1056
+ },
1057
+ "minimum": {
1058
+ "type": "number"
1059
+ },
1060
+ "maximum": {
1061
+ "type": "number"
1062
+ }
1063
+ },
1064
+ "required": [
1065
+ "id",
1066
+ "points",
1067
+ "minimum",
1068
+ "maximum"
1069
+ ],
1070
+ "additionalProperties": false
929
1071
  }
930
- },
931
- "required": [
932
- "id",
933
- "name"
934
- ],
935
- "additionalProperties": false
1072
+ }
936
1073
  },
937
- "polyhedra_color_map": {
938
- "$id": "opengeodeweb_viewer.mesh.polyhedra.color_map",
939
- "rpc": "color_map",
1074
+ "visibility": {
1075
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.visibility",
1076
+ "rpc": "visibility",
940
1077
  "type": "object",
941
1078
  "properties": {
942
1079
  "id": {
943
1080
  "type": "string",
944
1081
  "minLength": 1
945
1082
  },
946
- "points": {
947
- "type": "array",
948
- "items": {
949
- "type": "array",
950
- "description": "[value, r, g, b]",
951
- "items": {
952
- "type": "number"
953
- },
954
- "minItems": 4,
955
- "maxItems": 4
956
- },
957
- "minLength": 2
1083
+ "visibility": {
1084
+ "type": "boolean"
958
1085
  }
959
1086
  },
960
1087
  "required": [
961
1088
  "id",
962
- "points"
1089
+ "visibility"
963
1090
  ],
964
1091
  "additionalProperties": false
965
1092
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "json": "npx opengeodeweb-microservice-generate opengeodeweb_viewer rpc rpc .",