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