@geode/opengeodeweb-viewer 1.11.0-rc.2 → 1.11.0-rc.3

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.
@@ -0,0 +1,1422 @@
1
+ {
2
+ "opengeodeweb_viewer": {
3
+ "generic": {
4
+ "register": {
5
+ "$id": "opengeodeweb_viewer.generic.register",
6
+ "rpc": "register",
7
+ "type": "object",
8
+ "properties": {
9
+ "viewer_object": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "enum": [
13
+ "mesh",
14
+ "model"
15
+ ]
16
+ },
17
+ "id": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "file_name": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ }
25
+ },
26
+ "required": [
27
+ "viewer_object",
28
+ "id",
29
+ "file_name"
30
+ ],
31
+ "additionalProperties": false
32
+ },
33
+ "deregister": {
34
+ "$id": "opengeodeweb_viewer.generic.deregister",
35
+ "rpc": "deregister",
36
+ "type": "object",
37
+ "properties": {
38
+ "viewer_object": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "enum": [
42
+ "mesh",
43
+ "model"
44
+ ]
45
+ },
46
+ "id": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ }
50
+ },
51
+ "required": [
52
+ "viewer_object",
53
+ "id"
54
+ ],
55
+ "additionalProperties": false
56
+ }
57
+ },
58
+ "mesh": {
59
+ "edges": {
60
+ "width": {
61
+ "$id": "opengeodeweb_viewer.mesh.edges.size",
62
+ "rpc": "size",
63
+ "type": "object",
64
+ "properties": {
65
+ "id": {
66
+ "type": "string",
67
+ "minLength": 1
68
+ },
69
+ "width": {
70
+ "type": "number"
71
+ }
72
+ },
73
+ "required": [
74
+ "id",
75
+ "width"
76
+ ],
77
+ "additionalProperties": false
78
+ },
79
+ "visibility": {
80
+ "$id": "opengeodeweb_viewer.mesh.edges.visibility",
81
+ "rpc": "visibility",
82
+ "type": "object",
83
+ "properties": {
84
+ "id": {
85
+ "type": "string",
86
+ "minLength": 1
87
+ },
88
+ "visibility": {
89
+ "type": "boolean"
90
+ }
91
+ },
92
+ "required": [
93
+ "id",
94
+ "visibility"
95
+ ],
96
+ "additionalProperties": false
97
+ },
98
+ "vertex_attribute": {
99
+ "$id": "opengeodeweb_viewer.mesh.edges.vertex_attribute",
100
+ "rpc": "vertex_attribute",
101
+ "type": "object",
102
+ "properties": {
103
+ "id": {
104
+ "type": "string",
105
+ "minLength": 1
106
+ },
107
+ "name": {
108
+ "type": "string",
109
+ "minLength": 1
110
+ }
111
+ },
112
+ "required": [
113
+ "id",
114
+ "name"
115
+ ],
116
+ "additionalProperties": false
117
+ },
118
+ "size": {
119
+ "$id": "opengeodeweb_viewer.mesh.edges.size",
120
+ "rpc": "size",
121
+ "type": "object",
122
+ "properties": {
123
+ "id": {
124
+ "type": "string",
125
+ "minLength": 1
126
+ },
127
+ "size": {
128
+ "type": "integer"
129
+ }
130
+ },
131
+ "required": [
132
+ "id",
133
+ "size"
134
+ ],
135
+ "additionalProperties": false
136
+ },
137
+ "color": {
138
+ "$id": "opengeodeweb_viewer.mesh.edges.color",
139
+ "rpc": "color",
140
+ "type": "object",
141
+ "properties": {
142
+ "id": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ },
146
+ "color": {
147
+ "type": "object",
148
+ "properties": {
149
+ "r": {
150
+ "type": "integer",
151
+ "minimum": 0,
152
+ "maximum": 255
153
+ },
154
+ "g": {
155
+ "type": "integer",
156
+ "minimum": 0,
157
+ "maximum": 255
158
+ },
159
+ "b": {
160
+ "type": "integer",
161
+ "minimum": 0,
162
+ "maximum": 255
163
+ },
164
+ "a": {
165
+ "type": "number",
166
+ "minimum": 0,
167
+ "maximum": 1,
168
+ "default": 1
169
+ }
170
+ },
171
+ "required": [
172
+ "r",
173
+ "g",
174
+ "b"
175
+ ],
176
+ "additionalProperties": false
177
+ }
178
+ },
179
+ "required": [
180
+ "id",
181
+ "color"
182
+ ],
183
+ "additionalProperties": false
184
+ }
185
+ },
186
+ "points": {
187
+ "visibility": {
188
+ "$id": "opengeodeweb_viewer.mesh.points.visibility",
189
+ "rpc": "visibility",
190
+ "type": "object",
191
+ "properties": {
192
+ "id": {
193
+ "type": "string",
194
+ "minLength": 1
195
+ },
196
+ "visibility": {
197
+ "type": "boolean"
198
+ }
199
+ },
200
+ "required": [
201
+ "id",
202
+ "visibility"
203
+ ],
204
+ "additionalProperties": false
205
+ },
206
+ "vertex_attribute": {
207
+ "$id": "opengeodeweb_viewer.mesh.points.vertex_attribute",
208
+ "rpc": "vertex_attribute",
209
+ "type": "object",
210
+ "properties": {
211
+ "id": {
212
+ "type": "string",
213
+ "minLength": 1
214
+ },
215
+ "name": {
216
+ "type": "string",
217
+ "minLength": 1
218
+ }
219
+ },
220
+ "required": [
221
+ "id",
222
+ "name"
223
+ ],
224
+ "additionalProperties": false
225
+ },
226
+ "size": {
227
+ "$id": "opengeodeweb_viewer.mesh.points.size",
228
+ "rpc": "size",
229
+ "type": "object",
230
+ "properties": {
231
+ "id": {
232
+ "type": "string",
233
+ "minLength": 1
234
+ },
235
+ "size": {
236
+ "type": "number"
237
+ }
238
+ },
239
+ "required": [
240
+ "id",
241
+ "size"
242
+ ],
243
+ "additionalProperties": false
244
+ },
245
+ "color": {
246
+ "$id": "opengeodeweb_viewer.mesh.points.color",
247
+ "rpc": "color",
248
+ "type": "object",
249
+ "properties": {
250
+ "id": {
251
+ "type": "string",
252
+ "minLength": 1
253
+ },
254
+ "color": {
255
+ "type": "object",
256
+ "properties": {
257
+ "r": {
258
+ "type": "integer",
259
+ "minimum": 0,
260
+ "maximum": 255
261
+ },
262
+ "g": {
263
+ "type": "integer",
264
+ "minimum": 0,
265
+ "maximum": 255
266
+ },
267
+ "b": {
268
+ "type": "integer",
269
+ "minimum": 0,
270
+ "maximum": 255
271
+ },
272
+ "a": {
273
+ "type": "number",
274
+ "minimum": 0,
275
+ "maximum": 1,
276
+ "default": 1
277
+ }
278
+ },
279
+ "required": [
280
+ "r",
281
+ "g",
282
+ "b"
283
+ ],
284
+ "additionalProperties": false
285
+ }
286
+ },
287
+ "required": [
288
+ "id",
289
+ "color"
290
+ ],
291
+ "additionalProperties": false
292
+ }
293
+ },
294
+ "polygons": {
295
+ "visibility": {
296
+ "$id": "opengeodeweb_viewer.mesh.polygons.visibility",
297
+ "rpc": "visibility",
298
+ "type": "object",
299
+ "properties": {
300
+ "id": {
301
+ "type": "string",
302
+ "minLength": 1
303
+ },
304
+ "visibility": {
305
+ "type": "boolean"
306
+ }
307
+ },
308
+ "required": [
309
+ "id",
310
+ "visibility"
311
+ ],
312
+ "additionalProperties": false
313
+ },
314
+ "vertex_attribute": {
315
+ "$id": "opengeodeweb_viewer.mesh.polygons.vertex_attribute",
316
+ "rpc": "vertex_attribute",
317
+ "type": "object",
318
+ "properties": {
319
+ "id": {
320
+ "type": "string",
321
+ "minLength": 1
322
+ },
323
+ "name": {
324
+ "type": "string",
325
+ "minLength": 1
326
+ }
327
+ },
328
+ "required": [
329
+ "id",
330
+ "name"
331
+ ],
332
+ "additionalProperties": false
333
+ },
334
+ "polygon_attribute": {
335
+ "$id": "opengeodeweb_viewer.mesh.polygons.polygon_attribute",
336
+ "rpc": "polygon_attribute",
337
+ "type": "object",
338
+ "properties": {
339
+ "id": {
340
+ "type": "string",
341
+ "minLength": 1
342
+ },
343
+ "name": {
344
+ "type": "string",
345
+ "minLength": 1
346
+ }
347
+ },
348
+ "required": [
349
+ "id",
350
+ "name"
351
+ ],
352
+ "additionalProperties": false
353
+ },
354
+ "color": {
355
+ "$id": "opengeodeweb_viewer.mesh.polygons.color",
356
+ "rpc": "color",
357
+ "type": "object",
358
+ "properties": {
359
+ "id": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ },
363
+ "color": {
364
+ "type": "object",
365
+ "properties": {
366
+ "r": {
367
+ "type": "integer",
368
+ "minimum": 0,
369
+ "maximum": 255
370
+ },
371
+ "g": {
372
+ "type": "integer",
373
+ "minimum": 0,
374
+ "maximum": 255
375
+ },
376
+ "b": {
377
+ "type": "integer",
378
+ "minimum": 0,
379
+ "maximum": 255
380
+ },
381
+ "a": {
382
+ "type": "number",
383
+ "minimum": 0,
384
+ "maximum": 1,
385
+ "default": 1
386
+ }
387
+ },
388
+ "required": [
389
+ "r",
390
+ "g",
391
+ "b"
392
+ ],
393
+ "additionalProperties": false
394
+ }
395
+ },
396
+ "required": [
397
+ "id",
398
+ "color"
399
+ ],
400
+ "additionalProperties": false
401
+ }
402
+ },
403
+ "polyhedra": {
404
+ "visibility": {
405
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.visibility",
406
+ "rpc": "visibility",
407
+ "type": "object",
408
+ "properties": {
409
+ "id": {
410
+ "type": "string",
411
+ "minLength": 1
412
+ },
413
+ "visibility": {
414
+ "type": "boolean"
415
+ }
416
+ },
417
+ "required": [
418
+ "id",
419
+ "visibility"
420
+ ],
421
+ "additionalProperties": false
422
+ },
423
+ "vertex_attribute": {
424
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.vertex_attribute",
425
+ "rpc": "vertex_attribute",
426
+ "type": "object",
427
+ "properties": {
428
+ "id": {
429
+ "type": "string",
430
+ "minLength": 1
431
+ },
432
+ "name": {
433
+ "type": "string",
434
+ "minLength": 1
435
+ }
436
+ },
437
+ "required": [
438
+ "id",
439
+ "name"
440
+ ],
441
+ "additionalProperties": false
442
+ },
443
+ "polyhedron_attribute": {
444
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.polyhedron_attribute",
445
+ "rpc": "polyhedron_attribute",
446
+ "type": "object",
447
+ "properties": {
448
+ "id": {
449
+ "type": "string",
450
+ "minLength": 1
451
+ },
452
+ "name": {
453
+ "type": "string",
454
+ "minLength": 1
455
+ }
456
+ },
457
+ "required": [
458
+ "id",
459
+ "name"
460
+ ],
461
+ "additionalProperties": false
462
+ },
463
+ "color": {
464
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.color",
465
+ "rpc": "color",
466
+ "type": "object",
467
+ "properties": {
468
+ "id": {
469
+ "type": "string",
470
+ "minLength": 1
471
+ },
472
+ "color": {
473
+ "type": "object",
474
+ "properties": {
475
+ "r": {
476
+ "type": "integer",
477
+ "minimum": 0,
478
+ "maximum": 255
479
+ },
480
+ "g": {
481
+ "type": "integer",
482
+ "minimum": 0,
483
+ "maximum": 255
484
+ },
485
+ "b": {
486
+ "type": "integer",
487
+ "minimum": 0,
488
+ "maximum": 255
489
+ },
490
+ "a": {
491
+ "type": "number",
492
+ "minimum": 0,
493
+ "maximum": 1,
494
+ "default": 1
495
+ }
496
+ },
497
+ "required": [
498
+ "r",
499
+ "g",
500
+ "b"
501
+ ],
502
+ "additionalProperties": false
503
+ }
504
+ },
505
+ "required": [
506
+ "id",
507
+ "color"
508
+ ],
509
+ "additionalProperties": false
510
+ }
511
+ },
512
+ "visibility": {
513
+ "$id": "opengeodeweb_viewer.mesh.visibility",
514
+ "rpc": "visibility",
515
+ "type": "object",
516
+ "properties": {
517
+ "id": {
518
+ "type": "string",
519
+ "minLength": 1
520
+ },
521
+ "visibility": {
522
+ "type": "boolean"
523
+ }
524
+ },
525
+ "required": [
526
+ "id",
527
+ "visibility"
528
+ ],
529
+ "additionalProperties": false
530
+ },
531
+ "register": {
532
+ "$id": "opengeodeweb_viewer.mesh.register",
533
+ "rpc": "register",
534
+ "type": "object",
535
+ "properties": {
536
+ "id": {
537
+ "type": "string",
538
+ "minLength": 1
539
+ },
540
+ "file_name": {
541
+ "type": "string",
542
+ "minLength": 1
543
+ }
544
+ },
545
+ "required": [
546
+ "id",
547
+ "file_name"
548
+ ],
549
+ "additionalProperties": false
550
+ },
551
+ "opacity": {
552
+ "$id": "opengeodeweb_viewer.mesh.opacity",
553
+ "rpc": "opacity",
554
+ "type": "object",
555
+ "properties": {
556
+ "id": {
557
+ "type": "string",
558
+ "minLength": 1
559
+ },
560
+ "opacity": {
561
+ "type": "number",
562
+ "min": 0,
563
+ "max": 1
564
+ }
565
+ },
566
+ "required": [
567
+ "id",
568
+ "opacity"
569
+ ],
570
+ "additionalProperties": false
571
+ },
572
+ "deregister": {
573
+ "$id": "opengeodeweb_viewer.mesh.deregister",
574
+ "rpc": "deregister",
575
+ "type": "object",
576
+ "properties": {
577
+ "id": {
578
+ "type": "string",
579
+ "minLength": 1
580
+ }
581
+ },
582
+ "required": [
583
+ "id"
584
+ ],
585
+ "additionalProperties": false
586
+ },
587
+ "color": {
588
+ "$id": "opengeodeweb_viewer.mesh.color",
589
+ "rpc": "color",
590
+ "type": "object",
591
+ "properties": {
592
+ "id": {
593
+ "type": "string",
594
+ "minLength": 1
595
+ },
596
+ "color": {
597
+ "type": "object",
598
+ "properties": {
599
+ "r": {
600
+ "type": "integer",
601
+ "minimum": 0,
602
+ "maximum": 255
603
+ },
604
+ "g": {
605
+ "type": "integer",
606
+ "minimum": 0,
607
+ "maximum": 255
608
+ },
609
+ "b": {
610
+ "type": "integer",
611
+ "minimum": 0,
612
+ "maximum": 255
613
+ }
614
+ },
615
+ "required": [
616
+ "r",
617
+ "g",
618
+ "b"
619
+ ],
620
+ "additionalProperties": false
621
+ }
622
+ },
623
+ "required": [
624
+ "id",
625
+ "color"
626
+ ],
627
+ "additionalProperties": false
628
+ },
629
+ "apply_textures": {
630
+ "$id": "opengeodeweb_viewer.mesh.apply_textures",
631
+ "rpc": "apply_textures",
632
+ "type": "object",
633
+ "properties": {
634
+ "id": {
635
+ "type": "string",
636
+ "minLength": 1
637
+ },
638
+ "textures": {
639
+ "type": "array",
640
+ "items": {
641
+ "type": "object",
642
+ "properties": {
643
+ "texture_name": {
644
+ "type": "string",
645
+ "minLength": 1
646
+ },
647
+ "texture_file_name": {
648
+ "type": "string",
649
+ "minLength": 1
650
+ }
651
+ },
652
+ "required": [
653
+ "texture_name",
654
+ "texture_file_name"
655
+ ],
656
+ "additionalProperties": false
657
+ },
658
+ "minItems": 1
659
+ }
660
+ },
661
+ "required": [
662
+ "id",
663
+ "textures"
664
+ ],
665
+ "additionalProperties": false
666
+ }
667
+ },
668
+ "model": {
669
+ "blocks": {
670
+ "visibility": {
671
+ "$id": "opengeodeweb_viewer.model.blocks.visibility",
672
+ "rpc": "visibility",
673
+ "type": "object",
674
+ "properties": {
675
+ "id": {
676
+ "type": "string",
677
+ "minLength": 1
678
+ },
679
+ "block_ids": {
680
+ "type": "array",
681
+ "items": {
682
+ "type": "integer",
683
+ "minLength": 1
684
+ },
685
+ "minItems": 1
686
+ },
687
+ "visibility": {
688
+ "type": "boolean"
689
+ }
690
+ },
691
+ "required": [
692
+ "id",
693
+ "block_ids",
694
+ "visibility"
695
+ ],
696
+ "additionalProperties": false
697
+ },
698
+ "color": {
699
+ "$id": "opengeodeweb_viewer.model.blocks.color",
700
+ "rpc": "color",
701
+ "type": "object",
702
+ "properties": {
703
+ "id": {
704
+ "type": "string",
705
+ "minLength": 1
706
+ },
707
+ "block_ids": {
708
+ "type": "array",
709
+ "items": {
710
+ "type": "integer",
711
+ "minLength": 1
712
+ },
713
+ "minItems": 1
714
+ },
715
+ "color": {
716
+ "type": "object",
717
+ "properties": {
718
+ "r": {
719
+ "type": "integer",
720
+ "minimum": 0,
721
+ "maximum": 255
722
+ },
723
+ "g": {
724
+ "type": "integer",
725
+ "minimum": 0,
726
+ "maximum": 255
727
+ },
728
+ "b": {
729
+ "type": "integer",
730
+ "minimum": 0,
731
+ "maximum": 255
732
+ },
733
+ "a": {
734
+ "type": "number",
735
+ "minimum": 0,
736
+ "maximum": 1,
737
+ "default": 1
738
+ }
739
+ },
740
+ "required": [
741
+ "r",
742
+ "g",
743
+ "b"
744
+ ],
745
+ "additionalProperties": false
746
+ }
747
+ },
748
+ "required": [
749
+ "id",
750
+ "block_ids",
751
+ "color"
752
+ ],
753
+ "additionalProperties": false
754
+ }
755
+ },
756
+ "corners": {
757
+ "visibility": {
758
+ "$id": "opengeodeweb_viewer.model.corners.visibility",
759
+ "rpc": "visibility",
760
+ "type": "object",
761
+ "properties": {
762
+ "id": {
763
+ "type": "string",
764
+ "minLength": 1
765
+ },
766
+ "block_ids": {
767
+ "type": "array",
768
+ "items": {
769
+ "type": "integer",
770
+ "minLength": 1
771
+ },
772
+ "minItems": 1
773
+ },
774
+ "visibility": {
775
+ "type": "boolean"
776
+ }
777
+ },
778
+ "required": [
779
+ "id",
780
+ "block_ids",
781
+ "visibility"
782
+ ],
783
+ "additionalProperties": false
784
+ },
785
+ "color": {
786
+ "$id": "opengeodeweb_viewer.model.corners.color",
787
+ "rpc": "color",
788
+ "type": "object",
789
+ "properties": {
790
+ "id": {
791
+ "type": "string",
792
+ "minLength": 1
793
+ },
794
+ "block_ids": {
795
+ "type": "array",
796
+ "items": {
797
+ "type": "integer",
798
+ "minLength": 1
799
+ },
800
+ "minItems": 1
801
+ },
802
+ "color": {
803
+ "type": "object",
804
+ "properties": {
805
+ "r": {
806
+ "type": "integer",
807
+ "minimum": 0,
808
+ "maximum": 255
809
+ },
810
+ "g": {
811
+ "type": "integer",
812
+ "minimum": 0,
813
+ "maximum": 255
814
+ },
815
+ "b": {
816
+ "type": "integer",
817
+ "minimum": 0,
818
+ "maximum": 255
819
+ },
820
+ "a": {
821
+ "type": "number",
822
+ "minimum": 0,
823
+ "maximum": 1,
824
+ "default": 1
825
+ }
826
+ },
827
+ "required": [
828
+ "r",
829
+ "g",
830
+ "b"
831
+ ],
832
+ "additionalProperties": false
833
+ }
834
+ },
835
+ "required": [
836
+ "id",
837
+ "block_ids",
838
+ "color"
839
+ ],
840
+ "additionalProperties": false
841
+ }
842
+ },
843
+ "edges": {
844
+ "visibility": {
845
+ "$id": "opengeodeweb_viewer.model.edges.visibility",
846
+ "rpc": "visibility",
847
+ "type": "object",
848
+ "properties": {
849
+ "id": {
850
+ "type": "string",
851
+ "minLength": 1
852
+ },
853
+ "visibility": {
854
+ "type": "boolean"
855
+ }
856
+ },
857
+ "required": [
858
+ "id",
859
+ "visibility"
860
+ ],
861
+ "additionalProperties": false
862
+ }
863
+ },
864
+ "lines": {
865
+ "visibility": {
866
+ "$id": "opengeodeweb_viewer.model.lines.visibility",
867
+ "rpc": "visibility",
868
+ "type": "object",
869
+ "properties": {
870
+ "id": {
871
+ "type": "string",
872
+ "minLength": 1
873
+ },
874
+ "block_ids": {
875
+ "type": "array",
876
+ "items": {
877
+ "type": "integer",
878
+ "minLength": 1
879
+ },
880
+ "minItems": 1
881
+ },
882
+ "visibility": {
883
+ "type": "boolean"
884
+ }
885
+ },
886
+ "required": [
887
+ "id",
888
+ "block_ids",
889
+ "visibility"
890
+ ],
891
+ "additionalProperties": false
892
+ },
893
+ "color": {
894
+ "$id": "opengeodeweb_viewer.model.lines.color",
895
+ "rpc": "color",
896
+ "type": "object",
897
+ "properties": {
898
+ "id": {
899
+ "type": "string",
900
+ "minLength": 1
901
+ },
902
+ "block_ids": {
903
+ "type": "array",
904
+ "items": {
905
+ "type": "integer",
906
+ "minLength": 1
907
+ },
908
+ "minItems": 1
909
+ },
910
+ "color": {
911
+ "type": "object",
912
+ "properties": {
913
+ "r": {
914
+ "type": "integer",
915
+ "minimum": 0,
916
+ "maximum": 255
917
+ },
918
+ "g": {
919
+ "type": "integer",
920
+ "minimum": 0,
921
+ "maximum": 255
922
+ },
923
+ "b": {
924
+ "type": "integer",
925
+ "minimum": 0,
926
+ "maximum": 255
927
+ },
928
+ "a": {
929
+ "type": "number",
930
+ "minimum": 0,
931
+ "maximum": 1,
932
+ "default": 1
933
+ }
934
+ },
935
+ "required": [
936
+ "r",
937
+ "g",
938
+ "b"
939
+ ],
940
+ "additionalProperties": false
941
+ }
942
+ },
943
+ "required": [
944
+ "id",
945
+ "block_ids",
946
+ "color"
947
+ ],
948
+ "additionalProperties": false
949
+ }
950
+ },
951
+ "points": {
952
+ "visibility": {
953
+ "$id": "opengeodeweb_viewer.model.points.visibility",
954
+ "rpc": "visibility",
955
+ "type": "object",
956
+ "properties": {
957
+ "id": {
958
+ "type": "string",
959
+ "minLength": 1
960
+ },
961
+ "visibility": {
962
+ "type": "boolean"
963
+ }
964
+ },
965
+ "required": [
966
+ "id",
967
+ "visibility"
968
+ ],
969
+ "additionalProperties": false
970
+ },
971
+ "size": {
972
+ "$id": "opengeodeweb_viewer.model.points.size",
973
+ "rpc": "size",
974
+ "type": "object",
975
+ "properties": {
976
+ "id": {
977
+ "type": "string",
978
+ "minLength": 1
979
+ },
980
+ "size": {
981
+ "type": "number"
982
+ }
983
+ },
984
+ "required": [
985
+ "id",
986
+ "size"
987
+ ],
988
+ "additionalProperties": false
989
+ }
990
+ },
991
+ "visibility": {
992
+ "$id": "opengeodeweb_viewer.model.visibility",
993
+ "rpc": "visibility",
994
+ "type": "object",
995
+ "properties": {
996
+ "id": {
997
+ "type": "string",
998
+ "minLength": 1
999
+ },
1000
+ "visibility": {
1001
+ "type": "boolean"
1002
+ }
1003
+ },
1004
+ "required": [
1005
+ "id",
1006
+ "visibility"
1007
+ ],
1008
+ "additionalProperties": false
1009
+ },
1010
+ "register": {
1011
+ "$id": "opengeodeweb_viewer.model.register",
1012
+ "rpc": "register",
1013
+ "type": "object",
1014
+ "properties": {
1015
+ "id": {
1016
+ "type": "string",
1017
+ "minLength": 1
1018
+ },
1019
+ "file_name": {
1020
+ "type": "string",
1021
+ "minLength": 1
1022
+ }
1023
+ },
1024
+ "required": [
1025
+ "id",
1026
+ "file_name"
1027
+ ],
1028
+ "additionalProperties": false
1029
+ },
1030
+ "deregister": {
1031
+ "$id": "opengeodeweb_viewer.model.deregister",
1032
+ "rpc": "deregister",
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "id": {
1036
+ "type": "string",
1037
+ "minLength": 1
1038
+ }
1039
+ },
1040
+ "required": [
1041
+ "id"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ },
1045
+ "surfaces": {
1046
+ "visibility": {
1047
+ "$id": "opengeodeweb_viewer.model.surfaces.visibility",
1048
+ "rpc": "visibility",
1049
+ "type": "object",
1050
+ "properties": {
1051
+ "id": {
1052
+ "type": "string",
1053
+ "minLength": 1
1054
+ },
1055
+ "block_ids": {
1056
+ "type": "array",
1057
+ "items": {
1058
+ "type": "integer",
1059
+ "minLength": 1
1060
+ },
1061
+ "minItems": 1
1062
+ },
1063
+ "visibility": {
1064
+ "type": "boolean"
1065
+ }
1066
+ },
1067
+ "required": [
1068
+ "id",
1069
+ "block_ids",
1070
+ "visibility"
1071
+ ],
1072
+ "additionalProperties": false
1073
+ },
1074
+ "color": {
1075
+ "$id": "opengeodeweb_viewer.model.surfaces.color",
1076
+ "rpc": "color",
1077
+ "type": "object",
1078
+ "properties": {
1079
+ "id": {
1080
+ "type": "string",
1081
+ "minLength": 1
1082
+ },
1083
+ "block_ids": {
1084
+ "type": "array",
1085
+ "items": {
1086
+ "type": "integer",
1087
+ "minLength": 1
1088
+ },
1089
+ "minItems": 1
1090
+ },
1091
+ "color": {
1092
+ "type": "object",
1093
+ "properties": {
1094
+ "r": {
1095
+ "type": "integer",
1096
+ "minimum": 0,
1097
+ "maximum": 255
1098
+ },
1099
+ "g": {
1100
+ "type": "integer",
1101
+ "minimum": 0,
1102
+ "maximum": 255
1103
+ },
1104
+ "b": {
1105
+ "type": "integer",
1106
+ "minimum": 0,
1107
+ "maximum": 255
1108
+ },
1109
+ "a": {
1110
+ "type": "number",
1111
+ "minimum": 0,
1112
+ "maximum": 1,
1113
+ "default": 1
1114
+ }
1115
+ },
1116
+ "required": [
1117
+ "r",
1118
+ "g",
1119
+ "b"
1120
+ ],
1121
+ "additionalProperties": false
1122
+ }
1123
+ },
1124
+ "required": [
1125
+ "id",
1126
+ "block_ids",
1127
+ "color"
1128
+ ],
1129
+ "additionalProperties": false
1130
+ },
1131
+ "apply_textures": {
1132
+ "$id": "opengeodeweb_viewer.model.surfaces.apply_textures",
1133
+ "rpc": "apply_textures",
1134
+ "type": "object",
1135
+ "properties": {
1136
+ "id": {
1137
+ "type": "string",
1138
+ "minLength": 1
1139
+ },
1140
+ "textures": {
1141
+ "type": "array",
1142
+ "items": {
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "texture_name": {
1146
+ "type": "string",
1147
+ "minLength": 1
1148
+ },
1149
+ "texture_file_name": {
1150
+ "type": "string",
1151
+ "minLength": 1
1152
+ }
1153
+ },
1154
+ "required": [
1155
+ "texture_name",
1156
+ "texture_file_name"
1157
+ ],
1158
+ "additionalProperties": false
1159
+ },
1160
+ "minItems": 1
1161
+ }
1162
+ },
1163
+ "required": [
1164
+ "id",
1165
+ "textures"
1166
+ ],
1167
+ "additionalProperties": false
1168
+ }
1169
+ }
1170
+ },
1171
+ "viewer": {
1172
+ "update_data": {
1173
+ "$id": "opengeodeweb_viewer.viewer.update_data",
1174
+ "rpc": "update_data",
1175
+ "type": "object",
1176
+ "properties": {
1177
+ "id": {
1178
+ "type": "string",
1179
+ "minLength": 1
1180
+ }
1181
+ },
1182
+ "required": [
1183
+ "id"
1184
+ ],
1185
+ "additionalProperties": false
1186
+ },
1187
+ "update_camera": {
1188
+ "$id": "opengeodeweb_viewer.viewer.update_camera",
1189
+ "rpc": "update_camera",
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "camera_options": {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "focal_point": {
1196
+ "type": "array",
1197
+ "items": {
1198
+ "type": "number"
1199
+ },
1200
+ "minItems": 3,
1201
+ "maxItems": 3
1202
+ },
1203
+ "view_up": {
1204
+ "type": "array",
1205
+ "items": {
1206
+ "type": "number"
1207
+ },
1208
+ "minItems": 3,
1209
+ "maxItems": 3
1210
+ },
1211
+ "position": {
1212
+ "type": "array",
1213
+ "items": {
1214
+ "type": "number"
1215
+ },
1216
+ "minItems": 3,
1217
+ "maxItems": 3
1218
+ },
1219
+ "view_angle": {
1220
+ "type": "number"
1221
+ },
1222
+ "clipping_range": {
1223
+ "type": "array",
1224
+ "items": {
1225
+ "type": "number"
1226
+ },
1227
+ "minItems": 2,
1228
+ "maxItems": 2
1229
+ }
1230
+ },
1231
+ "required": [
1232
+ "focal_point",
1233
+ "view_up",
1234
+ "position",
1235
+ "view_angle",
1236
+ "clipping_range"
1237
+ ]
1238
+ }
1239
+ },
1240
+ "required": [
1241
+ "camera_options"
1242
+ ]
1243
+ },
1244
+ "take_screenshot": {
1245
+ "$id": "opengeodeweb_viewer.viewer.take_screenshot",
1246
+ "rpc": "take_screenshot",
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "filename": {
1250
+ "type": "string",
1251
+ "minLength": 1
1252
+ },
1253
+ "output_extension": {
1254
+ "type": "string",
1255
+ "minLength": 1,
1256
+ "enum": [
1257
+ "png",
1258
+ "jpg"
1259
+ ]
1260
+ },
1261
+ "include_background": {
1262
+ "type": "boolean"
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "filename",
1267
+ "output_extension",
1268
+ "include_background"
1269
+ ],
1270
+ "additionalProperties": false
1271
+ },
1272
+ "set_z_scaling": {
1273
+ "$id": "opengeodeweb_viewer.viewer.set_z_scaling",
1274
+ "rpc": "set_z_scaling",
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "z_scale": {
1278
+ "type": "number",
1279
+ "minimum": 1
1280
+ }
1281
+ },
1282
+ "required": [
1283
+ "z_scale"
1284
+ ],
1285
+ "additionalProperties": false
1286
+ },
1287
+ "set_background_color": {
1288
+ "$id": "opengeodeweb_viewer.viewer.set_background_color",
1289
+ "rpc": "set_background_color",
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "color": {
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "r": {
1296
+ "type": "integer",
1297
+ "minimum": 0,
1298
+ "maximum": 255
1299
+ },
1300
+ "g": {
1301
+ "type": "integer",
1302
+ "minimum": 0,
1303
+ "maximum": 255
1304
+ },
1305
+ "b": {
1306
+ "type": "integer",
1307
+ "minimum": 0,
1308
+ "maximum": 255
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "r",
1313
+ "g",
1314
+ "b"
1315
+ ],
1316
+ "additionalProperties": false
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "color"
1321
+ ],
1322
+ "additionalProperties": false
1323
+ },
1324
+ "reset_visualization": {
1325
+ "$id": "opengeodeweb_viewer.viewer.reset_visualization",
1326
+ "rpc": "reset_visualization",
1327
+ "type": "object",
1328
+ "properties": {},
1329
+ "required": [],
1330
+ "additionalProperties": false
1331
+ },
1332
+ "reset_camera": {
1333
+ "$id": "opengeodeweb_viewer.viewer.reset_camera",
1334
+ "rpc": "reset_camera",
1335
+ "type": "object",
1336
+ "properties": {},
1337
+ "required": [],
1338
+ "additionalProperties": false
1339
+ },
1340
+ "render_now": {
1341
+ "$id": "opengeodeweb_viewer.viewer.render_now",
1342
+ "rpc": "render_now",
1343
+ "type": "object",
1344
+ "properties": {},
1345
+ "required": [],
1346
+ "additionalProperties": false
1347
+ },
1348
+ "picked_ids": {
1349
+ "$id": "opengeodeweb_viewer.viewer.picked_ids",
1350
+ "rpc": "picked_ids",
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "x": {
1354
+ "type": "number"
1355
+ },
1356
+ "y": {
1357
+ "type": "number"
1358
+ },
1359
+ "ids": {
1360
+ "type": "array",
1361
+ "items": {
1362
+ "type": "string",
1363
+ "minLength": 1
1364
+ }
1365
+ }
1366
+ },
1367
+ "required": [
1368
+ "x",
1369
+ "y",
1370
+ "ids"
1371
+ ],
1372
+ "additionalProperties": false
1373
+ },
1374
+ "grid_scale": {
1375
+ "$id": "opengeodeweb_viewer.viewer.grid_scale",
1376
+ "rpc": "grid_scale",
1377
+ "type": "object",
1378
+ "properties": {
1379
+ "visibility": {
1380
+ "type": "boolean"
1381
+ }
1382
+ },
1383
+ "required": [
1384
+ "visibility"
1385
+ ],
1386
+ "additionalProperties": false
1387
+ },
1388
+ "get_point_position": {
1389
+ "$id": "opengeodeweb_viewer.viewer.get_point_position",
1390
+ "rpc": "get_point_position",
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "x": {
1394
+ "type": "integer"
1395
+ },
1396
+ "y": {
1397
+ "type": "integer"
1398
+ }
1399
+ },
1400
+ "required": [
1401
+ "x",
1402
+ "y"
1403
+ ],
1404
+ "additionalProperties": false
1405
+ },
1406
+ "axes": {
1407
+ "$id": "opengeodeweb_viewer.viewer.axes",
1408
+ "rpc": "axes",
1409
+ "type": "object",
1410
+ "properties": {
1411
+ "visibility": {
1412
+ "type": "boolean"
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "visibility"
1417
+ ],
1418
+ "additionalProperties": false
1419
+ }
1420
+ }
1421
+ }
1422
+ }