{
  "name": "guangya-ai-market-demo-connector",
  "displayName": "光芽 AI 市场示例连接器",
  "version": "1.0.0",
  "description": "用于演示 ERP/WMS/OMS/TMS 接入光芽的 Manifest 模板。",
  "baseUrl": "https://api.example.com",
  "auth": {
    "type": "apiKey",
    "headerName": "X-API-Key",
    "secretRef": "GUANGYA_MARKET_DEMO_API_KEY"
  },
  "permissions": {
    "read": ["orders.read", "shipments.read", "vehicles.read"],
    "write": ["dispatch.create", "shipment.update"],
    "requiresHumanApproval": ["dispatch.create", "shipment.cancel", "price.update"]
  },
  "tools": [
    {
      "name": "searchOrders",
      "method": "GET",
      "path": "/orders",
      "description": "按客户、状态、时间范围查询订单。"
    },
    {
      "name": "getShipmentDetail",
      "method": "GET",
      "path": "/shipments/{shipmentId}",
      "description": "读取运单详情、轨迹和异常。"
    },
    {
      "name": "createDispatchPlan",
      "method": "POST",
      "path": "/dispatch/plans",
      "description": "创建调度方案，需人工确认后写入。"
    }
  ],
  "audit": {
    "logRequests": true,
    "logResponses": false,
    "maskFields": ["phone", "idCard", "licensePlate", "address"]
  }
}
