21 lines
751 B
JSON
21 lines
751 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://aps.local/contracts/receipt.schema.json",
|
|
"title": "ExecutionReceipt",
|
|
"description": "能力调用的统一回执(架构设计 4.2)。",
|
|
"$ref": "#/$defs/ExecutionReceipt",
|
|
"$defs": {
|
|
"ExecutionReceipt": {
|
|
"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
|
|
}
|
|
}
|
|
} |