95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
{
|
|
"capability": "ansys.geometry.inspect@v1",
|
|
"display_name": "ANSYS Mechanical 几何检查",
|
|
"default_enrollment": false,
|
|
"output_namespace": "ansys",
|
|
"input_policy": {
|
|
"suffixes": [".step", ".stp", ".x_t", ".x_b", ".iges", ".igs"],
|
|
"max_count": 1,
|
|
"max_bytes": 536870912,
|
|
"max_total_bytes": 536870912
|
|
},
|
|
"outputs": {
|
|
"geometry_manifest": {
|
|
"filename": "geometry-manifest.json",
|
|
"media_type": "application/json",
|
|
"relative_path": "geometry-manifest.json",
|
|
"publish": true,
|
|
"required": true
|
|
},
|
|
"geometry_preview": {
|
|
"filename": "geometry-preview.png",
|
|
"media_type": "image/png",
|
|
"relative_path": "geometry-preview.png",
|
|
"publish": true,
|
|
"required": true
|
|
},
|
|
"provenance": {
|
|
"filename": "provenance.json",
|
|
"media_type": "application/json",
|
|
"relative_path": ".meta/provenance.json",
|
|
"publish": false,
|
|
"required": true
|
|
}
|
|
},
|
|
"feature_path": ["operation", "inspect", "type"],
|
|
"features": {
|
|
"geometry": "0.3.0"
|
|
},
|
|
"summary": {
|
|
"title_path": ["operation", "inspect", "title"]
|
|
},
|
|
"legacy_runtime": null,
|
|
"workspace": null,
|
|
"request_schema": {
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"x-maxBytes": 32768,
|
|
"required": ["schema_version", "inputs", "operation", "outputs"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"schema_version": {"const": 1},
|
|
"inputs": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"maxItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["key", "artifact_id"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"key": {"const": "geometry"},
|
|
"artifact_id": {"type": "string", "format": "uuid"}
|
|
}
|
|
}
|
|
},
|
|
"operation": {
|
|
"type": "object",
|
|
"required": ["inspect"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"inspect": {
|
|
"type": "object",
|
|
"required": ["type", "title", "geometry"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"type": {"const": "geometry"},
|
|
"title": {"type": "string", "minLength": 1, "maxLength": 160},
|
|
"geometry": {
|
|
"type": "object",
|
|
"required": ["input"],
|
|
"additionalProperties": false,
|
|
"properties": {"input": {"const": "geometry"}}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"outputs": {
|
|
"type": "array",
|
|
"maxItems": 0
|
|
}
|
|
}
|
|
}
|
|
}
|