58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
||
"id": "aps.capacity.query",
|
||
"providerId": "aps",
|
||
"title": "产能查询",
|
||
"purpose": "查工位、设备与产能池负荷",
|
||
"whenNotToUse": "要查某版方案的负荷用 aps.schedule.query",
|
||
"effect": "read",
|
||
"mode": "sync",
|
||
"idempotency": "none",
|
||
"inputSchema": {
|
||
"type": "object",
|
||
"properties": {
|
||
"project": {
|
||
"type": "string",
|
||
"description": "项目 id,缺省用当前项目"
|
||
},
|
||
"code": {
|
||
"type": "string",
|
||
"description": "物料号 / 订单号等业务编码"
|
||
},
|
||
"limit": {
|
||
"type": "integer",
|
||
"description": "返回条数上限,默认 20–50"
|
||
}
|
||
}
|
||
},
|
||
"outputSchema": {
|
||
"type": "object",
|
||
"properties": {
|
||
"items": {
|
||
"type": "array"
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
},
|
||
"pool": {
|
||
"type": "object"
|
||
}
|
||
}
|
||
},
|
||
"synonyms": [
|
||
"产能",
|
||
"负荷",
|
||
"能力池",
|
||
"工位"
|
||
],
|
||
"errors": [
|
||
"invalid_argument",
|
||
"unavailable",
|
||
"unknown_result"
|
||
],
|
||
"example": {
|
||
"utterance": "现在哪些工位负荷最紧",
|
||
"expects": "aps.capacity.query"
|
||
},
|
||
"note": "由 APS 的 /api/manifest 生成(A5.1);权威来源是 APS 服务本身,这里是人审阅副本"
|
||
}
|