{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://weverlabs.com/schemas/pilot-offer-intake-request.schema.json",
  "title": "Pilot Offer Intake Request",
  "type": "object",
  "required": [
    "request_id",
    "requester_type",
    "requested_tool",
    "input_summary",
    "desired_result",
    "callback_target"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "requester_type": {
      "type": "string",
      "enum": [
        "client",
        "agent",
        "builder"
      ]
    },
    "requested_tool": {
      "type": "string",
      "enum": [
        "packetops",
        "distributionops",
        "tokenops",
        "financeops",
        "energyops"
      ]
    },
    "input_summary": {
      "type": "string"
    },
    "available_inputs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "desired_result": {
      "type": "string"
    },
    "callback_target": {
      "type": "string"
    },
    "review_mode": {
      "type": "string",
      "enum": [
        "operator_review",
        "agent_assisted_review",
        "controlled_pilot"
      ],
      "default": "controlled_pilot"
    },
    "route_to_work_order": {
      "type": "boolean",
      "default": true
    }
  }
}