{ "$defs": { "Prompt": { "additionalProperties": false, "properties": { "text": { "minLength": 1, "title": "Text", "type": "string" } }, "required": [ "text" ], "title": "Prompt", "type": "object" }, "ServiceDef": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "command": { "title": "Command", "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "title": "Port", "type": "integer" }, "health_check": { "title": "Health Check", "type": "string" }, "health_check_method": { "default": "GET", "enum": [ "POST", "GET" ], "title": "Health Check Method", "type": "string" }, "ready_timeout": { "default": 10.0, "exclusiveMinimum": 0, "title": "Ready Timeout", "type": "number" }, "reset_endpoint": { "title": "Reset Endpoint", "type": "string" }, "env": { "additionalProperties": { "type": "string" }, "title": "Env", "type": "object" } }, "required": [ "name", "command", "port", "health_check", "reset_endpoint" ], "title": "ServiceDef", "type": "object" }, "TaskContext": { "additionalProperties": false, "allOf": [ { "properties": { "source": { "enum": [ "messages", "mail", "chat" ] }, "thread_id": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "required": [ "source", "thread_id" ] }, { "if": { "properties": { "kind": { "const": "agent_history" } }, "required": [ "kind" ] }, "then": { "properties": { "source": { "const": "messages" } } } }, { "if": { "properties": { "kind": { "const": "external_conversation" } }, "required": [ "kind" ] }, "then": { "properties": { "messages": { "maxItems": 0 } } } } ], "properties": { "kind": { "enum": [ "agent_history", "external_conversation" ], "title": "Kind", "type": "string" }, "messages": { "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "title": "Messages", "type": "array" }, "source": { "anyOf": [ { "enum": [ "messages", "mail", "chat" ], "type": "string" }, { "type": "null" } ], "default": null, "title": "Source" }, "thread_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Thread Id" } }, "required": [ "kind" ], "title": "TaskContext", "type": "object" }, "ToolEndpoint": { "additionalProperties": false, "properties": { "tool_name": { "title": "Tool Name", "type": "string" }, "url": { "title": "Url", "type": "string" }, "method": { "default": "POST", "enum": [ "POST", "GET" ], "title": "Method", "type": "string" } }, "required": [ "tool_name", "url" ], "title": "ToolEndpoint", "type": "object" }, "ToolSpec": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "description": { "default": "", "title": "Description", "type": "string" }, "input_schema": { "additionalProperties": true, "title": "Input Schema", "type": "object" } }, "required": [ "name", "input_schema" ], "title": "ToolSpec", "type": "object" }, "UserAgentTaskConfig": { "additionalProperties": false, "description": "Claw-Eval's task-owned settings, with CamAct's 10-round default.", "properties": { "enabled": { "default": false, "title": "Enabled", "type": "boolean" }, "persona": { "default": "", "title": "Persona", "type": "string" }, "max_rounds": { "default": 10, "minimum": 1, "title": "Max Rounds", "type": "integer" }, "system_prompt_suffix": { "default": "", "title": "System Prompt Suffix", "type": "string" } }, "title": "UserAgentTaskConfig", "type": "object" } }, "additionalProperties": false, "properties": { "task_id": { "title": "Task Id", "type": "string" }, "task_type": { "enum": [ "single_turn", "users_history", "multi_turn" ], "title": "Task Type", "type": "string" }, "prompt": { "$ref": "#/$defs/Prompt" }, "context": { "anyOf": [ { "$ref": "#/$defs/TaskContext" }, { "type": "null" } ], "default": null }, "tools": { "items": { "$ref": "#/$defs/ToolSpec" }, "title": "Tools", "type": "array" }, "services": { "items": { "$ref": "#/$defs/ServiceDef" }, "title": "Services", "type": "array" }, "tool_endpoints": { "items": { "$ref": "#/$defs/ToolEndpoint" }, "title": "Tool Endpoints", "type": "array" }, "fixtures": { "items": { "type": "string" }, "title": "Fixtures", "type": "array" }, "user_agent": { "anyOf": [ { "$ref": "#/$defs/UserAgentTaskConfig" }, { "type": "null" } ], "default": null }, "scoring_components": { "items": { "additionalProperties": true, "if": { "required": [ "id" ] }, "properties": { "dimension": { "enum": [ "outcome_correctness", "context_grounding", "execution_state", "interaction_adaptation" ], "type": "string" } }, "then": { "required": [ "dimension" ] }, "type": "object" }, "title": "Scoring Components", "type": "array" }, "scoring_contract": { "anyOf": [ { "enum": [ "camact.atomic.v2", "camact.atomic.v3" ], "type": "string" }, { "type": "null" } ], "default": null, "title": "Scoring Contract" }, "dimension_weights": { "additionalProperties": { "type": "number" }, "title": "Dimension Weights", "type": "object" }, "grader": { "anyOf": [ { "const": "grader.py", "type": "string" }, { "type": "null" } ], "default": null, "title": "Grader" }, "judge_rubric": { "default": "", "title": "Judge Rubric", "type": "string" }, "reference_solution": { "additionalProperties": true, "title": "Reference Solution", "type": "object" }, "safety_checks": { "items": { "additionalProperties": true, "type": "object" }, "title": "Safety Checks", "type": "array" }, "evaluator_config": { "const": "evaluator_config.json", "default": "evaluator_config.json", "title": "Evaluator Config", "type": "string" } }, "required": [ "task_id", "task_type", "prompt", "tools" ], "title": "TaskDefinition", "type": "object" }