{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/physea-ai/json-schema/physea-ai-delegation-create-request-schema.json",
  "title": "DelegationCreateRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/physea-ai-openapi.json#/components/schemas/DelegationCreateRequest",
  "properties": {
    "handoff_id": {
      "type": "string",
      "title": "Handoff Id"
    },
    "task": {
      "type": "string",
      "title": "Task"
    },
    "role": {
      "type": "string",
      "title": "Role"
    },
    "owned_paths": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Owned Paths"
    },
    "read_only_inputs": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Read Only Inputs"
    },
    "acceptance_criteria": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acceptance Criteria"
    },
    "stop_conditions": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stop Conditions"
    },
    "tool_manifest": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Manifest"
    }
  },
  "type": "object",
  "required": [
    "handoff_id",
    "task",
    "role",
    "owned_paths"
  ]
}