changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "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"
- },
- "conversation": {
- "additionalProperties": false,
- "properties": {
- "eventCursor": {
- "type": "string"
- },
- "nextBefore": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turns": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentCalls": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "dependsOn": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "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": [
- "ready",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled"
- ],
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "agentId",
- "name",
- "operationId",
- "status"
- ],
- "type": "object"
- },
- "maxItems": 16,
- "type": "array"
- },
- "attachments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "mimeType": {
- "maxLength": 100,
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "mimeType"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "author": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "maxLength": 120,
- "type": "string"
- },
- "type": {
- "enum": [
- "human",
- "agent",
- "application"
- ],
- "type": "string"
- },
- "via": {
- "const": "darwin",
- "type": "string"
- },
- "viaAgent": {
- "additionalProperties": false,
- "properties": {
- "handle": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- }
- },
- "required": [
- "type",
- "id"
- ],
- "type": "object"
- },
- "blocks": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "type": "string"
- },
- "type": {
- "const": "live_consent",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "agentSlug": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "avatarUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "canAttemptThread": {
- "type": "boolean"
- },
- "canStartThread": {
- "type": "boolean"
- },
- "connectionMethods": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "documentationUrl": {
- "format": "uri",
- "type": "string"
- },
- "endpointStatus": {
- "enum": [
- "not_published",
- "verified"
- ],
- "type": "string"
- },
- "endpointUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "environment": {
- "enum": [
- "remote_client",
- "browser_session"
- ],
- "type": "string"
- },
- "protocol": {
- "enum": [
- "MCP",
- "A2A",
- "WEBMCP"
- ],
- "type": "string"
- }
- },
- "required": [
- "protocol",
- "environment",
- "endpointUrl",
- "endpointStatus",
- "documentationUrl"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "connectionPrompt": {
- "maxLength": 60000,
- "minLength": 1,
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "maxLength": 8000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "executionGuidance": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "credentialSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "credentialSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "primaryBlockerCode": {
- "anyOf": [
- {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recordBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "rendererVersion": {
- "const": "execution-guidance-v1",
- "type": "string"
- },
- "setupSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "setupSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "credentialSummaryCode",
- "credentialSummary",
- "setupSummaryCode",
- "setupSummary",
- "recordBlockers",
- "primaryBlockerCode",
- "rendererVersion"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "executionRequirements": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "browser": {
- "additionalProperties": false,
- "properties": {
- "sessionKind": {
- "anyOf": [
- {
- "enum": [
- "ANONYMOUS",
- "PROVIDER_SESSION",
- "UNKNOWN"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sessionKind"
- ],
- "type": "object"
- },
- "contractVersion": {
- "const": "1.0.0",
- "type": "string"
- },
- "derivation": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "COMPLETE",
- "PARTIAL"
- ],
- "type": "string"
- },
- "derivationKey": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "normalizerVersion": {
- "const": "execution-requirements-v1",
- "type": "string"
- },
- "sourceReceiptDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceRevision": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "normalizerVersion",
- "sourceRevision",
- "sourceReceiptDigest",
- "completeness",
- "derivationKey"
- ],
- "type": "object"
- },
- "operationCredentials": {
- "additionalProperties": false,
- "properties": {
- "sensitiveInputNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sensitiveInputNames"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- },
- "termsDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "state",
- "termsDigest"
- ],
- "type": "object"
- },
- "providerAuthentication": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "enum": [
- "PROVIDER_DECLARED",
- "PROVIDER_OBSERVED",
- "DERIVED_FROM_VERIFIED_RECEIPT",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "mechanisms": {
- "items": {
- "enum": [
- "BEARER",
- "API_KEY",
- "OAUTH2",
- "HTTP_BASIC",
- "MUTUAL_TLS",
- "SIGNED_REQUEST",
- "SESSION_COOKIE",
- "OPERATION_SECRET_INPUT",
- "UNSPECIFIED"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "placements": {
- "items": {
- "enum": [
- "HEADER",
- "QUERY",
- "COOKIE",
- "BODY",
- "TOOL_ARGUMENT",
- "ENVIRONMENT",
- "AUTH_CONTINUATION"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "mechanisms",
- "placements",
- "scopes",
- "evidence"
- ],
- "type": "object"
- },
- "providerBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "providerContract": {
- "additionalProperties": false,
- "properties": {
- "inputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "outputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "route": {
- "enum": [
- "RESOLVED",
- "MISSING",
- "AMBIGUOUS",
- "UNSAFE",
- "UNSUPPORTED",
- "UNKNOWN"
- ],
- "type": "string"
- }
- },
- "required": [
- "route",
- "inputSchema",
- "outputSchema"
- ],
- "type": "object"
- },
- "runtime": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "REMOTE_MCP",
- "LOCAL_STDIO",
- "A2A_JSONRPC",
- "HTTP_JSON",
- "OPENAPI_HTTP",
- "BOUNDED_FETCH",
- "BROWSER",
- "X402_PAYMENT",
- "COMMERCE",
- "UNSUPPORTED"
- ],
- "type": "string"
- },
- "package": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "ecosystem": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "identifier": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "runtimeProfile": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "version": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "ecosystem",
- "identifier",
- "version",
- "runtimeProfile"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requiredEnvironmentNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "package",
- "requiredEnvironmentNames"
- ],
- "type": "object"
- }
- },
- "required": [
- "contractVersion",
- "providerAuthentication",
- "operationCredentials",
- "runtime",
- "payment",
- "browser",
- "providerContract",
- "providerBlockers",
- "derivation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "imageUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inquiry": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1200,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fit": {
- "enum": [
- "matches",
- "partial",
- "not_fit",
- "unknown"
- ],
- "type": "string"
- },
- "question": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "type": "string"
- },
- "replies": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "messageId",
- "text",
- "at"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "status": {
- "enum": [
- "contacting",
- "waiting",
- "following_up",
- "replied",
- "needs_input",
- "no_reply",
- "not_contacted",
- "outcome_unknown"
- ],
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "status",
- "question",
- "replies"
- ],
- "type": "object"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "providerCheck": {
- "enum": [
- "not_attempted",
- "confirmed",
- "unconfirmed",
- "unavailable"
- ],
- "type": "string"
- },
- "providerFamilyRef": {
- "anyOf": [
- {
- "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "rank": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "readiness": {
- "enum": [
- "ready",
- "authentication_required",
- "recheck_required",
- "unavailable"
- ],
- "type": "string"
- },
- "reasons": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "requiredSetup": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "credential",
- "installation",
- "provider_configuration"
- ],
- "type": "string"
- },
- "suppliedBy": {
- "enum": [
- "user",
- "provider",
- "runtime"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "suppliedBy",
- "description"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "selected": {
- "type": "boolean"
- },
- "uncertainties": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agentId",
- "agentSlug",
- "operationId",
- "operationRevision",
- "providerFamilyRef",
- "rank",
- "selected",
- "name",
- "description",
- "requiredSetup",
- "executionRequirements",
- "executionGuidance",
- "readiness",
- "canStartThread",
- "reasons",
- "uncertainties",
- "providerCheck",
- "connectionMethods",
- "connectionPrompt"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "snapshot": {
- "additionalProperties": false,
- "properties": {
- "candidates": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "provider_claim",
- "observed",
- "completed_work"
- ],
- "type": "string"
- },
- "observedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "quote": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "replyDigest": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "requirementId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "truth": {
- "enum": [
- "PASS",
- "FAIL",
- "UNKNOWN",
- "STALE"
- ],
- "type": "string"
- },
- "validUntil": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "requirementId",
- "truth",
- "kind",
- "replyDigest",
- "quote",
- "observedAt",
- "validUntil"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "evidenceVersion": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "progress": {
- "enum": [
- "retrieved",
- "queued",
- "contacting",
- "waiting",
- "replied",
- "finished"
- ],
- "type": "string"
- },
- "reason": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "score": {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- "sends": {
- "maximum": 3,
- "minimum": 0,
- "type": "integer"
- },
- "taskRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "verdict": {
- "enum": [
- "fit_confirmed",
- "conditional",
- "not_fit",
- "unknown",
- "no_response",
- "requires_input",
- "requires_identity",
- "requires_auth",
- "requires_payment",
- "unsupported_route",
- "rate_limited",
- "transport_error",
- "cancelled",
- "budget_exhausted"
- ],
- "type": "string"
- }
- },
- "required": [
- "agentId",
- "operationId",
- "operationRevision",
- "taskRevision",
- "evidenceVersion",
- "progress",
- "verdict",
- "sends",
- "score",
- "evidence",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "completionReason": {
- "anyOf": [
- {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contractVersion": {
- "const": "live-search/0.1.0",
- "type": "string"
- },
- "deadlineAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "events": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "candidate": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "provider_claim",
- "observed",
- "completed_work"
- ],
- "type": "string"
- },
- "observedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "quote": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "replyDigest": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "requirementId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "truth": {
- "enum": [
- "PASS",
- "FAIL",
- "UNKNOWN",
- "STALE"
- ],
- "type": "string"
- },
- "validUntil": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "requirementId",
- "truth",
- "kind",
- "replyDigest",
- "quote",
- "observedAt",
- "validUntil"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "evidenceVersion": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "progress": {
- "enum": [
- "retrieved",
- "queued",
- "contacting",
- "waiting",
- "replied",
- "finished"
- ],
- "type": "string"
- },
- "reason": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "score": {
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- "sends": {
- "maximum": 3,
- "minimum": 0,
- "type": "integer"
- },
- "taskRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "verdict": {
- "enum": [
- "fit_confirmed",
- "conditional",
- "not_fit",
- "unknown",
- "no_response",
- "requires_input",
- "requires_identity",
- "requires_auth",
- "requires_payment",
- "unsupported_route",
- "rate_limited",
- "transport_error",
- "cancelled",
- "budget_exhausted"
- ],
- "type": "string"
- }
- },
- "required": [
- "agentId",
- "operationId",
- "operationRevision",
- "taskRevision",
- "evidenceVersion",
- "progress",
- "verdict",
- "sends",
- "score",
- "evidence",
- "reason"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "kind": {
- "enum": [
- "started",
- "candidate_upsert",
- "candidate_removed",
- "ranking",
- "revised",
- "completed",
- "cancelled",
- "requires_input"
- ],
- "type": "string"
- },
- "occurredAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "orderedAgentIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "rankRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "reason": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "sequence": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "taskRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "sequence",
- "taskRevision",
- "rankRevision",
- "kind",
- "occurredAt",
- "candidate",
- "orderedAgentIds",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "hasMore": {
- "type": "boolean"
- },
- "nextEventCursor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "orderedAgentIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "rankRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sequence": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "prepared",
- "running",
- "completed",
- "cancelled",
- "requires_input"
- ],
- "type": "string"
- },
- "taskRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "uniqueAgentsUsed": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "contractVersion",
- "sessionId",
- "taskRevision",
- "sequence",
- "rankRevision",
- "status",
- "deadlineAt",
- "uniqueAgentsUsed",
- "candidates",
- "orderedAgentIds",
- "events",
- "hasMore",
- "nextEventCursor",
- "completionReason"
- ],
- "type": "object"
- },
- "sourceTurnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "live_search",
- "type": "string"
- }
- },
- "required": [
- "type",
- "sourceTurnId",
- "snapshot",
- "agents"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "agentSlug": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "avatarUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "canAttemptThread": {
- "type": "boolean"
- },
- "canStartThread": {
- "type": "boolean"
- },
- "connectionMethods": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "documentationUrl": {
- "format": "uri",
- "type": "string"
- },
- "endpointStatus": {
- "enum": [
- "not_published",
- "verified"
- ],
- "type": "string"
- },
- "endpointUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "environment": {
- "enum": [
- "remote_client",
- "browser_session"
- ],
- "type": "string"
- },
- "protocol": {
- "enum": [
- "MCP",
- "A2A",
- "WEBMCP"
- ],
- "type": "string"
- }
- },
- "required": [
- "protocol",
- "environment",
- "endpointUrl",
- "endpointStatus",
- "documentationUrl"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "connectionPrompt": {
- "maxLength": 60000,
- "minLength": 1,
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "maxLength": 8000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "executionGuidance": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "credentialSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "credentialSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "primaryBlockerCode": {
- "anyOf": [
- {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recordBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "rendererVersion": {
- "const": "execution-guidance-v1",
- "type": "string"
- },
- "setupSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "setupSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "credentialSummaryCode",
- "credentialSummary",
- "setupSummaryCode",
- "setupSummary",
- "recordBlockers",
- "primaryBlockerCode",
- "rendererVersion"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "executionRequirements": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "browser": {
- "additionalProperties": false,
- "properties": {
- "sessionKind": {
- "anyOf": [
- {
- "enum": [
- "ANONYMOUS",
- "PROVIDER_SESSION",
- "UNKNOWN"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sessionKind"
- ],
- "type": "object"
- },
- "contractVersion": {
- "const": "1.0.0",
- "type": "string"
- },
- "derivation": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "COMPLETE",
- "PARTIAL"
- ],
- "type": "string"
- },
- "derivationKey": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "normalizerVersion": {
- "const": "execution-requirements-v1",
- "type": "string"
- },
- "sourceReceiptDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceRevision": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "normalizerVersion",
- "sourceRevision",
- "sourceReceiptDigest",
- "completeness",
- "derivationKey"
- ],
- "type": "object"
- },
- "operationCredentials": {
- "additionalProperties": false,
- "properties": {
- "sensitiveInputNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sensitiveInputNames"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- },
- "termsDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "state",
- "termsDigest"
- ],
- "type": "object"
- },
- "providerAuthentication": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "enum": [
- "PROVIDER_DECLARED",
- "PROVIDER_OBSERVED",
- "DERIVED_FROM_VERIFIED_RECEIPT",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "mechanisms": {
- "items": {
- "enum": [
- "BEARER",
- "API_KEY",
- "OAUTH2",
- "HTTP_BASIC",
- "MUTUAL_TLS",
- "SIGNED_REQUEST",
- "SESSION_COOKIE",
- "OPERATION_SECRET_INPUT",
- "UNSPECIFIED"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "placements": {
- "items": {
- "enum": [
- "HEADER",
- "QUERY",
- "COOKIE",
- "BODY",
- "TOOL_ARGUMENT",
- "ENVIRONMENT",
- "AUTH_CONTINUATION"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "mechanisms",
- "placements",
- "scopes",
- "evidence"
- ],
- "type": "object"
- },
- "providerBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "providerContract": {
- "additionalProperties": false,
- "properties": {
- "inputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "outputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "route": {
- "enum": [
- "RESOLVED",
- "MISSING",
- "AMBIGUOUS",
- "UNSAFE",
- "UNSUPPORTED",
- "UNKNOWN"
- ],
- "type": "string"
- }
- },
- "required": [
- "route",
- "inputSchema",
- "outputSchema"
- ],
- "type": "object"
- },
- "runtime": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "REMOTE_MCP",
- "LOCAL_STDIO",
- "A2A_JSONRPC",
- "HTTP_JSON",
- "OPENAPI_HTTP",
- "BOUNDED_FETCH",
- "BROWSER",
- "X402_PAYMENT",
- "COMMERCE",
- "UNSUPPORTED"
- ],
- "type": "string"
- },
- "package": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "ecosystem": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "identifier": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "runtimeProfile": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "version": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "ecosystem",
- "identifier",
- "version",
- "runtimeProfile"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requiredEnvironmentNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "package",
- "requiredEnvironmentNames"
- ],
- "type": "object"
- }
- },
- "required": [
- "contractVersion",
- "providerAuthentication",
- "operationCredentials",
- "runtime",
- "payment",
- "browser",
- "providerContract",
- "providerBlockers",
- "derivation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "imageUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inquiry": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1200,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fit": {
- "enum": [
- "matches",
- "partial",
- "not_fit",
- "unknown"
- ],
- "type": "string"
- },
- "question": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "type": "string"
- },
- "replies": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "messageId",
- "text",
- "at"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "status": {
- "enum": [
- "contacting",
- "waiting",
- "following_up",
- "replied",
- "needs_input",
- "no_reply",
- "not_contacted",
- "outcome_unknown"
- ],
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "status",
- "question",
- "replies"
- ],
- "type": "object"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "providerCheck": {
- "enum": [
- "not_attempted",
- "confirmed",
- "unconfirmed",
- "unavailable"
- ],
- "type": "string"
- },
- "providerFamilyRef": {
- "anyOf": [
- {
- "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "rank": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "readiness": {
- "enum": [
- "ready",
- "authentication_required",
- "recheck_required",
- "unavailable"
- ],
- "type": "string"
- },
- "reasons": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "requiredSetup": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "credential",
- "installation",
- "provider_configuration"
- ],
- "type": "string"
- },
- "suppliedBy": {
- "enum": [
- "user",
- "provider",
- "runtime"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "suppliedBy",
- "description"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "selected": {
- "type": "boolean"
- },
- "uncertainties": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agentId",
- "agentSlug",
- "operationId",
- "operationRevision",
- "providerFamilyRef",
- "rank",
- "selected",
- "name",
- "description",
- "requiredSetup",
- "executionRequirements",
- "executionGuidance",
- "readiness",
- "canStartThread",
- "reasons",
- "uncertainties",
- "providerCheck",
- "connectionMethods",
- "connectionPrompt"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "role": {
- "enum": [
- "suggested",
- "used"
- ],
- "type": "string"
- },
- "searchId": {
- "type": "string"
- },
- "type": {
- "const": "agents",
- "type": "string"
- }
- },
- "required": [
- "type",
- "searchId",
- "agents",
- "role"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "enum": [
- "approval",
- "connection",
- "unavailable",
- "limit",
- "user_control",
- "input"
- ],
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "threadId": {
- "type": "string"
- },
- "type": {
- "const": "checkpoint",
- "type": "string"
- }
- },
- "required": [
- "type",
- "reason",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "presentation": {
- "additionalProperties": false,
- "properties": {
- "budget": {
- "anyOf": [
- {
- "maxLength": 500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "outcome": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "alternativeOperationIds": {
- "items": {
- "type": "string"
- },
- "maxItems": 5,
- "type": "array"
- },
- "description": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "operationIds": {
- "items": {
- "type": "string"
- },
- "maxItems": 5,
- "type": "array"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "description",
- "operationIds"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "timeline": {
- "anyOf": [
- {
- "maxLength": 500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "outcome",
- "timeline",
- "budget",
- "steps"
- ],
- "type": "object"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "dependsOn": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "objective": {
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "stepId",
- "objective",
- "agentId",
- "dependsOn"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "type": "array"
- },
- "type": {
- "const": "plan",
- "type": "string"
- }
- },
- "required": [
- "type",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actRequestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "actingAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "control": {
- "enum": [
- "user",
- "coordinator"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentation": {
- "enum": [
- "chat",
- "operation"
- ],
- "type": "string"
- },
- "sourceTurnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "thread_created",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "handoff",
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "agentId",
- "threadId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "messageIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "partial": {
- "type": "boolean"
- },
- "text": {
- "type": "string"
- },
- "type": {
- "const": "outcome",
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "text",
- "messageIds",
- "verification",
- "partial"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "clientMessageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "composer": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "library": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "instructions": {
- "default": "",
- "maxLength": 10000,
- "type": "string"
- },
- "outputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "description",
- "outputSchema",
- "example",
- "instructions"
- ],
- "type": "object"
- },
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "export": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "human": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "states": {
- "items": {
- "enum": [
- "input",
- "running",
- "needs_input",
- "approval",
- "success",
- "empty",
- "error"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "description",
- "states"
- ],
- "type": "object"
- },
- "props": {
- "maxLength": 10000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "export",
- "description",
- "props",
- "example"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "entry": {
- "minLength": 1,
- "type": "string"
- },
- "files": {
- "additionalProperties": {
- "maxLength": 500000,
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "importName": {
- "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "schemaVersion": {
- "const": 1,
- "type": "number"
- },
- "version": {
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
- "type": "string"
- }
- },
- "required": [
- "schemaVersion",
- "name",
- "version",
- "importName",
- "entry",
- "files",
- "components"
- ],
- "type": "object"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- },
- "source": {
- "enum": [
- "darwin_ui",
- "uploaded",
- "generated"
- ],
- "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"
- },
- "experience": {
- "additionalProperties": false,
- "properties": {
- "initialState": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 4000,
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "states": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "executionStatuses": {
- "items": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "transitions": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 64,
- "type": "array"
- },
- "variants": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "executionStatuses",
- "transitions",
- "variants"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 1,
- "type": "array"
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "argumentBindings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "field",
- "target"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "bindings": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "type": "string"
- },
- "path": {
- "items": {
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 2,
- "type": "array"
- },
- "source": {
- "enum": [
- "message",
- "field"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "source"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "type": "array"
- },
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "modalities": {
- "default": [
- "text",
- "voice"
- ],
- "items": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "presentation": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "runtimeComponents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "default": [],
- "items": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "default": [],
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "sectionId",
- "instructions",
- "components",
- "inputFields"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "modalities",
- "presentation",
- "bindings"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "version": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "version",
- "revision",
- "initialState",
- "instructions",
- "states",
- "variants"
- ],
- "type": "object"
- },
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "authoring": {
- "additionalProperties": false,
- "properties": {
- "draftId": {
- "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"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "draftId",
- "revision"
- ],
- "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",
- "runtime_components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 6,
- "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"
- },
- "interaction": {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "additionalProperties": {
- "maxLength": 5000,
- "type": "string"
- },
- "propertyNames": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "modality": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "edit",
- "continue"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields"
- ],
- "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"
- },
- "selection": {
- "additionalProperties": false,
- "properties": {
- "catalogHash": {
- "type": "string"
- },
- "catalogRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "fallback": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inputTokens": {
- "minimum": 0,
- "type": "number"
- },
- "latencyMs": {
- "minimum": 0,
- "type": "number"
- },
- "model": {
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "stateId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "variantId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "version": {
- "const": "composer-selection.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "catalogRevision",
- "catalogHash",
- "operationId",
- "stateId",
- "variantId",
- "model",
- "confidence",
- "fallback",
- "latencyMs",
- "inputTokens"
- ],
- "type": "object"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "contextSummary": {
- "items": {
- "maxLength": 8000,
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "dataTransfers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "digest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "reason": {
- "enum": [
- "private_context",
- "new_recipient"
- ],
- "type": "string"
- },
- "sourceStepIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "status": {
- "enum": [
- "pending",
- "approved",
- "denied",
- "superseded"
- ],
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "stepId",
- "digest",
- "agentId",
- "operationId",
- "name",
- "reason",
- "status",
- "sourceStepIds"
- ],
- "type": "object"
- },
- "maxItems": 32,
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "presentation": {
- "enum": [
- "chat",
- "operation"
- ],
- "type": "string"
- },
- "searchResult": {
- "additionalProperties": false,
- "properties": {
- "contractVersion": {
- "const": "search-v3.0",
- "type": "string"
- },
- "delivery": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "library": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "instructions": {
- "default": "",
- "maxLength": 10000,
- "type": "string"
- },
- "outputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "description",
- "outputSchema",
- "example",
- "instructions"
- ],
- "type": "object"
- },
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "export": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "human": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "states": {
- "items": {
- "enum": [
- "input",
- "running",
- "needs_input",
- "approval",
- "success",
- "empty",
- "error"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "description",
- "states"
- ],
- "type": "object"
- },
- "props": {
- "maxLength": 10000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "export",
- "description",
- "props",
- "example"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "entry": {
- "minLength": 1,
- "type": "string"
- },
- "files": {
- "additionalProperties": {
- "maxLength": 500000,
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "importName": {
- "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "schemaVersion": {
- "const": 1,
- "type": "number"
- },
- "version": {
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
- "type": "string"
- }
- },
- "required": [
- "schemaVersion",
- "name",
- "version",
- "importName",
- "entry",
- "files",
- "components"
- ],
- "type": "object"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- },
- "source": {
- "enum": [
- "darwin_ui",
- "uploaded",
- "generated"
- ],
- "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"
- },
- "experience": {
- "additionalProperties": false,
- "properties": {
- "initialState": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 4000,
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "states": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "executionStatuses": {
- "items": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "transitions": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 64,
- "type": "array"
- },
- "variants": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "executionStatuses",
- "transitions",
- "variants"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 1,
- "type": "array"
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "argumentBindings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "field",
- "target"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "bindings": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "type": "string"
- },
- "path": {
- "items": {
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 2,
- "type": "array"
- },
- "source": {
- "enum": [
- "message",
- "field"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "source"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "type": "array"
- },
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "modalities": {
- "default": [
- "text",
- "voice"
- ],
- "items": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "presentation": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "runtimeComponents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "default": [],
- "items": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "default": [],
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "sectionId",
- "instructions",
- "components",
- "inputFields"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "modalities",
- "presentation",
- "bindings"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "version": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "version",
- "revision",
- "initialState",
- "instructions",
- "states",
- "variants"
- ],
- "type": "object"
- },
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "authoring": {
- "additionalProperties": false,
- "properties": {
- "draftId": {
- "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"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "draftId",
- "revision"
- ],
- "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",
- "runtime_components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 6,
- "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"
- },
- "interaction": {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "additionalProperties": {
- "maxLength": 5000,
- "type": "string"
- },
- "propertyNames": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "modality": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "edit",
- "continue"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields"
- ],
- "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"
- },
- "selection": {
- "additionalProperties": false,
- "properties": {
- "catalogHash": {
- "type": "string"
- },
- "catalogRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "fallback": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inputTokens": {
- "minimum": 0,
- "type": "number"
- },
- "latencyMs": {
- "minimum": 0,
- "type": "number"
- },
- "model": {
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "stateId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "variantId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "version": {
- "const": "composer-selection.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "catalogRevision",
- "catalogHash",
- "operationId",
- "stateId",
- "variantId",
- "model",
- "confidence",
- "fallback",
- "latencyMs",
- "inputTokens"
- ],
- "type": "object"
- },
- "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"
- },
- "previousResponseId": {
- "anyOf": [
- {
- "pattern": "^sresp_[a-f0-9-]{36}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "response": {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "agentSlug": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "avatarUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "canAttemptThread": {
- "type": "boolean"
- },
- "canStartThread": {
- "type": "boolean"
- },
- "connectionMethods": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "documentationUrl": {
- "format": "uri",
- "type": "string"
- },
- "endpointStatus": {
- "enum": [
- "not_published",
- "verified"
- ],
- "type": "string"
- },
- "endpointUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "environment": {
- "enum": [
- "remote_client",
- "browser_session"
- ],
- "type": "string"
- },
- "protocol": {
- "enum": [
- "MCP",
- "A2A",
- "WEBMCP"
- ],
- "type": "string"
- }
- },
- "required": [
- "protocol",
- "environment",
- "endpointUrl",
- "endpointStatus",
- "documentationUrl"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "connectionPrompt": {
- "maxLength": 60000,
- "minLength": 1,
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "maxLength": 8000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "executionGuidance": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "credentialSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "credentialSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "primaryBlockerCode": {
- "anyOf": [
- {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recordBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "rendererVersion": {
- "const": "execution-guidance-v1",
- "type": "string"
- },
- "setupSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "setupSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "credentialSummaryCode",
- "credentialSummary",
- "setupSummaryCode",
- "setupSummary",
- "recordBlockers",
- "primaryBlockerCode",
- "rendererVersion"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "executionRequirements": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "browser": {
- "additionalProperties": false,
- "properties": {
- "sessionKind": {
- "anyOf": [
- {
- "enum": [
- "ANONYMOUS",
- "PROVIDER_SESSION",
- "UNKNOWN"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sessionKind"
- ],
- "type": "object"
- },
- "contractVersion": {
- "const": "1.0.0",
- "type": "string"
- },
- "derivation": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "COMPLETE",
- "PARTIAL"
- ],
- "type": "string"
- },
- "derivationKey": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "normalizerVersion": {
- "const": "execution-requirements-v1",
- "type": "string"
- },
- "sourceReceiptDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceRevision": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "normalizerVersion",
- "sourceRevision",
- "sourceReceiptDigest",
- "completeness",
- "derivationKey"
- ],
- "type": "object"
- },
- "operationCredentials": {
- "additionalProperties": false,
- "properties": {
- "sensitiveInputNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sensitiveInputNames"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- },
- "termsDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "state",
- "termsDigest"
- ],
- "type": "object"
- },
- "providerAuthentication": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "enum": [
- "PROVIDER_DECLARED",
- "PROVIDER_OBSERVED",
- "DERIVED_FROM_VERIFIED_RECEIPT",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "mechanisms": {
- "items": {
- "enum": [
- "BEARER",
- "API_KEY",
- "OAUTH2",
- "HTTP_BASIC",
- "MUTUAL_TLS",
- "SIGNED_REQUEST",
- "SESSION_COOKIE",
- "OPERATION_SECRET_INPUT",
- "UNSPECIFIED"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "placements": {
- "items": {
- "enum": [
- "HEADER",
- "QUERY",
- "COOKIE",
- "BODY",
- "TOOL_ARGUMENT",
- "ENVIRONMENT",
- "AUTH_CONTINUATION"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "mechanisms",
- "placements",
- "scopes",
- "evidence"
- ],
- "type": "object"
- },
- "providerBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "providerContract": {
- "additionalProperties": false,
- "properties": {
- "inputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "outputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "route": {
- "enum": [
- "RESOLVED",
- "MISSING",
- "AMBIGUOUS",
- "UNSAFE",
- "UNSUPPORTED",
- "UNKNOWN"
- ],
- "type": "string"
- }
- },
- "required": [
- "route",
- "inputSchema",
- "outputSchema"
- ],
- "type": "object"
- },
- "runtime": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "REMOTE_MCP",
- "LOCAL_STDIO",
- "A2A_JSONRPC",
- "HTTP_JSON",
- "OPENAPI_HTTP",
- "BOUNDED_FETCH",
- "BROWSER",
- "X402_PAYMENT",
- "COMMERCE",
- "UNSUPPORTED"
- ],
- "type": "string"
- },
- "package": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "ecosystem": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "identifier": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "runtimeProfile": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "version": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "ecosystem",
- "identifier",
- "version",
- "runtimeProfile"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requiredEnvironmentNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "package",
- "requiredEnvironmentNames"
- ],
- "type": "object"
- }
- },
- "required": [
- "contractVersion",
- "providerAuthentication",
- "operationCredentials",
- "runtime",
- "payment",
- "browser",
- "providerContract",
- "providerBlockers",
- "derivation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "imageUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inquiry": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1200,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fit": {
- "enum": [
- "matches",
- "partial",
- "not_fit",
- "unknown"
- ],
- "type": "string"
- },
- "question": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "type": "string"
- },
- "replies": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "messageId",
- "text",
- "at"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "status": {
- "enum": [
- "contacting",
- "waiting",
- "following_up",
- "replied",
- "needs_input",
- "no_reply",
- "not_contacted",
- "outcome_unknown"
- ],
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "status",
- "question",
- "replies"
- ],
- "type": "object"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "providerCheck": {
- "enum": [
- "not_attempted",
- "confirmed",
- "unconfirmed",
- "unavailable"
- ],
- "type": "string"
- },
- "providerFamilyRef": {
- "anyOf": [
- {
- "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "rank": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "readiness": {
- "enum": [
- "ready",
- "authentication_required",
- "recheck_required",
- "unavailable"
- ],
- "type": "string"
- },
- "reasons": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "requiredSetup": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "credential",
- "installation",
- "provider_configuration"
- ],
- "type": "string"
- },
- "suppliedBy": {
- "enum": [
- "user",
- "provider",
- "runtime"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "suppliedBy",
- "description"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "selected": {
- "type": "boolean"
- },
- "uncertainties": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agentId",
- "agentSlug",
- "operationId",
- "operationRevision",
- "providerFamilyRef",
- "rank",
- "selected",
- "name",
- "description",
- "requiredSetup",
- "executionRequirements",
- "executionGuidance",
- "readiness",
- "canStartThread",
- "reasons",
- "uncertainties",
- "providerCheck",
- "connectionMethods",
- "connectionPrompt"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "assessment": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "outcome": {
- "enum": [
- "strong",
- "partial",
- "clarify",
- "no_match",
- "unverified"
- ],
- "type": "string"
- }
- },
- "required": [
- "outcome",
- "explanation"
- ],
- "type": "object"
- },
- "noMatchReason": {
- "anyOf": [
- {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "overview": {
- "anyOf": [
- {
- "maxLength": 32000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "alternatives": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "agentId",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "dependsOn": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "objective": {
- "maxLength": 250,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "stepId",
- "agentId",
- "operationId",
- "objective",
- "dependsOn"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "steps"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "question": {
- "anyOf": [
- {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "relatedSearches": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "query": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "query",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agents",
- "relatedSearches",
- "question",
- "noMatchReason"
- ],
- "type": "object"
- },
- "responseId": {
- "pattern": "^sresp_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchId": {
- "pattern": "^srch_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchToken": {
- "type": "string"
- },
- "status": {
- "enum": [
- "completed",
- "needs_input",
- "no_match"
- ],
- "type": "string"
- }
- },
- "required": [
- "searchId",
- "responseId",
- "previousResponseId",
- "contractVersion",
- "status",
- "response"
- ],
- "type": "object"
- },
- "status": {
- "enum": [
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled"
- ],
- "type": "string"
- },
- "target": {
- "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"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- }
- },
- "required": [
- "turnId",
- "clientMessageId",
- "message",
- "status",
- "blocks",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- }
- },
- "required": [
- "turns",
- "nextBefore",
- "eventCursor"
- ],
- "type": "object"
- },
- "conversationId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "conversationToken": {
- "description": "Private guest token. Send as X-Assist-Token for subsequent requests.",
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "delivery": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "library": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "instructions": {
- "default": "",
- "maxLength": 10000,
- "type": "string"
- },
- "outputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "description",
- "outputSchema",
- "example",
- "instructions"
- ],
- "type": "object"
- },
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "export": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "human": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "states": {
- "items": {
- "enum": [
- "input",
- "running",
- "needs_input",
- "approval",
- "success",
- "empty",
- "error"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "description",
- "states"
- ],
- "type": "object"
- },
- "props": {
- "maxLength": 10000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "export",
- "description",
- "props",
- "example"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "entry": {
- "minLength": 1,
- "type": "string"
- },
- "files": {
- "additionalProperties": {
- "maxLength": 500000,
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "importName": {
- "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "schemaVersion": {
- "const": 1,
- "type": "number"
- },
- "version": {
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
- "type": "string"
- }
- },
- "required": [
- "schemaVersion",
- "name",
- "version",
- "importName",
- "entry",
- "files",
- "components"
- ],
- "type": "object"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- },
- "source": {
- "enum": [
- "darwin_ui",
- "uploaded",
- "generated"
- ],
- "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"
- },
- "experience": {
- "additionalProperties": false,
- "properties": {
- "initialState": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 4000,
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "states": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "executionStatuses": {
- "items": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "transitions": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 64,
- "type": "array"
- },
- "variants": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "executionStatuses",
- "transitions",
- "variants"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 1,
- "type": "array"
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "argumentBindings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "field",
- "target"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "bindings": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "type": "string"
- },
- "path": {
- "items": {
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 2,
- "type": "array"
- },
- "source": {
- "enum": [
- "message",
- "field"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "source"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "type": "array"
- },
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "modalities": {
- "default": [
- "text",
- "voice"
- ],
- "items": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "presentation": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "runtimeComponents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "default": [],
- "items": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "default": [],
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "sectionId",
- "instructions",
- "components",
- "inputFields"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "modalities",
- "presentation",
- "bindings"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "version": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "version",
- "revision",
- "initialState",
- "instructions",
- "states",
- "variants"
- ],
- "type": "object"
- },
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "authoring": {
- "additionalProperties": false,
- "properties": {
- "draftId": {
- "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"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "draftId",
- "revision"
- ],
- "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",
- "runtime_components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 6,
- "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"
- },
- "interaction": {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "additionalProperties": {
- "maxLength": 5000,
- "type": "string"
- },
- "propertyNames": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "modality": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "edit",
- "continue"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields"
- ],
- "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"
- },
- "selection": {
- "additionalProperties": false,
- "properties": {
- "catalogHash": {
- "type": "string"
- },
- "catalogRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "fallback": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inputTokens": {
- "minimum": 0,
- "type": "number"
- },
- "latencyMs": {
- "minimum": 0,
- "type": "number"
- },
- "model": {
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "stateId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "variantId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "version": {
- "const": "composer-selection.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "catalogRevision",
- "catalogHash",
- "operationId",
- "stateId",
- "variantId",
- "model",
- "confidence",
- "fallback",
- "latencyMs",
- "inputTokens"
- ],
- "type": "object"
- },
- "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"
- },
- "funding": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "fundingAuthorizationId": {
- "pattern": "^afund_[a-f0-9-]{36}$",
- "type": "string"
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "reserving",
- "reserved",
- "releasing",
- "released"
- ],
- "type": "string"
- },
- "totalBudgetMinor": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "fundingAuthorizationId",
- "quoteId",
- "revisionId",
- "totalBudgetMinor",
- "currency",
- "status",
- "createdAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "goal": {
- "type": "string"
- },
- "latestRevisionId": {
- "anyOf": [
- {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "role": {
- "enum": [
- "user",
- "assist"
- ],
- "type": "string"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "role",
- "text",
- "at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "previousRuns": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "additionalProperties": false,
- "properties": {
- "cancellationTerms": {
- "minLength": 1,
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fundingStatus": {
- "enum": [
- "not_authorized",
- "authorized"
- ],
- "type": "string"
- },
- "maximumExecutionMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximumFeeMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "rateBasis": {
- "minLength": 1,
- "type": "string"
- },
- "rateBps": {
- "maximum": 1800,
- "minimum": 0,
- "type": "integer"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "totalBudgetMinor": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "unallocatedMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "quoteId",
- "revisionId",
- "currency",
- "totalBudgetMinor",
- "rateBps",
- "rateBasis",
- "maximumExecutionMinor",
- "maximumFeeMinor",
- "unallocatedMinor",
- "createdAt",
- "expiresAt",
- "fundingStatus",
- "cancellationTerms"
- ],
- "type": "object"
- },
- "run": {
- "additionalProperties": false,
- "properties": {
- "actingAiId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "runId": {
- "pattern": "^arun_[a-f0-9-]{36}$",
- "type": "string"
- },
- "settlement": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "executionSpendMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "outcomeFeeMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "returnedMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "executionSpendMinor",
- "outcomeFeeMinor",
- "returnedMinor"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "startedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "status": {
- "enum": [
- "starting",
- "running",
- "paused",
- "completed",
- "cancelled"
- ],
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "acceptedMessageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "actRequestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "errorCode": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "observation": {
- "additionalProperties": false,
- "properties": {
- "confirmedResultIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "needsAttention": {
- "type": "boolean"
- },
- "pendingRequestIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "readStatus": {
- "enum": [
- "available",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "readStatus",
- "needsAttention",
- "pendingRequestIds",
- "confirmedResultIds"
- ],
- "type": "object"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "status": {
- "enum": [
- "pending",
- "starting",
- "thread_open",
- "waiting",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "stepId",
- "agentId",
- "operationId",
- "operationRevision",
- "status",
- "threadId",
- "errorCode"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "runId",
- "revisionId",
- "quoteId",
- "actingAiId",
- "status",
- "startedAt",
- "settlement",
- "steps"
- ],
- "type": "object"
- }
- },
- "required": [
- "run",
- "quote"
- ],
- "type": "object"
- },
- "maxItems": 32,
- "type": "array"
- },
- "quote": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cancellationTerms": {
- "minLength": 1,
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fundingStatus": {
- "enum": [
- "not_authorized",
- "authorized"
- ],
- "type": "string"
- },
- "maximumExecutionMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximumFeeMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "rateBasis": {
- "minLength": 1,
- "type": "string"
- },
- "rateBps": {
- "maximum": 1800,
- "minimum": 0,
- "type": "integer"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "totalBudgetMinor": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "unallocatedMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "quoteId",
- "revisionId",
- "currency",
- "totalBudgetMinor",
- "rateBps",
- "rateBasis",
- "maximumExecutionMinor",
- "maximumFeeMinor",
- "unallocatedMinor",
- "createdAt",
- "expiresAt",
- "fundingStatus",
- "cancellationTerms"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "revisions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "canAttemptThread": {
- "type": "boolean"
- },
- "canStartThread": {
- "type": "boolean"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "readiness": {
- "enum": [
- "ready",
- "authentication_required",
- "recheck_required",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "agentId",
- "operationId",
- "operationRevision",
- "name",
- "description",
- "canStartThread",
- "readiness"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "plan": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "goal": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accessRequired": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "alternativeAgentIds": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "approvalRequired": {
- "const": true,
- "default": true,
- "type": "boolean"
- },
- "dependsOn": {
- "default": [],
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "evidenceRequired": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "objective": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "stepId",
- "objective",
- "agentId",
- "operationId",
- "operationRevision",
- "alternativeAgentIds",
- "dependsOn",
- "evidenceRequired",
- "accessRequired",
- "approvalRequired"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "stoppingPoints": {
- "default": [],
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "successCriteria": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "successCriteria",
- "steps",
- "stoppingPoints"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "revisionId",
- "createdAt",
- "searchId",
- "summary",
- "plan",
- "agents"
- ],
- "type": "object"
- },
- "maxItems": 32,
- "type": "array"
- },
- "run": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actingAiId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "quoteId": {
- "pattern": "^aqt_[a-f0-9-]{36}$",
- "type": "string"
- },
- "revisionId": {
- "pattern": "^arev_[a-f0-9-]{36}$",
- "type": "string"
- },
- "runId": {
- "pattern": "^arun_[a-f0-9-]{36}$",
- "type": "string"
- },
- "settlement": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "executionSpendMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "outcomeFeeMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "returnedMinor": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "executionSpendMinor",
- "outcomeFeeMinor",
- "returnedMinor"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "startedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "status": {
- "enum": [
- "starting",
- "running",
- "paused",
- "completed",
- "cancelled"
- ],
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "acceptedMessageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "actRequestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "errorCode": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "observation": {
- "additionalProperties": false,
- "properties": {
- "confirmedResultIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "needsAttention": {
- "type": "boolean"
- },
- "pendingRequestIds": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": "array"
- },
- "readStatus": {
- "enum": [
- "available",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "readStatus",
- "needsAttention",
- "pendingRequestIds",
- "confirmedResultIds"
- ],
- "type": "object"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "status": {
- "enum": [
- "pending",
- "starting",
- "thread_open",
- "waiting",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "stepId",
- "agentId",
- "operationId",
- "operationRevision",
- "status",
- "threadId",
- "errorCode"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "runId",
- "revisionId",
- "quoteId",
- "actingAiId",
- "status",
- "startedAt",
- "settlement",
- "steps"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "sessionId": {
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "planning",
- "ready",
- "running",
- "paused",
- "completed",
- "cancelled"
- ],
- "type": "string"
- },
- "threadBrief": {
- "maxLength": 4000,
- "type": "string"
- },
- "threadId": {
- "description": "Deprecated alias for sessionId.",
- "pattern": "^asst_[a-f0-9-]{36}$",
- "type": "string"
- },
- "threadTitle": {
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- }
- },
- "required": [
- "conversationId",
- "status",
- "goal",
- "messages",
- "revisions",
- "latestRevisionId",
- "quote",
- "funding",
- "run",
- "previousRuns",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "contractVersion": {
- "const": "search-v3.0",
- "type": "string"
- },
- "delivery": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "library": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "instructions": {
- "default": "",
- "maxLength": 10000,
- "type": "string"
- },
- "outputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "description",
- "outputSchema",
- "example",
- "instructions"
- ],
- "type": "object"
- },
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "example": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "export": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "human": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "states": {
- "items": {
- "enum": [
- "input",
- "running",
- "needs_input",
- "approval",
- "success",
- "empty",
- "error"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "description",
- "states"
- ],
- "type": "object"
- },
- "props": {
- "maxLength": 10000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "export",
- "description",
- "props",
- "example"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "entry": {
- "minLength": 1,
- "type": "string"
- },
- "files": {
- "additionalProperties": {
- "maxLength": 500000,
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "importName": {
- "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "schemaVersion": {
- "const": 1,
- "type": "number"
- },
- "version": {
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
- "type": "string"
- }
- },
- "required": [
- "schemaVersion",
- "name",
- "version",
- "importName",
- "entry",
- "files",
- "components"
- ],
- "type": "object"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- },
- "source": {
- "enum": [
- "darwin_ui",
- "uploaded",
- "generated"
- ],
- "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"
- },
- "experience": {
- "additionalProperties": false,
- "properties": {
- "initialState": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 4000,
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "states": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "executionStatuses": {
- "items": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "transitions": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 64,
- "type": "array"
- },
- "variants": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "executionStatuses",
- "transitions",
- "variants"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 1,
- "type": "array"
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "argumentBindings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "field",
- "target"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "bindings": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "maxLength": 120,
- "type": "string"
- },
- "path": {
- "items": {
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 2,
- "type": "array"
- },
- "source": {
- "enum": [
- "message",
- "field"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "source"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "type": "array"
- },
- "description": {
- "maxLength": 1000,
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "instructions": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "modalities": {
- "default": [
- "text",
- "voice"
- ],
- "items": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "presentation": {
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "runtimeComponents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "default": [],
- "items": {
- "pattern": "^[A-Z][A-Za-z0-9]*$",
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "default": [],
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "sectionId",
- "instructions",
- "components",
- "inputFields"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- }
- },
- "required": [
- "id",
- "description",
- "instructions",
- "modalities",
- "presentation",
- "bindings"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "version": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "version",
- "revision",
- "initialState",
- "instructions",
- "states",
- "variants"
- ],
- "type": "object"
- },
- "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"
- },
- "runtimeRegions": {
- "items": {
- "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"
- }
- ]
- },
- "failure": {
- "anyOf": [
- {
- "maxLength": 120,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "inputFields": {
- "items": {
- "maxLength": 80,
- "type": "string"
- },
- "maxItems": 16,
- "type": "array"
- },
- "inputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "libraryDigest": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "model": {
- "maxLength": 160,
- "type": "string"
- },
- "outputTokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sectionId": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "generated",
- "ready",
- "unavailable"
- ],
- "type": "string"
- },
- "tree": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "nodes": {
- "items": {
- "$ref": "#/$defs/__schema2"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "nodes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "sectionId",
- "libraryDigest",
- "status",
- "artifactId",
- "tree",
- "inputFields",
- "failure"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "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"
- },
- "authoring": {
- "additionalProperties": false,
- "properties": {
- "draftId": {
- "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"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "draftId",
- "revision"
- ],
- "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",
- "runtime_components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 6,
- "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"
- },
- "interaction": {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "additionalProperties": {
- "maxLength": 5000,
- "type": "string"
- },
- "propertyNames": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "modality": {
- "enum": [
- "text",
- "voice",
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "edit",
- "continue"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields"
- ],
- "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"
- },
- "selection": {
- "additionalProperties": false,
- "properties": {
- "catalogHash": {
- "type": "string"
- },
- "catalogRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "fallback": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inputTokens": {
- "minimum": 0,
- "type": "number"
- },
- "latencyMs": {
- "minimum": 0,
- "type": "number"
- },
- "model": {
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "stateId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "variantId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "version": {
- "const": "composer-selection.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "catalogRevision",
- "catalogHash",
- "operationId",
- "stateId",
- "variantId",
- "model",
- "confidence",
- "fallback",
- "latencyMs",
- "inputTokens"
- ],
- "type": "object"
- },
- "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"
- },
- "presentation": {
- "additionalProperties": false,
- "properties": {
- "agentView": {
- "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"
- },
- "cards": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "default": "none",
- "enum": [
- "none",
- "user_review",
- "account_access",
- "payment"
- ],
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema4"
- },
- "propertyNames": {
- "maxLength": 200,
- "type": "string"
- },
- "type": "object"
- },
- "available": {
- "type": "boolean"
- },
- "label": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 2000,
- "type": "string"
- },
- "requiredInputs": {
- "default": [],
- "items": {
- "maxLength": 300,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "tool": {
- "enum": [
- "get_agent_home",
- "get_thread",
- "start_thread",
- "send_message",
- "authenticate",
- "pay"
- ],
- "type": "string"
- }
- },
- "required": [
- "label",
- "requiredInputs",
- "available",
- "approval"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "agentName": {
- "maxLength": 500,
- "type": "string"
- },
- "card": {
- "additionalProperties": false,
- "properties": {
- "actionId": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "agentId": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "type": {
- "const": "fields",
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "role": {
- "enum": [
- "user",
- "agent"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 10000,
- "type": "string"
- },
- "timestamp": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- },
- "type": {
- "const": "conversation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "messages"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 10000,
- "type": "string"
- },
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "maxLength": 1000,
- "type": "string"
- }
- },
- "required": [
- "id",
- "label"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- "question": {
- "maxLength": 10000,
- "type": "string"
- },
- "selectedId": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "choices",
- "type": "string"
- }
- },
- "required": [
- "type",
- "question",
- "options"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "completed": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "label": {
- "maxLength": 10000,
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 10000,
- "type": "string"
- },
- "state": {
- "enum": [
- "pending",
- "working",
- "complete",
- "failed"
- ],
- "type": "string"
- }
- },
- "required": [
- "label",
- "state"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "total": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "type": {
- "const": "progress",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 10000,
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "imageAssetId": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "price": {
- "maxLength": 100,
- "type": "string"
- },
- "title": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "product",
- "type": "string"
- }
- },
- "required": [
- "type",
- "id",
- "title"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 10000,
- "type": "string"
- },
- "timestamp": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "title": {
- "maxLength": 1000,
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "nextCursor": {
- "maxLength": 4096,
- "type": "string"
- },
- "type": {
- "const": "feed",
- "type": "string"
- }
- },
- "required": [
- "type",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "mediaType": {
- "maxLength": 100,
- "type": "string"
- },
- "name": {
- "maxLength": 300,
- "type": "string"
- },
- "text": {
- "maxLength": 10000,
- "type": "string"
- },
- "type": {
- "const": "document",
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "version": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "type",
- "name"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "places": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "maxLength": 2000,
- "type": "string"
- },
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "maxLength": 500,
- "type": "string"
- },
- "latitude": {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- "longitude": {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- }
- },
- "required": [
- "id",
- "label"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "selectedId": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "locations",
- "type": "string"
- }
- },
- "required": [
- "type",
- "places"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "events": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "location": {
- "maxLength": 10000,
- "type": "string"
- },
- "start": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "status": {
- "enum": [
- "proposed",
- "confirmed",
- "cancelled"
- ],
- "type": "string"
- },
- "title": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "start",
- "end",
- "status"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "timeZone": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "const": "schedule",
- "type": "string"
- }
- },
- "required": [
- "type",
- "timeZone",
- "events"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "text": {
- "maxLength": 10000,
- "type": "string"
- },
- "tone": {
- "enum": [
- "info",
- "attention",
- "danger"
- ],
- "type": "string"
- },
- "type": {
- "const": "notice",
- "type": "string"
- }
- },
- "required": [
- "type",
- "tone",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "provider": {
- "maxLength": 300,
- "type": "string"
- },
- "scopes": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "status": {
- "enum": [
- "required",
- "checking",
- "connected",
- "expired",
- "unavailable"
- ],
- "type": "string"
- },
- "type": {
- "const": "access",
- "type": "string"
- }
- },
- "required": [
- "type",
- "provider",
- "scopes",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "maxLength": 100,
- "type": "string"
- },
- "currency": {
- "maxLength": 10,
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "payee": {
- "maxLength": 500,
- "type": "string"
- },
- "receiptId": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "status": {
- "enum": [
- "requested",
- "processing",
- "confirmed",
- "failed",
- "refunded",
- "uncertain"
- ],
- "type": "string"
- },
- "type": {
- "const": "payment",
- "type": "string"
- }
- },
- "required": [
- "type",
- "amount",
- "currency",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "destination": {
- "maxLength": 500,
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 10000,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "operation": {
- "maxLength": 1000,
- "type": "string"
- },
- "status": {
- "enum": [
- "review",
- "working",
- "complete",
- "failed"
- ],
- "type": "string"
- },
- "type": {
- "const": "handoff",
- "type": "string"
- }
- },
- "required": [
- "type",
- "destination",
- "operation",
- "fields",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 10000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "voice",
- "video",
- "browser"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "invited",
- "active",
- "ended",
- "unavailable"
- ],
- "type": "string"
- },
- "type": {
- "const": "session",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "mode",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 64000,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64000,
- "type": "string"
- },
- "language": {
- "maxLength": 40,
- "type": "string"
- },
- "type": {
- "const": "code",
- "type": "string"
- }
- },
- "required": [
- "type",
- "code"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "columns": {
- "items": {
- "maxLength": 200,
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "rows": {
- "items": {
- "items": {
- "anyOf": [
- {
- "maxLength": 10000,
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxItems": 30,
- "type": "array"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "type": {
- "const": "table",
- "type": "string"
- }
- },
- "required": [
- "type",
- "columns",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 10000,
- "type": "string"
- },
- "price": {
- "maxLength": 100,
- "type": "string"
- },
- "title": {
- "maxLength": 1000,
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "type": {
- "const": "list",
- "type": "string"
- }
- },
- "required": [
- "type",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "points": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "type": "number"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "chart",
- "type": "string"
- },
- "unit": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "type",
- "points"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "caption": {
- "maxLength": 10000,
- "type": "string"
- },
- "durationSeconds": {
- "minimum": 0,
- "type": "number"
- },
- "mimeType": {
- "maxLength": 120,
- "type": "string"
- },
- "name": {
- "maxLength": 300,
- "type": "string"
- },
- "provenance": {
- "maxLength": 2000,
- "type": "string"
- },
- "sizeBytes": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "transcript": {
- "maxLength": 64000,
- "type": "string"
- },
- "type": {
- "enum": [
- "image",
- "audio",
- "video",
- "file"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 64000,
- "type": "string"
- },
- "delivery": {
- "enum": [
- "draft",
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "from": {
- "maxLength": 300,
- "type": "string"
- },
- "subject": {
- "maxLength": 1000,
- "type": "string"
- },
- "to": {
- "items": {
- "maxLength": 300,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "type": {
- "const": "email",
- "type": "string"
- }
- },
- "required": [
- "type",
- "subject",
- "body"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "end": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "start": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "status": {
- "enum": [
- "proposed",
- "confirmed",
- "cancelled"
- ],
- "type": "string"
- },
- "timeZone": {
- "maxLength": 100,
- "type": "string"
- },
- "title": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "calendar",
- "type": "string"
- }
- },
- "required": [
- "type",
- "title",
- "start"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "maxLength": 2000,
- "type": "string"
- },
- "label": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "location",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "result": {
- "maxLength": 64000,
- "type": "string"
- },
- "source": {
- "maxLength": 64000,
- "type": "string"
- },
- "type": {
- "const": "comparison",
- "type": "string"
- }
- },
- "required": [
- "type",
- "source",
- "result"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 1000,
- "type": "string"
- },
- "state": {
- "enum": [
- "pending",
- "working",
- "complete",
- "failed"
- ],
- "type": "string"
- }
- },
- "required": [
- "label",
- "state"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "type": {
- "const": "steps",
- "type": "string"
- }
- },
- "required": [
- "type",
- "steps"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 30,
- "type": "array"
- },
- "description": {
- "maxLength": 10000,
- "type": "string"
- },
- "eventId": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "id": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "interaction": {
- "enum": [
- "read_only",
- "editable",
- "conversational",
- "selectable",
- "confirmation_required"
- ],
- "type": "string"
- },
- "role": {
- "enum": [
- "operation",
- "input",
- "conversation",
- "progress",
- "result",
- "decision",
- "receipt",
- "handoff"
- ],
- "type": "string"
- },
- "sourceCardId": {
- "maxLength": 240,
- "minLength": 1,
- "pattern": "^[^\\u0000-\\u001f]+$",
- "type": "string"
- },
- "state": {
- "enum": [
- "draft",
- "loading",
- "working",
- "needs_attention",
- "partial",
- "complete",
- "failed",
- "expired",
- "cancelled",
- "uncertain"
- ],
- "type": "string"
- },
- "title": {
- "maxLength": 1000,
- "type": "string"
- }
- },
- "required": [
- "id",
- "role",
- "state",
- "interaction",
- "title",
- "agentId",
- "content"
- ],
- "type": "object"
- },
- "illustrative": {
- "default": false,
- "type": "boolean"
- },
- "incomplete": {
- "default": [],
- "items": {
- "maxLength": 2000,
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "inputs": {
- "additionalProperties": {
- "anyOf": [
- {
- "maxLength": 32000,
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "default": {},
- "propertyNames": {
- "maxLength": 200,
- "type": "string"
- },
- "type": "object"
- },
- "source": {
- "additionalProperties": false,
- "properties": {
- "card": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "event": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "thread": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- }
- },
- "type": "object"
- },
- "timestamp": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "variant": {
- "maxLength": 200,
- "type": "string"
- },
- "version": {
- "const": "cards-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "card",
- "variant",
- "illustrative",
- "inputs",
- "actions",
- "incomplete"
- ],
- "type": "object"
- },
- "maxItems": 300,
- "type": "array"
- },
- "cursor": {
- "anyOf": [
- {
- "maxLength": 4102,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "hasMore": {
- "type": "boolean"
- },
- "incomplete": {
- "items": {
- "maxLength": 2000,
- "type": "string"
- },
- "maxItems": 30,
- "type": "array"
- },
- "markdown": {
- "maxLength": 2000000,
- "type": "string"
- },
- "version": {
- "const": "cards-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "cards",
- "markdown",
- "cursor",
- "hasMore",
- "incomplete"
- ],
- "type": "object"
- },
- "previousResponseId": {
- "anyOf": [
- {
- "pattern": "^sresp_[a-f0-9-]{36}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "response": {
- "additionalProperties": false,
- "properties": {
- "agents": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "agentSlug": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "canAttemptThread": {
- "type": "boolean"
- },
- "canStartThread": {
- "type": "boolean"
- },
- "connectionMethods": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "documentationUrl": {
- "format": "uri",
- "type": "string"
- },
- "endpointStatus": {
- "enum": [
- "not_published",
- "verified"
- ],
- "type": "string"
- },
- "endpointUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "environment": {
- "enum": [
- "remote_client",
- "browser_session"
- ],
- "type": "string"
- },
- "protocol": {
- "enum": [
- "MCP",
- "A2A",
- "WEBMCP"
- ],
- "type": "string"
- }
- },
- "required": [
- "protocol",
- "environment",
- "endpointUrl",
- "endpointStatus",
- "documentationUrl"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "connectionPrompt": {
- "maxLength": 60000,
- "minLength": 1,
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "maxLength": 8000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "executionGuidance": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "credentialSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "credentialSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "primaryBlockerCode": {
- "anyOf": [
- {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recordBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "rendererVersion": {
- "const": "execution-guidance-v1",
- "type": "string"
- },
- "setupSummary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "setupSummaryCode": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "credentialSummaryCode",
- "credentialSummary",
- "setupSummaryCode",
- "setupSummary",
- "recordBlockers",
- "primaryBlockerCode",
- "rendererVersion"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "executionRequirements": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "browser": {
- "additionalProperties": false,
- "properties": {
- "sessionKind": {
- "anyOf": [
- {
- "enum": [
- "ANONYMOUS",
- "PROVIDER_SESSION",
- "UNKNOWN"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sessionKind"
- ],
- "type": "object"
- },
- "contractVersion": {
- "const": "1.0.0",
- "type": "string"
- },
- "derivation": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "COMPLETE",
- "PARTIAL"
- ],
- "type": "string"
- },
- "derivationKey": {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- "normalizerVersion": {
- "const": "execution-requirements-v1",
- "type": "string"
- },
- "sourceReceiptDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sourceRevision": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "normalizerVersion",
- "sourceRevision",
- "sourceReceiptDigest",
- "completeness",
- "derivationKey"
- ],
- "type": "object"
- },
- "operationCredentials": {
- "additionalProperties": false,
- "properties": {
- "sensitiveInputNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "sensitiveInputNames"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- },
- "termsDigest": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "state",
- "termsDigest"
- ],
- "type": "object"
- },
- "providerAuthentication": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "enum": [
- "PROVIDER_DECLARED",
- "PROVIDER_OBSERVED",
- "DERIVED_FROM_VERIFIED_RECEIPT",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "mechanisms": {
- "items": {
- "enum": [
- "BEARER",
- "API_KEY",
- "OAUTH2",
- "HTTP_BASIC",
- "MUTUAL_TLS",
- "SIGNED_REQUEST",
- "SESSION_COOKIE",
- "OPERATION_SECRET_INPUT",
- "UNSPECIFIED"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "placements": {
- "items": {
- "enum": [
- "HEADER",
- "QUERY",
- "COOKIE",
- "BODY",
- "TOOL_ARGUMENT",
- "ENVIRONMENT",
- "AUTH_CONTINUATION"
- ],
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "state": {
- "enum": [
- "REQUIRED",
- "NOT_REQUIRED",
- "UNKNOWN",
- "NOT_APPLICABLE"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "mechanisms",
- "placements",
- "scopes",
- "evidence"
- ],
- "type": "object"
- },
- "providerBlockers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "PROVIDER_ROUTE_UNSUPPORTED",
- "PROVIDER_SCHEMA_MISSING",
- "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
- "PROVIDER_METADATA_INCOMPLETE",
- "DARWIN_ADAPTER_UNAVAILABLE",
- "DARWIN_ROUTE_NOT_APPROVED",
- "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
- "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
- "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
- ],
- "type": "string"
- },
- "owner": {
- "enum": [
- "PROVIDER",
- "DARWIN"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "owner"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "providerContract": {
- "additionalProperties": false,
- "properties": {
- "inputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "outputSchema": {
- "enum": [
- "CONCRETE",
- "DIGEST_ONLY",
- "MISSING",
- "UNKNOWN"
- ],
- "type": "string"
- },
- "route": {
- "enum": [
- "RESOLVED",
- "MISSING",
- "AMBIGUOUS",
- "UNSAFE",
- "UNSUPPORTED",
- "UNKNOWN"
- ],
- "type": "string"
- }
- },
- "required": [
- "route",
- "inputSchema",
- "outputSchema"
- ],
- "type": "object"
- },
- "runtime": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "REMOTE_MCP",
- "LOCAL_STDIO",
- "A2A_JSONRPC",
- "HTTP_JSON",
- "OPENAPI_HTTP",
- "BOUNDED_FETCH",
- "BROWSER",
- "X402_PAYMENT",
- "COMMERCE",
- "UNSUPPORTED"
- ],
- "type": "string"
- },
- "package": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "ecosystem": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "identifier": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "runtimeProfile": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "version": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "ecosystem",
- "identifier",
- "version",
- "runtimeProfile"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requiredEnvironmentNames": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "package",
- "requiredEnvironmentNames"
- ],
- "type": "object"
- }
- },
- "required": [
- "contractVersion",
- "providerAuthentication",
- "operationCredentials",
- "runtime",
- "payment",
- "browser",
- "providerContract",
- "providerBlockers",
- "derivation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "imageUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inquiry": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 1200,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "fit": {
- "enum": [
- "matches",
- "partial",
- "not_fit",
- "unknown"
- ],
- "type": "string"
- },
- "question": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "type": "string"
- },
- "replies": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "messageId",
- "text",
- "at"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "status": {
- "enum": [
- "contacting",
- "waiting",
- "following_up",
- "replied",
- "needs_input",
- "no_reply",
- "not_contacted",
- "outcome_unknown"
- ],
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "status",
- "question",
- "replies"
- ],
- "type": "object"
- },
- "name": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "providerCheck": {
- "enum": [
- "not_attempted",
- "confirmed",
- "unconfirmed",
- "unavailable"
- ],
- "type": "string"
- },
- "providerFamilyRef": {
- "anyOf": [
- {
- "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "rank": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "readiness": {
- "enum": [
- "ready",
- "authentication_required",
- "recheck_required",
- "unavailable"
- ],
- "type": "string"
- },
- "reasons": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "requiredSetup": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "credential",
- "installation",
- "provider_configuration"
- ],
- "type": "string"
- },
- "suppliedBy": {
- "enum": [
- "user",
- "provider",
- "runtime"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "suppliedBy",
- "description"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "selected": {
- "type": "boolean"
- },
- "uncertainties": {
- "items": {
- "maxLength": 250,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agentId",
- "agentSlug",
- "operationId",
- "operationRevision",
- "providerFamilyRef",
- "rank",
- "selected",
- "name",
- "description",
- "requiredSetup",
- "executionRequirements",
- "executionGuidance",
- "readiness",
- "canStartThread",
- "reasons",
- "uncertainties",
- "providerCheck",
- "connectionMethods",
- "connectionPrompt"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "assessment": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "outcome": {
- "enum": [
- "strong",
- "partial",
- "clarify",
- "no_match",
- "unverified"
- ],
- "type": "string"
- }
- },
- "required": [
- "outcome",
- "explanation"
- ],
- "type": "object"
- },
- "noMatchReason": {
- "anyOf": [
- {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "alternatives": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "agentId",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "dependsOn": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "objective": {
- "maxLength": 250,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "stepId": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "stepId",
- "agentId",
- "operationId",
- "objective",
- "dependsOn"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "steps"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "question": {
- "anyOf": [
- {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "relatedSearches": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "query": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 250,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "query",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "agents",
- "relatedSearches",
- "question",
- "noMatchReason"
- ],
- "type": "object"
- },
- "responseId": {
- "pattern": "^sresp_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchId": {
- "pattern": "^srch_[a-f0-9-]{36}$",
- "type": "string"
- },
- "searchToken": {
- "type": "string"
- },
- "status": {
- "enum": [
- "completed",
- "needs_input",
- "no_match"
- ],
- "type": "string"
- }
- },
- "required": [
- "searchId",
- "responseId",
- "previousResponseId",
- "contractVersion",
- "status",
- "response"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "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"
+ },
+ "conversation": {
+ "additionalProperties": false,
+ "properties": {
+ "eventCursor": {
+ "type": "string"
+ },
+ "nextBefore": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turns": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentCalls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "dependsOn": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "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": [
+ "ready",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "agentId",
+ "name",
+ "operationId",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mimeType": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "mimeType"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "author": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "human",
+ "agent",
+ "application"
+ ],
+ "type": "string"
+ },
+ "via": {
+ "const": "darwin",
+ "type": "string"
+ },
+ "viaAgent": {
+ "additionalProperties": false,
+ "properties": {
+ "handle": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+ },
+ "blocks": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "type": {
+ "const": "live_consent",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "agentSlug": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "avatarUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canAttemptThread": {
+ "type": "boolean"
+ },
+ "canStartThread": {
+ "type": "boolean"
+ },
+ "connectionMethods": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "documentationUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "endpointStatus": {
+ "enum": [
+ "not_published",
+ "verified"
+ ],
+ "type": "string"
+ },
+ "endpointUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "environment": {
+ "enum": [
+ "remote_client",
+ "browser_session"
+ ],
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "MCP",
+ "A2A",
+ "WEBMCP"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "protocol",
+ "environment",
+ "endpointUrl",
+ "endpointStatus",
+ "documentationUrl"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "connectionPrompt": {
+ "maxLength": 60000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "executionGuidance": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "credentialSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "credentialSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "primaryBlockerCode": {
+ "anyOf": [
+ {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recordBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "rendererVersion": {
+ "const": "execution-guidance-v1",
+ "type": "string"
+ },
+ "setupSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "setupSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "credentialSummaryCode",
+ "credentialSummary",
+ "setupSummaryCode",
+ "setupSummary",
+ "recordBlockers",
+ "primaryBlockerCode",
+ "rendererVersion"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "executionRequirements": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "browser": {
+ "additionalProperties": false,
+ "properties": {
+ "sessionKind": {
+ "anyOf": [
+ {
+ "enum": [
+ "ANONYMOUS",
+ "PROVIDER_SESSION",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sessionKind"
+ ],
+ "type": "object"
+ },
+ "contractVersion": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "derivation": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "COMPLETE",
+ "PARTIAL"
+ ],
+ "type": "string"
+ },
+ "derivationKey": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "normalizerVersion": {
+ "const": "execution-requirements-v1",
+ "type": "string"
+ },
+ "sourceReceiptDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceRevision": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "normalizerVersion",
+ "sourceRevision",
+ "sourceReceiptDigest",
+ "completeness",
+ "derivationKey"
+ ],
+ "type": "object"
+ },
+ "operationCredentials": {
+ "additionalProperties": false,
+ "properties": {
+ "sensitiveInputNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sensitiveInputNames"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ },
+ "termsDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "termsDigest"
+ ],
+ "type": "object"
+ },
+ "providerAuthentication": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "enum": [
+ "PROVIDER_DECLARED",
+ "PROVIDER_OBSERVED",
+ "DERIVED_FROM_VERIFIED_RECEIPT",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "mechanisms": {
+ "items": {
+ "enum": [
+ "BEARER",
+ "API_KEY",
+ "OAUTH2",
+ "HTTP_BASIC",
+ "MUTUAL_TLS",
+ "SIGNED_REQUEST",
+ "SESSION_COOKIE",
+ "OPERATION_SECRET_INPUT",
+ "UNSPECIFIED"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "placements": {
+ "items": {
+ "enum": [
+ "HEADER",
+ "QUERY",
+ "COOKIE",
+ "BODY",
+ "TOOL_ARGUMENT",
+ "ENVIRONMENT",
+ "AUTH_CONTINUATION"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "mechanisms",
+ "placements",
+ "scopes",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "providerBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "providerContract": {
+ "additionalProperties": false,
+ "properties": {
+ "inputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "outputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "route": {
+ "enum": [
+ "RESOLVED",
+ "MISSING",
+ "AMBIGUOUS",
+ "UNSAFE",
+ "UNSUPPORTED",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "route",
+ "inputSchema",
+ "outputSchema"
+ ],
+ "type": "object"
+ },
+ "runtime": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "REMOTE_MCP",
+ "LOCAL_STDIO",
+ "A2A_JSONRPC",
+ "HTTP_JSON",
+ "OPENAPI_HTTP",
+ "BOUNDED_FETCH",
+ "BROWSER",
+ "X402_PAYMENT",
+ "COMMERCE",
+ "UNSUPPORTED"
+ ],
+ "type": "string"
+ },
+ "package": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ecosystem": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "identifier": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "runtimeProfile": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "version": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "ecosystem",
+ "identifier",
+ "version",
+ "runtimeProfile"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requiredEnvironmentNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "package",
+ "requiredEnvironmentNames"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "providerAuthentication",
+ "operationCredentials",
+ "runtime",
+ "payment",
+ "browser",
+ "providerContract",
+ "providerBlockers",
+ "derivation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inquiry": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fit": {
+ "enum": [
+ "matches",
+ "partial",
+ "not_fit",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "question": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "replies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "messageId",
+ "text",
+ "at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "contacting",
+ "waiting",
+ "following_up",
+ "replied",
+ "needs_input",
+ "no_reply",
+ "not_contacted",
+ "outcome_unknown"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "question",
+ "replies"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "profileEvidence": {
+ "additionalProperties": false,
+ "properties": {
+ "channels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "CONVERSATION",
+ "API",
+ "WEB"
+ ],
+ "type": "string"
+ },
+ "nativeType": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "nativeType",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "companyIdentifier": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contractVersion": {
+ "const": "poppy-profile/1.0",
+ "type": "string"
+ },
+ "executable": {
+ "const": false,
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "identityBasis": {
+ "enum": [
+ "OAUTH_ISSUER",
+ "HTTPS_DOMAIN"
+ ],
+ "type": "string"
+ },
+ "identityReceiptDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "manifestDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "manifestUrl": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nativeReferralRefs": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "parserRevision": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "protocol": {
+ "const": "PAP",
+ "type": "string"
+ },
+ "protocolVersion": {
+ "maxLength": 32,
+ "pattern": "^(?:0\\.[1-4]|1\\.(?:0|[1-9][0-9]*))$",
+ "type": "string"
+ },
+ "servingDomain": {
+ "maxLength": 253,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9.-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "kind",
+ "protocol",
+ "protocolVersion",
+ "parserRevision",
+ "companyIdentifier",
+ "identityBasis",
+ "servingDomain",
+ "manifestUrl",
+ "observedAt",
+ "expiresAt",
+ "manifestDigest",
+ "identityReceiptDigest",
+ "channels",
+ "nativeReferralRefs",
+ "executable"
+ ],
+ "type": "object"
+ },
+ "protocolLabel": {
+ "const": "Poppy",
+ "type": "string"
+ },
+ "providerCheck": {
+ "enum": [
+ "not_attempted",
+ "confirmed",
+ "unconfirmed",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "providerFamilyRef": {
+ "anyOf": [
+ {
+ "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "rank": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "readiness": {
+ "enum": [
+ "ready",
+ "authentication_required",
+ "recheck_required",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "recordKind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "requiredSetup": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "credential",
+ "installation",
+ "provider_configuration"
+ ],
+ "type": "string"
+ },
+ "suppliedBy": {
+ "enum": [
+ "user",
+ "provider",
+ "runtime"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "suppliedBy",
+ "description"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "selected": {
+ "type": "boolean"
+ },
+ "uncertainties": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agentId",
+ "agentSlug",
+ "operationId",
+ "operationRevision",
+ "providerFamilyRef",
+ "rank",
+ "selected",
+ "name",
+ "description",
+ "requiredSetup",
+ "executionRequirements",
+ "executionGuidance",
+ "readiness",
+ "canStartThread",
+ "reasons",
+ "uncertainties",
+ "providerCheck",
+ "connectionMethods",
+ "connectionPrompt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "snapshot": {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "provider_claim",
+ "observed",
+ "completed_work"
+ ],
+ "type": "string"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "quote": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "replyDigest": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "requirementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "truth": {
+ "enum": [
+ "PASS",
+ "FAIL",
+ "UNKNOWN",
+ "STALE"
+ ],
+ "type": "string"
+ },
+ "validUntil": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "requirementId",
+ "truth",
+ "kind",
+ "replyDigest",
+ "quote",
+ "observedAt",
+ "validUntil"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "evidenceVersion": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "progress": {
+ "enum": [
+ "retrieved",
+ "queued",
+ "contacting",
+ "waiting",
+ "replied",
+ "finished"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "score": {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sends": {
+ "maximum": 3,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "taskRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "verdict": {
+ "enum": [
+ "fit_confirmed",
+ "conditional",
+ "not_fit",
+ "unknown",
+ "no_response",
+ "requires_input",
+ "requires_identity",
+ "requires_auth",
+ "requires_payment",
+ "unsupported_route",
+ "rate_limited",
+ "transport_error",
+ "cancelled",
+ "budget_exhausted"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "taskRevision",
+ "evidenceVersion",
+ "progress",
+ "verdict",
+ "sends",
+ "score",
+ "evidence",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "completionReason": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contractVersion": {
+ "const": "live-search/0.1.0",
+ "type": "string"
+ },
+ "deadlineAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "events": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "candidate": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "provider_claim",
+ "observed",
+ "completed_work"
+ ],
+ "type": "string"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "quote": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "replyDigest": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "requirementId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "truth": {
+ "enum": [
+ "PASS",
+ "FAIL",
+ "UNKNOWN",
+ "STALE"
+ ],
+ "type": "string"
+ },
+ "validUntil": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "requirementId",
+ "truth",
+ "kind",
+ "replyDigest",
+ "quote",
+ "observedAt",
+ "validUntil"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "evidenceVersion": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "progress": {
+ "enum": [
+ "retrieved",
+ "queued",
+ "contacting",
+ "waiting",
+ "replied",
+ "finished"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "score": {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sends": {
+ "maximum": 3,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "taskRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "verdict": {
+ "enum": [
+ "fit_confirmed",
+ "conditional",
+ "not_fit",
+ "unknown",
+ "no_response",
+ "requires_input",
+ "requires_identity",
+ "requires_auth",
+ "requires_payment",
+ "unsupported_route",
+ "rate_limited",
+ "transport_error",
+ "cancelled",
+ "budget_exhausted"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "taskRevision",
+ "evidenceVersion",
+ "progress",
+ "verdict",
+ "sends",
+ "score",
+ "evidence",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "kind": {
+ "enum": [
+ "started",
+ "candidate_upsert",
+ "candidate_removed",
+ "ranking",
+ "revised",
+ "completed",
+ "cancelled",
+ "requires_input"
+ ],
+ "type": "string"
+ },
+ "occurredAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "orderedAgentIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "rankRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reason": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "sequence": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "taskRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "sequence",
+ "taskRevision",
+ "rankRevision",
+ "kind",
+ "occurredAt",
+ "candidate",
+ "orderedAgentIds",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "nextEventCursor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "orderedAgentIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "rankRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sequence": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sessionId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9:._-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "prepared",
+ "running",
+ "completed",
+ "cancelled",
+ "requires_input"
+ ],
+ "type": "string"
+ },
+ "taskRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "uniqueAgentsUsed": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "sessionId",
+ "taskRevision",
+ "sequence",
+ "rankRevision",
+ "status",
+ "deadlineAt",
+ "uniqueAgentsUsed",
+ "candidates",
+ "orderedAgentIds",
+ "events",
+ "hasMore",
+ "nextEventCursor",
+ "completionReason"
+ ],
+ "type": "object"
+ },
+ "sourceTurnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "live_search",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "sourceTurnId",
+ "snapshot",
+ "agents"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "agentSlug": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "avatarUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canAttemptThread": {
+ "type": "boolean"
+ },
+ "canStartThread": {
+ "type": "boolean"
+ },
+ "connectionMethods": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "documentationUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "endpointStatus": {
+ "enum": [
+ "not_published",
+ "verified"
+ ],
+ "type": "string"
+ },
+ "endpointUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "environment": {
+ "enum": [
+ "remote_client",
+ "browser_session"
+ ],
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "MCP",
+ "A2A",
+ "WEBMCP"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "protocol",
+ "environment",
+ "endpointUrl",
+ "endpointStatus",
+ "documentationUrl"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "connectionPrompt": {
+ "maxLength": 60000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "executionGuidance": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "credentialSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "credentialSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "primaryBlockerCode": {
+ "anyOf": [
+ {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recordBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "rendererVersion": {
+ "const": "execution-guidance-v1",
+ "type": "string"
+ },
+ "setupSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "setupSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "credentialSummaryCode",
+ "credentialSummary",
+ "setupSummaryCode",
+ "setupSummary",
+ "recordBlockers",
+ "primaryBlockerCode",
+ "rendererVersion"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "executionRequirements": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "browser": {
+ "additionalProperties": false,
+ "properties": {
+ "sessionKind": {
+ "anyOf": [
+ {
+ "enum": [
+ "ANONYMOUS",
+ "PROVIDER_SESSION",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sessionKind"
+ ],
+ "type": "object"
+ },
+ "contractVersion": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "derivation": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "COMPLETE",
+ "PARTIAL"
+ ],
+ "type": "string"
+ },
+ "derivationKey": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "normalizerVersion": {
+ "const": "execution-requirements-v1",
+ "type": "string"
+ },
+ "sourceReceiptDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceRevision": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "normalizerVersion",
+ "sourceRevision",
+ "sourceReceiptDigest",
+ "completeness",
+ "derivationKey"
+ ],
+ "type": "object"
+ },
+ "operationCredentials": {
+ "additionalProperties": false,
+ "properties": {
+ "sensitiveInputNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sensitiveInputNames"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ },
+ "termsDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "termsDigest"
+ ],
+ "type": "object"
+ },
+ "providerAuthentication": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "enum": [
+ "PROVIDER_DECLARED",
+ "PROVIDER_OBSERVED",
+ "DERIVED_FROM_VERIFIED_RECEIPT",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "mechanisms": {
+ "items": {
+ "enum": [
+ "BEARER",
+ "API_KEY",
+ "OAUTH2",
+ "HTTP_BASIC",
+ "MUTUAL_TLS",
+ "SIGNED_REQUEST",
+ "SESSION_COOKIE",
+ "OPERATION_SECRET_INPUT",
+ "UNSPECIFIED"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "placements": {
+ "items": {
+ "enum": [
+ "HEADER",
+ "QUERY",
+ "COOKIE",
+ "BODY",
+ "TOOL_ARGUMENT",
+ "ENVIRONMENT",
+ "AUTH_CONTINUATION"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "mechanisms",
+ "placements",
+ "scopes",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "providerBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "providerContract": {
+ "additionalProperties": false,
+ "properties": {
+ "inputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "outputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "route": {
+ "enum": [
+ "RESOLVED",
+ "MISSING",
+ "AMBIGUOUS",
+ "UNSAFE",
+ "UNSUPPORTED",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "route",
+ "inputSchema",
+ "outputSchema"
+ ],
+ "type": "object"
+ },
+ "runtime": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "REMOTE_MCP",
+ "LOCAL_STDIO",
+ "A2A_JSONRPC",
+ "HTTP_JSON",
+ "OPENAPI_HTTP",
+ "BOUNDED_FETCH",
+ "BROWSER",
+ "X402_PAYMENT",
+ "COMMERCE",
+ "UNSUPPORTED"
+ ],
+ "type": "string"
+ },
+ "package": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ecosystem": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "identifier": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "runtimeProfile": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "version": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "ecosystem",
+ "identifier",
+ "version",
+ "runtimeProfile"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requiredEnvironmentNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "package",
+ "requiredEnvironmentNames"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "providerAuthentication",
+ "operationCredentials",
+ "runtime",
+ "payment",
+ "browser",
+ "providerContract",
+ "providerBlockers",
+ "derivation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inquiry": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fit": {
+ "enum": [
+ "matches",
+ "partial",
+ "not_fit",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "question": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "replies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "messageId",
+ "text",
+ "at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "contacting",
+ "waiting",
+ "following_up",
+ "replied",
+ "needs_input",
+ "no_reply",
+ "not_contacted",
+ "outcome_unknown"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "question",
+ "replies"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "profileEvidence": {
+ "additionalProperties": false,
+ "properties": {
+ "channels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "CONVERSATION",
+ "API",
+ "WEB"
+ ],
+ "type": "string"
+ },
+ "nativeType": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "nativeType",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "companyIdentifier": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contractVersion": {
+ "const": "poppy-profile/1.0",
+ "type": "string"
+ },
+ "executable": {
+ "const": false,
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "identityBasis": {
+ "enum": [
+ "OAUTH_ISSUER",
+ "HTTPS_DOMAIN"
+ ],
+ "type": "string"
+ },
+ "identityReceiptDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "manifestDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "manifestUrl": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nativeReferralRefs": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "parserRevision": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "protocol": {
+ "const": "PAP",
+ "type": "string"
+ },
+ "protocolVersion": {
+ "maxLength": 32,
+ "pattern": "^(?:0\\.[1-4]|1\\.(?:0|[1-9][0-9]*))$",
+ "type": "string"
+ },
+ "servingDomain": {
+ "maxLength": 253,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9.-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "kind",
+ "protocol",
+ "protocolVersion",
+ "parserRevision",
+ "companyIdentifier",
+ "identityBasis",
+ "servingDomain",
+ "manifestUrl",
+ "observedAt",
+ "expiresAt",
+ "manifestDigest",
+ "identityReceiptDigest",
+ "channels",
+ "nativeReferralRefs",
+ "executable"
+ ],
+ "type": "object"
+ },
+ "protocolLabel": {
+ "const": "Poppy",
+ "type": "string"
+ },
+ "providerCheck": {
+ "enum": [
+ "not_attempted",
+ "confirmed",
+ "unconfirmed",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "providerFamilyRef": {
+ "anyOf": [
+ {
+ "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "rank": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "readiness": {
+ "enum": [
+ "ready",
+ "authentication_required",
+ "recheck_required",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "recordKind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "requiredSetup": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "credential",
+ "installation",
+ "provider_configuration"
+ ],
+ "type": "string"
+ },
+ "suppliedBy": {
+ "enum": [
+ "user",
+ "provider",
+ "runtime"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "suppliedBy",
+ "description"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "selected": {
+ "type": "boolean"
+ },
+ "uncertainties": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agentId",
+ "agentSlug",
+ "operationId",
+ "operationRevision",
+ "providerFamilyRef",
+ "rank",
+ "selected",
+ "name",
+ "description",
+ "requiredSetup",
+ "executionRequirements",
+ "executionGuidance",
+ "readiness",
+ "canStartThread",
+ "reasons",
+ "uncertainties",
+ "providerCheck",
+ "connectionMethods",
+ "connectionPrompt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "role": {
+ "enum": [
+ "suggested",
+ "used"
+ ],
+ "type": "string"
+ },
+ "searchId": {
+ "type": "string"
+ },
+ "type": {
+ "const": "agents",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "searchId",
+ "agents",
+ "role"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "enum": [
+ "approval",
+ "connection",
+ "unavailable",
+ "limit",
+ "user_control",
+ "input"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "threadId": {
+ "type": "string"
+ },
+ "type": {
+ "const": "checkpoint",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "reason",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "budget": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "outcome": {
+ "maxLength": 1200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alternativeOperationIds": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationIds": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "description",
+ "operationIds"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "timeline": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "outcome",
+ "timeline",
+ "budget",
+ "steps"
+ ],
+ "type": "object"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "dependsOn": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "objective": {
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "stepId",
+ "objective",
+ "agentId",
+ "dependsOn"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "type": {
+ "const": "plan",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actRequestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "actingAiId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "control": {
+ "enum": [
+ "user",
+ "coordinator"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "presentation": {
+ "enum": [
+ "chat",
+ "operation"
+ ],
+ "type": "string"
+ },
+ "sourceTurnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "thread_created",
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "handoff",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "agentId",
+ "threadId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "messageIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "partial": {
+ "type": "boolean"
+ },
+ "text": {
+ "type": "string"
+ },
+ "type": {
+ "const": "outcome",
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text",
+ "messageIds",
+ "verification",
+ "partial"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "clientMessageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "composer": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "library": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "outputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "description",
+ "outputSchema",
+ "example",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "export": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "human": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "states": {
+ "items": {
+ "enum": [
+ "input",
+ "running",
+ "needs_input",
+ "approval",
+ "success",
+ "empty",
+ "error"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "description",
+ "states"
+ ],
+ "type": "object"
+ },
+ "props": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "export",
+ "description",
+ "props",
+ "example"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "entry": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "files": {
+ "additionalProperties": {
+ "maxLength": 500000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "importName": {
+ "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "version": {
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "name",
+ "version",
+ "importName",
+ "entry",
+ "files",
+ "components"
+ ],
+ "type": "object"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "darwin_ui",
+ "uploaded",
+ "generated"
+ ],
+ "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"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "initialState": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "states": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "executionStatuses": {
+ "items": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "transitions": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "executionStatuses",
+ "transitions",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "argumentBindings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "target"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "bindings": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "path": {
+ "items": {
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 2,
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "message",
+ "field"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "source"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "modalities": {
+ "default": [
+ "text",
+ "voice"
+ ],
+ "items": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "presentation": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "runtimeComponents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "instructions",
+ "components",
+ "inputFields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "modalities",
+ "presentation",
+ "bindings"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "revision",
+ "initialState",
+ "instructions",
+ "states",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "authoring": {
+ "additionalProperties": false,
+ "properties": {
+ "draftId": {
+ "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"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "draftId",
+ "revision"
+ ],
+ "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",
+ "runtime_components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 6,
+ "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"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "modality": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "edit",
+ "continue"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "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"
+ },
+ "selection": {
+ "additionalProperties": false,
+ "properties": {
+ "catalogHash": {
+ "type": "string"
+ },
+ "catalogRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stateId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "variantId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "version": {
+ "const": "composer-selection.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "catalogRevision",
+ "catalogHash",
+ "operationId",
+ "stateId",
+ "variantId",
+ "model",
+ "confidence",
+ "fallback",
+ "latencyMs",
+ "inputTokens"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "contextSummary": {
+ "items": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "dataTransfers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "digest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "private_context",
+ "new_recipient"
+ ],
+ "type": "string"
+ },
+ "sourceStepIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "approved",
+ "denied",
+ "superseded"
+ ],
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "stepId",
+ "digest",
+ "agentId",
+ "operationId",
+ "name",
+ "reason",
+ "status",
+ "sourceStepIds"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "presentation": {
+ "enum": [
+ "chat",
+ "operation"
+ ],
+ "type": "string"
+ },
+ "searchResult": {
+ "additionalProperties": false,
+ "properties": {
+ "contractVersion": {
+ "const": "search-v3.0",
+ "type": "string"
+ },
+ "delivery": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "library": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "outputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "description",
+ "outputSchema",
+ "example",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "export": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "human": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "states": {
+ "items": {
+ "enum": [
+ "input",
+ "running",
+ "needs_input",
+ "approval",
+ "success",
+ "empty",
+ "error"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "description",
+ "states"
+ ],
+ "type": "object"
+ },
+ "props": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "export",
+ "description",
+ "props",
+ "example"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "entry": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "files": {
+ "additionalProperties": {
+ "maxLength": 500000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "importName": {
+ "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "version": {
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "name",
+ "version",
+ "importName",
+ "entry",
+ "files",
+ "components"
+ ],
+ "type": "object"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "darwin_ui",
+ "uploaded",
+ "generated"
+ ],
+ "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"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "initialState": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "states": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "executionStatuses": {
+ "items": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "transitions": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "executionStatuses",
+ "transitions",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "argumentBindings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "target"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "bindings": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "path": {
+ "items": {
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 2,
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "message",
+ "field"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "source"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "modalities": {
+ "default": [
+ "text",
+ "voice"
+ ],
+ "items": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "presentation": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "runtimeComponents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "instructions",
+ "components",
+ "inputFields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "modalities",
+ "presentation",
+ "bindings"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "revision",
+ "initialState",
+ "instructions",
+ "states",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "authoring": {
+ "additionalProperties": false,
+ "properties": {
+ "draftId": {
+ "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"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "draftId",
+ "revision"
+ ],
+ "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",
+ "runtime_components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 6,
+ "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"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "modality": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "edit",
+ "continue"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "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"
+ },
+ "selection": {
+ "additionalProperties": false,
+ "properties": {
+ "catalogHash": {
+ "type": "string"
+ },
+ "catalogRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stateId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "variantId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "version": {
+ "const": "composer-selection.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "catalogRevision",
+ "catalogHash",
+ "operationId",
+ "stateId",
+ "variantId",
+ "model",
+ "confidence",
+ "fallback",
+ "latencyMs",
+ "inputTokens"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "previousResponseId": {
+ "anyOf": [
+ {
+ "pattern": "^sresp_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "response": {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "agentSlug": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "avatarUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canAttemptThread": {
+ "type": "boolean"
+ },
+ "canStartThread": {
+ "type": "boolean"
+ },
+ "connectionMethods": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "documentationUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "endpointStatus": {
+ "enum": [
+ "not_published",
+ "verified"
+ ],
+ "type": "string"
+ },
+ "endpointUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "environment": {
+ "enum": [
+ "remote_client",
+ "browser_session"
+ ],
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "MCP",
+ "A2A",
+ "WEBMCP"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "protocol",
+ "environment",
+ "endpointUrl",
+ "endpointStatus",
+ "documentationUrl"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "connectionPrompt": {
+ "maxLength": 60000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "executionGuidance": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "credentialSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "credentialSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "primaryBlockerCode": {
+ "anyOf": [
+ {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recordBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "rendererVersion": {
+ "const": "execution-guidance-v1",
+ "type": "string"
+ },
+ "setupSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "setupSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "credentialSummaryCode",
+ "credentialSummary",
+ "setupSummaryCode",
+ "setupSummary",
+ "recordBlockers",
+ "primaryBlockerCode",
+ "rendererVersion"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "executionRequirements": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "browser": {
+ "additionalProperties": false,
+ "properties": {
+ "sessionKind": {
+ "anyOf": [
+ {
+ "enum": [
+ "ANONYMOUS",
+ "PROVIDER_SESSION",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sessionKind"
+ ],
+ "type": "object"
+ },
+ "contractVersion": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "derivation": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "COMPLETE",
+ "PARTIAL"
+ ],
+ "type": "string"
+ },
+ "derivationKey": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "normalizerVersion": {
+ "const": "execution-requirements-v1",
+ "type": "string"
+ },
+ "sourceReceiptDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceRevision": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "normalizerVersion",
+ "sourceRevision",
+ "sourceReceiptDigest",
+ "completeness",
+ "derivationKey"
+ ],
+ "type": "object"
+ },
+ "operationCredentials": {
+ "additionalProperties": false,
+ "properties": {
+ "sensitiveInputNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sensitiveInputNames"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ },
+ "termsDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "termsDigest"
+ ],
+ "type": "object"
+ },
+ "providerAuthentication": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "enum": [
+ "PROVIDER_DECLARED",
+ "PROVIDER_OBSERVED",
+ "DERIVED_FROM_VERIFIED_RECEIPT",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "mechanisms": {
+ "items": {
+ "enum": [
+ "BEARER",
+ "API_KEY",
+ "OAUTH2",
+ "HTTP_BASIC",
+ "MUTUAL_TLS",
+ "SIGNED_REQUEST",
+ "SESSION_COOKIE",
+ "OPERATION_SECRET_INPUT",
+ "UNSPECIFIED"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "placements": {
+ "items": {
+ "enum": [
+ "HEADER",
+ "QUERY",
+ "COOKIE",
+ "BODY",
+ "TOOL_ARGUMENT",
+ "ENVIRONMENT",
+ "AUTH_CONTINUATION"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "mechanisms",
+ "placements",
+ "scopes",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "providerBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "providerContract": {
+ "additionalProperties": false,
+ "properties": {
+ "inputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "outputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "route": {
+ "enum": [
+ "RESOLVED",
+ "MISSING",
+ "AMBIGUOUS",
+ "UNSAFE",
+ "UNSUPPORTED",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "route",
+ "inputSchema",
+ "outputSchema"
+ ],
+ "type": "object"
+ },
+ "runtime": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "REMOTE_MCP",
+ "LOCAL_STDIO",
+ "A2A_JSONRPC",
+ "HTTP_JSON",
+ "OPENAPI_HTTP",
+ "BOUNDED_FETCH",
+ "BROWSER",
+ "X402_PAYMENT",
+ "COMMERCE",
+ "UNSUPPORTED"
+ ],
+ "type": "string"
+ },
+ "package": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ecosystem": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "identifier": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "runtimeProfile": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "version": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "ecosystem",
+ "identifier",
+ "version",
+ "runtimeProfile"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requiredEnvironmentNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "package",
+ "requiredEnvironmentNames"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "providerAuthentication",
+ "operationCredentials",
+ "runtime",
+ "payment",
+ "browser",
+ "providerContract",
+ "providerBlockers",
+ "derivation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inquiry": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fit": {
+ "enum": [
+ "matches",
+ "partial",
+ "not_fit",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "question": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "replies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "messageId",
+ "text",
+ "at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "contacting",
+ "waiting",
+ "following_up",
+ "replied",
+ "needs_input",
+ "no_reply",
+ "not_contacted",
+ "outcome_unknown"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "question",
+ "replies"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "profileEvidence": {
+ "additionalProperties": false,
+ "properties": {
+ "channels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "CONVERSATION",
+ "API",
+ "WEB"
+ ],
+ "type": "string"
+ },
+ "nativeType": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "nativeType",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "companyIdentifier": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contractVersion": {
+ "const": "poppy-profile/1.0",
+ "type": "string"
+ },
+ "executable": {
+ "const": false,
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "identityBasis": {
+ "enum": [
+ "OAUTH_ISSUER",
+ "HTTPS_DOMAIN"
+ ],
+ "type": "string"
+ },
+ "identityReceiptDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "manifestDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "manifestUrl": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nativeReferralRefs": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "parserRevision": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "protocol": {
+ "const": "PAP",
+ "type": "string"
+ },
+ "protocolVersion": {
+ "maxLength": 32,
+ "pattern": "^(?:0\\.[1-4]|1\\.(?:0|[1-9][0-9]*))$",
+ "type": "string"
+ },
+ "servingDomain": {
+ "maxLength": 253,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9.-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "kind",
+ "protocol",
+ "protocolVersion",
+ "parserRevision",
+ "companyIdentifier",
+ "identityBasis",
+ "servingDomain",
+ "manifestUrl",
+ "observedAt",
+ "expiresAt",
+ "manifestDigest",
+ "identityReceiptDigest",
+ "channels",
+ "nativeReferralRefs",
+ "executable"
+ ],
+ "type": "object"
+ },
+ "protocolLabel": {
+ "const": "Poppy",
+ "type": "string"
+ },
+ "providerCheck": {
+ "enum": [
+ "not_attempted",
+ "confirmed",
+ "unconfirmed",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "providerFamilyRef": {
+ "anyOf": [
+ {
+ "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "rank": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "readiness": {
+ "enum": [
+ "ready",
+ "authentication_required",
+ "recheck_required",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "recordKind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "requiredSetup": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "credential",
+ "installation",
+ "provider_configuration"
+ ],
+ "type": "string"
+ },
+ "suppliedBy": {
+ "enum": [
+ "user",
+ "provider",
+ "runtime"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "suppliedBy",
+ "description"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "selected": {
+ "type": "boolean"
+ },
+ "uncertainties": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agentId",
+ "agentSlug",
+ "operationId",
+ "operationRevision",
+ "providerFamilyRef",
+ "rank",
+ "selected",
+ "name",
+ "description",
+ "requiredSetup",
+ "executionRequirements",
+ "executionGuidance",
+ "readiness",
+ "canStartThread",
+ "reasons",
+ "uncertainties",
+ "providerCheck",
+ "connectionMethods",
+ "connectionPrompt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "assessment": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "strong",
+ "partial",
+ "clarify",
+ "no_match",
+ "unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "outcome",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "noMatchReason": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "overview": {
+ "anyOf": [
+ {
+ "maxLength": 32000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "plan": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "alternatives": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "dependsOn": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "objective": {
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "stepId",
+ "agentId",
+ "operationId",
+ "objective",
+ "dependsOn"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "question": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "relatedSearches": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "query": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agents",
+ "relatedSearches",
+ "question",
+ "noMatchReason"
+ ],
+ "type": "object"
+ },
+ "responseId": {
+ "pattern": "^sresp_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchId": {
+ "pattern": "^srch_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchToken": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "needs_input",
+ "no_match"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "searchId",
+ "responseId",
+ "previousResponseId",
+ "contractVersion",
+ "status",
+ "response"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "target": {
+ "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"
+ },
+ "turnId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "turnId",
+ "clientMessageId",
+ "message",
+ "status",
+ "blocks",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ }
+ },
+ "required": [
+ "turns",
+ "nextBefore",
+ "eventCursor"
+ ],
+ "type": "object"
+ },
+ "conversationId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "conversationToken": {
+ "description": "Private guest token. Send as X-Assist-Token for subsequent requests.",
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "delivery": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "library": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "outputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "description",
+ "outputSchema",
+ "example",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "export": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "human": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "states": {
+ "items": {
+ "enum": [
+ "input",
+ "running",
+ "needs_input",
+ "approval",
+ "success",
+ "empty",
+ "error"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "description",
+ "states"
+ ],
+ "type": "object"
+ },
+ "props": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "export",
+ "description",
+ "props",
+ "example"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "entry": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "files": {
+ "additionalProperties": {
+ "maxLength": 500000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "importName": {
+ "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "version": {
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "name",
+ "version",
+ "importName",
+ "entry",
+ "files",
+ "components"
+ ],
+ "type": "object"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "darwin_ui",
+ "uploaded",
+ "generated"
+ ],
+ "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"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "initialState": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "states": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "executionStatuses": {
+ "items": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "transitions": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "executionStatuses",
+ "transitions",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "argumentBindings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "target"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "bindings": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "path": {
+ "items": {
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 2,
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "message",
+ "field"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "source"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "modalities": {
+ "default": [
+ "text",
+ "voice"
+ ],
+ "items": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "presentation": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "runtimeComponents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "instructions",
+ "components",
+ "inputFields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "modalities",
+ "presentation",
+ "bindings"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "revision",
+ "initialState",
+ "instructions",
+ "states",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "authoring": {
+ "additionalProperties": false,
+ "properties": {
+ "draftId": {
+ "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"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "draftId",
+ "revision"
+ ],
+ "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",
+ "runtime_components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 6,
+ "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"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "modality": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "edit",
+ "continue"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "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"
+ },
+ "selection": {
+ "additionalProperties": false,
+ "properties": {
+ "catalogHash": {
+ "type": "string"
+ },
+ "catalogRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stateId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "variantId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "version": {
+ "const": "composer-selection.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "catalogRevision",
+ "catalogHash",
+ "operationId",
+ "stateId",
+ "variantId",
+ "model",
+ "confidence",
+ "fallback",
+ "latencyMs",
+ "inputTokens"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "funding": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "fundingAuthorizationId": {
+ "pattern": "^afund_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "reserving",
+ "reserved",
+ "releasing",
+ "released"
+ ],
+ "type": "string"
+ },
+ "totalBudgetMinor": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "fundingAuthorizationId",
+ "quoteId",
+ "revisionId",
+ "totalBudgetMinor",
+ "currency",
+ "status",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "goal": {
+ "type": "string"
+ },
+ "latestRevisionId": {
+ "anyOf": [
+ {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "user",
+ "assist"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text",
+ "at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "previousRuns": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "additionalProperties": false,
+ "properties": {
+ "cancellationTerms": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fundingStatus": {
+ "enum": [
+ "not_authorized",
+ "authorized"
+ ],
+ "type": "string"
+ },
+ "maximumExecutionMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximumFeeMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "rateBasis": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "rateBps": {
+ "maximum": 1800,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "totalBudgetMinor": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "unallocatedMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "quoteId",
+ "revisionId",
+ "currency",
+ "totalBudgetMinor",
+ "rateBps",
+ "rateBasis",
+ "maximumExecutionMinor",
+ "maximumFeeMinor",
+ "unallocatedMinor",
+ "createdAt",
+ "expiresAt",
+ "fundingStatus",
+ "cancellationTerms"
+ ],
+ "type": "object"
+ },
+ "run": {
+ "additionalProperties": false,
+ "properties": {
+ "actingAiId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "runId": {
+ "pattern": "^arun_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "settlement": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "executionSpendMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "outcomeFeeMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returnedMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "executionSpendMinor",
+ "outcomeFeeMinor",
+ "returnedMinor"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "startedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "starting",
+ "running",
+ "paused",
+ "completed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptedMessageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "actRequestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "errorCode": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observation": {
+ "additionalProperties": false,
+ "properties": {
+ "confirmedResultIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "needsAttention": {
+ "type": "boolean"
+ },
+ "pendingRequestIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "readStatus": {
+ "enum": [
+ "available",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "readStatus",
+ "needsAttention",
+ "pendingRequestIds",
+ "confirmedResultIds"
+ ],
+ "type": "object"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "starting",
+ "thread_open",
+ "waiting",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "stepId",
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "status",
+ "threadId",
+ "errorCode"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "runId",
+ "revisionId",
+ "quoteId",
+ "actingAiId",
+ "status",
+ "startedAt",
+ "settlement",
+ "steps"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "run",
+ "quote"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "type": "array"
+ },
+ "quote": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cancellationTerms": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fundingStatus": {
+ "enum": [
+ "not_authorized",
+ "authorized"
+ ],
+ "type": "string"
+ },
+ "maximumExecutionMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximumFeeMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "rateBasis": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "rateBps": {
+ "maximum": 1800,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "totalBudgetMinor": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "unallocatedMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "quoteId",
+ "revisionId",
+ "currency",
+ "totalBudgetMinor",
+ "rateBps",
+ "rateBasis",
+ "maximumExecutionMinor",
+ "maximumFeeMinor",
+ "unallocatedMinor",
+ "createdAt",
+ "expiresAt",
+ "fundingStatus",
+ "cancellationTerms"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "revisions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "canAttemptThread": {
+ "type": "boolean"
+ },
+ "canStartThread": {
+ "type": "boolean"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "readiness": {
+ "enum": [
+ "ready",
+ "authentication_required",
+ "recheck_required",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "name",
+ "description",
+ "canStartThread",
+ "readiness"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "plan": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "goal": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accessRequired": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "alternativeAgentIds": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "approvalRequired": {
+ "const": true,
+ "default": true,
+ "type": "boolean"
+ },
+ "dependsOn": {
+ "default": [],
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "evidenceRequired": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "objective": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "stepId",
+ "objective",
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "alternativeAgentIds",
+ "dependsOn",
+ "evidenceRequired",
+ "accessRequired",
+ "approvalRequired"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "stoppingPoints": {
+ "default": [],
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "successCriteria": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "successCriteria",
+ "steps",
+ "stoppingPoints"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "revisionId",
+ "createdAt",
+ "searchId",
+ "summary",
+ "plan",
+ "agents"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "type": "array"
+ },
+ "run": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actingAiId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "quoteId": {
+ "pattern": "^aqt_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "revisionId": {
+ "pattern": "^arev_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "runId": {
+ "pattern": "^arun_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "settlement": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "executionSpendMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "outcomeFeeMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returnedMinor": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "executionSpendMinor",
+ "outcomeFeeMinor",
+ "returnedMinor"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "startedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "starting",
+ "running",
+ "paused",
+ "completed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptedMessageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "actRequestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "errorCode": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observation": {
+ "additionalProperties": false,
+ "properties": {
+ "confirmedResultIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "needsAttention": {
+ "type": "boolean"
+ },
+ "pendingRequestIds": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "readStatus": {
+ "enum": [
+ "available",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "readStatus",
+ "needsAttention",
+ "pendingRequestIds",
+ "confirmedResultIds"
+ ],
+ "type": "object"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "starting",
+ "thread_open",
+ "waiting",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "stepId",
+ "agentId",
+ "operationId",
+ "operationRevision",
+ "status",
+ "threadId",
+ "errorCode"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "runId",
+ "revisionId",
+ "quoteId",
+ "actingAiId",
+ "status",
+ "startedAt",
+ "settlement",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "sessionId": {
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "planning",
+ "ready",
+ "running",
+ "paused",
+ "completed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "threadBrief": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "threadId": {
+ "description": "Deprecated alias for sessionId.",
+ "pattern": "^asst_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "threadTitle": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "conversationId",
+ "status",
+ "goal",
+ "messages",
+ "revisions",
+ "latestRevisionId",
+ "quote",
+ "funding",
+ "run",
+ "previousRuns",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contractVersion": {
+ "const": "search-v3.0",
+ "type": "string"
+ },
+ "delivery": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "library": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "outputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "description",
+ "outputSchema",
+ "example",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "example": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "export": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "human": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "states": {
+ "items": {
+ "enum": [
+ "input",
+ "running",
+ "needs_input",
+ "approval",
+ "success",
+ "empty",
+ "error"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "description",
+ "states"
+ ],
+ "type": "object"
+ },
+ "props": {
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "export",
+ "description",
+ "props",
+ "example"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "entry": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "files": {
+ "additionalProperties": {
+ "maxLength": 500000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "importName": {
+ "pattern": "^@[a-z0-9-]+\\/[a-z0-9-]+$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "version": {
+ "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[a-zA-Z0-9.-]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "name",
+ "version",
+ "importName",
+ "entry",
+ "files",
+ "components"
+ ],
+ "type": "object"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "darwin_ui",
+ "uploaded",
+ "generated"
+ ],
+ "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"
+ },
+ "experience": {
+ "additionalProperties": false,
+ "properties": {
+ "initialState": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "states": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "executionStatuses": {
+ "items": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "transitions": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "executionStatuses",
+ "transitions",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "argumentBindings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "target"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "bindings": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "path": {
+ "items": {
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 2,
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "message",
+ "field"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "source"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "instructions": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "modalities": {
+ "default": [
+ "text",
+ "voice"
+ ],
+ "items": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "presentation": {
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "runtimeComponents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "default": [],
+ "items": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "instructions",
+ "components",
+ "inputFields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "instructions",
+ "modalities",
+ "presentation",
+ "bindings"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "revision",
+ "initialState",
+ "instructions",
+ "states",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "runtimeRegions": {
+ "items": {
+ "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"
+ }
+ ]
+ },
+ "failure": {
+ "anyOf": [
+ {
+ "maxLength": 120,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "inputFields": {
+ "items": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "inputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "libraryDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "outputTokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sectionId": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "generated",
+ "ready",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "tree": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nodes": {
+ "items": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "sectionId",
+ "libraryDigest",
+ "status",
+ "artifactId",
+ "tree",
+ "inputFields",
+ "failure"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "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"
+ },
+ "authoring": {
+ "additionalProperties": false,
+ "properties": {
+ "draftId": {
+ "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"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "draftId",
+ "revision"
+ ],
+ "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",
+ "runtime_components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 6,
+ "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"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "modality": {
+ "enum": [
+ "text",
+ "voice",
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "edit",
+ "continue"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "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"
+ },
+ "selection": {
+ "additionalProperties": false,
+ "properties": {
+ "catalogHash": {
+ "type": "string"
+ },
+ "catalogRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fallback": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inputTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "latencyMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "model": {
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stateId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "variantId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "version": {
+ "const": "composer-selection.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "catalogRevision",
+ "catalogHash",
+ "operationId",
+ "stateId",
+ "variantId",
+ "model",
+ "confidence",
+ "fallback",
+ "latencyMs",
+ "inputTokens"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "presentation": {
+ "additionalProperties": false,
+ "properties": {
+ "agentView": {
+ "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"
+ },
+ "cards": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approval": {
+ "default": "none",
+ "enum": [
+ "none",
+ "user_review",
+ "account_access",
+ "payment"
+ ],
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema4"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "requiredInputs": {
+ "default": [],
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "tool": {
+ "enum": [
+ "get_agent_home",
+ "get_thread",
+ "start_thread",
+ "send_message",
+ "authenticate",
+ "pay"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "requiredInputs",
+ "available",
+ "approval"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "agentName": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "card": {
+ "additionalProperties": false,
+ "properties": {
+ "actionId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "agentId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "type": {
+ "const": "fields",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "user",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "type": {
+ "const": "conversation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "messages"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ "question": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "selectedId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "choices",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "question",
+ "options"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "completed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "pending",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "state"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "total": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "type": {
+ "const": "progress",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageAssetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "price": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "product",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "nextCursor": {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ "type": {
+ "const": "feed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "mediaType": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "type": {
+ "const": "document",
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "version": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "places": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "selectedId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "locations",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "places"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "events": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "location": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "start": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "proposed",
+ "confirmed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "start",
+ "end",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "timeZone": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "schedule",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "timeZone",
+ "events"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "text": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "info",
+ "attention",
+ "danger"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "notice",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tone",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "provider": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "required",
+ "checking",
+ "connected",
+ "expired",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "access",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "provider",
+ "scopes",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "currency": {
+ "maxLength": 10,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "payee": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "receiptId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "requested",
+ "processing",
+ "confirmed",
+ "failed",
+ "refunded",
+ "uncertain"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "payment",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "amount",
+ "currency",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "destination": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 10000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "operation": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "review",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "handoff",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "destination",
+ "operation",
+ "fields",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "voice",
+ "video",
+ "browser"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "invited",
+ "active",
+ "ended",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "session",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "mode",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "language": {
+ "maxLength": 40,
+ "type": "string"
+ },
+ "type": {
+ "const": "code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "code"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "columns": {
+ "items": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "anyOf": [
+ {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "type": {
+ "const": "table",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "columns",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "price": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "type": {
+ "const": "list",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "points": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "chart",
+ "type": "string"
+ },
+ "unit": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "points"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "caption": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "durationSeconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "mimeType": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "provenance": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "sizeBytes": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "transcript": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "image",
+ "audio",
+ "video",
+ "file"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "delivery": {
+ "enum": [
+ "draft",
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "from": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "subject": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "type": {
+ "const": "email",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "subject",
+ "body"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "start": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "proposed",
+ "confirmed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "timeZone": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "calendar",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "title",
+ "start"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "location",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "result": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "source": {
+ "maxLength": 64000,
+ "type": "string"
+ },
+ "type": {
+ "const": "comparison",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "source",
+ "result"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "pending",
+ "working",
+ "complete",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "state"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "type": {
+ "const": "steps",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "steps"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 10000,
+ "type": "string"
+ },
+ "eventId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "interaction": {
+ "enum": [
+ "read_only",
+ "editable",
+ "conversational",
+ "selectable",
+ "confirmation_required"
+ ],
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "operation",
+ "input",
+ "conversation",
+ "progress",
+ "result",
+ "decision",
+ "receipt",
+ "handoff"
+ ],
+ "type": "string"
+ },
+ "sourceCardId": {
+ "maxLength": 240,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f]+$",
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "draft",
+ "loading",
+ "working",
+ "needs_attention",
+ "partial",
+ "complete",
+ "failed",
+ "expired",
+ "cancelled",
+ "uncertain"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 1000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "role",
+ "state",
+ "interaction",
+ "title",
+ "agentId",
+ "content"
+ ],
+ "type": "object"
+ },
+ "illustrative": {
+ "default": false,
+ "type": "boolean"
+ },
+ "incomplete": {
+ "default": [],
+ "items": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "maxLength": 32000,
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "default": {},
+ "propertyNames": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "event": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "thread": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "variant": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "version": {
+ "const": "cards-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "card",
+ "variant",
+ "illustrative",
+ "inputs",
+ "actions",
+ "incomplete"
+ ],
+ "type": "object"
+ },
+ "maxItems": 300,
+ "type": "array"
+ },
+ "cursor": {
+ "anyOf": [
+ {
+ "maxLength": 4102,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "incomplete": {
+ "items": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "markdown": {
+ "maxLength": 2000000,
+ "type": "string"
+ },
+ "version": {
+ "const": "cards-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "cards",
+ "markdown",
+ "cursor",
+ "hasMore",
+ "incomplete"
+ ],
+ "type": "object"
+ },
+ "previousResponseId": {
+ "anyOf": [
+ {
+ "pattern": "^sresp_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "response": {
+ "additionalProperties": false,
+ "properties": {
+ "agents": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "agentSlug": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canAttemptThread": {
+ "type": "boolean"
+ },
+ "canStartThread": {
+ "type": "boolean"
+ },
+ "connectionMethods": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "documentationUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "endpointStatus": {
+ "enum": [
+ "not_published",
+ "verified"
+ ],
+ "type": "string"
+ },
+ "endpointUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "environment": {
+ "enum": [
+ "remote_client",
+ "browser_session"
+ ],
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "MCP",
+ "A2A",
+ "WEBMCP"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "protocol",
+ "environment",
+ "endpointUrl",
+ "endpointStatus",
+ "documentationUrl"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "connectionPrompt": {
+ "maxLength": 60000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "executionGuidance": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "credentialSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "credentialSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "primaryBlockerCode": {
+ "anyOf": [
+ {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recordBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "rendererVersion": {
+ "const": "execution-guidance-v1",
+ "type": "string"
+ },
+ "setupSummary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "setupSummaryCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "credentialSummaryCode",
+ "credentialSummary",
+ "setupSummaryCode",
+ "setupSummary",
+ "recordBlockers",
+ "primaryBlockerCode",
+ "rendererVersion"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "executionRequirements": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "browser": {
+ "additionalProperties": false,
+ "properties": {
+ "sessionKind": {
+ "anyOf": [
+ {
+ "enum": [
+ "ANONYMOUS",
+ "PROVIDER_SESSION",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sessionKind"
+ ],
+ "type": "object"
+ },
+ "contractVersion": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "derivation": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "COMPLETE",
+ "PARTIAL"
+ ],
+ "type": "string"
+ },
+ "derivationKey": {
+ "pattern": "^sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "normalizerVersion": {
+ "const": "execution-requirements-v1",
+ "type": "string"
+ },
+ "sourceReceiptDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceRevision": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "normalizerVersion",
+ "sourceRevision",
+ "sourceReceiptDigest",
+ "completeness",
+ "derivationKey"
+ ],
+ "type": "object"
+ },
+ "operationCredentials": {
+ "additionalProperties": false,
+ "properties": {
+ "sensitiveInputNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "sensitiveInputNames"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ },
+ "termsDigest": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "termsDigest"
+ ],
+ "type": "object"
+ },
+ "providerAuthentication": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "enum": [
+ "PROVIDER_DECLARED",
+ "PROVIDER_OBSERVED",
+ "DERIVED_FROM_VERIFIED_RECEIPT",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "mechanisms": {
+ "items": {
+ "enum": [
+ "BEARER",
+ "API_KEY",
+ "OAUTH2",
+ "HTTP_BASIC",
+ "MUTUAL_TLS",
+ "SIGNED_REQUEST",
+ "SESSION_COOKIE",
+ "OPERATION_SECRET_INPUT",
+ "UNSPECIFIED"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "placements": {
+ "items": {
+ "enum": [
+ "HEADER",
+ "QUERY",
+ "COOKIE",
+ "BODY",
+ "TOOL_ARGUMENT",
+ "ENVIRONMENT",
+ "AUTH_CONTINUATION"
+ ],
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "REQUIRED",
+ "NOT_REQUIRED",
+ "UNKNOWN",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "mechanisms",
+ "placements",
+ "scopes",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "providerBlockers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "PROVIDER_ROUTE_UNSUPPORTED",
+ "PROVIDER_SCHEMA_MISSING",
+ "PROVIDER_AUTH_SCHEME_UNSPECIFIED",
+ "PROVIDER_METADATA_INCOMPLETE",
+ "DARWIN_ADAPTER_UNAVAILABLE",
+ "DARWIN_ROUTE_NOT_APPROVED",
+ "DARWIN_LOCAL_RUNTIME_UNAVAILABLE",
+ "DARWIN_BROWSER_RUNTIME_UNAVAILABLE",
+ "DARWIN_PAYMENT_RUNTIME_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "owner": {
+ "enum": [
+ "PROVIDER",
+ "DARWIN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "owner"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "providerContract": {
+ "additionalProperties": false,
+ "properties": {
+ "inputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "outputSchema": {
+ "enum": [
+ "CONCRETE",
+ "DIGEST_ONLY",
+ "MISSING",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ },
+ "route": {
+ "enum": [
+ "RESOLVED",
+ "MISSING",
+ "AMBIGUOUS",
+ "UNSAFE",
+ "UNSUPPORTED",
+ "UNKNOWN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "route",
+ "inputSchema",
+ "outputSchema"
+ ],
+ "type": "object"
+ },
+ "runtime": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "REMOTE_MCP",
+ "LOCAL_STDIO",
+ "A2A_JSONRPC",
+ "HTTP_JSON",
+ "OPENAPI_HTTP",
+ "BOUNDED_FETCH",
+ "BROWSER",
+ "X402_PAYMENT",
+ "COMMERCE",
+ "UNSUPPORTED"
+ ],
+ "type": "string"
+ },
+ "package": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ecosystem": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "identifier": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "runtimeProfile": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "version": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "ecosystem",
+ "identifier",
+ "version",
+ "runtimeProfile"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requiredEnvironmentNames": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "package",
+ "requiredEnvironmentNames"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "providerAuthentication",
+ "operationCredentials",
+ "runtime",
+ "payment",
+ "browser",
+ "providerContract",
+ "providerBlockers",
+ "derivation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "imageUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inquiry": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "fit": {
+ "enum": [
+ "matches",
+ "partial",
+ "not_fit",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "question": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "replies": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "messageId",
+ "text",
+ "at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "contacting",
+ "waiting",
+ "following_up",
+ "replied",
+ "needs_input",
+ "no_reply",
+ "not_contacted",
+ "outcome_unknown"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "question",
+ "replies"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "profileEvidence": {
+ "additionalProperties": false,
+ "properties": {
+ "channels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "CONVERSATION",
+ "API",
+ "WEB"
+ ],
+ "type": "string"
+ },
+ "nativeType": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "nativeType",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "companyIdentifier": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contractVersion": {
+ "const": "poppy-profile/1.0",
+ "type": "string"
+ },
+ "executable": {
+ "const": false,
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "identityBasis": {
+ "enum": [
+ "OAUTH_ISSUER",
+ "HTTPS_DOMAIN"
+ ],
+ "type": "string"
+ },
+ "identityReceiptDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "manifestDigest": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "manifestUrl": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nativeReferralRefs": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "type": "array"
+ },
+ "observedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "parserRevision": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "protocol": {
+ "const": "PAP",
+ "type": "string"
+ },
+ "protocolVersion": {
+ "maxLength": 32,
+ "pattern": "^(?:0\\.[1-4]|1\\.(?:0|[1-9][0-9]*))$",
+ "type": "string"
+ },
+ "servingDomain": {
+ "maxLength": 253,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9.-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "contractVersion",
+ "kind",
+ "protocol",
+ "protocolVersion",
+ "parserRevision",
+ "companyIdentifier",
+ "identityBasis",
+ "servingDomain",
+ "manifestUrl",
+ "observedAt",
+ "expiresAt",
+ "manifestDigest",
+ "identityReceiptDigest",
+ "channels",
+ "nativeReferralRefs",
+ "executable"
+ ],
+ "type": "object"
+ },
+ "protocolLabel": {
+ "const": "Poppy",
+ "type": "string"
+ },
+ "providerCheck": {
+ "enum": [
+ "not_attempted",
+ "confirmed",
+ "unconfirmed",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "providerFamilyRef": {
+ "anyOf": [
+ {
+ "pattern": "^provider-family:sha256:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "rank": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "readiness": {
+ "enum": [
+ "ready",
+ "authentication_required",
+ "recheck_required",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "recordKind": {
+ "const": "COMPANY_PROFILE",
+ "type": "string"
+ },
+ "requiredSetup": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "credential",
+ "installation",
+ "provider_configuration"
+ ],
+ "type": "string"
+ },
+ "suppliedBy": {
+ "enum": [
+ "user",
+ "provider",
+ "runtime"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "suppliedBy",
+ "description"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "selected": {
+ "type": "boolean"
+ },
+ "uncertainties": {
+ "items": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agentId",
+ "agentSlug",
+ "operationId",
+ "operationRevision",
+ "providerFamilyRef",
+ "rank",
+ "selected",
+ "name",
+ "description",
+ "requiredSetup",
+ "executionRequirements",
+ "executionGuidance",
+ "readiness",
+ "canStartThread",
+ "reasons",
+ "uncertainties",
+ "providerCheck",
+ "connectionMethods",
+ "connectionPrompt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "assessment": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "strong",
+ "partial",
+ "clarify",
+ "no_match",
+ "unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "outcome",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "noMatchReason": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "plan": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "alternatives": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "dependsOn": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "objective": {
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stepId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "stepId",
+ "agentId",
+ "operationId",
+ "objective",
+ "dependsOn"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "question": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "relatedSearches": {
+ "default": [],
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "query": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "agents",
+ "relatedSearches",
+ "question",
+ "noMatchReason"
+ ],
+ "type": "object"
+ },
+ "responseId": {
+ "pattern": "^sresp_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchId": {
+ "pattern": "^srch_[a-f0-9-]{36}$",
+ "type": "string"
+ },
+ "searchToken": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "completed",
+ "needs_input",
+ "no_match"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "searchId",
+ "responseId",
+ "previousResponseId",
+ "contractVersion",
+ "status",
+ "response"
+ ],
+ "type": "object"
+ }
+]