{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Unblock 11: Agent Task Specification",
    "description": "Define a clear job for an agent service. Focus on inputs, outputs, and safety rules.",
    "pages": [
      {
        "name": "task_intent",
        "elements": [
          {
            "type": "text",
            "name": "ixo:taskName",
            "title": "Task Name",
            "description": "Example: Image Quality Check or Evidence Review.",
            "isRequired": true
          },
          {
            "type": "comment",
            "name": "ixo:operationalIntent",
            "title": "What is the goal (Operational Intent)?",
            "description": "What is this task trying to achieve? Example: Make sure all photos are clear enough to see the work.",
            "isRequired": true
          },
          {
            "type": "comment",
            "name": "ixo:inputData",
            "title": "What data does the agent need to start?",
            "description": "List the required items. Example: The submitted photo and the student DID.",
            "isRequired": true
          }
        ]
      },
      {
        "name": "outputs_and_safety",
        "elements": [
          {
            "type": "text",
            "name": "ixo:expectedOutput",
            "title": "What is the expected result format?",
            "description": "Example: A 'Pass/Fail' status and a short reason for the decision.",
            "isRequired": true
          },
          {
            "type": "radiogroup",
            "name": "ixo:humanReviewTrigger",
            "title": "When must a human reviewer take over?",
            "isRequired": true,
            "choices": [
              {
                "value": "uncertainty",
                "text": "When the agent is not sure (Low confidence)."
              },
              {
                "value": "complex_case",
                "text": "When the evidence is unusual or complex."
              },
              {
                "value": "random_audit",
                "text": "Every 5th task to ensure quality."
              }
            ]
          },
          {
            "type": "file",
            "name": "ixo:taskSpecAsset",
            "title": "Upload your full Task Specification",
            "description": "Upload a photo or document of your structured design.",
            "isRequired": true,
            "sourceType": "file-camera"
          }
        ],
        "title": "Outputs and Guardrails"
      }
    ],
    "widthMode": "static",
    "width": "800px",
    "headerView": "advanced"
  }
}