@coloopx/colocad 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +115 -172
  3. package/README.zh-CN.md +118 -125
  4. package/bin/colocad.mjs +17 -9
  5. package/docs/README.md +10 -3
  6. package/docs/README.zh-CN.md +11 -2
  7. package/docs/agent-modeling-handbook.md +1 -1
  8. package/docs/agent-modeling-handbook.zh-CN.md +2 -2
  9. package/docs/api.md +9 -6
  10. package/docs/engineering-queries.md +122 -0
  11. package/docs/engineering-queries.zh-CN.md +74 -0
  12. package/docs/getting-started.md +1 -1
  13. package/docs/integrations/claude-code.md +1 -1
  14. package/docs/integrations/codex.md +1 -1
  15. package/docs/integrations/pi.md +17 -4
  16. package/docs/integrations/verification.md +7 -1
  17. package/docs/native-solidworks.md +12 -0
  18. package/docs/performance.md +62 -0
  19. package/examples/integrations/README.md +11 -2
  20. package/examples/integrations/compact-tools.mjs +1 -1
  21. package/kernel/dist/client.d.ts +5 -2
  22. package/kernel/dist/client.js +35 -7
  23. package/kernel/dist/generated.d.ts +297 -4
  24. package/kernel/dist/process.d.ts +1 -1
  25. package/kernel/dist/process.js +3 -3
  26. package/kernel/dist/query-generated.d.ts +181 -0
  27. package/kernel/dist/query-generated.js +1 -0
  28. package/kernel/dist/tools.d.ts +35 -0
  29. package/kernel/dist/tools.js +11 -2
  30. package/kernel/dist/types.d.ts +9 -0
  31. package/kernel/native/darwin-arm64/agent-cad +2 -2
  32. package/kernel/native/darwin-arm64/manifest.json +2 -2
  33. package/kernel/native/linux-arm64/agent-cad +2 -2
  34. package/kernel/native/linux-arm64/manifest.json +2 -2
  35. package/kernel/native/linux-x64/agent-cad +2 -2
  36. package/kernel/native/linux-x64/manifest.json +2 -2
  37. package/kernel/release.json +4 -4
  38. package/kernel/schemas/model.schema.json +1752 -135
  39. package/kernel/schemas/query.schema.json +1150 -0
  40. package/package.json +5 -2
  41. package/skills/colocad/references/tool-contracts.md +14 -2
  42. package/src/build.mjs +3 -2
  43. package/src/index.d.mts +2 -1
  44. package/src/session.d.mts +5 -3
  45. package/src/session.mjs +26 -10
  46. package/viewer/dist/index.js +179 -179
  47. package/viewer/dist/standalone.js +179 -179
  48. package/viewer/index.d.ts +2 -1
@@ -11,6 +11,97 @@
11
11
  },
12
12
  "AssemblyCheck": {
13
13
  "oneOf": [
14
+ {
15
+ "additionalProperties": false,
16
+ "properties": {
17
+ "a": {
18
+ "$ref": "#/$defs/Attachment2"
19
+ },
20
+ "b": {
21
+ "$ref": "#/$defs/Attachment2"
22
+ },
23
+ "correspondence": {
24
+ "$ref": "#/$defs/Correspondence"
25
+ },
26
+ "kind": {
27
+ "const": "interface_compatibility",
28
+ "type": "string"
29
+ },
30
+ "plane_relation": {
31
+ "$ref": "#/$defs/PlaneRelation"
32
+ },
33
+ "requirements": {
34
+ "$ref": "#/$defs/InterfaceFitRequirements"
35
+ },
36
+ "tolerance": {
37
+ "$ref": "#/$defs/Tolerance"
38
+ }
39
+ },
40
+ "required": [
41
+ "kind",
42
+ "a",
43
+ "b",
44
+ "plane_relation",
45
+ "correspondence",
46
+ "tolerance",
47
+ "requirements"
48
+ ],
49
+ "type": "object"
50
+ },
51
+ {
52
+ "additionalProperties": false,
53
+ "properties": {
54
+ "a": {
55
+ "$ref": "#/$defs/RelationshipTarget"
56
+ },
57
+ "allowed_contacts": {
58
+ "default": [],
59
+ "items": {
60
+ "$ref": "#/$defs/ContactPair"
61
+ },
62
+ "type": "array"
63
+ },
64
+ "b": {
65
+ "$ref": "#/$defs/RelationshipTarget"
66
+ },
67
+ "kind": {
68
+ "const": "geometric_relationship",
69
+ "type": "string"
70
+ },
71
+ "max_overlap_mm3": {
72
+ "$ref": "#/$defs/Scalar"
73
+ },
74
+ "min_clearance_mm": {
75
+ "anyOf": [
76
+ {
77
+ "$ref": "#/$defs/Scalar"
78
+ },
79
+ {
80
+ "type": "null"
81
+ }
82
+ ],
83
+ "default": null
84
+ },
85
+ "pose_samples": {
86
+ "default": [],
87
+ "items": {
88
+ "$ref": "#/$defs/PoseSample"
89
+ },
90
+ "type": "array"
91
+ },
92
+ "tolerance": {
93
+ "$ref": "#/$defs/Tolerance"
94
+ }
95
+ },
96
+ "required": [
97
+ "kind",
98
+ "a",
99
+ "b",
100
+ "tolerance",
101
+ "max_overlap_mm3"
102
+ ],
103
+ "type": "object"
104
+ },
14
105
  {
15
106
  "additionalProperties": false,
16
107
  "properties": {
@@ -109,28 +200,40 @@
109
200
  "Attachment": {
110
201
  "additionalProperties": false,
111
202
  "properties": {
203
+ "datum": {
204
+ "type": [
205
+ "string",
206
+ "null"
207
+ ]
208
+ },
112
209
  "frame": {
113
- "$ref": "#/$defs/Frame",
114
- "default": {
115
- "origin": [
116
- 0,
117
- 0,
118
- 0
119
- ],
120
- "x_axis": [
121
- 1,
122
- 0,
123
- 0
124
- ],
125
- "y_axis": [
126
- 0,
127
- 1,
128
- 0
129
- ]
130
- }
210
+ "anyOf": [
211
+ {
212
+ "$ref": "#/$defs/Frame"
213
+ },
214
+ {
215
+ "type": "null"
216
+ }
217
+ ]
131
218
  },
132
219
  "instance": {
133
220
  "type": "string"
221
+ },
222
+ "interface": {
223
+ "type": [
224
+ "string",
225
+ "null"
226
+ ]
227
+ },
228
+ "orientation": {
229
+ "anyOf": [
230
+ {
231
+ "$ref": "#/$defs/AttachmentOrientation"
232
+ },
233
+ {
234
+ "type": "null"
235
+ }
236
+ ]
134
237
  }
135
238
  },
136
239
  "required": [
@@ -138,6 +241,43 @@
138
241
  ],
139
242
  "type": "object"
140
243
  },
244
+ "Attachment2": {
245
+ "additionalProperties": false,
246
+ "properties": {
247
+ "instance": {
248
+ "type": "string"
249
+ },
250
+ "interface": {
251
+ "type": "string"
252
+ }
253
+ },
254
+ "required": [
255
+ "instance",
256
+ "interface"
257
+ ],
258
+ "type": "object"
259
+ },
260
+ "AttachmentOrientation": {
261
+ "oneOf": [
262
+ {
263
+ "additionalProperties": false,
264
+ "properties": {
265
+ "kind": {
266
+ "const": "datum",
267
+ "type": "string"
268
+ },
269
+ "name": {
270
+ "type": "string"
271
+ }
272
+ },
273
+ "required": [
274
+ "kind",
275
+ "name"
276
+ ],
277
+ "type": "object"
278
+ }
279
+ ]
280
+ },
141
281
  "Axis": {
142
282
  "enum": [
143
283
  "x",
@@ -146,6 +286,15 @@
146
286
  ],
147
287
  "type": "string"
148
288
  },
289
+ "AxisAlignment": {
290
+ "description": "Surface normals remain outward; a mate separately chooses the axis relation.",
291
+ "enum": [
292
+ "aligned",
293
+ "opposed",
294
+ "unoriented"
295
+ ],
296
+ "type": "string"
297
+ },
149
298
  "Boundary": {
150
299
  "oneOf": [
151
300
  {
@@ -222,6 +371,26 @@
222
371
  ],
223
372
  "type": "string"
224
373
  },
374
+ "Cardinality": {
375
+ "additionalProperties": false,
376
+ "properties": {
377
+ "max": {
378
+ "format": "uint",
379
+ "minimum": 0,
380
+ "type": "integer"
381
+ },
382
+ "min": {
383
+ "format": "uint",
384
+ "minimum": 0,
385
+ "type": "integer"
386
+ }
387
+ },
388
+ "required": [
389
+ "min",
390
+ "max"
391
+ ],
392
+ "type": "object"
393
+ },
225
394
  "Circle": {
226
395
  "additionalProperties": false,
227
396
  "properties": {
@@ -806,6 +975,22 @@
806
975
  }
807
976
  ]
808
977
  },
978
+ "ContactPair": {
979
+ "additionalProperties": false,
980
+ "properties": {
981
+ "a": {
982
+ "$ref": "#/$defs/FaceSelector2"
983
+ },
984
+ "b": {
985
+ "$ref": "#/$defs/FaceSelector2"
986
+ }
987
+ },
988
+ "required": [
989
+ "a",
990
+ "b"
991
+ ],
992
+ "type": "object"
993
+ },
809
994
  "ControlEdit": {
810
995
  "additionalProperties": false,
811
996
  "properties": {
@@ -835,6 +1020,31 @@
835
1020
  ],
836
1021
  "type": "object"
837
1022
  },
1023
+ "Correspondence": {
1024
+ "oneOf": [
1025
+ {
1026
+ "additionalProperties": false,
1027
+ "properties": {
1028
+ "kind": {
1029
+ "const": "pattern",
1030
+ "type": "string"
1031
+ },
1032
+ "require_all": {
1033
+ "type": "boolean"
1034
+ },
1035
+ "symmetry": {
1036
+ "$ref": "#/$defs/Symmetry"
1037
+ }
1038
+ },
1039
+ "required": [
1040
+ "kind",
1041
+ "require_all",
1042
+ "symmetry"
1043
+ ],
1044
+ "type": "object"
1045
+ }
1046
+ ]
1047
+ },
838
1048
  "Counterbore": {
839
1049
  "additionalProperties": false,
840
1050
  "properties": {
@@ -851,35 +1061,243 @@
851
1061
  ],
852
1062
  "type": "object"
853
1063
  },
854
- "EdgeSelector": {
855
- "oneOf": [
856
- {
857
- "additionalProperties": false,
858
- "properties": {
859
- "expected_count": {
860
- "format": "uint",
861
- "minimum": 0,
862
- "type": "integer"
863
- },
864
- "kind": {
865
- "const": "named",
866
- "type": "string"
1064
+ "CurveClass": {
1065
+ "enum": [
1066
+ "line",
1067
+ "circle",
1068
+ "ellipse",
1069
+ "nurbs",
1070
+ "other"
1071
+ ],
1072
+ "type": "string"
1073
+ },
1074
+ "DatumInput": {
1075
+ "additionalProperties": false,
1076
+ "properties": {
1077
+ "datum": {
1078
+ "type": "string"
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "datum"
1083
+ ],
1084
+ "type": "object"
1085
+ },
1086
+ "DatumRules": {
1087
+ "additionalProperties": false,
1088
+ "properties": {
1089
+ "normal": {
1090
+ "type": "string"
1091
+ },
1092
+ "origin": {
1093
+ "$ref": "#/$defs/Origin"
1094
+ },
1095
+ "x_axis": {
1096
+ "anyOf": [
1097
+ {
1098
+ "$ref": "#/$defs/OrientationName"
867
1099
  },
868
- "name": {
869
- "type": "string"
1100
+ {
1101
+ "type": "null"
870
1102
  }
871
- },
872
- "required": [
873
- "kind",
874
- "name",
875
- "expected_count"
876
- ],
877
- "type": "object"
1103
+ ]
1104
+ }
1105
+ },
1106
+ "required": [
1107
+ "origin",
1108
+ "normal"
1109
+ ],
1110
+ "type": "object"
1111
+ },
1112
+ "Declaration": {
1113
+ "additionalProperties": false,
1114
+ "properties": {
1115
+ "definition": {
1116
+ "type": "string"
878
1117
  },
879
- {
880
- "additionalProperties": false,
881
- "properties": {
882
- "expected_count": {
1118
+ "derive": {
1119
+ "$ref": "#/$defs/Recipe"
1120
+ },
1121
+ "id": {
1122
+ "type": "string"
1123
+ },
1124
+ "tolerance": {
1125
+ "$ref": "#/$defs/Tolerance"
1126
+ }
1127
+ },
1128
+ "required": [
1129
+ "id",
1130
+ "definition",
1131
+ "tolerance",
1132
+ "derive"
1133
+ ],
1134
+ "type": "object"
1135
+ },
1136
+ "Declaration2": {
1137
+ "additionalProperties": false,
1138
+ "properties": {
1139
+ "datum": {
1140
+ "$ref": "#/$defs/DatumRules"
1141
+ },
1142
+ "definition": {
1143
+ "type": "string"
1144
+ },
1145
+ "id": {
1146
+ "type": "string"
1147
+ },
1148
+ "orientation_datums": {
1149
+ "default": [],
1150
+ "items": {
1151
+ "$ref": "#/$defs/OrientationDatum"
1152
+ },
1153
+ "type": "array"
1154
+ },
1155
+ "profile": {
1156
+ "type": "string"
1157
+ },
1158
+ "requirements": {
1159
+ "$ref": "#/$defs/Requirements"
1160
+ },
1161
+ "selectors": {
1162
+ "$ref": "#/$defs/Selectors"
1163
+ }
1164
+ },
1165
+ "required": [
1166
+ "id",
1167
+ "definition",
1168
+ "profile",
1169
+ "selectors",
1170
+ "datum",
1171
+ "requirements"
1172
+ ],
1173
+ "type": "object"
1174
+ },
1175
+ "Derive": {
1176
+ "oneOf": [
1177
+ {
1178
+ "additionalProperties": false,
1179
+ "properties": {
1180
+ "kind": {
1181
+ "const": "point",
1182
+ "type": "string"
1183
+ }
1184
+ },
1185
+ "required": [
1186
+ "kind"
1187
+ ],
1188
+ "type": "object"
1189
+ },
1190
+ {
1191
+ "additionalProperties": false,
1192
+ "properties": {
1193
+ "kind": {
1194
+ "const": "plane",
1195
+ "type": "string"
1196
+ }
1197
+ },
1198
+ "required": [
1199
+ "kind"
1200
+ ],
1201
+ "type": "object"
1202
+ },
1203
+ {
1204
+ "additionalProperties": false,
1205
+ "properties": {
1206
+ "kind": {
1207
+ "const": "axis",
1208
+ "type": "string"
1209
+ }
1210
+ },
1211
+ "required": [
1212
+ "kind"
1213
+ ],
1214
+ "type": "object"
1215
+ },
1216
+ {
1217
+ "additionalProperties": false,
1218
+ "properties": {
1219
+ "kind": {
1220
+ "const": "direction",
1221
+ "type": "string"
1222
+ }
1223
+ },
1224
+ "required": [
1225
+ "kind"
1226
+ ],
1227
+ "type": "object"
1228
+ }
1229
+ ]
1230
+ },
1231
+ "Directed": {
1232
+ "additionalProperties": false,
1233
+ "properties": {
1234
+ "datum": {
1235
+ "type": "string"
1236
+ },
1237
+ "sense": {
1238
+ "$ref": "#/$defs/Sense"
1239
+ }
1240
+ },
1241
+ "required": [
1242
+ "datum",
1243
+ "sense"
1244
+ ],
1245
+ "type": "object"
1246
+ },
1247
+ "DirectionInput": {
1248
+ "anyOf": [
1249
+ {
1250
+ "items": {
1251
+ "format": "double",
1252
+ "type": "number"
1253
+ },
1254
+ "maxItems": 3,
1255
+ "minItems": 3,
1256
+ "type": "array"
1257
+ },
1258
+ {
1259
+ "additionalProperties": false,
1260
+ "properties": {
1261
+ "datum": {
1262
+ "type": "string"
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "datum"
1267
+ ],
1268
+ "type": "object"
1269
+ }
1270
+ ]
1271
+ },
1272
+ "EdgeSelector": {
1273
+ "oneOf": [
1274
+ {
1275
+ "additionalProperties": false,
1276
+ "properties": {
1277
+ "expected_count": {
1278
+ "format": "uint",
1279
+ "minimum": 0,
1280
+ "type": "integer"
1281
+ },
1282
+ "kind": {
1283
+ "const": "named",
1284
+ "type": "string"
1285
+ },
1286
+ "name": {
1287
+ "type": "string"
1288
+ }
1289
+ },
1290
+ "required": [
1291
+ "kind",
1292
+ "name",
1293
+ "expected_count"
1294
+ ],
1295
+ "type": "object"
1296
+ },
1297
+ {
1298
+ "additionalProperties": false,
1299
+ "properties": {
1300
+ "expected_count": {
883
1301
  "format": "uint",
884
1302
  "minimum": 0,
885
1303
  "type": "integer"
@@ -1027,6 +1445,22 @@
1027
1445
  "type": "object"
1028
1446
  },
1029
1447
  "FaceSelector": {
1448
+ "additionalProperties": false,
1449
+ "properties": {
1450
+ "cardinality": {
1451
+ "$ref": "#/$defs/Cardinality"
1452
+ },
1453
+ "where": {
1454
+ "$ref": "#/$defs/Filter"
1455
+ }
1456
+ },
1457
+ "required": [
1458
+ "where",
1459
+ "cardinality"
1460
+ ],
1461
+ "type": "object"
1462
+ },
1463
+ "FaceSelector2": {
1030
1464
  "anyOf": [
1031
1465
  {
1032
1466
  "additionalProperties": false,
@@ -1137,7 +1571,7 @@
1137
1571
  },
1138
1572
  "faces": {
1139
1573
  "additionalProperties": {
1140
- "$ref": "#/$defs/FaceSelector"
1574
+ "$ref": "#/$defs/FaceSelector2"
1141
1575
  },
1142
1576
  "default": {},
1143
1577
  "type": "object"
@@ -2326,7 +2760,7 @@
2326
2760
  "open_faces": {
2327
2761
  "default": [],
2328
2762
  "items": {
2329
- "$ref": "#/$defs/FaceSelector"
2763
+ "$ref": "#/$defs/FaceSelector2"
2330
2764
  },
2331
2765
  "type": "array"
2332
2766
  },
@@ -2825,6 +3259,132 @@
2825
3259
  }
2826
3260
  ]
2827
3261
  },
3262
+ "Filter": {
3263
+ "additionalProperties": false,
3264
+ "properties": {
3265
+ "all": {
3266
+ "default": [],
3267
+ "items": {
3268
+ "$ref": "#/$defs/Filter"
3269
+ },
3270
+ "type": "array"
3271
+ },
3272
+ "any": {
3273
+ "default": [],
3274
+ "items": {
3275
+ "$ref": "#/$defs/Filter"
3276
+ },
3277
+ "type": "array"
3278
+ },
3279
+ "area_mm2": {
3280
+ "anyOf": [
3281
+ {
3282
+ "$ref": "#/$defs/Range"
3283
+ },
3284
+ {
3285
+ "type": "null"
3286
+ }
3287
+ ]
3288
+ },
3289
+ "curve_type": {
3290
+ "anyOf": [
3291
+ {
3292
+ "$ref": "#/$defs/CurveClass"
3293
+ },
3294
+ {
3295
+ "type": "null"
3296
+ }
3297
+ ]
3298
+ },
3299
+ "length_mm": {
3300
+ "anyOf": [
3301
+ {
3302
+ "$ref": "#/$defs/Range"
3303
+ },
3304
+ {
3305
+ "type": "null"
3306
+ }
3307
+ ]
3308
+ },
3309
+ "loop_role": {
3310
+ "anyOf": [
3311
+ {
3312
+ "$ref": "#/$defs/LoopRole"
3313
+ },
3314
+ {
3315
+ "type": "null"
3316
+ }
3317
+ ]
3318
+ },
3319
+ "name": {
3320
+ "type": [
3321
+ "string",
3322
+ "null"
3323
+ ]
3324
+ },
3325
+ "not": {
3326
+ "anyOf": [
3327
+ {
3328
+ "$ref": "#/$defs/Filter"
3329
+ },
3330
+ {
3331
+ "type": "null"
3332
+ }
3333
+ ]
3334
+ },
3335
+ "planar_coplanar_with": {
3336
+ "anyOf": [
3337
+ {
3338
+ "$ref": "#/$defs/DatumInput"
3339
+ },
3340
+ {
3341
+ "type": "null"
3342
+ }
3343
+ ]
3344
+ },
3345
+ "planar_normal_aligned_with": {
3346
+ "anyOf": [
3347
+ {
3348
+ "$ref": "#/$defs/DirectionInput"
3349
+ },
3350
+ {
3351
+ "type": "null"
3352
+ }
3353
+ ]
3354
+ },
3355
+ "planar_normal_parallel_to": {
3356
+ "anyOf": [
3357
+ {
3358
+ "$ref": "#/$defs/DirectionInput"
3359
+ },
3360
+ {
3361
+ "type": "null"
3362
+ }
3363
+ ]
3364
+ },
3365
+ "radius_mm": {
3366
+ "anyOf": [
3367
+ {
3368
+ "$ref": "#/$defs/Range"
3369
+ },
3370
+ {
3371
+ "type": "null"
3372
+ }
3373
+ ]
3374
+ },
3375
+ "surface_type": {
3376
+ "anyOf": [
3377
+ {
3378
+ "$ref": "#/$defs/SurfaceClass"
3379
+ },
3380
+ {
3381
+ "type": "null"
3382
+ }
3383
+ ]
3384
+ }
3385
+ },
3386
+ "type": "object"
3387
+ },
2828
3388
  "Frame": {
2829
3389
  "additionalProperties": false,
2830
3390
  "properties": {
@@ -2860,8 +3420,15 @@
2860
3420
  ],
2861
3421
  "type": "object"
2862
3422
  },
2863
- "Group": {
2864
- "additionalProperties": false,
3423
+ "FrameAlignment": {
3424
+ "enum": [
3425
+ "aligned",
3426
+ "opposed"
3427
+ ],
3428
+ "type": "string"
3429
+ },
3430
+ "Group": {
3431
+ "additionalProperties": false,
2865
3432
  "properties": {
2866
3433
  "id": {
2867
3434
  "type": "string"
@@ -2897,6 +3464,88 @@
2897
3464
  ],
2898
3465
  "type": "object"
2899
3466
  },
3467
+ "GroupSelector": {
3468
+ "additionalProperties": false,
3469
+ "properties": {
3470
+ "cardinality": {
3471
+ "$ref": "#/$defs/Cardinality"
3472
+ },
3473
+ "opening_on": {
3474
+ "type": "string"
3475
+ },
3476
+ "where": {
3477
+ "$ref": "#/$defs/HoleGroupFilter"
3478
+ }
3479
+ },
3480
+ "required": [
3481
+ "opening_on",
3482
+ "where",
3483
+ "cardinality"
3484
+ ],
3485
+ "type": "object"
3486
+ },
3487
+ "HoleGroupFilter": {
3488
+ "additionalProperties": false,
3489
+ "properties": {
3490
+ "equal_diameter": {
3491
+ "default": false,
3492
+ "type": "boolean"
3493
+ },
3494
+ "member_count": {
3495
+ "format": "uint",
3496
+ "minimum": 0,
3497
+ "type": [
3498
+ "integer",
3499
+ "null"
3500
+ ]
3501
+ },
3502
+ "pattern": {
3503
+ "anyOf": [
3504
+ {
3505
+ "$ref": "#/$defs/HolePattern"
3506
+ },
3507
+ {
3508
+ "type": "null"
3509
+ }
3510
+ ]
3511
+ }
3512
+ },
3513
+ "type": "object"
3514
+ },
3515
+ "HolePattern": {
3516
+ "enum": [
3517
+ "linear",
3518
+ "rectangular",
3519
+ "circular",
3520
+ "unstructured"
3521
+ ],
3522
+ "type": "string"
3523
+ },
3524
+ "HoleSize": {
3525
+ "oneOf": [
3526
+ {
3527
+ "additionalProperties": false,
3528
+ "properties": {
3529
+ "a_diameter_mm": {
3530
+ "$ref": "#/$defs/Range"
3531
+ },
3532
+ "b_diameter_mm": {
3533
+ "$ref": "#/$defs/Range"
3534
+ },
3535
+ "kind": {
3536
+ "const": "independent_ranges",
3537
+ "type": "string"
3538
+ }
3539
+ },
3540
+ "required": [
3541
+ "kind",
3542
+ "a_diameter_mm",
3543
+ "b_diameter_mm"
3544
+ ],
3545
+ "type": "object"
3546
+ }
3547
+ ]
3548
+ },
2900
3549
  "Instance": {
2901
3550
  "additionalProperties": false,
2902
3551
  "properties": {
@@ -2977,6 +3626,139 @@
2977
3626
  ],
2978
3627
  "type": "object"
2979
3628
  },
3629
+ "InterfaceFitRequirements": {
3630
+ "additionalProperties": false,
3631
+ "properties": {
3632
+ "hole_size": {
3633
+ "$ref": "#/$defs/HoleSize"
3634
+ },
3635
+ "max_hole_axis_offset_mm": {
3636
+ "$ref": "#/$defs/Scalar"
3637
+ },
3638
+ "max_plane_gap_mm": {
3639
+ "$ref": "#/$defs/Scalar"
3640
+ },
3641
+ "register": {
3642
+ "anyOf": [
3643
+ {
3644
+ "$ref": "#/$defs/RegisterFit"
3645
+ },
3646
+ {
3647
+ "type": "null"
3648
+ }
3649
+ ]
3650
+ }
3651
+ },
3652
+ "required": [
3653
+ "max_plane_gap_mm",
3654
+ "max_hole_axis_offset_mm",
3655
+ "hole_size"
3656
+ ],
3657
+ "type": "object"
3658
+ },
3659
+ "InterfacePatternRequirement": {
3660
+ "oneOf": [
3661
+ {
3662
+ "additionalProperties": false,
3663
+ "properties": {
3664
+ "count": {
3665
+ "items": {
3666
+ "$ref": "#/$defs/Scalar"
3667
+ },
3668
+ "maxItems": 2,
3669
+ "minItems": 2,
3670
+ "type": "array"
3671
+ },
3672
+ "kind": {
3673
+ "const": "rectangular",
3674
+ "type": "string"
3675
+ },
3676
+ "pitch_mm": {
3677
+ "items": {
3678
+ "$ref": "#/$defs/Scalar"
3679
+ },
3680
+ "maxItems": 2,
3681
+ "minItems": 2,
3682
+ "type": "array"
3683
+ }
3684
+ },
3685
+ "required": [
3686
+ "kind",
3687
+ "count",
3688
+ "pitch_mm"
3689
+ ],
3690
+ "type": "object"
3691
+ },
3692
+ {
3693
+ "additionalProperties": false,
3694
+ "properties": {
3695
+ "count": {
3696
+ "$ref": "#/$defs/Scalar"
3697
+ },
3698
+ "kind": {
3699
+ "const": "circular",
3700
+ "type": "string"
3701
+ },
3702
+ "pcd_mm": {
3703
+ "$ref": "#/$defs/Scalar"
3704
+ }
3705
+ },
3706
+ "required": [
3707
+ "kind",
3708
+ "count",
3709
+ "pcd_mm"
3710
+ ],
3711
+ "type": "object"
3712
+ },
3713
+ {
3714
+ "additionalProperties": false,
3715
+ "properties": {
3716
+ "count": {
3717
+ "$ref": "#/$defs/Scalar"
3718
+ },
3719
+ "kind": {
3720
+ "const": "linear",
3721
+ "type": "string"
3722
+ },
3723
+ "pitch_mm": {
3724
+ "$ref": "#/$defs/Scalar"
3725
+ }
3726
+ },
3727
+ "required": [
3728
+ "kind",
3729
+ "count",
3730
+ "pitch_mm"
3731
+ ],
3732
+ "type": "object"
3733
+ },
3734
+ {
3735
+ "additionalProperties": false,
3736
+ "properties": {
3737
+ "count": {
3738
+ "$ref": "#/$defs/Scalar"
3739
+ },
3740
+ "kind": {
3741
+ "const": "unstructured",
3742
+ "type": "string"
3743
+ }
3744
+ },
3745
+ "required": [
3746
+ "kind",
3747
+ "count"
3748
+ ],
3749
+ "type": "object"
3750
+ }
3751
+ ]
3752
+ },
3753
+ "Kind": {
3754
+ "enum": [
3755
+ "face",
3756
+ "edge",
3757
+ "vertex",
3758
+ "loop"
3759
+ ],
3760
+ "type": "string"
3761
+ },
2980
3762
  "LoftSection": {
2981
3763
  "additionalProperties": false,
2982
3764
  "properties": {
@@ -3003,6 +3785,14 @@
3003
3785
  ],
3004
3786
  "type": "object"
3005
3787
  },
3788
+ "LoopRole": {
3789
+ "enum": [
3790
+ "outer",
3791
+ "inner",
3792
+ "unknown"
3793
+ ],
3794
+ "type": "string"
3795
+ },
3006
3796
  "Mate": {
3007
3797
  "oneOf": [
3008
3798
  {
@@ -3011,6 +3801,9 @@
3011
3801
  "a": {
3012
3802
  "$ref": "#/$defs/Attachment"
3013
3803
  },
3804
+ "alignment": {
3805
+ "$ref": "#/$defs/FrameAlignment"
3806
+ },
3014
3807
  "b": {
3015
3808
  "$ref": "#/$defs/Attachment"
3016
3809
  },
@@ -3020,6 +3813,9 @@
3020
3813
  "kind": {
3021
3814
  "const": "fixed",
3022
3815
  "type": "string"
3816
+ },
3817
+ "twist_deg": {
3818
+ "$ref": "#/$defs/Scalar"
3023
3819
  }
3024
3820
  },
3025
3821
  "required": [
@@ -3061,6 +3857,9 @@
3061
3857
  "a": {
3062
3858
  "$ref": "#/$defs/Attachment"
3063
3859
  },
3860
+ "alignment": {
3861
+ "$ref": "#/$defs/AxisAlignment"
3862
+ },
3064
3863
  "b": {
3065
3864
  "$ref": "#/$defs/Attachment"
3066
3865
  },
@@ -3086,6 +3885,9 @@
3086
3885
  "a": {
3087
3886
  "$ref": "#/$defs/Attachment"
3088
3887
  },
3888
+ "alignment": {
3889
+ "$ref": "#/$defs/AxisAlignment"
3890
+ },
3089
3891
  "b": {
3090
3892
  "$ref": "#/$defs/Attachment"
3091
3893
  },
@@ -3111,6 +3913,9 @@
3111
3913
  "a": {
3112
3914
  "$ref": "#/$defs/Attachment"
3113
3915
  },
3916
+ "alignment": {
3917
+ "$ref": "#/$defs/FrameAlignment"
3918
+ },
3114
3919
  "b": {
3115
3920
  "$ref": "#/$defs/Attachment"
3116
3921
  },
@@ -3120,6 +3925,9 @@
3120
3925
  "kind": {
3121
3926
  "const": "prismatic",
3122
3927
  "type": "string"
3928
+ },
3929
+ "twist_deg": {
3930
+ "$ref": "#/$defs/Scalar"
3123
3931
  }
3124
3932
  },
3125
3933
  "required": [
@@ -3222,6 +4030,13 @@
3222
4030
  ],
3223
4031
  "type": "object"
3224
4032
  },
4033
+ "MaterialSide": {
4034
+ "enum": [
4035
+ "internal",
4036
+ "external"
4037
+ ],
4038
+ "type": "string"
4039
+ },
3225
4040
  "OnFailure": {
3226
4041
  "oneOf": [
3227
4042
  {
@@ -3277,51 +4092,19 @@
3277
4092
  ],
3278
4093
  "type": "string"
3279
4094
  },
3280
- "OuterEdges": {
3281
- "enum": [
3282
- "vertical",
3283
- "top",
3284
- "bottom"
3285
- ],
3286
- "type": "string"
3287
- },
3288
- "OutputKind": {
3289
- "enum": [
3290
- "solid",
3291
- "surface"
3292
- ],
3293
- "type": "string"
3294
- },
3295
- "ParamRef": {
3296
- "additionalProperties": false,
3297
- "properties": {
3298
- "param": {
3299
- "type": "string"
3300
- }
3301
- },
3302
- "required": [
3303
- "param"
3304
- ],
3305
- "type": "object"
3306
- },
3307
- "PathCurve": {
4095
+ "OrientationDatum": {
3308
4096
  "oneOf": [
3309
4097
  {
3310
4098
  "additionalProperties": false,
3311
4099
  "properties": {
3312
- "end": {
3313
- "items": {
3314
- "$ref": "#/$defs/Scalar"
3315
- },
3316
- "maxItems": 3,
3317
- "minItems": 3,
3318
- "type": "array"
3319
- },
3320
4100
  "kind": {
3321
- "const": "line",
4101
+ "const": "direction",
3322
4102
  "type": "string"
3323
4103
  },
3324
- "start": {
4104
+ "name": {
4105
+ "type": "string"
4106
+ },
4107
+ "vector": {
3325
4108
  "items": {
3326
4109
  "$ref": "#/$defs/Scalar"
3327
4110
  },
@@ -3332,47 +4115,207 @@
3332
4115
  },
3333
4116
  "required": [
3334
4117
  "kind",
3335
- "start",
3336
- "end"
4118
+ "name",
4119
+ "vector"
3337
4120
  ],
3338
4121
  "type": "object"
3339
4122
  },
3340
4123
  {
3341
4124
  "additionalProperties": false,
3342
4125
  "properties": {
3343
- "end": {
3344
- "items": {
3345
- "$ref": "#/$defs/Scalar"
3346
- },
3347
- "maxItems": 3,
3348
- "minItems": 3,
3349
- "type": "array"
4126
+ "datum": {
4127
+ "type": "string"
3350
4128
  },
3351
4129
  "kind": {
3352
- "const": "arc",
4130
+ "const": "geometric_datum",
3353
4131
  "type": "string"
3354
4132
  },
3355
- "start": {
3356
- "items": {
3357
- "$ref": "#/$defs/Scalar"
3358
- },
3359
- "maxItems": 3,
3360
- "minItems": 3,
3361
- "type": "array"
3362
- },
3363
- "via": {
3364
- "items": {
3365
- "$ref": "#/$defs/Scalar"
3366
- },
3367
- "maxItems": 3,
3368
- "minItems": 3,
3369
- "type": "array"
4133
+ "name": {
4134
+ "type": "string"
3370
4135
  }
3371
4136
  },
3372
4137
  "required": [
3373
4138
  "kind",
3374
- "start",
3375
- "via",
4139
+ "name",
4140
+ "datum"
4141
+ ],
4142
+ "type": "object"
4143
+ }
4144
+ ]
4145
+ },
4146
+ "OrientationName": {
4147
+ "oneOf": [
4148
+ {
4149
+ "additionalProperties": false,
4150
+ "properties": {
4151
+ "kind": {
4152
+ "const": "orientation_datum",
4153
+ "type": "string"
4154
+ },
4155
+ "name": {
4156
+ "type": "string"
4157
+ }
4158
+ },
4159
+ "required": [
4160
+ "kind",
4161
+ "name"
4162
+ ],
4163
+ "type": "object"
4164
+ }
4165
+ ]
4166
+ },
4167
+ "Origin": {
4168
+ "oneOf": [
4169
+ {
4170
+ "additionalProperties": false,
4171
+ "properties": {
4172
+ "kind": {
4173
+ "const": "hole_group_center",
4174
+ "type": "string"
4175
+ }
4176
+ },
4177
+ "required": [
4178
+ "kind"
4179
+ ],
4180
+ "type": "object"
4181
+ },
4182
+ {
4183
+ "additionalProperties": false,
4184
+ "properties": {
4185
+ "axis_slot": {
4186
+ "type": "string"
4187
+ },
4188
+ "kind": {
4189
+ "const": "axis_plane_intersection",
4190
+ "type": "string"
4191
+ }
4192
+ },
4193
+ "required": [
4194
+ "kind",
4195
+ "axis_slot"
4196
+ ],
4197
+ "type": "object"
4198
+ },
4199
+ {
4200
+ "additionalProperties": false,
4201
+ "properties": {
4202
+ "kind": {
4203
+ "const": "declared_point",
4204
+ "type": "string"
4205
+ },
4206
+ "point": {
4207
+ "items": {
4208
+ "$ref": "#/$defs/Scalar"
4209
+ },
4210
+ "maxItems": 3,
4211
+ "minItems": 3,
4212
+ "type": "array"
4213
+ }
4214
+ },
4215
+ "required": [
4216
+ "kind",
4217
+ "point"
4218
+ ],
4219
+ "type": "object"
4220
+ }
4221
+ ]
4222
+ },
4223
+ "OuterEdges": {
4224
+ "enum": [
4225
+ "vertical",
4226
+ "top",
4227
+ "bottom"
4228
+ ],
4229
+ "type": "string"
4230
+ },
4231
+ "OutputKind": {
4232
+ "enum": [
4233
+ "solid",
4234
+ "surface"
4235
+ ],
4236
+ "type": "string"
4237
+ },
4238
+ "ParamRef": {
4239
+ "additionalProperties": false,
4240
+ "properties": {
4241
+ "param": {
4242
+ "type": "string"
4243
+ }
4244
+ },
4245
+ "required": [
4246
+ "param"
4247
+ ],
4248
+ "type": "object"
4249
+ },
4250
+ "PathCurve": {
4251
+ "oneOf": [
4252
+ {
4253
+ "additionalProperties": false,
4254
+ "properties": {
4255
+ "end": {
4256
+ "items": {
4257
+ "$ref": "#/$defs/Scalar"
4258
+ },
4259
+ "maxItems": 3,
4260
+ "minItems": 3,
4261
+ "type": "array"
4262
+ },
4263
+ "kind": {
4264
+ "const": "line",
4265
+ "type": "string"
4266
+ },
4267
+ "start": {
4268
+ "items": {
4269
+ "$ref": "#/$defs/Scalar"
4270
+ },
4271
+ "maxItems": 3,
4272
+ "minItems": 3,
4273
+ "type": "array"
4274
+ }
4275
+ },
4276
+ "required": [
4277
+ "kind",
4278
+ "start",
4279
+ "end"
4280
+ ],
4281
+ "type": "object"
4282
+ },
4283
+ {
4284
+ "additionalProperties": false,
4285
+ "properties": {
4286
+ "end": {
4287
+ "items": {
4288
+ "$ref": "#/$defs/Scalar"
4289
+ },
4290
+ "maxItems": 3,
4291
+ "minItems": 3,
4292
+ "type": "array"
4293
+ },
4294
+ "kind": {
4295
+ "const": "arc",
4296
+ "type": "string"
4297
+ },
4298
+ "start": {
4299
+ "items": {
4300
+ "$ref": "#/$defs/Scalar"
4301
+ },
4302
+ "maxItems": 3,
4303
+ "minItems": 3,
4304
+ "type": "array"
4305
+ },
4306
+ "via": {
4307
+ "items": {
4308
+ "$ref": "#/$defs/Scalar"
4309
+ },
4310
+ "maxItems": 3,
4311
+ "minItems": 3,
4312
+ "type": "array"
4313
+ }
4314
+ },
4315
+ "required": [
4316
+ "kind",
4317
+ "start",
4318
+ "via",
3376
4319
  "end"
3377
4320
  ],
3378
4321
  "type": "object"
@@ -3404,6 +4347,13 @@
3404
4347
  }
3405
4348
  ]
3406
4349
  },
4350
+ "PlaneRelation": {
4351
+ "enum": [
4352
+ "aligned",
4353
+ "opposed"
4354
+ ],
4355
+ "type": "string"
4356
+ },
3407
4357
  "Pose": {
3408
4358
  "additionalProperties": false,
3409
4359
  "properties": {
@@ -3463,6 +4413,54 @@
3463
4413
  ],
3464
4414
  "type": "string"
3465
4415
  },
4416
+ "PoseSample": {
4417
+ "additionalProperties": false,
4418
+ "properties": {
4419
+ "a": {
4420
+ "$ref": "#/$defs/Pose",
4421
+ "default": {
4422
+ "frame": null,
4423
+ "rotation_deg": [
4424
+ 0,
4425
+ 0,
4426
+ 0
4427
+ ],
4428
+ "rotation_order": "xyz",
4429
+ "translation": [
4430
+ 0,
4431
+ 0,
4432
+ 0
4433
+ ],
4434
+ "visible": true
4435
+ }
4436
+ },
4437
+ "b": {
4438
+ "$ref": "#/$defs/Pose",
4439
+ "default": {
4440
+ "frame": null,
4441
+ "rotation_deg": [
4442
+ 0,
4443
+ 0,
4444
+ 0
4445
+ ],
4446
+ "rotation_order": "xyz",
4447
+ "translation": [
4448
+ 0,
4449
+ 0,
4450
+ 0
4451
+ ],
4452
+ "visible": true
4453
+ }
4454
+ },
4455
+ "id": {
4456
+ "type": "string"
4457
+ }
4458
+ },
4459
+ "required": [
4460
+ "id"
4461
+ ],
4462
+ "type": "object"
4463
+ },
3466
4464
  "Poses": {
3467
4465
  "additionalProperties": false,
3468
4466
  "properties": {
@@ -3695,53 +4693,272 @@
3695
4693
  ],
3696
4694
  "type": "object"
3697
4695
  },
3698
- "RegionKind": {
3699
- "enum": [
3700
- "outer",
3701
- "cavity",
3702
- "opening"
3703
- ],
3704
- "type": "string"
4696
+ "Range": {
4697
+ "additionalProperties": false,
4698
+ "properties": {
4699
+ "max": {
4700
+ "format": "double",
4701
+ "type": [
4702
+ "number",
4703
+ "null"
4704
+ ]
4705
+ },
4706
+ "min": {
4707
+ "format": "double",
4708
+ "type": [
4709
+ "number",
4710
+ "null"
4711
+ ]
4712
+ }
4713
+ },
4714
+ "type": "object"
3705
4715
  },
3706
- "Representation": {
4716
+ "RankBy": {
3707
4717
  "oneOf": [
3708
4718
  {
3709
4719
  "additionalProperties": false,
3710
4720
  "properties": {
3711
- "kind": {
3712
- "const": "exact",
4721
+ "property": {
4722
+ "const": "area_mm2",
3713
4723
  "type": "string"
3714
4724
  }
3715
4725
  },
3716
4726
  "required": [
3717
- "kind"
4727
+ "property"
3718
4728
  ],
3719
4729
  "type": "object"
3720
4730
  },
3721
4731
  {
3722
4732
  "additionalProperties": false,
3723
4733
  "properties": {
3724
- "kind": {
3725
- "const": "envelope",
3726
- "type": "string"
3727
- },
3728
- "reason": {
4734
+ "property": {
4735
+ "const": "length_mm",
3729
4736
  "type": "string"
3730
4737
  }
3731
4738
  },
3732
4739
  "required": [
3733
- "kind",
3734
- "reason"
4740
+ "property"
3735
4741
  ],
3736
4742
  "type": "object"
3737
4743
  },
3738
4744
  {
3739
4745
  "additionalProperties": false,
3740
4746
  "properties": {
3741
- "affects": {
3742
- "items": {
3743
- "type": "string"
3744
- },
4747
+ "direction": {
4748
+ "$ref": "#/$defs/DirectionInput"
4749
+ },
4750
+ "property": {
4751
+ "const": "center_projection",
4752
+ "type": "string"
4753
+ }
4754
+ },
4755
+ "required": [
4756
+ "property",
4757
+ "direction"
4758
+ ],
4759
+ "type": "object"
4760
+ }
4761
+ ]
4762
+ },
4763
+ "Recipe": {
4764
+ "oneOf": [
4765
+ {
4766
+ "additionalProperties": false,
4767
+ "properties": {
4768
+ "derive": {
4769
+ "$ref": "#/$defs/Derive"
4770
+ },
4771
+ "kind": {
4772
+ "const": "selected",
4773
+ "type": "string"
4774
+ },
4775
+ "selection": {
4776
+ "$ref": "#/$defs/Selection"
4777
+ }
4778
+ },
4779
+ "required": [
4780
+ "kind",
4781
+ "selection",
4782
+ "derive"
4783
+ ],
4784
+ "type": "object"
4785
+ },
4786
+ {
4787
+ "additionalProperties": false,
4788
+ "properties": {
4789
+ "kind": {
4790
+ "const": "design_point",
4791
+ "type": "string"
4792
+ },
4793
+ "point": {
4794
+ "items": {
4795
+ "$ref": "#/$defs/Scalar"
4796
+ },
4797
+ "maxItems": 3,
4798
+ "minItems": 3,
4799
+ "type": "array"
4800
+ }
4801
+ },
4802
+ "required": [
4803
+ "kind",
4804
+ "point"
4805
+ ],
4806
+ "type": "object"
4807
+ },
4808
+ {
4809
+ "additionalProperties": false,
4810
+ "properties": {
4811
+ "from": {
4812
+ "type": "string"
4813
+ },
4814
+ "kind": {
4815
+ "const": "point_difference",
4816
+ "type": "string"
4817
+ },
4818
+ "to": {
4819
+ "type": "string"
4820
+ }
4821
+ },
4822
+ "required": [
4823
+ "kind",
4824
+ "from",
4825
+ "to"
4826
+ ],
4827
+ "type": "object"
4828
+ },
4829
+ {
4830
+ "additionalProperties": false,
4831
+ "properties": {
4832
+ "kind": {
4833
+ "const": "frame",
4834
+ "type": "string"
4835
+ },
4836
+ "origin": {
4837
+ "type": "string"
4838
+ },
4839
+ "x": {
4840
+ "$ref": "#/$defs/Directed"
4841
+ },
4842
+ "z": {
4843
+ "$ref": "#/$defs/Directed"
4844
+ }
4845
+ },
4846
+ "required": [
4847
+ "kind",
4848
+ "origin",
4849
+ "x",
4850
+ "z"
4851
+ ],
4852
+ "type": "object"
4853
+ }
4854
+ ]
4855
+ },
4856
+ "RegionKind": {
4857
+ "enum": [
4858
+ "outer",
4859
+ "cavity",
4860
+ "opening"
4861
+ ],
4862
+ "type": "string"
4863
+ },
4864
+ "RegisterFit": {
4865
+ "additionalProperties": false,
4866
+ "properties": {
4867
+ "max_axis_offset_mm": {
4868
+ "$ref": "#/$defs/Scalar"
4869
+ },
4870
+ "radial_clearance_mm": {
4871
+ "$ref": "#/$defs/Range"
4872
+ }
4873
+ },
4874
+ "required": [
4875
+ "radial_clearance_mm",
4876
+ "max_axis_offset_mm"
4877
+ ],
4878
+ "type": "object"
4879
+ },
4880
+ "RegisterSelector": {
4881
+ "additionalProperties": false,
4882
+ "properties": {
4883
+ "cardinality": {
4884
+ "$ref": "#/$defs/Cardinality"
4885
+ },
4886
+ "material_side": {
4887
+ "$ref": "#/$defs/MaterialSide"
4888
+ },
4889
+ "where": {
4890
+ "$ref": "#/$defs/Filter"
4891
+ }
4892
+ },
4893
+ "required": [
4894
+ "where",
4895
+ "cardinality",
4896
+ "material_side"
4897
+ ],
4898
+ "type": "object"
4899
+ },
4900
+ "RelationshipTarget": {
4901
+ "additionalProperties": false,
4902
+ "properties": {
4903
+ "instance": {
4904
+ "type": "string"
4905
+ },
4906
+ "region": {
4907
+ "anyOf": [
4908
+ {
4909
+ "$ref": "#/$defs/FaceSelector2"
4910
+ },
4911
+ {
4912
+ "type": "null"
4913
+ }
4914
+ ],
4915
+ "default": null
4916
+ }
4917
+ },
4918
+ "required": [
4919
+ "instance"
4920
+ ],
4921
+ "type": "object"
4922
+ },
4923
+ "Representation": {
4924
+ "oneOf": [
4925
+ {
4926
+ "additionalProperties": false,
4927
+ "properties": {
4928
+ "kind": {
4929
+ "const": "exact",
4930
+ "type": "string"
4931
+ }
4932
+ },
4933
+ "required": [
4934
+ "kind"
4935
+ ],
4936
+ "type": "object"
4937
+ },
4938
+ {
4939
+ "additionalProperties": false,
4940
+ "properties": {
4941
+ "kind": {
4942
+ "const": "envelope",
4943
+ "type": "string"
4944
+ },
4945
+ "reason": {
4946
+ "type": "string"
4947
+ }
4948
+ },
4949
+ "required": [
4950
+ "kind",
4951
+ "reason"
4952
+ ],
4953
+ "type": "object"
4954
+ },
4955
+ {
4956
+ "additionalProperties": false,
4957
+ "properties": {
4958
+ "affects": {
4959
+ "items": {
4960
+ "type": "string"
4961
+ },
3745
4962
  "type": "array"
3746
4963
  },
3747
4964
  "kind": {
@@ -3768,6 +4985,30 @@
3768
4985
  }
3769
4986
  ]
3770
4987
  },
4988
+ "Requirements": {
4989
+ "additionalProperties": false,
4990
+ "properties": {
4991
+ "bore_diameter_mm": {
4992
+ "$ref": "#/$defs/Scalar"
4993
+ },
4994
+ "pattern": {
4995
+ "$ref": "#/$defs/InterfacePatternRequirement"
4996
+ },
4997
+ "termination": {
4998
+ "$ref": "#/$defs/Termination"
4999
+ },
5000
+ "verification_tolerance": {
5001
+ "$ref": "#/$defs/Tolerance"
5002
+ }
5003
+ },
5004
+ "required": [
5005
+ "verification_tolerance",
5006
+ "pattern",
5007
+ "bore_diameter_mm",
5008
+ "termination"
5009
+ ],
5010
+ "type": "object"
5011
+ },
3771
5012
  "RotationOrder": {
3772
5013
  "enum": [
3773
5014
  "xyz",
@@ -3871,6 +5112,288 @@
3871
5112
  }
3872
5113
  ]
3873
5114
  },
5115
+ "Selection": {
5116
+ "oneOf": [
5117
+ {
5118
+ "additionalProperties": false,
5119
+ "properties": {
5120
+ "entity": {
5121
+ "$ref": "#/$defs/Kind"
5122
+ },
5123
+ "kind": {
5124
+ "const": "entities",
5125
+ "type": "string"
5126
+ }
5127
+ },
5128
+ "required": [
5129
+ "kind",
5130
+ "entity"
5131
+ ],
5132
+ "type": "object"
5133
+ },
5134
+ {
5135
+ "additionalProperties": false,
5136
+ "properties": {
5137
+ "kind": {
5138
+ "const": "refs",
5139
+ "type": "string"
5140
+ },
5141
+ "refs": {
5142
+ "items": {
5143
+ "$ref": "#/$defs/TopologyRef"
5144
+ },
5145
+ "type": "array"
5146
+ }
5147
+ },
5148
+ "required": [
5149
+ "kind",
5150
+ "refs"
5151
+ ],
5152
+ "type": "object"
5153
+ },
5154
+ {
5155
+ "additionalProperties": false,
5156
+ "properties": {
5157
+ "input": {
5158
+ "$ref": "#/$defs/Selection"
5159
+ },
5160
+ "kind": {
5161
+ "const": "filter",
5162
+ "type": "string"
5163
+ },
5164
+ "where": {
5165
+ "$ref": "#/$defs/Filter"
5166
+ }
5167
+ },
5168
+ "required": [
5169
+ "kind",
5170
+ "input",
5171
+ "where"
5172
+ ],
5173
+ "type": "object"
5174
+ },
5175
+ {
5176
+ "additionalProperties": false,
5177
+ "properties": {
5178
+ "entity": {
5179
+ "$ref": "#/$defs/Kind"
5180
+ },
5181
+ "input": {
5182
+ "$ref": "#/$defs/Selection"
5183
+ },
5184
+ "kind": {
5185
+ "const": "children",
5186
+ "type": "string"
5187
+ }
5188
+ },
5189
+ "required": [
5190
+ "kind",
5191
+ "input",
5192
+ "entity"
5193
+ ],
5194
+ "type": "object"
5195
+ },
5196
+ {
5197
+ "additionalProperties": false,
5198
+ "properties": {
5199
+ "entity": {
5200
+ "$ref": "#/$defs/Kind"
5201
+ },
5202
+ "input": {
5203
+ "$ref": "#/$defs/Selection"
5204
+ },
5205
+ "kind": {
5206
+ "const": "ancestors",
5207
+ "type": "string"
5208
+ }
5209
+ },
5210
+ "required": [
5211
+ "kind",
5212
+ "input",
5213
+ "entity"
5214
+ ],
5215
+ "type": "object"
5216
+ },
5217
+ {
5218
+ "additionalProperties": false,
5219
+ "properties": {
5220
+ "entity": {
5221
+ "$ref": "#/$defs/Kind"
5222
+ },
5223
+ "input": {
5224
+ "$ref": "#/$defs/Selection"
5225
+ },
5226
+ "kind": {
5227
+ "const": "siblings",
5228
+ "type": "string"
5229
+ },
5230
+ "via": {
5231
+ "$ref": "#/$defs/Kind"
5232
+ }
5233
+ },
5234
+ "required": [
5235
+ "kind",
5236
+ "input",
5237
+ "entity",
5238
+ "via"
5239
+ ],
5240
+ "type": "object"
5241
+ },
5242
+ {
5243
+ "additionalProperties": false,
5244
+ "properties": {
5245
+ "inputs": {
5246
+ "items": {
5247
+ "$ref": "#/$defs/Selection"
5248
+ },
5249
+ "type": "array"
5250
+ },
5251
+ "kind": {
5252
+ "const": "union",
5253
+ "type": "string"
5254
+ }
5255
+ },
5256
+ "required": [
5257
+ "kind",
5258
+ "inputs"
5259
+ ],
5260
+ "type": "object"
5261
+ },
5262
+ {
5263
+ "additionalProperties": false,
5264
+ "properties": {
5265
+ "inputs": {
5266
+ "items": {
5267
+ "$ref": "#/$defs/Selection"
5268
+ },
5269
+ "type": "array"
5270
+ },
5271
+ "kind": {
5272
+ "const": "intersection",
5273
+ "type": "string"
5274
+ }
5275
+ },
5276
+ "required": [
5277
+ "kind",
5278
+ "inputs"
5279
+ ],
5280
+ "type": "object"
5281
+ },
5282
+ {
5283
+ "additionalProperties": false,
5284
+ "properties": {
5285
+ "kind": {
5286
+ "const": "difference",
5287
+ "type": "string"
5288
+ },
5289
+ "left": {
5290
+ "$ref": "#/$defs/Selection"
5291
+ },
5292
+ "right": {
5293
+ "$ref": "#/$defs/Selection"
5294
+ }
5295
+ },
5296
+ "required": [
5297
+ "kind",
5298
+ "left",
5299
+ "right"
5300
+ ],
5301
+ "type": "object"
5302
+ },
5303
+ {
5304
+ "additionalProperties": false,
5305
+ "properties": {
5306
+ "by": {
5307
+ "$ref": "#/$defs/RankBy"
5308
+ },
5309
+ "descending": {
5310
+ "default": false,
5311
+ "type": "boolean"
5312
+ },
5313
+ "input": {
5314
+ "$ref": "#/$defs/Selection"
5315
+ },
5316
+ "kind": {
5317
+ "const": "rank",
5318
+ "type": "string"
5319
+ },
5320
+ "rank": {
5321
+ "format": "uint",
5322
+ "minimum": 0,
5323
+ "type": "integer"
5324
+ },
5325
+ "tie_tolerance": {
5326
+ "format": "double",
5327
+ "type": "number"
5328
+ }
5329
+ },
5330
+ "required": [
5331
+ "kind",
5332
+ "input",
5333
+ "by",
5334
+ "rank",
5335
+ "tie_tolerance"
5336
+ ],
5337
+ "type": "object"
5338
+ },
5339
+ {
5340
+ "additionalProperties": false,
5341
+ "properties": {
5342
+ "count": {
5343
+ "format": "uint",
5344
+ "minimum": 0,
5345
+ "type": "integer"
5346
+ },
5347
+ "input": {
5348
+ "$ref": "#/$defs/Selection"
5349
+ },
5350
+ "kind": {
5351
+ "const": "expect",
5352
+ "type": "string"
5353
+ }
5354
+ },
5355
+ "required": [
5356
+ "kind",
5357
+ "input",
5358
+ "count"
5359
+ ],
5360
+ "type": "object"
5361
+ }
5362
+ ]
5363
+ },
5364
+ "Selectors": {
5365
+ "additionalProperties": false,
5366
+ "properties": {
5367
+ "hole_group": {
5368
+ "$ref": "#/$defs/GroupSelector"
5369
+ },
5370
+ "plane": {
5371
+ "$ref": "#/$defs/FaceSelector"
5372
+ },
5373
+ "register": {
5374
+ "anyOf": [
5375
+ {
5376
+ "$ref": "#/$defs/RegisterSelector"
5377
+ },
5378
+ {
5379
+ "type": "null"
5380
+ }
5381
+ ]
5382
+ }
5383
+ },
5384
+ "required": [
5385
+ "plane",
5386
+ "hole_group"
5387
+ ],
5388
+ "type": "object"
5389
+ },
5390
+ "Sense": {
5391
+ "enum": [
5392
+ "positive",
5393
+ "negative"
5394
+ ],
5395
+ "type": "string"
5396
+ },
3874
5397
  "Sketch": {
3875
5398
  "additionalProperties": false,
3876
5399
  "properties": {
@@ -3979,6 +5502,88 @@
3979
5502
  ],
3980
5503
  "type": "string"
3981
5504
  },
5505
+ "SurfaceClass": {
5506
+ "enum": [
5507
+ "plane",
5508
+ "cylinder",
5509
+ "cone",
5510
+ "sphere",
5511
+ "torus",
5512
+ "nurbs",
5513
+ "other"
5514
+ ],
5515
+ "type": "string"
5516
+ },
5517
+ "Symmetry": {
5518
+ "enum": [
5519
+ "require_unique",
5520
+ "allow_equivalent"
5521
+ ],
5522
+ "type": "string"
5523
+ },
5524
+ "Termination": {
5525
+ "enum": [
5526
+ "through",
5527
+ "blind",
5528
+ "unknown"
5529
+ ],
5530
+ "type": "string"
5531
+ },
5532
+ "Tolerance": {
5533
+ "additionalProperties": false,
5534
+ "properties": {
5535
+ "angular_rad": {
5536
+ "format": "double",
5537
+ "type": "number"
5538
+ },
5539
+ "linear_mm": {
5540
+ "format": "double",
5541
+ "type": "number"
5542
+ }
5543
+ },
5544
+ "required": [
5545
+ "linear_mm",
5546
+ "angular_rad"
5547
+ ],
5548
+ "type": "object"
5549
+ },
5550
+ "TopologyRef": {
5551
+ "additionalProperties": false,
5552
+ "properties": {
5553
+ "definition_id": {
5554
+ "type": "string"
5555
+ },
5556
+ "definition_sha256": {
5557
+ "type": "string"
5558
+ },
5559
+ "instance_path": {
5560
+ "items": {
5561
+ "type": "string"
5562
+ },
5563
+ "type": [
5564
+ "array",
5565
+ "null"
5566
+ ]
5567
+ },
5568
+ "kind": {
5569
+ "$ref": "#/$defs/Kind"
5570
+ },
5571
+ "query_revision_id": {
5572
+ "type": "string"
5573
+ },
5574
+ "topology_id": {
5575
+ "type": "string"
5576
+ }
5577
+ },
5578
+ "required": [
5579
+ "query_revision_id",
5580
+ "definition_id",
5581
+ "definition_sha256",
5582
+ "kind",
5583
+ "topology_id"
5584
+ ],
5585
+ "type": "object"
5586
+ },
3982
5587
  "View": {
3983
5588
  "enum": [
3984
5589
  "iso",
@@ -4013,6 +5618,12 @@
4013
5618
  },
4014
5619
  "type": "array"
4015
5620
  },
5621
+ "datums": {
5622
+ "items": {
5623
+ "$ref": "#/$defs/Declaration"
5624
+ },
5625
+ "type": "array"
5626
+ },
4016
5627
  "features": {
4017
5628
  "items": {
4018
5629
  "$ref": "#/$defs/Feature"
@@ -4025,6 +5636,12 @@
4025
5636
  },
4026
5637
  "type": "array"
4027
5638
  },
5639
+ "interfaces": {
5640
+ "items": {
5641
+ "$ref": "#/$defs/Declaration2"
5642
+ },
5643
+ "type": "array"
5644
+ },
4028
5645
  "mates": {
4029
5646
  "anyOf": [
4030
5647
  {