You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update TypeScript types, schemas, and documentation for TAIP-17
- Add Escrow and Capture interfaces to TypeScript types
- Create JSON schemas for Escrow and Capture messages
- Update messages.md with Escrow and Capture documentation
- Add TAIP-17 to README.md and CHANGELOG.md
- Update agent.json schema to support flexible role values including EscrowAgent
- Ensure all components follow existing TAP patterns
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| asset | string | No | Draft ([TAIP-17]) | CAIP-19 identifier for the specific cryptocurrency asset. Either asset OR currency must be present |
286
+
| currency | string | No | Draft ([TAIP-17]) | ISO 4217 currency code for fiat-denominated escrows. Either asset OR currency must be present |
287
+
| amount | string | Yes | Draft ([TAIP-17]) | Amount to be held in escrow (decimal string) |
288
+
| originator |[Party](#party)| Yes | Draft ([TAIP-17]) | Party whose assets will be placed in escrow |
289
+
| beneficiary |[Party](#party)| Yes | Draft ([TAIP-17]) | Party who will receive the assets when released |
290
+
| expiry | string | Yes | Draft ([TAIP-17]) | ISO 8601 timestamp after which the escrow automatically expires |
291
+
| agreement | string | No | Draft ([TAIP-17]) | URL or URI referencing the terms and conditions of the escrow |
292
+
| agents | array of [Agent](#agent)| Yes | Draft ([TAIP-17]) | Array of agents involved in the escrow. Exactly one agent MUST have role "EscrowAgent" |
"description": "Role of the agent in the transaction"
19
+
"pattern": "^[A-Z][a-zA-Z]*$",
20
+
"description": "Role of the agent in the transaction (PascalCase). Standard values include: SettlementAddress, SourceAddress, CustodialService, EscrowAgent"
17
21
},
18
22
"for": {
19
-
"$ref": "../common/base-types.json#/$defs/did",
20
-
"description": "DID of the party this agent represents"
23
+
"oneOf": [
24
+
{
25
+
"$ref": "../common/base-types.json#/$defs/did"
26
+
},
27
+
{
28
+
"type": "array",
29
+
"items": {
30
+
"$ref": "../common/base-types.json#/$defs/did"
31
+
},
32
+
"minItems": 1
33
+
}
34
+
],
35
+
"description": "DID(s) of the party/parties this agent represents"
0 commit comments