aps-agent/contracts/schemas/receipt.schema.json

16 lines
624 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://aps.local/contracts/receipt.schema.json",
"title": "ExecutionReceipt",
"description": "能力调用的统一回执(架构设计 4.2)。",
"type": "object",
"required": ["executionId", "status"],
"properties": {
"executionId": { "type": "string" },
"status": { "$ref": "envelope.schema.json#/$defs/status" },
"result": {},
"errorKind": { "type": "string" },
"approvalId": { "type": "string", "description": "status = pending-confirmation 时给出待确认动作标识" }
},
"additionalProperties": false
}