addedOutput schema / properties / presentation
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "cards": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "default": "none",
+ "enum": [
+ "none",
+ "user_review",
+ "account_access",
+ "payment"
+ ],
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "requiredInputs": {
+ "default": [],
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "tool": {
+ "enum": [
+ "get_agent_home",
+ "get_thread",
+ "start_thread",
+ "send_message",
+ "authenticate",
+ "pay"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "requiredInputs",
+ "available",
+ "approval"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "agentName": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "card": {
+ "additionalProperties": false,
+ "properties": {
+ "actionId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "agentId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "type": {
+ "const": "fields",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "user",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "timestamp": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "type": {
+ "const": "conversation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "messages"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ "question": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "selectedId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "choices",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "question",
+ "options"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "completed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "pending",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "state"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "total": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "type": {
+ "const": "progress",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageAssetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "price": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "product",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "timestamp": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "nextCursor": {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ "type": {
+ "const": "feed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "mediaType": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "type": {
+ "const": "document",
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "version": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "places": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "selectedId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "locations",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "places"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "events": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "location": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "start": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "proposed",
+ "confirmed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "start",
+ "end",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "timeZone": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "schedule",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "timeZone",
+ "events"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "info",
+ "attention",
+ "danger"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "notice",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tone",
+ "text"
+ ],
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "provider": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "required",
+ "checking",
+ "connected",
+ "expired",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "access",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "provider",
+ "scopes",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "currency": {
+ "maxLength": 10,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "payee": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "receiptId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "requested",
+ "processing",
+ "confirmed",
+ "failed",
+ "refunded",
+ "uncertain"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "payment",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "amount",
+ "currency",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "destination": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "operation": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "review",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "handoff",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "destination",
+ "operation",
+ "fields",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "voice",
+ "video",
+ "browser"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "invited",
+ "active",
+ "ended",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "session",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "mode",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "language": {
+ "maxLength": 40,
+ "type": "string"
+ },
+ "type": {
+ "const": "code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "code"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "columns": {
+ "items": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "anyOf": [
+ {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "type": {
+ "const": "table",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "columns",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "price": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "type": {
+ "const": "list",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "points": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "chart",
+ "type": "string"
+ },
+ "unit": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "points"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "caption": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "durationSeconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "mimeType": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "provenance": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "sizeBytes": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "transcript": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "delivery": {
+ "enum": [
+ "draft",
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "from": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "subject": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "type": {
+ "const": "email",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "subject",
+ "body"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "start": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "proposed",
+ "confirmed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "timeZone": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "calendar",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "title",
+ "start"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "location",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "result": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "const": "comparison",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "source",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "pending",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "state"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "type": {
+ "const": "steps",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "steps"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "eventId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "interaction": {
+ "enum": [
+ "read_only",
+ "editable",
+ "conversational",
+ "selectable",
+ "confirmation_required"
+ ],
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "operation",
+ "input",
+ "conversation",
+ "progress",
+ "result",
+ "decision",
+ "receipt",
+ "handoff"
+ ],
+ "type": "string"
+ },
+ "sourceCardId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "draft",
+ "loading",
+ "working",
+ "needs_attention",
+ "partial",
+ "complete",
+ "failed",
+ "expired",
+ "cancelled",
+ "uncertain"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "role",
+ "state",
+ "interaction",
+ "title",
+ "agentId",
+ "content"
+ ],
+ "type": "object"
+ },
+ "illustrative": {
+ "default": false,
+ "type": "boolean"
+ },
+ "incomplete": {
+ "default": [],
+ "items": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "maxLength": 32000,
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "default": {},
+ "propertyNames": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "event": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "thread": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "timestamp": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "variant": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "version": {
+ "const": "cards-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "card",
+ "variant",
+ "illustrative",
+ "inputs",
+ "actions",
+ "incomplete"
+ ],
+ "type": "object"
+ },
+ "maxItems": 300,
+ "type": "array"
+ },
+ "cursor": {
+ "anyOf": [
+ {
+ "maxLength": 4102,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "incomplete": {
+ "items": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "markdown": {
+ "maxLength": 2000000,
+ "type": "string"
+ },
+ "version": {
+ "const": "cards-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "cards",
+ "markdown",
+ "cursor",
+ "hasMore",
+ "incomplete"
+ ],
+ "type": "object"
+}