{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/physea-ai/json-schema/physea-ai-handoff-create-request-schema.json",
  "title": "HandoffCreateRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/physea-ai-openapi.json#/components/schemas/HandoffCreateRequest",
  "properties": {
    "task": {
      "type": "string",
      "title": "Task"
    },
    "session_state": {
      "type": "string",
      "title": "Session State"
    },
    "evidence": {
      "type": "string",
      "title": "Evidence",
      "default": ""
    },
    "parent_handoff_id": {
      "type": "string",
      "title": "Parent Handoff Id",
      "default": ""
    },
    "resources": {
      "type": "string",
      "title": "Resources",
      "default": ""
    },
    "tool_manifest": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Manifest"
    },
    "subject": {
      "type": "string",
      "title": "Subject",
      "default": ""
    },
    "source_sessions": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Sessions"
    },
    "refs": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refs"
    }
  },
  "type": "object",
  "required": [
    "task",
    "session_state"
  ]
}