@bitbybit-dev/cad-cloud-sdk 1.7.0 → 1.8.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.
@@ -377,6 +377,1179 @@ export const schemaBundle = {
377
377
  },
378
378
  "additionalProperties": false
379
379
  },
380
+ "DrawingAnnotatedProduct": {
381
+ "type": "object",
382
+ "properties": {
383
+ "product": {
384
+ "type": "integer",
385
+ "minimum": 0,
386
+ "maximum": 99999
387
+ },
388
+ "instance": {
389
+ "type": "integer",
390
+ "minimum": 0,
391
+ "maximum": 99999
392
+ },
393
+ "addViews": {
394
+ "type": "boolean"
395
+ },
396
+ "notes": {
397
+ "type": "boolean"
398
+ }
399
+ },
400
+ "additionalProperties": false
401
+ },
402
+ "DrawingBalloons": {
403
+ "type": "object",
404
+ "properties": {
405
+ "view": {
406
+ "type": "integer",
407
+ "minimum": 0,
408
+ "maximum": 11
409
+ },
410
+ "section": {
411
+ "type": "string",
412
+ "pattern": "^[A-Z0-9]{1,2}$"
413
+ },
414
+ "items": {
415
+ "minItems": 1,
416
+ "maxItems": 100,
417
+ "type": "array",
418
+ "items": {
419
+ "type": "object",
420
+ "properties": {
421
+ "item": {
422
+ "type": "string",
423
+ "maxLength": 24,
424
+ "minLength": 1
425
+ },
426
+ "parts": {
427
+ "minItems": 1,
428
+ "maxItems": 10000,
429
+ "type": "array",
430
+ "items": {
431
+ "type": "integer",
432
+ "minimum": 0,
433
+ "maximum": 9999
434
+ }
435
+ }
436
+ },
437
+ "required": [
438
+ "item",
439
+ "parts"
440
+ ],
441
+ "additionalProperties": false
442
+ }
443
+ }
444
+ },
445
+ "required": [
446
+ "items"
447
+ ],
448
+ "additionalProperties": false
449
+ },
450
+ "DrawingDrawBody": {
451
+ "type": "object",
452
+ "properties": {
453
+ "stepFileId": {
454
+ "type": "string",
455
+ "minLength": 1
456
+ },
457
+ "fileUnit": {
458
+ "$ref": "#/$defs/LengthUnit"
459
+ },
460
+ "plan": {
461
+ "$ref": "#/$defs/DrawingPlan"
462
+ },
463
+ "planFileId": {
464
+ "type": "string",
465
+ "minLength": 1
466
+ },
467
+ "outputs": {
468
+ "$ref": "#/$defs/DrawingOutputOptions"
469
+ },
470
+ "onlySheets": {
471
+ "$ref": "#/$defs/DrawingOnlySheets"
472
+ },
473
+ "modelFromTask": {
474
+ "type": "string",
475
+ "pattern": "^task_[A-Za-z0-9-]{1,59}$"
476
+ }
477
+ },
478
+ "required": [
479
+ "stepFileId"
480
+ ],
481
+ "additionalProperties": false
482
+ },
483
+ "DrawingFlat": {
484
+ "type": "object",
485
+ "properties": {
486
+ "kFactor": {
487
+ "type": "number",
488
+ "minimum": 0,
489
+ "maximum": 1
490
+ },
491
+ "thickness": {
492
+ "type": "number",
493
+ "minimum": 0,
494
+ "maximum": 10000
495
+ },
496
+ "auto": {
497
+ "type": "boolean"
498
+ }
499
+ },
500
+ "additionalProperties": false
501
+ },
502
+ "DrawingFrame": {
503
+ "type": "object",
504
+ "properties": {
505
+ "origin": {
506
+ "type": "array",
507
+ "prefixItems": [
508
+ {
509
+ "type": "number",
510
+ "minimum": -1000000000,
511
+ "maximum": 1000000000
512
+ },
513
+ {
514
+ "type": "number",
515
+ "minimum": -1000000000,
516
+ "maximum": 1000000000
517
+ },
518
+ {
519
+ "type": "number",
520
+ "minimum": -1000000000,
521
+ "maximum": 1000000000
522
+ }
523
+ ]
524
+ },
525
+ "normal": {
526
+ "type": "array",
527
+ "prefixItems": [
528
+ {
529
+ "type": "number",
530
+ "minimum": -1000000000,
531
+ "maximum": 1000000000
532
+ },
533
+ {
534
+ "type": "number",
535
+ "minimum": -1000000000,
536
+ "maximum": 1000000000
537
+ },
538
+ {
539
+ "type": "number",
540
+ "minimum": -1000000000,
541
+ "maximum": 1000000000
542
+ }
543
+ ]
544
+ },
545
+ "direction": {
546
+ "type": "array",
547
+ "prefixItems": [
548
+ {
549
+ "type": "number",
550
+ "minimum": -1000000000,
551
+ "maximum": 1000000000
552
+ },
553
+ {
554
+ "type": "number",
555
+ "minimum": -1000000000,
556
+ "maximum": 1000000000
557
+ },
558
+ {
559
+ "type": "number",
560
+ "minimum": -1000000000,
561
+ "maximum": 1000000000
562
+ }
563
+ ]
564
+ }
565
+ },
566
+ "required": [
567
+ "normal",
568
+ "direction"
569
+ ],
570
+ "additionalProperties": false
571
+ },
572
+ "DrawingHatch": {
573
+ "type": "object",
574
+ "properties": {
575
+ "pattern": {
576
+ "type": "string",
577
+ "enum": [
578
+ "ansi31",
579
+ "ansi32",
580
+ "ansi37",
581
+ "solid"
582
+ ]
583
+ },
584
+ "angle": {
585
+ "type": "number",
586
+ "minimum": -360,
587
+ "maximum": 360
588
+ },
589
+ "spacing": {
590
+ "type": "number",
591
+ "minimum": 0.5,
592
+ "maximum": 50
593
+ }
594
+ },
595
+ "additionalProperties": false
596
+ },
597
+ "DrawingHoleTable": {
598
+ "type": "object",
599
+ "properties": {
600
+ "rows": {
601
+ "minItems": 1,
602
+ "maxItems": 500,
603
+ "type": "array",
604
+ "items": {
605
+ "$ref": "#/$defs/DrawingHoleTableRow"
606
+ }
607
+ }
608
+ },
609
+ "required": [
610
+ "rows"
611
+ ],
612
+ "additionalProperties": false
613
+ },
614
+ "DrawingHoleTableRow": {
615
+ "type": "object",
616
+ "properties": {
617
+ "tag": {
618
+ "type": "string",
619
+ "maxLength": 24
620
+ },
621
+ "x": {
622
+ "type": "string",
623
+ "maxLength": 24
624
+ },
625
+ "y": {
626
+ "type": "string",
627
+ "maxLength": 24
628
+ },
629
+ "size": {
630
+ "type": "string",
631
+ "maxLength": 120
632
+ },
633
+ "depth": {
634
+ "type": "string",
635
+ "maxLength": 24
636
+ }
637
+ },
638
+ "additionalProperties": false
639
+ },
640
+ "DrawingInspectBody": {
641
+ "type": "object",
642
+ "properties": {
643
+ "stepFileId": {
644
+ "type": "string",
645
+ "minLength": 1
646
+ },
647
+ "fileUnit": {
648
+ "$ref": "#/$defs/LengthUnit"
649
+ },
650
+ "plan": {
651
+ "$ref": "#/$defs/DrawingPlan"
652
+ },
653
+ "planFileId": {
654
+ "type": "string",
655
+ "minLength": 1
656
+ },
657
+ "modelFromTask": {
658
+ "type": "string",
659
+ "pattern": "^task_[A-Za-z0-9-]{1,59}$"
660
+ }
661
+ },
662
+ "required": [
663
+ "stepFileId"
664
+ ],
665
+ "additionalProperties": false
666
+ },
667
+ "DrawingLeftMark": {
668
+ "type": "object",
669
+ "properties": {
670
+ "view": {
671
+ "type": "integer",
672
+ "minimum": 0,
673
+ "maximum": 11
674
+ },
675
+ "callout": {
676
+ "type": "string",
677
+ "maxLength": 24
678
+ },
679
+ "balloon": {
680
+ "type": "string",
681
+ "maxLength": 24
682
+ }
683
+ },
684
+ "required": [
685
+ "view"
686
+ ],
687
+ "additionalProperties": false
688
+ },
689
+ "DrawingOnlySheets": {
690
+ "minItems": 1,
691
+ "maxItems": 500,
692
+ "type": "array",
693
+ "items": {
694
+ "type": "integer",
695
+ "minimum": 0,
696
+ "maximum": 499
697
+ }
698
+ },
699
+ "DrawingOutputOptions": {
700
+ "type": "object",
701
+ "properties": {
702
+ "formats": {
703
+ "minItems": 1,
704
+ "type": "array",
705
+ "items": {
706
+ "type": "string",
707
+ "enum": [
708
+ "svg",
709
+ "dxf",
710
+ "pdf"
711
+ ]
712
+ }
713
+ }
714
+ },
715
+ "required": [
716
+ "formats"
717
+ ],
718
+ "additionalProperties": false
719
+ },
720
+ "DrawingPartsList": {
721
+ "type": "object",
722
+ "properties": {
723
+ "rows": {
724
+ "minItems": 1,
725
+ "maxItems": 500,
726
+ "type": "array",
727
+ "items": {
728
+ "$ref": "#/$defs/DrawingPartsListRow"
729
+ }
730
+ },
731
+ "alone": {
732
+ "type": "boolean"
733
+ }
734
+ },
735
+ "required": [
736
+ "rows"
737
+ ],
738
+ "additionalProperties": false
739
+ },
740
+ "DrawingPartsListRow": {
741
+ "type": "object",
742
+ "properties": {
743
+ "item": {
744
+ "type": "string",
745
+ "maxLength": 24
746
+ },
747
+ "name": {
748
+ "type": "string",
749
+ "maxLength": 120
750
+ },
751
+ "quantity": {
752
+ "type": "string",
753
+ "maxLength": 24
754
+ },
755
+ "sheet": {
756
+ "type": "string",
757
+ "maxLength": 24
758
+ },
759
+ "product": {
760
+ "type": "integer",
761
+ "minimum": 0,
762
+ "maximum": 1000000
763
+ }
764
+ },
765
+ "additionalProperties": false
766
+ },
767
+ "DrawingPlan": {
768
+ "type": "object",
769
+ "properties": {
770
+ "sheet": {
771
+ "$ref": "#/$defs/DrawingSheet"
772
+ },
773
+ "units": {
774
+ "type": "string",
775
+ "enum": [
776
+ "mm",
777
+ "in"
778
+ ]
779
+ },
780
+ "decimals": {
781
+ "type": "integer",
782
+ "minimum": 0,
783
+ "maximum": 4
784
+ },
785
+ "front": {
786
+ "anyOf": [
787
+ {
788
+ "type": "string",
789
+ "const": "annotations"
790
+ },
791
+ {
792
+ "$ref": "#/$defs/DrawingFrame"
793
+ }
794
+ ]
795
+ },
796
+ "parts": {
797
+ "anyOf": [
798
+ {
799
+ "type": "string",
800
+ "const": "all"
801
+ },
802
+ {
803
+ "minItems": 1,
804
+ "maxItems": 10000,
805
+ "type": "array",
806
+ "items": {
807
+ "type": "integer",
808
+ "minimum": 0,
809
+ "maximum": 9999
810
+ }
811
+ }
812
+ ]
813
+ },
814
+ "views": {
815
+ "maxItems": 12,
816
+ "type": "array",
817
+ "items": {
818
+ "$ref": "#/$defs/DrawingView"
819
+ }
820
+ },
821
+ "sections": {
822
+ "maxItems": 6,
823
+ "type": "array",
824
+ "items": {
825
+ "$ref": "#/$defs/DrawingSection"
826
+ }
827
+ },
828
+ "lines": {
829
+ "type": "object",
830
+ "properties": {
831
+ "method": {
832
+ "type": "string",
833
+ "enum": [
834
+ "auto",
835
+ "exact",
836
+ "sight",
837
+ "mesh"
838
+ ]
839
+ }
840
+ },
841
+ "additionalProperties": false
842
+ },
843
+ "titleBlock": {
844
+ "anyOf": [
845
+ {
846
+ "type": "boolean"
847
+ },
848
+ {
849
+ "$ref": "#/$defs/DrawingTitleBlock"
850
+ }
851
+ ]
852
+ },
853
+ "revisions": {
854
+ "maxItems": 12,
855
+ "type": "array",
856
+ "items": {
857
+ "$ref": "#/$defs/DrawingRevision"
858
+ }
859
+ },
860
+ "dimensions": {
861
+ "anyOf": [
862
+ {
863
+ "type": "boolean",
864
+ "const": false
865
+ },
866
+ {
867
+ "type": "string",
868
+ "const": "auto"
869
+ },
870
+ {
871
+ "type": "string",
872
+ "const": "ordinate"
873
+ }
874
+ ]
875
+ },
876
+ "holes": {
877
+ "anyOf": [
878
+ {
879
+ "type": "boolean",
880
+ "const": false
881
+ },
882
+ {
883
+ "type": "string",
884
+ "const": "auto"
885
+ }
886
+ ]
887
+ },
888
+ "holeTable": {
889
+ "anyOf": [
890
+ {
891
+ "type": "boolean"
892
+ },
893
+ {
894
+ "$ref": "#/$defs/DrawingHoleTable"
895
+ }
896
+ ]
897
+ },
898
+ "flat": {
899
+ "anyOf": [
900
+ {
901
+ "type": "boolean"
902
+ },
903
+ {
904
+ "type": "string",
905
+ "const": "auto"
906
+ },
907
+ {
908
+ "$ref": "#/$defs/DrawingFlat"
909
+ }
910
+ ]
911
+ },
912
+ "annotations": {
913
+ "anyOf": [
914
+ {
915
+ "type": "boolean"
916
+ },
917
+ {
918
+ "$ref": "#/$defs/DrawingAnnotatedProduct"
919
+ }
920
+ ]
921
+ },
922
+ "shared": {
923
+ "$ref": "#/$defs/DrawingShared"
924
+ },
925
+ "partsList": {
926
+ "anyOf": [
927
+ {
928
+ "type": "boolean"
929
+ },
930
+ {
931
+ "$ref": "#/$defs/DrawingPartsList"
932
+ }
933
+ ]
934
+ },
935
+ "balloons": {
936
+ "anyOf": [
937
+ {
938
+ "type": "boolean"
939
+ },
940
+ {
941
+ "$ref": "#/$defs/DrawingBalloons"
942
+ }
943
+ ]
944
+ },
945
+ "sheets": {
946
+ "anyOf": [
947
+ {
948
+ "minItems": 1,
949
+ "maxItems": 500,
950
+ "type": "array",
951
+ "items": {
952
+ "$ref": "#/$defs/DrawingSetSheet"
953
+ }
954
+ },
955
+ {
956
+ "$ref": "#/$defs/DrawingSetRule"
957
+ }
958
+ ]
959
+ }
960
+ },
961
+ "additionalProperties": false
962
+ },
963
+ "DrawingRevision": {
964
+ "type": "object",
965
+ "properties": {
966
+ "mark": {
967
+ "type": "string",
968
+ "maxLength": 120
969
+ },
970
+ "date": {
971
+ "type": "string",
972
+ "maxLength": 120
973
+ },
974
+ "by": {
975
+ "type": "string",
976
+ "maxLength": 120
977
+ }
978
+ },
979
+ "additionalProperties": false
980
+ },
981
+ "DrawingScale": {
982
+ "type": "object",
983
+ "properties": {
984
+ "numerator": {
985
+ "type": "number",
986
+ "exclusiveMinimum": 0,
987
+ "maximum": 1000000
988
+ },
989
+ "denominator": {
990
+ "type": "number",
991
+ "exclusiveMinimum": 0,
992
+ "maximum": 1000000
993
+ }
994
+ },
995
+ "required": [
996
+ "numerator",
997
+ "denominator"
998
+ ],
999
+ "additionalProperties": false
1000
+ },
1001
+ "DrawingSection": {
1002
+ "type": "object",
1003
+ "properties": {
1004
+ "label": {
1005
+ "type": "string",
1006
+ "pattern": "^[A-Z0-9]{1,2}$"
1007
+ },
1008
+ "frame": {
1009
+ "$ref": "#/$defs/DrawingFrame"
1010
+ },
1011
+ "shownOn": {
1012
+ "type": "integer",
1013
+ "minimum": 0,
1014
+ "maximum": 11
1015
+ },
1016
+ "hatch": {
1017
+ "anyOf": [
1018
+ {
1019
+ "type": "boolean"
1020
+ },
1021
+ {
1022
+ "$ref": "#/$defs/DrawingHatch"
1023
+ }
1024
+ ]
1025
+ },
1026
+ "scale": {
1027
+ "$ref": "#/$defs/DrawingScale"
1028
+ }
1029
+ },
1030
+ "required": [
1031
+ "label",
1032
+ "frame"
1033
+ ],
1034
+ "additionalProperties": false
1035
+ },
1036
+ "DrawingSetRule": {
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "auto": {
1040
+ "type": "string",
1041
+ "enum": [
1042
+ "structure",
1043
+ "parts",
1044
+ "assemblies"
1045
+ ]
1046
+ },
1047
+ "overview": {
1048
+ "type": "boolean"
1049
+ },
1050
+ "turned": {
1051
+ "type": "boolean"
1052
+ },
1053
+ "most": {
1054
+ "type": "integer",
1055
+ "minimum": 1,
1056
+ "maximum": 500
1057
+ },
1058
+ "depth": {
1059
+ "type": "integer",
1060
+ "minimum": 1,
1061
+ "maximum": 64
1062
+ }
1063
+ },
1064
+ "required": [
1065
+ "auto"
1066
+ ],
1067
+ "additionalProperties": false
1068
+ },
1069
+ "DrawingSetSheet": {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "sheet": {
1073
+ "$ref": "#/$defs/DrawingSheet"
1074
+ },
1075
+ "units": {
1076
+ "type": "string",
1077
+ "enum": [
1078
+ "mm",
1079
+ "in"
1080
+ ]
1081
+ },
1082
+ "decimals": {
1083
+ "type": "integer",
1084
+ "minimum": 0,
1085
+ "maximum": 4
1086
+ },
1087
+ "front": {
1088
+ "anyOf": [
1089
+ {
1090
+ "type": "string",
1091
+ "const": "annotations"
1092
+ },
1093
+ {
1094
+ "$ref": "#/$defs/DrawingFrame"
1095
+ }
1096
+ ]
1097
+ },
1098
+ "parts": {
1099
+ "anyOf": [
1100
+ {
1101
+ "type": "string",
1102
+ "const": "all"
1103
+ },
1104
+ {
1105
+ "minItems": 1,
1106
+ "maxItems": 10000,
1107
+ "type": "array",
1108
+ "items": {
1109
+ "type": "integer",
1110
+ "minimum": 0,
1111
+ "maximum": 9999
1112
+ }
1113
+ }
1114
+ ]
1115
+ },
1116
+ "views": {
1117
+ "maxItems": 12,
1118
+ "type": "array",
1119
+ "items": {
1120
+ "$ref": "#/$defs/DrawingView"
1121
+ }
1122
+ },
1123
+ "sections": {
1124
+ "maxItems": 6,
1125
+ "type": "array",
1126
+ "items": {
1127
+ "$ref": "#/$defs/DrawingSection"
1128
+ }
1129
+ },
1130
+ "lines": {
1131
+ "type": "object",
1132
+ "properties": {
1133
+ "method": {
1134
+ "type": "string",
1135
+ "enum": [
1136
+ "auto",
1137
+ "exact",
1138
+ "sight",
1139
+ "mesh"
1140
+ ]
1141
+ }
1142
+ },
1143
+ "additionalProperties": false
1144
+ },
1145
+ "titleBlock": {
1146
+ "anyOf": [
1147
+ {
1148
+ "type": "boolean"
1149
+ },
1150
+ {
1151
+ "$ref": "#/$defs/DrawingTitleBlock"
1152
+ }
1153
+ ]
1154
+ },
1155
+ "revisions": {
1156
+ "maxItems": 12,
1157
+ "type": "array",
1158
+ "items": {
1159
+ "$ref": "#/$defs/DrawingRevision"
1160
+ }
1161
+ },
1162
+ "dimensions": {
1163
+ "anyOf": [
1164
+ {
1165
+ "type": "boolean",
1166
+ "const": false
1167
+ },
1168
+ {
1169
+ "type": "string",
1170
+ "const": "auto"
1171
+ },
1172
+ {
1173
+ "type": "string",
1174
+ "const": "ordinate"
1175
+ }
1176
+ ]
1177
+ },
1178
+ "holes": {
1179
+ "anyOf": [
1180
+ {
1181
+ "type": "boolean",
1182
+ "const": false
1183
+ },
1184
+ {
1185
+ "type": "string",
1186
+ "const": "auto"
1187
+ }
1188
+ ]
1189
+ },
1190
+ "holeTable": {
1191
+ "anyOf": [
1192
+ {
1193
+ "type": "boolean"
1194
+ },
1195
+ {
1196
+ "$ref": "#/$defs/DrawingHoleTable"
1197
+ }
1198
+ ]
1199
+ },
1200
+ "flat": {
1201
+ "anyOf": [
1202
+ {
1203
+ "type": "boolean"
1204
+ },
1205
+ {
1206
+ "type": "string",
1207
+ "const": "auto"
1208
+ },
1209
+ {
1210
+ "$ref": "#/$defs/DrawingFlat"
1211
+ }
1212
+ ]
1213
+ },
1214
+ "annotations": {
1215
+ "anyOf": [
1216
+ {
1217
+ "type": "boolean"
1218
+ },
1219
+ {
1220
+ "$ref": "#/$defs/DrawingAnnotatedProduct"
1221
+ }
1222
+ ]
1223
+ },
1224
+ "shared": {
1225
+ "$ref": "#/$defs/DrawingShared"
1226
+ },
1227
+ "name": {
1228
+ "type": "string",
1229
+ "maxLength": 120
1230
+ },
1231
+ "product": {
1232
+ "type": "integer",
1233
+ "minimum": 0,
1234
+ "maximum": 1000000
1235
+ },
1236
+ "turned": {
1237
+ "type": "boolean"
1238
+ },
1239
+ "pagination": {
1240
+ "type": "string",
1241
+ "maxLength": 120
1242
+ },
1243
+ "partsList": {
1244
+ "anyOf": [
1245
+ {
1246
+ "type": "boolean",
1247
+ "const": false
1248
+ },
1249
+ {
1250
+ "$ref": "#/$defs/DrawingPartsList"
1251
+ }
1252
+ ]
1253
+ },
1254
+ "balloons": {
1255
+ "anyOf": [
1256
+ {
1257
+ "type": "boolean",
1258
+ "const": false
1259
+ },
1260
+ {
1261
+ "$ref": "#/$defs/DrawingBalloons"
1262
+ }
1263
+ ]
1264
+ }
1265
+ },
1266
+ "additionalProperties": false
1267
+ },
1268
+ "DrawingShared": {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "views": {
1272
+ "maxItems": 12,
1273
+ "type": "array",
1274
+ "items": {
1275
+ "$ref": "#/$defs/DrawingView"
1276
+ }
1277
+ },
1278
+ "marks": {
1279
+ "maxItems": 500,
1280
+ "type": "array",
1281
+ "items": {
1282
+ "$ref": "#/$defs/DrawingSharedMark"
1283
+ }
1284
+ },
1285
+ "elsewhere": {
1286
+ "maxItems": 500,
1287
+ "type": "array",
1288
+ "items": {
1289
+ "$ref": "#/$defs/DrawingLeftMark"
1290
+ }
1291
+ },
1292
+ "notes": {
1293
+ "type": "boolean"
1294
+ }
1295
+ },
1296
+ "additionalProperties": false
1297
+ },
1298
+ "DrawingSharedMark": {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "view": {
1302
+ "type": "integer",
1303
+ "minimum": 0,
1304
+ "maximum": 11
1305
+ },
1306
+ "callout": {
1307
+ "type": "string",
1308
+ "maxLength": 24
1309
+ },
1310
+ "balloon": {
1311
+ "type": "string",
1312
+ "maxLength": 24
1313
+ },
1314
+ "at": {
1315
+ "type": "array",
1316
+ "prefixItems": [
1317
+ {
1318
+ "type": "number",
1319
+ "minimum": -1000000000,
1320
+ "maximum": 1000000000
1321
+ },
1322
+ {
1323
+ "type": "number",
1324
+ "minimum": -1000000000,
1325
+ "maximum": 1000000000
1326
+ },
1327
+ {
1328
+ "type": "number",
1329
+ "minimum": -1000000000,
1330
+ "maximum": 1000000000
1331
+ }
1332
+ ]
1333
+ },
1334
+ "centre": {
1335
+ "type": "array",
1336
+ "prefixItems": [
1337
+ {
1338
+ "type": "number",
1339
+ "minimum": -1000000000,
1340
+ "maximum": 1000000000
1341
+ },
1342
+ {
1343
+ "type": "number",
1344
+ "minimum": -1000000000,
1345
+ "maximum": 1000000000
1346
+ },
1347
+ {
1348
+ "type": "number",
1349
+ "minimum": -1000000000,
1350
+ "maximum": 1000000000
1351
+ }
1352
+ ]
1353
+ }
1354
+ },
1355
+ "required": [
1356
+ "view",
1357
+ "at"
1358
+ ],
1359
+ "additionalProperties": false
1360
+ },
1361
+ "DrawingSheet": {
1362
+ "type": "object",
1363
+ "properties": {
1364
+ "size": {
1365
+ "anyOf": [
1366
+ {
1367
+ "type": "string",
1368
+ "enum": [
1369
+ "A0",
1370
+ "A1",
1371
+ "A2",
1372
+ "A3",
1373
+ "A4",
1374
+ "ANSI-A",
1375
+ "ANSI-B",
1376
+ "ANSI-C",
1377
+ "ANSI-D",
1378
+ "ANSI-E"
1379
+ ]
1380
+ },
1381
+ {
1382
+ "type": "object",
1383
+ "properties": {
1384
+ "width": {
1385
+ "type": "number",
1386
+ "minimum": 50,
1387
+ "maximum": 5000
1388
+ },
1389
+ "height": {
1390
+ "type": "number",
1391
+ "minimum": 50,
1392
+ "maximum": 5000
1393
+ }
1394
+ },
1395
+ "required": [
1396
+ "width",
1397
+ "height"
1398
+ ],
1399
+ "additionalProperties": false
1400
+ }
1401
+ ]
1402
+ },
1403
+ "orientation": {
1404
+ "type": "string",
1405
+ "enum": [
1406
+ "landscape",
1407
+ "portrait"
1408
+ ]
1409
+ },
1410
+ "projection": {
1411
+ "type": "string",
1412
+ "enum": [
1413
+ "first-angle",
1414
+ "third-angle"
1415
+ ]
1416
+ },
1417
+ "scale": {
1418
+ "anyOf": [
1419
+ {
1420
+ "type": "string",
1421
+ "enum": [
1422
+ "fill",
1423
+ "auto"
1424
+ ]
1425
+ },
1426
+ {
1427
+ "$ref": "#/$defs/DrawingScale"
1428
+ }
1429
+ ]
1430
+ }
1431
+ },
1432
+ "additionalProperties": false
1433
+ },
1434
+ "DrawingTitleBlock": {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "title": {
1438
+ "type": "string",
1439
+ "maxLength": 120
1440
+ },
1441
+ "number": {
1442
+ "type": "string",
1443
+ "maxLength": 120
1444
+ },
1445
+ "material": {
1446
+ "type": "string",
1447
+ "maxLength": 120
1448
+ },
1449
+ "revision": {
1450
+ "type": "string",
1451
+ "maxLength": 120
1452
+ },
1453
+ "date": {
1454
+ "type": "string",
1455
+ "maxLength": 120
1456
+ },
1457
+ "drawnBy": {
1458
+ "type": "string",
1459
+ "maxLength": 120
1460
+ },
1461
+ "checkedBy": {
1462
+ "type": "string",
1463
+ "maxLength": 120
1464
+ },
1465
+ "approvedBy": {
1466
+ "type": "string",
1467
+ "maxLength": 120
1468
+ },
1469
+ "documentType": {
1470
+ "type": "string",
1471
+ "maxLength": 120
1472
+ },
1473
+ "company": {
1474
+ "type": "string",
1475
+ "maxLength": 120
1476
+ },
1477
+ "finish": {
1478
+ "type": "string",
1479
+ "maxLength": 120
1480
+ },
1481
+ "custom": {
1482
+ "maxItems": 6,
1483
+ "type": "array",
1484
+ "items": {
1485
+ "type": "object",
1486
+ "properties": {
1487
+ "caption": {
1488
+ "type": "string",
1489
+ "maxLength": 120,
1490
+ "minLength": 1
1491
+ },
1492
+ "value": {
1493
+ "type": "string",
1494
+ "maxLength": 120
1495
+ }
1496
+ },
1497
+ "required": [
1498
+ "caption"
1499
+ ],
1500
+ "additionalProperties": false
1501
+ }
1502
+ },
1503
+ "sheet": {
1504
+ "type": "string",
1505
+ "maxLength": 24
1506
+ },
1507
+ "quantity": {
1508
+ "type": "string",
1509
+ "maxLength": 24
1510
+ }
1511
+ },
1512
+ "additionalProperties": false
1513
+ },
1514
+ "DrawingView": {
1515
+ "type": "object",
1516
+ "properties": {
1517
+ "name": {
1518
+ "type": "string",
1519
+ "enum": [
1520
+ "front",
1521
+ "top",
1522
+ "bottom",
1523
+ "left",
1524
+ "right",
1525
+ "back",
1526
+ "isometric"
1527
+ ]
1528
+ },
1529
+ "frame": {
1530
+ "$ref": "#/$defs/DrawingFrame"
1531
+ },
1532
+ "saved": {
1533
+ "type": "string",
1534
+ "maxLength": 120,
1535
+ "minLength": 1
1536
+ },
1537
+ "hiddenLines": {
1538
+ "type": "boolean"
1539
+ },
1540
+ "smoothEdges": {
1541
+ "type": "boolean"
1542
+ },
1543
+ "scale": {
1544
+ "$ref": "#/$defs/DrawingScale"
1545
+ },
1546
+ "caption": {
1547
+ "type": "string",
1548
+ "maxLength": 120
1549
+ }
1550
+ },
1551
+ "additionalProperties": false
1552
+ },
380
1553
  "ExecuteBody": {
381
1554
  "type": "object",
382
1555
  "properties": {
@@ -751,6 +1924,9 @@ export const schemaBundle = {
751
1924
  },
752
1925
  "adjustYtoZ": {
753
1926
  "type": "boolean"
1927
+ },
1928
+ "unit": {
1929
+ "$ref": "#/$defs/LengthUnit"
754
1930
  }
755
1931
  },
756
1932
  "required": [
@@ -1326,6 +2502,9 @@ export const schemaBundle = {
1326
2502
  },
1327
2503
  "adjustYtoZ": {
1328
2504
  "type": "boolean"
2505
+ },
2506
+ "unit": {
2507
+ "$ref": "#/$defs/LengthUnit"
1329
2508
  }
1330
2509
  },
1331
2510
  "required": [