changedInput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "clientMessageId": {
- "description": "A unique ID for this message. Reuse it only when retrying the same request.",
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "context": {
- "additionalProperties": false,
- "properties": {
- "files": {
- "description": "PDFs or images, with base64 contents. Put Markdown text in context.text or user_memory.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "data": {
- "maxLength": 7000000,
- "minLength": 4,
- "pattern": "^[A-Za-z0-9+/]+={0,2}$",
- "type": "string"
- },
- "mimeType": {
- "enum": [
- "application/pdf",
- "image/png",
- "image/jpeg",
- "image/webp"
- ],
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "mimeType",
- "data"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "type": "array"
- },
- "text": {
- "description": "Task details, constraints, budget, or deadline. This is not permission to spend.",
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- }
- },
- "type": "object"
- },
- "conversationId": {
- "description": "Omit to start a conversation; return this ID on follow-ups.",
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "liveSearch": {
- "description": "Owner-reviewed provider-contact consent or a control for an existing durable session. Omit to review indexed choices without contacting providers.",
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "start",
- "type": "string"
- },
- "consent": {
- "const": "share_only_this_brief_with_read_only_free_operations",
- "type": "string"
- },
- "desiredMatches": {
- "default": 3,
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- },
- "exactAgentIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "requirements": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "hard": {
- "type": "boolean"
- },
- "requirementId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "statement": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "requirementId",
- "statement",
- "hard"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "shareableBrief": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sourceTurnId": {
- "description": "The indexed-choice turn whose agents the owner reviewed.",
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- }
- },
- "required": [
- "shareableBrief",
- "requirements",
- "consent",
- "sourceTurnId",
- "exactAgentIds",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "revise",
- "type": "string"
- },
- "consent": {
- "const": "share_only_this_brief_with_read_only_free_operations",
- "type": "string"
- },
- "desiredMatches": {
- "default": 3,
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- },
- "exactAgentIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "requirements": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "hard": {
- "type": "boolean"
- },
- "requirementId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "statement": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "requirementId",
- "statement",
- "hard"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "shareableBrief": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sourceTurnId": {
- "description": "The indexed-choice turn whose agents the owner reviewed.",
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- }
- },
- "required": [
- "shareableBrief",
- "requirements",
- "consent",
- "sourceTurnId",
- "exactAgentIds",
- "action",
- "sessionId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "cancel",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- }
- },
- "required": [
- "action",
- "sessionId"
- ],
- "type": "object"
- }
- ]
- },
- "memoryAgentId": {
- "description": "Read memory for an account agent you belong to. Does not change the acting identity. Cannot be combined with userId or user_memory.",
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "message": {
- "description": "What you want to find, do, or discuss.",
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "description": "Omit for Auto. Search returns indexed matches; live_search asks providers for current task fit; execute coordinates work; route opens primed agent threads for direct interaction; chat discusses. Approvals still apply.",
- "enum": [
- "search",
- "live_search",
- "execute",
- "route",
- "chat"
- ],
- "type": "string"
- },
- "threadId": {
- "description": "Omit to start a thread; pass the returned threadId to continue.",
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "type": {
- "const": "turn",
- "default": "turn",
- "type": "string"
- },
- "user_memory": {
- "description": "Markdown preferences to personalize this request. Read a .md file and pass its text, not a path or URL. With userId, saves these preferences for later requests; empty text clears them.",
- "maxLength": 4000,
- "type": "string"
- }
- },
- "required": [
- "clientMessageId",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "expectedRevisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "type": {
- "const": "revise",
- "type": "string"
- }
- },
- "required": [
- "type",
- "expectedRevisionId",
- "message",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "expectedRevisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "type": {
- "const": "update",
- "type": "string"
- }
- },
- "required": [
- "type",
- "expectedRevisionId",
- "message",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "advance_turn",
- "type": "string"
- }
- },
- "required": [
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "resume",
- "type": "string"
- }
- },
- "required": [
- "type",
- "threadId",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "claim",
- "type": "string"
- }
- },
- "required": [
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "totalBudgetMinor": {
- "exclusiveMinimum": 0,
- "maximum": 1000000000,
- "type": "integer"
- },
- "type": {
- "const": "quote",
- "type": "string"
- }
- },
- "required": [
- "revisionId",
- "totalBudgetMinor",
- "currency",
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "additionalProperties": false,
- "properties": {
- "text": {
- "const": "I authorize this Assist budget",
- "type": "string"
- },
- "type": {
- "const": "typed",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "type": {
- "const": "authorize_budget",
- "type": "string"
- }
- },
- "required": [
- "revisionId",
- "quoteId",
- "approval",
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "additionalProperties": false,
- "properties": {
- "text": {
- "const": "I approve this Assist plan and quote",
- "type": "string"
- },
- "type": {
- "const": "typed",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "fundingAuthorizationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "type": {
- "const": "execute",
- "type": "string"
- }
- },
- "required": [
- "revisionId",
- "quoteId",
- "fundingAuthorizationId",
- "approval",
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "refresh",
- "type": "string"
- }
- },
- "required": [
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "additionalProperties": false,
- "properties": {
- "text": {
- "const": "I accept this Assist step result",
- "type": "string"
- },
- "type": {
- "const": "typed",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "runId": {
- "pattern": "^arun_[a-f0-9-]{36}$",
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "accept_step",
- "type": "string"
- }
- },
- "required": [
- "runId",
- "messageId",
- "approval",
- "type",
- "stepId",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "fundingAuthorizationId": {
- "pattern": "^afund_[a-f0-9-]{36}$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "release_budget",
- "type": "string"
- }
- },
- "required": [
- "type",
- "fundingAuthorizationId",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "stop",
- "type": "string"
- }
- },
- "required": [
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "pause",
- "type": "string"
- }
- },
- "required": [
- "type",
- "conversationId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "maxLength": 200,
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": false,
- "description": "Relevant task context explicitly shared with this agent. For operation calls, put personalized values in declared arguments instead. Never send a complete account profile.",
- "properties": {
- "text": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- },
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "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"
- }
- ]
- },
- "runId": {
- "pattern": "^arun_[a-f0-9-]{36}$",
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "message",
- "type": "string"
- }
- },
- "required": [
- "type",
- "runId",
- "stepId",
- "message",
- "conversationId"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "clientMessageId": {
+ "description": "A unique ID for this message. Reuse it only when retrying the same request.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "context": {
+ "additionalProperties": false,
+ "properties": {
+ "files": {
+ "description": "PDFs or images, with base64 contents. Put Markdown text in context.text or user_memory.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "maxLength": 7000000,
+ "minLength": 4,
+ "pattern": "^[A-Za-z0-9+/]+={0,2}$",
+ "type": "string"
+ },
+ "mimeType": {
+ "enum": [
+ "application/pdf",
+ "image/png",
+ "image/jpeg",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "mimeType",
+ "data"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "text": {
+ "description": "Task details, constraints, budget, or deadline. This is not permission to spend.",
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "conversationId": {
+ "description": "Omit to start a conversation; return this ID on follow-ups.",
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "liveSearch": {
+ "description": "Owner-reviewed provider-contact consent or a control for an existing durable session. Omit to review indexed choices without contacting providers.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "start",
+ "type": "string"
+ },
+ "consent": {
+ "const": "share_only_this_brief_with_read_only_free_operations",
+ "type": "string"
+ },
+ "desiredMatches": {
+ "default": 3,
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "exactAgentIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "requirements": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "hard": {
+ "type": "boolean"
+ },
+ "requirementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "statement": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "requirementId",
+ "statement",
+ "hard"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "shareableBrief": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTurnId": {
+ "description": "The indexed-choice turn whose agents the owner reviewed.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "shareableBrief",
+ "requirements",
+ "consent",
+ "sourceTurnId",
+ "exactAgentIds",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "revise",
+ "type": "string"
+ },
+ "consent": {
+ "const": "share_only_this_brief_with_read_only_free_operations",
+ "type": "string"
+ },
+ "desiredMatches": {
+ "default": 3,
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "exactAgentIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "requirements": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "hard": {
+ "type": "boolean"
+ },
+ "requirementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "statement": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "requirementId",
+ "statement",
+ "hard"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "sessionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "shareableBrief": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTurnId": {
+ "description": "The indexed-choice turn whose agents the owner reviewed.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "shareableBrief",
+ "requirements",
+ "consent",
+ "sourceTurnId",
+ "exactAgentIds",
+ "action",
+ "sessionId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "cancel",
+ "type": "string"
+ },
+ "sessionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "sessionId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "memoryAgentId": {
+ "description": "Read memory for an account agent you belong to. Does not change the acting identity. Cannot be combined with userId or user_memory.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "message": {
+ "description": "What you want to find, do, or discuss.",
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mode": {
+ "description": "Omit for Auto. Search returns indexed matches; live_search asks providers for current task fit; execute coordinates work; route opens primed agent threads for direct interaction; chat discusses. Approvals still apply.",
+ "enum": [
+ "search",
+ "live_search",
+ "execute",
+ "route",
+ "chat"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Session to continue. Omit to start a new session.",
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "target": {
+ "additionalProperties": false,
+ "description": "Explicit agent target. Bypasses Darwin discovery; it never grants execution authority.",
+ "properties": {
+ "agentId": {
+ "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"
+ }
+ },
+ "required": [
+ "agentId"
+ ],
+ "type": "object"
+ },
+ "threadId": {
+ "description": "Deprecated alias for sessionId.",
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "turn",
+ "default": "turn",
+ "type": "string"
+ },
+ "user_memory": {
+ "description": "Markdown preferences to personalize this request. Read a .md file and pass its text, not a path or URL. With userId, saves these preferences for later requests; empty text clears them.",
+ "maxLength": 4000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientMessageId",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "expectedRevisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "revise",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "expectedRevisionId",
+ "message",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "expectedRevisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "update",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "expectedRevisionId",
+ "message",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "advance_turn",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "resume",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "threadId",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "claim",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "totalBudgetMinor": {
+ "exclusiveMinimum": 0,
+ "maximum": 1000000000,
+ "type": "integer"
+ },
+ "type": {
+ "const": "quote",
+ "type": "string"
+ }
+ },
+ "required": [
+ "revisionId",
+ "totalBudgetMinor",
+ "currency",
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "const": "I authorize this Assist budget",
+ "type": "string"
+ },
+ "type": {
+ "const": "typed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authorize_budget",
+ "type": "string"
+ }
+ },
+ "required": [
+ "revisionId",
+ "quoteId",
+ "approval",
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "const": "I approve this Assist plan and quote",
+ "type": "string"
+ },
+ "type": {
+ "const": "typed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "fundingAuthorizationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "execute",
+ "type": "string"
+ }
+ },
+ "required": [
+ "revisionId",
+ "quoteId",
+ "fundingAuthorizationId",
+ "approval",
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "refresh",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "const": "I accept this Assist step result",
+ "type": "string"
+ },
+ "type": {
+ "const": "typed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "runId": {
+ "pattern": "^arun_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "accept_step",
+ "type": "string"
+ }
+ },
+ "required": [
+ "runId",
+ "messageId",
+ "approval",
+ "type",
+ "stepId",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "fundingAuthorizationId": {
+ "pattern": "^afund_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "release_budget",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fundingAuthorizationId",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "stop",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "pause",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "conversationId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "additionalProperties": false,
+ "description": "Relevant task context explicitly shared with this agent. For operation calls, put personalized values in declared arguments instead. Never send a complete account profile.",
+ "properties": {
+ "text": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "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"
+ }
+ ]
+ },
+ "runId": {
+ "pattern": "^arun_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "runId",
+ "stepId",
+ "message",
+ "conversationId"
+ ],
+ "type": "object"
+ }
+]
addedOutput schema / $defs
Added value: +{
+ "__schema0": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ },
+ {
+ "items": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "__schema1": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ },
+ {
+ "items": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ ]
+ }
+}
addedOutput schema / properties / agents
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "operationThreadIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "working",
+ "queued",
+ "waiting",
+ "idle",
+ "failed",
+ "cancelled",
+ "connected",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "name",
+ "status",
+ "operationThreadIds"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / conversation / properties / turns / items / properties / agentCalls
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "matchCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "searchId": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "running",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "agentId",
+ "name",
+ "operationId",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 16,
+ "type": "array"
+}
addedOutput schema / properties / conversation / properties / turns / items / properties / author
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "human",
+ "agent",
+ "application"
+ ],
+ "type": "string"
+ },
+ "via": {
+ "const": "darwin",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / conversation / properties / turns / items / properties / composer
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "decision": {
+ "additionalProperties": false,
+ "properties": {
+ "appliedPolicies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "voice",
+ "speed"
+ ],
+ "type": "object"
+ },
+ "audioSelection": {
+ "additionalProperties": false,
+ "properties": {
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "choice": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "choice",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "inputTokens": {
+ "default": 0,
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "questionVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "questionVersion",
+ "latencyMs",
+ "inputTokens",
+ "answers"
+ ],
+ "type": "object"
+ },
+ "catalogVersion": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "eligible": {
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "mode": {
+ "enum": [
+ "shadow",
+ "active"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "override": {
+ "anyOf": [
+ {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "questionVersion": {
+ "type": "string"
+ },
+ "selected": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "supporting": {
+ "default": [],
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "transition": {
+ "enum": [
+ "retain",
+ "update",
+ "replace"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "model",
+ "questionVersion",
+ "catalogVersion",
+ "mode",
+ "eligible",
+ "selected",
+ "supporting",
+ "override",
+ "confidence",
+ "probabilities",
+ "transition",
+ "fallback",
+ "latencyMs",
+ "inputTokens",
+ "appliedPolicies"
+ ],
+ "type": "object"
+ },
+ "diagnostics": {
+ "additionalProperties": false,
+ "properties": {
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationMs": {
+ "type": "number"
+ },
+ "inputTokens": {
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "outputTokens": {
+ "type": "number"
+ },
+ "repairs": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "model",
+ "generationMs",
+ "inputTokens",
+ "outputTokens",
+ "repairs",
+ "fallback"
+ ],
+ "type": "object"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "decisionId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "surfaces": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actionReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "assetJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "capability": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "evidenceReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mode": {
+ "default": "live",
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "presentationOverride": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "previousRunId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadKind": {
+ "default": "assist",
+ "enum": [
+ "assist",
+ "operation"
+ ],
+ "type": "string"
+ },
+ "turnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientRequestId",
+ "agentId",
+ "message",
+ "threadKind",
+ "mode",
+ "host"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "runId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / conversation / properties / turns / items / properties / searchResult / properties / delivery
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "markdown": {
+ "type": "string"
+ },
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "decision": {
+ "additionalProperties": false,
+ "properties": {
+ "appliedPolicies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "voice",
+ "speed"
+ ],
+ "type": "object"
+ },
+ "audioSelection": {
+ "additionalProperties": false,
+ "properties": {
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "choice": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "choice",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "inputTokens": {
+ "default": 0,
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "questionVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "questionVersion",
+ "latencyMs",
+ "inputTokens",
+ "answers"
+ ],
+ "type": "object"
+ },
+ "catalogVersion": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "eligible": {
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "mode": {
+ "enum": [
+ "shadow",
+ "active"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "override": {
+ "anyOf": [
+ {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "questionVersion": {
+ "type": "string"
+ },
+ "selected": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "supporting": {
+ "default": [],
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "transition": {
+ "enum": [
+ "retain",
+ "update",
+ "replace"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "model",
+ "questionVersion",
+ "catalogVersion",
+ "mode",
+ "eligible",
+ "selected",
+ "supporting",
+ "override",
+ "confidence",
+ "probabilities",
+ "transition",
+ "fallback",
+ "latencyMs",
+ "inputTokens",
+ "appliedPolicies"
+ ],
+ "type": "object"
+ },
+ "diagnostics": {
+ "additionalProperties": false,
+ "properties": {
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationMs": {
+ "type": "number"
+ },
+ "inputTokens": {
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "outputTokens": {
+ "type": "number"
+ },
+ "repairs": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "model",
+ "generationMs",
+ "inputTokens",
+ "outputTokens",
+ "repairs",
+ "fallback"
+ ],
+ "type": "object"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "decisionId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "surfaces": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actionReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "assetJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "capability": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "evidenceReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mode": {
+ "default": "live",
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "presentationOverride": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "previousRunId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadKind": {
+ "default": "assist",
+ "enum": [
+ "assist",
+ "operation"
+ ],
+ "type": "string"
+ },
+ "turnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientRequestId",
+ "agentId",
+ "message",
+ "threadKind",
+ "mode",
+ "host"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "runId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "runId": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "composed",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "ui": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "binding": {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "requiredInputs": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "label",
+ "available",
+ "requiredInputs",
+ "approval"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "data": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "data",
+ "actions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "incomplete": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "const": "darwinui-agent-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "components",
+ "incomplete"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "composer.delivery.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "audience",
+ "status",
+ "markdown"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / conversation / properties / turns / items / properties / target
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "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"
+ }
+ },
+ "required": [
+ "agentId"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / delivery
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "markdown": {
+ "type": "string"
+ },
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "decision": {
+ "additionalProperties": false,
+ "properties": {
+ "appliedPolicies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "voice",
+ "speed"
+ ],
+ "type": "object"
+ },
+ "audioSelection": {
+ "additionalProperties": false,
+ "properties": {
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "choice": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "choice",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "inputTokens": {
+ "default": 0,
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "questionVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "questionVersion",
+ "latencyMs",
+ "inputTokens",
+ "answers"
+ ],
+ "type": "object"
+ },
+ "catalogVersion": {
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "eligible": {
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "mode": {
+ "enum": [
+ "shadow",
+ "active"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "override": {
+ "anyOf": [
+ {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "probabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "questionVersion": {
+ "type": "string"
+ },
+ "selected": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "supporting": {
+ "default": [],
+ "items": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "transition": {
+ "enum": [
+ "retain",
+ "update",
+ "replace"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "model",
+ "questionVersion",
+ "catalogVersion",
+ "mode",
+ "eligible",
+ "selected",
+ "supporting",
+ "override",
+ "confidence",
+ "probabilities",
+ "transition",
+ "fallback",
+ "latencyMs",
+ "inputTokens",
+ "appliedPolicies"
+ ],
+ "type": "object"
+ },
+ "diagnostics": {
+ "additionalProperties": false,
+ "properties": {
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationMs": {
+ "type": "number"
+ },
+ "inputTokens": {
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "outputTokens": {
+ "type": "number"
+ },
+ "repairs": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "model",
+ "generationMs",
+ "inputTokens",
+ "outputTokens",
+ "repairs",
+ "fallback"
+ ],
+ "type": "object"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "decisionId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "surfaces": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actionReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "artifactId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "assetJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "capability": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "evidenceReferences": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mode": {
+ "default": "live",
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "presentationOverride": {
+ "enum": [
+ "markdown",
+ "simple",
+ "react",
+ "world",
+ "video",
+ "audio",
+ "game",
+ "image",
+ "model3d"
+ ],
+ "type": "string"
+ },
+ "previousRunId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadKind": {
+ "default": "assist",
+ "enum": [
+ "assist",
+ "operation"
+ ],
+ "type": "string"
+ },
+ "turnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientRequestId",
+ "agentId",
+ "message",
+ "threadKind",
+ "mode",
+ "host"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "runId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "runId": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "composed",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "ui": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "binding": {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "requiredInputs": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "label",
+ "available",
+ "requiredInputs",
+ "approval"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "data": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "data",
+ "actions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "incomplete": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "const": "darwinui-agent-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "components",
+ "incomplete"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "composer.delivery.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "audience",
+ "status",
+ "markdown"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / sessionId
Added value: +{
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+}
addedOutput schema / properties / threadBrief
Added value: +{
+ "maxLength": 4000,
+ "type": "string"
+}
addedOutput schema / properties / threadId / description
Added value: +"Deprecated alias for sessionId."
addedOutput schema / properties / threadTitle
Added value: +{
+ "type": "string"
+}