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