fix: 更新cdsl_schema.json配置
This commit is contained in:
@@ -46,22 +46,27 @@
|
||||
"additionalProperties": false
|
||||
},
|
||||
"hostFace": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"frame": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"origin_mm": {"$ref": "#/$defs/point3"},
|
||||
"x_dir": {"$ref": "#/$defs/point3"},
|
||||
"y_dir": {"$ref": "#/$defs/point3"},
|
||||
"normal": {"$ref": "#/$defs/point3"}
|
||||
"frame": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"origin_mm": {"$ref": "#/$defs/point3"},
|
||||
"x_dir": {"$ref": "#/$defs/point3"},
|
||||
"y_dir": {"$ref": "#/$defs/point3"},
|
||||
"normal": {"$ref": "#/$defs/point3"}
|
||||
},
|
||||
"required": ["origin_mm", "x_dir", "y_dir", "normal"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["origin_mm", "x_dir", "y_dir", "normal"],
|
||||
"required": ["frame"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["frame"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{"$ref": "#/$defs/selectorRef"}
|
||||
]
|
||||
},
|
||||
"holePosition": {
|
||||
"type": "object",
|
||||
@@ -234,7 +239,7 @@
|
||||
"depth_mm": {"type": "number", "minimum": 0},
|
||||
"end_condition": {"$ref": "#/$defs/endCondition"},
|
||||
"positions": {"type": "array", "items": {"$ref": "#/$defs/holePosition"}},
|
||||
"host_face": {"$ref": "#/$defs/selectorRef"},
|
||||
"host_face": {"$ref": "#/$defs/hostFace"},
|
||||
"thread": {"type": "object"},
|
||||
"countersink": {"type": "object"},
|
||||
"counterbore": {"type": "object"}
|
||||
|
||||
Reference in New Issue
Block a user