changedInput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "agentIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "arguments": {
- "additionalProperties": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "description": "Capability arguments keyed by agentId from the selected Search result. Omit for a text-only thread; capabilityId keys are invalid.",
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "object"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "searchId": {
- "pattern": "^srch_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchToken": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "searchId",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "searchToken": {
- "maxLength": 100,
- "type": "string"
- },
- "targets": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "capabilityId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "agentId"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "targets",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema2"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "capabilityId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "action_request",
- "type": "string"
- }
- },
- "required": [
- "type",
- "capabilityId",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "action_confirmation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "requestId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "decision": {
- "enum": [
- "allow",
- "deny"
- ],
- "type": "string"
- },
- "requestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "approval_confirmation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "requestId",
- "decision"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "completion_confirmation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "requestId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "cancellation_request",
- "type": "string"
- }
- },
- "required": [
- "type",
- "operationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "authentication_response",
- "type": "string"
- }
- },
- "required": [
- "type",
- "requestId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "payment_response",
- "type": "string"
- }
- },
- "required": [
- "type",
- "requestId"
- ],
- "type": "object"
- }
- ]
- },
- "searchToken": {
- "maxLength": 100,
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "threadId",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agentIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "description": "Capability arguments keyed by agentId from the selected Search result. Omit for a text-only thread; operationId keys are invalid.",
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "searchId": {
+ "pattern": "^srch_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchToken": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "searchId",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "searchToken": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "targets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "agentId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "targets",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "action_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "operationId",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "action_confirmation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "requestId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "decision": {
+ "enum": [
+ "allow",
+ "deny"
+ ],
+ "type": "string"
+ },
+ "requestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "approval_confirmation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "requestId",
+ "decision"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "completion_confirmation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "requestId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "cancellation_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "actionId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authentication_response",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "requestId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "payment_response",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "requestId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "searchToken": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "threadId",
+ "message"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "actRequestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "searchId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "description": "Act Request handoff status only. Completed means thread receipts were created; read each thread for action confirmation and provider result.",
- "enum": [
- "pending",
- "completed",
- "partial",
- "failed"
- ],
- "type": "string"
- },
- "threads": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "capabilityId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "errorCode": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "state": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accepted": {
- "type": "boolean"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "cancellationRequested": {
- "type": "boolean"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "awaiting_confirmation",
- "queued",
- "running",
- "waiting",
- "reconciling",
- "succeeded",
- "failed",
- "cancelled",
- "withdrawn"
- ],
- "type": "string"
- }
- },
- "required": [
- "action",
- "capability",
- "request",
- "status",
- "cancellationRequested"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "archived": {
- "type": "boolean"
- },
- "cursor": {
- "maxLength": 200,
- "minLength": 3,
- "pattern": "^.+:(0|[1-9][0-9]*)$",
- "type": "string"
- },
- "errors": {
- "description": "Error events in this page. Retryable does not authorize replaying an accepted effect or payment.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "code": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "event": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "event",
- "code",
- "retryable",
- "createdAt"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "hasMore": {
- "type": "boolean"
- },
- "messages": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "audio",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "from": {
- "enum": [
- "you",
- "agent",
- "darwin"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "type": {
- "const": "message",
- "type": "string"
- }
- },
- "required": [
- "message",
- "from",
- "content",
- "status",
- "createdAt",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "audio",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "data": {
- "$ref": "#/$defs/__schema0",
- "description": "Structured JSON returned by the action."
- },
- "from": {
- "enum": [
- "you",
- "agent",
- "darwin"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "type": {
- "const": "result",
- "type": "string"
- }
- },
- "required": [
- "message",
- "from",
- "content",
- "status",
- "createdAt",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 100,
- "type": "array"
- },
- "needsAttention": {
- "type": "boolean"
- },
- "requests": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "action_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "capability",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "reason": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "approval_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "reason",
- "expiresAt",
- "capability",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authenticationType": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*)*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "resource": {
- "format": "uri",
- "maxLength": 2000,
- "type": "string"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "targetAgent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "authentication_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "targetAgent",
- "authenticationType",
- "resource",
- "scopes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "targetAgent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "authentication_required",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "targetAgent",
- "scopes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "acceptedMethods": {
- "items": {
- "enum": [
- "card",
- "bank",
- "hosted_checkout",
- "darwin_wallet",
- "mpp",
- "x402",
- "ucp",
- "acp"
- ],
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "amountMinor": {
- "pattern": "^[1-9][0-9]{0,17}$",
- "type": "string"
- },
- "currency": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "payee": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "agent",
- "name"
- ],
- "type": "object"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "payment_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "amountMinor",
- "currency",
- "payee",
- "acceptedMethods",
- "expiresAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "result": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "completion_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "result"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "thread": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "thread",
- "messages",
- "actions",
- "requests",
- "cursor",
- "hasMore",
- "archived",
- "needsAttention"
- ],
- "type": "object"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "agentId"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "request",
- "type": "string"
- }
- },
- "required": [
- "type",
- "actRequestId",
- "searchId",
- "status",
- "createdAt",
- "threads"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "result": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cursor": {
- "maxLength": 200,
- "minLength": 3,
- "pattern": "^.+:(0|[1-9][0-9]*)$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "accepted",
- "type": "string"
- },
- "thread": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "thread",
- "message",
- "status",
- "cursor",
- "idempotencyKey"
- ],
- "type": "object"
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "awaiting_consent",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "authorizing",
- "exchanging",
- "expired",
- "denied",
- "failed"
- ],
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "connected",
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status",
- "account"
- ],
- "type": "object"
- }
- ]
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "selection_required",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "request",
- "status",
- "expiresAt",
- "url",
- "idempotencyKey"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "prepared",
- "dispatching",
- "uncertain",
- "pending"
- ],
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status",
- "url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "receipt": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "settled",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status",
- "receipt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "failed",
- "voided"
- ],
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status"
- ],
- "type": "object"
- }
- ]
- }
- ]
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "continuation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "threadId",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actRequestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "searchId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "description": "Act Request handoff status only. Completed means thread receipts were created; read each thread for action confirmation and provider result.",
+ "enum": [
+ "pending",
+ "completed",
+ "partial",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "description": "The one created thread. Omitted for historical failed or batch receipts.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threads": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "errorCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "state": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accepted": {
+ "type": "boolean"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "cancellationRequested": {
+ "type": "boolean"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "awaiting_confirmation",
+ "queued",
+ "running",
+ "waiting",
+ "reconciling",
+ "succeeded",
+ "failed",
+ "cancelled",
+ "withdrawn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "capability",
+ "request",
+ "status",
+ "cancellationRequested"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "cursor": {
+ "maxLength": 200,
+ "minLength": 3,
+ "pattern": "^.+:(0|[1-9][0-9]*)$",
+ "type": "string"
+ },
+ "errors": {
+ "description": "Error events in this page. Retryable does not authorize replaying an accepted effect or payment.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "code": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "event": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "event",
+ "code",
+ "retryable",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "messages": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "audio",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "from": {
+ "enum": [
+ "you",
+ "agent",
+ "darwin"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "from",
+ "content",
+ "status",
+ "createdAt",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "audio",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "data": {
+ "$ref": "#/$defs/__schema0",
+ "description": "Structured JSON returned by the action."
+ },
+ "from": {
+ "enum": [
+ "you",
+ "agent",
+ "darwin"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "result",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "from",
+ "content",
+ "status",
+ "createdAt",
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "needsAttention": {
+ "type": "boolean"
+ },
+ "requests": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "action_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "capability",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "approval_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "reason",
+ "expiresAt",
+ "capability",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authenticationType": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*)*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "resource": {
+ "format": "uri",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "targetAgent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authentication_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "targetAgent",
+ "authenticationType",
+ "resource",
+ "scopes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "targetAgent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authentication_required",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "targetAgent",
+ "scopes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "acceptedMethods": {
+ "items": {
+ "enum": [
+ "card",
+ "bank",
+ "hosted_checkout",
+ "darwin_wallet",
+ "mpp",
+ "x402",
+ "ucp",
+ "acp"
+ ],
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "amountMinor": {
+ "pattern": "^[1-9][0-9]{0,17}$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "payee": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "agent",
+ "name"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "payment_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "amountMinor",
+ "currency",
+ "payee",
+ "acceptedMethods",
+ "expiresAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "result": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "completion_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "result"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "thread": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "thread",
+ "messages",
+ "actions",
+ "requests",
+ "cursor",
+ "hasMore",
+ "archived",
+ "needsAttention"
+ ],
+ "type": "object"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "actRequestId",
+ "searchId",
+ "status",
+ "createdAt",
+ "threads"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cursor": {
+ "maxLength": 200,
+ "minLength": 3,
+ "pattern": "^.+:(0|[1-9][0-9]*)$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "accepted",
+ "type": "string"
+ },
+ "thread": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "thread",
+ "message",
+ "status",
+ "cursor",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "awaiting_consent",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "authorizing",
+ "exchanging",
+ "expired",
+ "denied",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "connected",
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status",
+ "account"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "selection_required",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "status",
+ "expiresAt",
+ "url",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "prepared",
+ "dispatching",
+ "uncertain",
+ "pending"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "receipt": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "settled",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status",
+ "receipt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "failed",
+ "voided"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ ]
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "continuation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "threadId",
+ "result"
+ ],
+ "type": "object"
+ }
+]