changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "actRequestId": {
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "runId": {
- "type": "string"
- },
- "status": {
- "enum": [
- "composed",
- "fallback"
- ],
- "type": "string"
- },
- "ui": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "binding": {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "arguments"
- ],
- "type": "object"
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "requiredInputs": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "label",
- "available",
- "requiredInputs",
- "approval"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "data": {
- "$ref": "#/$defs/__schema0"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "data",
- "actions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "incomplete": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "version": {
- "const": "darwinui-agent-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "components",
- "incomplete"
- ],
- "type": "object"
- },
- "version": {
- "const": "composer.delivery.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "audience",
- "status",
- "markdown"
- ],
- "type": "object"
- },
- "searchId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "description": "Act Request handoff status only. Completed means thread receipts were created; read each thread for action confirmation and provider result.",
- "enum": [
- "pending",
- "completed",
- "partial",
- "failed"
- ],
- "type": "string"
- },
- "threadId": {
- "description": "The one created thread. Omitted for historical failed or batch receipts.",
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threads": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "errorCode": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "messageId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "operationRevision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "state": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accepted": {
- "type": "boolean"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "cancellationRequested": {
- "type": "boolean"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "awaiting_confirmation",
- "queued",
- "running",
- "waiting",
- "reconciling",
- "succeeded",
- "failed",
- "cancelled",
- "withdrawn"
- ],
- "type": "string"
- }
- },
- "required": [
- "action",
- "capability",
- "request",
- "status",
- "cancellationRequested"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "archived": {
- "type": "boolean"
- },
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "cursor": {
- "maxLength": 200,
- "minLength": 3,
- "pattern": "^.+:(0|[1-9][0-9]*)$",
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "runId": {
- "type": "string"
- },
- "status": {
- "enum": [
- "composed",
- "fallback"
- ],
- "type": "string"
- },
- "ui": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "binding": {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "arguments"
- ],
- "type": "object"
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "requiredInputs": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "label",
- "available",
- "requiredInputs",
- "approval"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "data": {
- "$ref": "#/$defs/__schema0"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "data",
- "actions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "incomplete": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "version": {
- "const": "darwinui-agent-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "components",
- "incomplete"
- ],
- "type": "object"
- },
- "version": {
- "const": "composer.delivery.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "audience",
- "status",
- "markdown"
- ],
- "type": "object"
- },
- "errors": {
- "description": "Error events in this page. Retryable does not authorize replaying an accepted effect or payment.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "code": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "event": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "event",
- "code",
- "retryable",
- "createdAt"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "hasMore": {
- "type": "boolean"
- },
- "messages": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema2"
- },
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "audio",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "from": {
- "enum": [
- "you",
- "agent",
- "darwin"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "type": {
- "const": "input_response",
- "type": "string"
- }
- },
- "required": [
- "message",
- "from",
- "content",
- "status",
- "createdAt",
- "type",
- "request",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "audio",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "inputRef": {
- "maxLength": 8192,
- "pattern": "^ofi_[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "type": {
- "const": "owner_file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "inputRef"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "from": {
- "enum": [
- "you",
- "agent",
- "darwin"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "type": {
- "const": "message",
- "type": "string"
- }
- },
- "required": [
- "message",
- "from",
- "content",
- "status",
- "createdAt",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 32000,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "audio",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "file",
- "type": "string"
- }
- },
- "required": [
- "type",
- "assetId"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "type": "array"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "data": {
- "$ref": "#/$defs/__schema3",
- "description": "Structured JSON returned by the action."
- },
- "from": {
- "enum": [
- "you",
- "agent",
- "darwin"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "accepted",
- "delivered",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "type": {
- "const": "result",
- "type": "string"
- }
- },
- "required": [
- "message",
- "from",
- "content",
- "status",
- "createdAt",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 100,
- "type": "array"
- },
- "needsAttention": {
- "type": "boolean"
- },
- "requests": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema4"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "inputSchemaResources": {
- "additionalProperties": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema5"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "input_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "capability",
- "inputSchema",
- "expiresAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema2"
- },
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "action_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "capability",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema2"
- },
- "propertyNames": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "capability": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "reason": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "approval_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "reason",
- "expiresAt",
- "capability",
- "arguments"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authenticationType": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*)*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "resource": {
- "format": "uri",
- "maxLength": 2000,
- "type": "string"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "targetAgent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "authentication_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "targetAgent",
- "authenticationType",
- "resource",
- "scopes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "scopes": {
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "targetAgent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "authentication_required",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "targetAgent",
- "scopes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "acceptedMethods": {
- "items": {
- "enum": [
- "card",
- "bank",
- "hosted_checkout",
- "darwin_wallet",
- "mpp",
- "x402",
- "ucp",
- "acp"
- ],
- "type": "string"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "amountMinor": {
- "pattern": "^[1-9][0-9]{0,17}$",
- "type": "string"
- },
- "currency": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "payee": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "agent",
- "name"
- ],
- "type": "object"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "payment_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "amountMinor",
- "currency",
- "payee",
- "acceptedMethods",
- "expiresAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "result": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "pending",
- "resolved",
- "expired",
- "cancelled",
- "settled",
- "failed",
- "voided",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- },
- "type": {
- "const": "completion_request",
- "type": "string"
- }
- },
- "required": [
- "request",
- "action",
- "status",
- "type",
- "result"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "thread": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "thread",
- "messages",
- "actions",
- "requests",
- "cursor",
- "hasMore",
- "archived",
- "needsAttention"
- ],
- "type": "object"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "agentId"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "request",
- "type": "string"
- }
- },
- "required": [
- "type",
- "actRequestId",
- "searchId",
- "status",
- "createdAt",
- "threads"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "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"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "supporting",
- "fallback"
- ],
- "type": "string"
- },
- "sessionId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "ready",
- "pending",
- "failed",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "capability",
- "role",
- "status",
- "artifactId",
- "sessionId",
- "actionReferences",
- "evidenceReferences"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "decisionId",
- "surfaces"
- ],
- "type": "object"
- },
- "facts": {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "appearance": {
- "additionalProperties": false,
- "properties": {
- "componentContracts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 2000,
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "instructions": {
- "maxLength": 4000,
- "type": "string"
- },
- "libraryName": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "instructions",
- "componentContracts"
- ],
- "type": "object"
- },
- "brand": {
- "additionalProperties": false,
- "properties": {
- "background": {
- "default": "#FFFFFF",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "font": {
- "default": "system",
- "enum": [
- "system",
- "serif",
- "mono"
- ],
- "type": "string"
- },
- "foreground": {
- "default": "#171717",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "primary": {
- "default": "#0071E3",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "secondary": {
- "default": "#AF52DE",
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- }
- },
- "required": [
- "primary",
- "secondary",
- "background",
- "foreground",
- "font"
- ],
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "loading": {
- "additionalProperties": false,
- "properties": {
- "asset": {
- "maxLength": 1400000,
- "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- },
- "kind": {
- "default": "darwin",
- "enum": [
- "darwin",
- "pulse",
- "media"
- ],
- "type": "string"
- },
- "poster": {
- "maxLength": 700000,
- "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description"
- ],
- "type": "object"
- },
- "execution": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "verification": {
- "enum": [
- "provider_reported",
- "criteria_checked",
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "verification"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_started",
- "queued",
- "running",
- "waiting",
- "completed",
- "failed",
- "cancelled",
- "unavailable"
- ],
- "type": "string"
- },
- "threadId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "turnId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "threadId",
- "turnId",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "operations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "encoding": {
- "const": "json",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "maxLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maximum": {
- "type": "number"
- },
- "minLength": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "minimum": {
- "type": "number"
- },
- "multiple": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary": {
- "type": "boolean"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "text",
- "number",
- "select"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "label",
- "type",
- "required"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "guidance": {
- "additionalProperties": false,
- "properties": {
- "afterInput": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "context": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "openingQuestion": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "primaryAction": {
- "default": "",
- "maxLength": 80,
- "type": "string"
- },
- "recovery": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- },
- "success": {
- "default": "",
- "maxLength": 1200,
- "type": "string"
- }
- },
- "required": [
- "openingQuestion",
- "primaryAction",
- "context",
- "afterInput",
- "success",
- "recovery"
- ],
- "type": "object"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "inputSchema": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "available",
- "reason",
- "fields"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "sessionContext": {
- "additionalProperties": false,
- "properties": {
- "brief": {
- "maxLength": 8000,
- "type": "string"
- },
- "goal": {
- "maxLength": 4000,
- "type": "string"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "enum": [
- "user",
- "assistant"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "role",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": "array"
- }
- },
- "required": [
- "goal",
- "brief",
- "messages"
- ],
- "type": "object"
- }
- },
- "required": [
- "agent",
- "operations",
- "execution"
- ],
- "type": "object"
- },
- "generated": {
- "additionalProperties": false,
- "properties": {
- "artifact": {
- "anyOf": [
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "focus": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "research",
- "type": "string"
- },
- "question": {
- "description": "One focused research question in 10-18 words.",
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sourceTypes": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "question",
- "focus",
- "sourceTypes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 110,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "description"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "extraction",
- "type": "string"
- },
- "purpose": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "url",
- "purpose",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "audience": {
- "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "columns": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "directory",
- "type": "string"
- },
- "questions": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "audience",
- "criteria",
- "columns",
- "questions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "maxLength": 140,
- "minLength": 1,
- "type": "string"
- },
- "headline": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "imageBrief": {
- "maxLength": 420,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "studio",
- "type": "string"
- },
- "palette": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-fA-F]{6}$",
- "type": "string"
- },
- "name": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "color"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "headline",
- "direction",
- "palette",
- "imageBrief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1",
- "4:5"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "maximum": 600,
- "minimum": 1,
- "type": "number"
- },
- "kind": {
- "const": "storyboard",
- "type": "string"
- },
- "scenes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 150,
- "type": "string"
- },
- "end": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "start": {
- "minimum": 0,
- "type": "number"
- },
- "title": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "visual": {
- "maxLength": 350,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "start",
- "end",
- "visual",
- "caption"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "durationSeconds",
- "aspectRatio",
- "scenes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "editorial",
- "type": "string"
- },
- "script": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "targetSeconds": {
- "anyOf": [
- {
- "maximum": 1800,
- "minimum": 1,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "tone": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "script",
- "tone",
- "targetSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "criteria": {
- "items": {
- "maxLength": 50,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "comparison",
- "type": "string"
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 42,
- "minLength": 1,
- "type": "string"
- },
- "values": {
- "items": {
- "maxLength": 120,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "name",
- "values"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "question": {
- "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "question",
- "criteria",
- "options",
- "basis"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "planner",
- "type": "string"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "durationMinutes": {
- "anyOf": [
- {
- "maximum": 10080,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "detail",
- "durationMinutes"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 2,
- "type": "array"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "steps"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "contingencyPercent": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "enum": [
- "USD",
- "EUR",
- "GBP",
- "CAD",
- "AUD",
- "INR",
- "JPY"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "maximum": 1000000,
- "minimum": 0,
- "type": "number"
- },
- "unitCost": {
- "maximum": 100000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "label",
- "quantity",
- "unitCost"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "estimate",
- "type": "string"
- },
- "title": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "currency",
- "items",
- "contingencyPercent",
- "assumptions"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "design": {
- "additionalProperties": false,
- "properties": {
- "character": {
- "enum": [
- "editorial",
- "research",
- "extraction",
- "directory",
- "storyboard",
- "studio",
- "comparison",
- "planner",
- "estimate",
- "utility"
- ],
- "type": "string"
- },
- "density": {
- "enum": [
- "relaxed",
- "compact"
- ],
- "type": "string"
- }
- },
- "required": [
- "character",
- "density"
- ],
- "type": "object"
- },
- "journey": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "argumentsJson": {
- "anyOf": [
- {
- "maxLength": 16000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "intent": {
- "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
- "maxLength": 800,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "default": "continue",
- "enum": [
- "continue",
- "execute",
- "copy"
- ],
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "label",
- "intent",
- "operationId",
- "argumentsJson"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "instruction": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "stage": {
- "enum": [
- "input",
- "review",
- "ready",
- "complete"
- ],
- "type": "string"
- }
- },
- "required": [
- "stage",
- "instruction",
- "action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "layout": {
- "enum": [
- "stack",
- "columns"
- ],
- "type": "string"
- },
- "mediaPrompt": {
- "anyOf": [
- {
- "maxLength": 4000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "next": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "intent": {
- "maxLength": 500,
- "type": "string"
- },
- "label": {
- "maxLength": 100,
- "type": "string"
- }
- },
- "required": [
- "label",
- "intent",
- "confidence"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "reactSource": {
- "anyOf": [
- {
- "maxLength": 50000,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "representation": {
- "enum": [
- "components",
- "react",
- "media",
- "agent"
- ],
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,63}$",
- "type": "string"
- },
- "items": {
- "items": {
- "maxLength": 800,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "kind": {
- "enum": [
- "message",
- "list",
- "fields",
- "operation",
- "progress",
- "results",
- "notice"
- ],
- "type": "string"
- },
- "operationId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "maxLength": 4000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "text",
- "items",
- "operationId"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "summary": {
- "maxLength": 3000,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title",
- "summary",
- "layout",
- "representation",
- "sections",
- "next",
- "reactSource",
- "mediaPrompt"
- ],
- "type": "object"
- },
- "markdown": {
- "maxLength": 20000,
- "type": "string"
- },
- "mode": {
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "scope": {
- "enum": [
- "global",
- "agent",
- "user"
- ],
- "type": "string"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "scope",
- "probability"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "version",
- "probability"
- ],
- "type": "object"
- },
- "request": {
- "additionalProperties": false,
- "properties": {
- "agentId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "audio": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "speech",
- "music"
- ],
- "type": "string"
- },
- "speed": {
- "maximum": 1.2,
- "minimum": 0.7,
- "type": "number"
- },
- "voice": {
- "enum": [
- "Rachel",
- "Aria"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "clientRequestId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "expectedRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "host": {
- "additionalProperties": false,
- "default": {
- "audience": "human",
- "capabilities": [
- "components",
- "markdown",
- "structured"
- ],
- "theme": "light",
- "viewport": "desktop"
- },
- "properties": {
- "audience": {
- "default": "human",
- "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
- "enum": [
- "human",
- "agent"
- ],
- "type": "string"
- },
- "capabilities": {
- "default": [
- "components",
- "markdown",
- "structured"
- ],
- "items": {
- "enum": [
- "components",
- "react",
- "media",
- "markdown",
- "structured"
- ],
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "theme": {
- "default": "light",
- "enum": [
- "light",
- "dark"
- ],
- "type": "string"
- },
- "viewport": {
- "default": "desktop",
- "enum": [
- "mobile",
- "desktop"
- ],
- "type": "string"
- }
- },
- "required": [
- "audience",
- "capabilities",
- "viewport",
- "theme"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "mode": {
- "default": "live",
- "enum": [
- "live",
- "replay",
- "simulation"
- ],
- "type": "string"
- },
- "operationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "presentationOverride": {
- "enum": [
- "markdown",
- "simple",
- "react",
- "world",
- "video",
- "audio",
- "game",
- "image",
- "model3d"
- ],
- "type": "string"
- },
- "previousRunId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadKind": {
- "default": "assist",
- "enum": [
- "assist",
- "operation"
- ],
- "type": "string"
- },
- "turnId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "clientRequestId",
- "agentId",
- "message",
- "threadKind",
- "mode",
- "host"
- ],
- "type": "object"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "runId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "version": {
- "enum": [
- "composer.v1",
- "composer.v2"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "runId",
- "revision",
- "mode",
- "request",
- "generated",
- "facts",
- "markdown",
- "artifactId",
- "policy",
- "diagnostics",
- "createdAt"
- ],
- "type": "object"
- },
- "runId": {
- "type": "string"
- },
- "status": {
- "enum": [
- "composed",
- "fallback"
- ],
- "type": "string"
- },
- "ui": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "approval": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "binding": {
- "additionalProperties": false,
- "properties": {
- "arguments": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "arguments"
- ],
- "type": "object"
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "requiredInputs": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "label",
- "available",
- "requiredInputs",
- "approval"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "data": {
- "$ref": "#/$defs/__schema0"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "data",
- "actions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "incomplete": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "version": {
- "const": "darwinui-agent-v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "components",
- "incomplete"
- ],
- "type": "object"
- },
- "version": {
- "const": "composer.delivery.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "audience",
- "status",
- "markdown"
- ],
- "type": "object"
- },
- "result": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cursor": {
- "maxLength": 200,
- "minLength": 3,
- "pattern": "^.+:(0|[1-9][0-9]*)$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "accepted",
- "type": "string"
- },
- "thread": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "thread",
- "message",
- "status",
- "cursor",
- "idempotencyKey"
- ],
- "type": "object"
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "awaiting_consent",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "authorizing",
- "exchanging",
- "expired",
- "denied",
- "failed"
- ],
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "connected",
- "type": "string"
- }
- },
- "required": [
- "authentication",
- "expiresAt",
- "status",
- "account"
- ],
- "type": "object"
- }
- ]
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "const": "selection_required",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "request",
- "status",
- "expiresAt",
- "url",
- "idempotencyKey"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "prepared",
- "dispatching",
- "uncertain",
- "pending"
- ],
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status",
- "url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "receipt": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "settled",
- "partially_refunded",
- "reversal_pending",
- "reversal_failed",
- "disputed",
- "refunded"
- ],
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status",
- "receipt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "payment": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "status": {
- "enum": [
- "failed",
- "voided"
- ],
- "type": "string"
- }
- },
- "required": [
- "payment",
- "expiresAt",
- "idempotencyKey",
- "status"
- ],
- "type": "object"
- }
- ]
- }
- ]
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "type": {
- "const": "continuation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "threadId",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actRequestId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "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"
+ },
+ "searchId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "description": "Act Request handoff status only. Completed means thread receipts were created; read each thread for action confirmation and provider result.",
+ "enum": [
+ "pending",
+ "completed",
+ "partial",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "description": "The one created thread. Omitted for historical failed or batch receipts.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "threads": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "errorCode": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "messageId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "operationRevision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "state": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accepted": {
+ "type": "boolean"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "cancellationRequested": {
+ "type": "boolean"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "awaiting_confirmation",
+ "queued",
+ "running",
+ "waiting",
+ "reconciling",
+ "succeeded",
+ "failed",
+ "cancelled",
+ "withdrawn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "capability",
+ "request",
+ "status",
+ "cancellationRequested"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "cursor": {
+ "maxLength": 200,
+ "minLength": 3,
+ "pattern": "^.+:(0|[1-9][0-9]*)$",
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "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"
+ },
+ "errors": {
+ "description": "Error events in this page. Retryable does not authorize replaying an accepted effect or payment.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "code": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "event": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "event",
+ "code",
+ "retryable",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "messages": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "audio",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "from": {
+ "enum": [
+ "you",
+ "agent",
+ "darwin"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "input_response",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "from",
+ "content",
+ "status",
+ "createdAt",
+ "type",
+ "request",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "audio",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "inputRef": {
+ "maxLength": 8192,
+ "pattern": "^ofi_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "type": {
+ "const": "owner_file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "inputRef"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "from": {
+ "enum": [
+ "you",
+ "agent",
+ "darwin"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "from",
+ "content",
+ "status",
+ "createdAt",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "text": {
+ "maxLength": 32000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "audio",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "assetId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "data": {
+ "$ref": "#/$defs/__schema3",
+ "description": "Structured JSON returned by the action."
+ },
+ "from": {
+ "enum": [
+ "you",
+ "agent",
+ "darwin"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "accepted",
+ "delivered",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "result",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "from",
+ "content",
+ "status",
+ "createdAt",
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "needsAttention": {
+ "type": "boolean"
+ },
+ "requests": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema4"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "inputSchemaResources": {
+ "additionalProperties": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema5"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "input_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "capability",
+ "inputSchema",
+ "expiresAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "action_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "capability",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "arguments": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "propertyNames": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "capability": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "approval_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "reason",
+ "expiresAt",
+ "capability",
+ "arguments"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authenticationType": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_]*)*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "resource": {
+ "format": "uri",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "targetAgent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authentication_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "targetAgent",
+ "authenticationType",
+ "resource",
+ "scopes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "targetAgent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "authentication_required",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "targetAgent",
+ "scopes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "acceptedMethods": {
+ "items": {
+ "enum": [
+ "card",
+ "bank",
+ "hosted_checkout",
+ "darwin_wallet",
+ "mpp",
+ "x402",
+ "ucp",
+ "acp"
+ ],
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "amountMinor": {
+ "pattern": "^[1-9][0-9]{0,17}$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "payee": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "agent",
+ "name"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "payment_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "amountMinor",
+ "currency",
+ "payee",
+ "acceptedMethods",
+ "expiresAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "result": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "expired",
+ "cancelled",
+ "settled",
+ "failed",
+ "voided",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "completion_request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "action",
+ "status",
+ "type",
+ "result"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "thread": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "thread",
+ "messages",
+ "actions",
+ "requests",
+ "cursor",
+ "hasMore",
+ "archived",
+ "needsAttention"
+ ],
+ "type": "object"
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "agentId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "actRequestId",
+ "searchId",
+ "status",
+ "createdAt",
+ "threads"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "version": {
+ "enum": [
+ "composer.v1",
+ "composer.v2"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "runId",
+ "revision",
+ "mode",
+ "request",
+ "generated",
+ "facts",
+ "markdown",
+ "artifactId",
+ "policy",
+ "diagnostics",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "supporting",
+ "fallback"
+ ],
+ "type": "string"
+ },
+ "sessionId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "pending",
+ "failed",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "capability",
+ "role",
+ "status",
+ "artifactId",
+ "sessionId",
+ "actionReferences",
+ "evidenceReferences"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "decisionId",
+ "surfaces"
+ ],
+ "type": "object"
+ },
+ "facts": {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "appearance": {
+ "additionalProperties": false,
+ "properties": {
+ "componentContracts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "instructions": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "libraryName": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "instructions",
+ "componentContracts"
+ ],
+ "type": "object"
+ },
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "background": {
+ "default": "#FFFFFF",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "font": {
+ "default": "system",
+ "enum": [
+ "system",
+ "serif",
+ "mono"
+ ],
+ "type": "string"
+ },
+ "foreground": {
+ "default": "#171717",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "primary": {
+ "default": "#0071E3",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "secondary": {
+ "default": "#AF52DE",
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primary",
+ "secondary",
+ "background",
+ "foreground",
+ "font"
+ ],
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "loading": {
+ "additionalProperties": false,
+ "properties": {
+ "asset": {
+ "maxLength": 1400000,
+ "pattern": "^data:(image\\/(gif|webp)|video\\/(mp4|webm));base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ },
+ "kind": {
+ "default": "darwin",
+ "enum": [
+ "darwin",
+ "pulse",
+ "media"
+ ],
+ "type": "string"
+ },
+ "poster": {
+ "maxLength": 700000,
+ "pattern": "^data:image\\/(png|jpeg);base64,[A-Za-z0-9+/]+=*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "execution": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "provider_reported",
+ "criteria_checked",
+ "observed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "verification"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "not_started",
+ "queued",
+ "running",
+ "waiting",
+ "completed",
+ "failed",
+ "cancelled",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "turnId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "threadId",
+ "turnId",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "json",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "maxLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maximum": {
+ "type": "number"
+ },
+ "minLength": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minimum": {
+ "type": "number"
+ },
+ "multiple": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary": {
+ "type": "boolean"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "number",
+ "select"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "label",
+ "type",
+ "required"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "guidance": {
+ "additionalProperties": false,
+ "properties": {
+ "afterInput": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "context": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "openingQuestion": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "primaryAction": {
+ "default": "",
+ "maxLength": 80,
+ "type": "string"
+ },
+ "recovery": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ },
+ "success": {
+ "default": "",
+ "maxLength": 1200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "openingQuestion",
+ "primaryAction",
+ "context",
+ "afterInput",
+ "success",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "inputSchema": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "description",
+ "available",
+ "reason",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "sessionContext": {
+ "additionalProperties": false,
+ "properties": {
+ "brief": {
+ "maxLength": 8000,
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "enum": [
+ "user",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal",
+ "brief",
+ "messages"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "operations",
+ "execution"
+ ],
+ "type": "object"
+ },
+ "generated": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "research",
+ "type": "string"
+ },
+ "question": {
+ "description": "One focused research question in 10-18 words.",
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceTypes": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "focus",
+ "sourceTypes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 110,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "extraction",
+ "type": "string"
+ },
+ "purpose": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "url",
+ "purpose",
+ "fields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "audience": {
+ "description": "The target prospect audience, e.g. independent fitness studios. Never the role of the person using this interface.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "directory",
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "audience",
+ "criteria",
+ "columns",
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "maxLength": 140,
+ "minLength": 1,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "imageBrief": {
+ "maxLength": 420,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "studio",
+ "type": "string"
+ },
+ "palette": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "headline",
+ "direction",
+ "palette",
+ "imageBrief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1",
+ "4:5"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "maximum": 600,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kind": {
+ "const": "storyboard",
+ "type": "string"
+ },
+ "scenes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "maxLength": 150,
+ "type": "string"
+ },
+ "end": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "start": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "title": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "visual": {
+ "maxLength": 350,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "start",
+ "end",
+ "visual",
+ "caption"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "durationSeconds",
+ "aspectRatio",
+ "scenes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "editorial",
+ "type": "string"
+ },
+ "script": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetSeconds": {
+ "anyOf": [
+ {
+ "maximum": 1800,
+ "minimum": 1,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tone": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "script",
+ "tone",
+ "targetSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "State whether these are proposed approaches, supplied facts, or verified evidence. Never invent product features or scores.",
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "maxLength": 50,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "const": "comparison",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 42,
+ "minLength": 1,
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "question": {
+ "description": "A concise decision question in 4-10 words, not a restatement of the entire brief.",
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "question",
+ "criteria",
+ "options",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "planner",
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMinutes": {
+ "anyOf": [
+ {
+ "maximum": 10080,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "detail",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 2,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "description": "Explicitly identify any assumed prices, quantities and currency. These are editable estimates, not provider quotes.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "contingencyPercent": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "EUR",
+ "GBP",
+ "CAD",
+ "AUD",
+ "INR",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "description": "Item name only. Never duplicate quantities, currency amounts or unit costs in this label; the user can edit those independently.",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unitCost": {
+ "maximum": 100000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "quantity",
+ "unitCost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "currency",
+ "items",
+ "contingencyPercent",
+ "assumptions"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "design": {
+ "additionalProperties": false,
+ "properties": {
+ "character": {
+ "enum": [
+ "editorial",
+ "research",
+ "extraction",
+ "directory",
+ "storyboard",
+ "studio",
+ "comparison",
+ "planner",
+ "estimate",
+ "utility"
+ ],
+ "type": "string"
+ },
+ "density": {
+ "enum": [
+ "relaxed",
+ "compact"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "character",
+ "density"
+ ],
+ "type": "object"
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "argumentsJson": {
+ "anyOf": [
+ {
+ "maxLength": 16000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "intent": {
+ "description": "A concrete next-step instruction in plain language. Never an opaque command token such as confirm_criteria.",
+ "maxLength": 800,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "default": "continue",
+ "enum": [
+ "continue",
+ "execute",
+ "copy"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "intent",
+ "operationId",
+ "argumentsJson"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "instruction": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "input",
+ "review",
+ "ready",
+ "complete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "instruction",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "enum": [
+ "stack",
+ "columns"
+ ],
+ "type": "string"
+ },
+ "mediaPrompt": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "next": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "intent": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "intent",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reactSource": {
+ "anyOf": [
+ {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "representation": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "maxLength": 800,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "message",
+ "list",
+ "fields",
+ "operation",
+ "progress",
+ "results",
+ "notice"
+ ],
+ "type": "string"
+ },
+ "operationId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "text",
+ "items",
+ "operationId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "summary": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "summary",
+ "layout",
+ "representation",
+ "sections",
+ "next",
+ "reactSource",
+ "mediaPrompt"
+ ],
+ "type": "object"
+ },
+ "markdown": {
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "live",
+ "replay",
+ "simulation"
+ ],
+ "type": "string"
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scope": {
+ "enum": [
+ "global",
+ "agent",
+ "user"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "scope",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "version",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "additionalProperties": false,
+ "properties": {
+ "agentId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "enum": [
+ "speech",
+ "music"
+ ],
+ "type": "string"
+ },
+ "speed": {
+ "maximum": 1.2,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "voice": {
+ "enum": [
+ "Rachel",
+ "Aria"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "clientRequestId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "host": {
+ "additionalProperties": false,
+ "default": {
+ "audience": "human",
+ "capabilities": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "theme": "light",
+ "viewport": "desktop"
+ },
+ "properties": {
+ "audience": {
+ "default": "human",
+ "description": "Who consumes this response. Controls presentation only; never identity, permissions, or approval.",
+ "enum": [
+ "human",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "capabilities": {
+ "default": [
+ "components",
+ "markdown",
+ "structured"
+ ],
+ "items": {
+ "enum": [
+ "components",
+ "react",
+ "media",
+ "markdown",
+ "structured"
+ ],
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "theme": {
+ "default": "light",
+ "enum": [
+ "light",
+ "dark"
+ ],
+ "type": "string"
+ },
+ "viewport": {
+ "default": "desktop",
+ "enum": [
+ "mobile",
+ "desktop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "audience",
+ "capabilities",
+ "viewport",
+ "theme"
+ ],
+ "type": "object"
+ },
+ "interaction": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "propertyNames": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "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"
+ },
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cursor": {
+ "maxLength": 200,
+ "minLength": 3,
+ "pattern": "^.+:(0|[1-9][0-9]*)$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "accepted",
+ "type": "string"
+ },
+ "thread": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "thread",
+ "message",
+ "status",
+ "cursor",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "awaiting_consent",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "authorizing",
+ "exchanging",
+ "expired",
+ "denied",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "connected",
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status",
+ "account"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "selection_required",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "request",
+ "status",
+ "expiresAt",
+ "url",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "prepared",
+ "dispatching",
+ "uncertain",
+ "pending"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "receipt": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "settled",
+ "partially_refunded",
+ "reversal_pending",
+ "reversal_failed",
+ "disputed",
+ "refunded"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status",
+ "receipt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "payment": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "failed",
+ "voided"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "payment",
+ "expiresAt",
+ "idempotencyKey",
+ "status"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ ]
+ },
+ "threadId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "type": {
+ "const": "continuation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "threadId",
+ "result"
+ ],
+ "type": "object"
+ }
+]