{
  "kind": "agent-inquiry-contract",
  "requirementId": "WWW-R19",
  "encoding": "application/json",
  "charset": "utf-8",
  "secret": false,
  "submit": {
    "method": "POST",
    "path": "/agent-dock/inquiry",
    "contentType": "application/json"
  },
  "contract": "/agent-dock/inquiry.json",
  "fields": {
    "submittedBy": {
      "required": true,
      "const": "customer-llm-agent",
      "note": "Declared agent channel. Do not send a captcha token."
    },
    "name": {
      "required": true
    },
    "email": {
      "required": true
    },
    "problem": {
      "required": true,
      "note": "品項、數量、用途、希望交期"
    },
    "appellation": {
      "required": false
    },
    "phone": {
      "required": false
    },
    "country": {
      "required": false,
      "default": "台灣"
    },
    "company": {
      "required": false,
      "note": "公司或學校"
    },
    "problem_type": {
      "required": false,
      "default": "產品詢價"
    }
  },
  "example": {
    "submittedBy": "customer-llm-agent",
    "name": "王小明",
    "email": "demo@example.com",
    "country": "台灣",
    "company": "台灣大學",
    "problem_type": "產品詢價",
    "problem": "CompactRIO 教學用 2 套，希望交期兩週"
  },
  "mustNot": [
    "API key",
    "captcha token from /contact/",
    "AdminPort",
    "MCP"
  ],
  "delivery": "local-inbox when mailer unset; optional SMTP via WEFT_SMTP_HOST and WEFT_INQUIRY_TO"
}
