{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://weverlabs.com/schemas/client-agent-intake-request.schema.json",
  "title": "Client Agent Intake Request",
  "type": "object",
  "required": [
    "request_id",
    "requester_type",
    "requested_tool",
    "workflow_context",
    "desired_output",
    "return_route"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "requester_type": {
      "type": "string",
      "enum": [
        "client",
        "agent",
        "builder",
        "operator",
        "external_system"
      ]
    },
    "requester_name": {
      "type": "string"
    },
    "agent_id": {
      "type": "string"
    },
    "requested_tool": {
      "type": "string",
      "enum": [
        "tokenops",
        "financeops",
        "energyops",
        "distributionops",
        "packetops",
        "wever_labs_os"
      ]
    },
    "workflow_context": {
      "type": "object"
    },
    "evidence_references": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "desired_output": {
      "type": "object"
    },
    "return_route": {
      "type": "object"
    },
    "runtime_binding_required": {
      "type": "boolean",
      "default": true
    },
    "operator_review": {
      "type": "string",
      "enum": [
        "required",
        "available",
        "not_required"
      ]
    }
  }
}