-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathapi.json
More file actions
7882 lines (7882 loc) · 244 KB
/
Copy pathapi.json
File metadata and controls
7882 lines (7882 loc) · 244 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"openapi": "3.0.3",
"info": {
"title": "Example Modeling API server",
"description": "Example modeling API server",
"contact": {
"url": "https://zoo.dev",
"email": "api@zoo.dev"
},
"version": "1.2.3"
},
"paths": {
"/example": {
"put": {
"operationId": "example",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WebSocketRequest"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "resource updated"
},
"4XX": {
"$ref": "#/components/responses/Error"
},
"5XX": {
"$ref": "#/components/responses/Error"
}
}
}
}
},
"components": {
"schemas": {
"Angle": {
"description": "An angle, with a specific unit.",
"type": "object",
"properties": {
"unit": {
"description": "What unit is the measurement?",
"allOf": [
{
"$ref": "#/components/schemas/UnitAngle"
}
]
},
"value": {
"description": "The size of the angle, measured in the chosen unit.",
"type": "number",
"format": "double"
}
},
"required": [
"unit",
"value"
]
},
"AnnotationBasicDimension": {
"description": "Parameters for defining an MBD Basic Dimension Annotation state which is measured between two positions in 3D",
"type": "object",
"properties": {
"dimension": {
"description": "Basic dimension parameters (symbol and tolerance)",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationMbdBasicDimension"
}
]
},
"font_point_size": {
"description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance.",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"font_scale": {
"description": "The scale of the font label in 3D space",
"type": "number",
"format": "float"
},
"from_entity_id": {
"description": "Entity to measure the dimension from",
"type": "string",
"format": "uuid"
},
"from_entity_pos": {
"description": "Normalized position within the entity to position the dimension from",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"offset": {
"description": "2D Position offset of the annotation within the plane.",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"plane_id": {
"description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin.",
"type": "string",
"format": "uuid"
},
"precision": {
"description": "Number of decimal places to use when displaying tolerance and dimension values",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"to_entity_id": {
"description": "Entity to measure the dimension to",
"type": "string",
"format": "uuid"
},
"to_entity_pos": {
"description": "Normalized position within the entity to position the dimension to",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
}
},
"required": [
"dimension",
"font_point_size",
"font_scale",
"from_entity_id",
"from_entity_pos",
"offset",
"plane_id",
"precision",
"to_entity_id",
"to_entity_pos"
]
},
"AnnotationFeatureControl": {
"description": "Parameters for defining an MBD Feature Control Annotation state",
"type": "object",
"properties": {
"control_frame": {
"nullable": true,
"description": "MBD Control frame for geometric control",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationMbdControlFrame"
}
]
},
"defined_datum": {
"nullable": true,
"description": "Set if this annotation is defining a datum",
"type": "string",
"minLength": 1,
"maxLength": 1
},
"dimension": {
"nullable": true,
"description": "Basic dimensions",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationMbdBasicDimension"
}
]
},
"entity_id": {
"description": "Entity to place the annotation leader from",
"type": "string",
"format": "uuid"
},
"entity_pos": {
"description": "Normalized position within the entity to position the annotation leader from",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"font_point_size": {
"description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance.",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"font_scale": {
"description": "The scale of the font label in 3D space",
"type": "number",
"format": "float"
},
"leader_type": {
"description": "Type of leader to use",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationLineEnd"
}
]
},
"offset": {
"description": "2D Position offset of the annotation within the plane.",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"plane_id": {
"description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin.",
"type": "string",
"format": "uuid"
},
"precision": {
"description": "Number of decimal places to use when displaying tolerance and dimension values",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"prefix": {
"nullable": true,
"description": "Prefix text which will appear before the basic dimension",
"type": "string"
},
"suffix": {
"nullable": true,
"description": "Suffix text which will appear after the basic dimension",
"type": "string"
}
},
"required": [
"entity_id",
"entity_pos",
"font_point_size",
"font_scale",
"leader_type",
"offset",
"plane_id",
"precision"
]
},
"AnnotationFeatureTag": {
"description": "Parameters for defining an MBD Feature Tag Annotation state",
"type": "object",
"properties": {
"entity_id": {
"description": "Entity to place the annotation leader from",
"type": "string",
"format": "uuid"
},
"entity_pos": {
"description": "Normalized position within the entity to position the annotation leader from",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"font_point_size": {
"description": "The point size of the fonts used to generate the annotation label. Very large values can negatively affect performance.",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"font_scale": {
"description": "The scale of the font label in 3D space",
"type": "number",
"format": "float"
},
"key": {
"description": "Tag key",
"type": "string"
},
"leader_type": {
"description": "Type of leader to use",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationLineEnd"
}
]
},
"offset": {
"description": "2D Position offset of the annotation within the plane.",
"allOf": [
{
"$ref": "#/components/schemas/Point2d"
}
]
},
"plane_id": {
"description": "Orientation plane. The annotation will lie in this plane which is positioned about the leader position as its origin.",
"type": "string",
"format": "uuid"
},
"show_key": {
"description": "Whether or not to display the key on the annotation label",
"type": "boolean"
},
"value": {
"description": "Tag value",
"type": "string"
}
},
"required": [
"entity_id",
"entity_pos",
"font_point_size",
"font_scale",
"key",
"leader_type",
"offset",
"plane_id",
"show_key",
"value"
]
},
"AnnotationLineEnd": {
"description": "Annotation line end type",
"type": "string",
"enum": [
"none",
"arrow",
"dot"
]
},
"AnnotationLineEndOptions": {
"description": "Options for annotation text",
"type": "object",
"properties": {
"end": {
"description": "How to style the end of the annotation line.",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationLineEnd"
}
]
},
"start": {
"description": "How to style the start of the annotation line.",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationLineEnd"
}
]
}
},
"required": [
"end",
"start"
]
},
"AnnotationMbdBasicDimension": {
"description": "Parameters for defining an MBD basic dimension",
"type": "object",
"properties": {
"dimension": {
"nullable": true,
"description": "The explicitly defined dimension. Only required if the measurement is not automatically calculated.",
"type": "number",
"format": "double"
},
"symbol": {
"nullable": true,
"description": "Type of symbol to use for this dimension (if required)",
"allOf": [
{
"$ref": "#/components/schemas/MbdSymbol"
}
]
},
"tolerance": {
"description": "The tolerance of the dimension",
"type": "number",
"format": "double"
}
},
"required": [
"tolerance"
]
},
"AnnotationMbdControlFrame": {
"description": "Parameters for defining an MBD Geometric control frame",
"type": "object",
"properties": {
"diameter_symbol": {
"nullable": true,
"description": "Diameter symbol (if required) whether the geometric control requires a cylindrical or diameter tolerance",
"allOf": [
{
"$ref": "#/components/schemas/MbdSymbol"
}
]
},
"modifier": {
"nullable": true,
"description": "Feature of size or tolerance modifiers",
"allOf": [
{
"$ref": "#/components/schemas/MbdSymbol"
}
]
},
"primary_datum": {
"nullable": true,
"description": "Primary datum",
"type": "string",
"minLength": 1,
"maxLength": 1
},
"secondary_datum": {
"nullable": true,
"description": "Secondary datum",
"type": "string",
"minLength": 1,
"maxLength": 1
},
"symbol": {
"description": "Geometric symbol, the type of geometric control specified",
"allOf": [
{
"$ref": "#/components/schemas/MbdSymbol"
}
]
},
"tertiary_datum": {
"nullable": true,
"description": "Tertiary datum",
"type": "string",
"minLength": 1,
"maxLength": 1
},
"tolerance": {
"description": "Tolerance value - the total tolerance of the geometric control. The unit is based on the drawing standard.",
"type": "number",
"format": "double"
}
},
"required": [
"symbol",
"tolerance"
]
},
"AnnotationOptions": {
"description": "Options for annotations",
"type": "object",
"properties": {
"color": {
"nullable": true,
"description": "Color to render the annotation",
"allOf": [
{
"$ref": "#/components/schemas/Color"
}
]
},
"dimension": {
"nullable": true,
"description": "Set as an MBD measured basic dimension annotation",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationBasicDimension"
}
]
},
"feature_control": {
"nullable": true,
"description": "Set as an MBD Feature control annotation",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationFeatureControl"
}
]
},
"feature_tag": {
"nullable": true,
"description": "Set as a feature tag annotation",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationFeatureTag"
}
]
},
"line_ends": {
"nullable": true,
"description": "How to style the start and end of the line",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationLineEndOptions"
}
]
},
"line_width": {
"nullable": true,
"description": "Width of the annotation's line",
"type": "number",
"format": "float"
},
"position": {
"nullable": true,
"description": "Position to put the annotation",
"allOf": [
{
"$ref": "#/components/schemas/Point3d"
}
]
},
"text": {
"nullable": true,
"description": "Text displayed on the annotation",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationTextOptions"
}
]
}
}
},
"AnnotationTextAlignmentX": {
"description": "Horizontal Text alignment",
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"AnnotationTextAlignmentY": {
"description": "Vertical Text alignment",
"type": "string",
"enum": [
"bottom",
"center",
"top"
]
},
"AnnotationTextOptions": {
"description": "Options for annotation text",
"type": "object",
"properties": {
"point_size": {
"description": "Text font's point size",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"text": {
"description": "Text displayed on the annotation",
"type": "string"
},
"x": {
"description": "Alignment along the X axis",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationTextAlignmentX"
}
]
},
"y": {
"description": "Alignment along the Y axis",
"allOf": [
{
"$ref": "#/components/schemas/AnnotationTextAlignmentY"
}
]
}
},
"required": [
"point_size",
"text",
"x",
"y"
]
},
"AnnotationType": {
"description": "The type of annotation",
"oneOf": [
{
"description": "2D annotation type (screen or planar space)",
"type": "string",
"enum": [
"t2d"
]
},
{
"description": "3D annotation type",
"type": "string",
"enum": [
"t3d"
]
}
]
},
"Axis": {
"description": "Co-ordinate axis specifier.\n\nSee [cglearn.eu] for background reading.\n\n[cglearn.eu]: https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1",
"oneOf": [
{
"description": "'Y' axis.",
"type": "string",
"enum": [
"y"
]
},
{
"description": "'Z' axis.",
"type": "string",
"enum": [
"z"
]
}
]
},
"AxisDirectionPair": {
"description": "An [`Axis`] paired with a [`Direction`].",
"type": "object",
"properties": {
"axis": {
"description": "Axis specifier.",
"allOf": [
{
"$ref": "#/components/schemas/Axis"
}
]
},
"direction": {
"description": "Specifies which direction the axis is pointing.",
"allOf": [
{
"$ref": "#/components/schemas/Direction"
}
]
}
},
"required": [
"axis",
"direction"
]
},
"CameraDragInteractionType": {
"description": "The type of camera drag interaction.",
"oneOf": [
{
"description": "Camera pan",
"type": "string",
"enum": [
"pan"
]
},
{
"description": "Camera rotate (spherical camera revolve/orbit)",
"type": "string",
"enum": [
"rotate"
]
},
{
"description": "Camera rotate (trackball with 3 degrees of freedom)",
"type": "string",
"enum": [
"rotatetrackball"
]
},
{
"description": "Camera zoom (increase or decrease distance to reference point center)",
"type": "string",
"enum": [
"zoom"
]
}
]
},
"CameraMovement": {
"description": "A type of camera movement applied after certain camera operations",
"oneOf": [
{
"description": "Adjusts the camera position during the camera operation",
"type": "string",
"enum": [
"vantage"
]
},
{
"description": "Keeps the camera position in place",
"type": "string",
"enum": [
"none"
]
}
]
},
"CameraViewState": {
"type": "object",
"properties": {
"eye_offset": {
"type": "number",
"format": "float"
},
"fov_y": {
"type": "number",
"format": "float"
},
"is_ortho": {
"type": "boolean"
},
"ortho_scale_enabled": {
"type": "boolean"
},
"ortho_scale_factor": {
"type": "number",
"format": "float"
},
"pivot_position": {
"$ref": "#/components/schemas/Point3d"
},
"pivot_rotation": {
"$ref": "#/components/schemas/Point4d"
},
"world_coord_system": {
"$ref": "#/components/schemas/WorldCoordinateSystem"
}
},
"required": [
"eye_offset",
"fov_y",
"is_ortho",
"ortho_scale_enabled",
"ortho_scale_factor",
"pivot_position",
"pivot_rotation",
"world_coord_system"
]
},
"ClientMetrics": {
"description": "ClientMetrics contains information regarding the state of the peer.",
"type": "object",
"properties": {
"rtc_frame_height": {
"nullable": true,
"description": "The height of the inbound video stream in pixels.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-frameheight",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_frame_width": {
"nullable": true,
"description": "The width of the inbound video stream in pixels.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-framewidth",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_frames_decoded": {
"nullable": true,
"description": "Counter of the number of WebRTC frames that the client has decoded from the inbound video stream.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"rtc_frames_dropped": {
"nullable": true,
"description": "Counter of the number of WebRTC frames the client has dropped from the inbound video stream.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-framesdropped",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_frames_per_second": {
"nullable": true,
"description": "Current number of frames being rendered in the last second. A good target is 60 frames per second, but it can fluctuate depending on network conditions.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount",
"type": "integer",
"format": "uint8",
"minimum": 0
},
"rtc_frames_received": {
"nullable": true,
"description": "Counter of the number of WebRTC frames that the client has received from the inbound video stream.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"rtc_freeze_count": {
"nullable": true,
"description": "Number of times the inbound video playback has frozen. This is usually due to network conditions.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_jitter_sec": {
"nullable": true,
"description": "Amount of \"jitter\" in the inbound video stream. Network latency is the time it takes a packet to traverse the network. The amount that the latency varies is the jitter. Video latency is the time it takes to render a frame sent by the server (including network latency). A low jitter means the video latency can be reduced without impacting smooth playback. High jitter means clients will increase video latency to ensure smooth playback.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcreceivedrtpstreamstats-jitter",
"type": "number",
"format": "double"
},
"rtc_keyframes_decoded": {
"nullable": true,
"description": "Number of \"key frames\" decoded in the inbound h.264 stream. A key frame is an expensive (bandwidth-wise) \"full image\" of the video frame. Data after the keyframe become -- effectively -- \"diff\" operations on that key frame. The Engine will only send a keyframe if required, which is an indication that some of the \"diffs\" have been lost, usually an indication of poor network conditions. We like this metric to understand times when the connection has had to recover.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-keyframesdecoded",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_packets_lost": {
"nullable": true,
"description": "Amount of packets lost in the inbound video stream.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcreceivedrtpstreamstats-packetslost",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_pause_count": {
"nullable": true,
"description": "Count of the total number of video pauses experienced by this receiver.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-pausecount",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_pli_count": {
"nullable": true,
"description": "Count the total number of Picture Loss Indication (PLI) packets.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-plicount",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"rtc_stun_rtt_sec": {
"nullable": true,
"description": "Total duration of pauses in seconds.\n\nThis is the \"ping\" between the client and the STUN server. Not to be confused with the E2E RTT documented [here](https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteinboundrtpstreamstats-roundtriptime)\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-currentroundtriptime",
"type": "number",
"format": "float"
},
"rtc_total_freezes_duration_sec": {
"nullable": true,
"description": "Number of seconds of frozen video the user has been subjected to.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-totalfreezesduration",
"type": "number",
"format": "float"
},
"rtc_total_pauses_duration_sec": {
"nullable": true,
"description": "Count of the total number of video pauses experienced by this receiver.\n\nhttps://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-totalpausesduration",
"type": "number",
"format": "float"
}
}
},
"Color": {
"description": "An RGBA color",
"type": "object",
"properties": {
"a": {
"description": "Alpha",
"type": "number",
"format": "float"
},
"b": {
"description": "Blue",
"type": "number",
"format": "float"
},
"g": {
"description": "Green",
"type": "number",
"format": "float"
},
"r": {
"description": "Red",
"type": "number",
"format": "float"
}
},
"required": [
"a",
"b",
"g",
"r"
]
},
"ComponentTransform": {
"description": "Container that holds a translate, rotate and scale. Defaults to no change, everything stays the same (i.e. the identity function).",
"type": "object",
"properties": {
"rotate_angle_axis": {
"nullable": true,
"description": "Rotate component of the transform. The rotation is specified as an axis and an angle (xyz are the components of the axis, w is the angle in degrees).",
"allOf": [
{
"$ref": "#/components/schemas/TransformByForPoint4d"
}
]
},
"rotate_rpy": {
"nullable": true,
"description": "Rotate component of the transform. The rotation is specified as a roll, pitch, yaw.",
"allOf": [
{
"$ref": "#/components/schemas/TransformByForPoint3d"
}
]
},
"scale": {
"nullable": true,
"description": "Scale component of the transform.",
"allOf": [
{
"$ref": "#/components/schemas/TransformByForPoint3d"
}
]
},
"translate": {
"nullable": true,
"description": "Translate component of the transform.",
"allOf": [
{
"$ref": "#/components/schemas/TransformByForPoint3d"
}
]
}
}
},
"CutStrategy": {
"description": "What strategy (algorithm) should be used for cutting? Defaults to Automatic.",
"oneOf": [
{
"description": "Basic fillet cut. This has limitations, like the filletted edges can't touch each other. But it's very fast and simple.",
"type": "string",
"enum": [
"basic"
]
},
{
"description": "More complicated fillet cut. It works for more use-cases, like edges that touch each other. But it's slower than the Basic method.",
"type": "string",
"enum": [
"csg"
]
},
{
"description": "Tries the Basic method, and if that doesn't work, tries the CSG strategy.",
"type": "string",
"enum": [
"automatic"
]
}
]
},
"CutType": {
"description": "What kind of cut to do",
"oneOf": [
{
"description": "Round off an edge.",
"type": "string",
"enum": [
"fillet"
]
},
{
"description": "Cut away an edge.",
"type": "string",
"enum": [
"chamfer"
]
}
]
},
"CutTypeV2": {
"description": "What kind of cut to perform when cutting an edge.",
"oneOf": [
{
"description": "Round off an edge.",
"type": "object",
"properties": {
"fillet": {
"type": "object",
"properties": {
"radius": {
"description": "The radius of the fillet.",
"allOf": [
{
"$ref": "#/components/schemas/LengthUnit"
}
]
},
"second_length": {
"nullable": true,
"description": "The second length affects the edge length of the second face of the cut. This will cause the fillet to take on the shape of a conic section, instead of an arc.",
"allOf": [
{
"$ref": "#/components/schemas/LengthUnit"
}
]
}
},
"required": [
"radius"
]
}
},
"required": [
"fillet"
],