DTC 品牌营销知识库 DTCBM.COM 关注公众号

SEO · 结构化数据

Q&A / QAPage Schema

适用于用户围绕单个问题提交多条答案的页面(类似 Stack Overflow)。与 FAQPage(站点撰写、多组问答)不同。

属性类型必需/推荐说明
mainEntityQuestion必需页内唯一主题问题
Question.nameText必需问题标题
answerCountInteger必需答案数量
acceptedAnswer / suggestedAnswerAnswer必需至少其一
Answer.textText必需答案正文
Answer.authorPerson推荐答题者
Answer.upvoteCountInteger推荐赞同数
Answer.dateCreatedDateTime推荐创建时间(Google 推荐用 datePublished/dateModified)
Answer.urlURL推荐答案锚点链接(官方措辞为「强烈推荐」)

必需项仅为:mainEntity、Question.name、answerCount、acceptedAnswer/suggestedAnswer(至少其一)、Answer.text。其余(Answer.author、upvoteCount、dateCreated、url)按 Google 官方均为推荐(url 为强烈推荐)。下方示例仍演示了完整字段以供参考。

完整 JSON-LD 示例:

{
 "@context": "https://schema.org",
 "@type": "QAPage",
 "mainEntity": {
 "@type": "Question",
 "name": "How do I reset my smart lock to factory settings?",
 "text": "I bought a used smart lock and need to reset it completely. The previous owner's fingerprints are still stored. How can I do a full factory reset?",
 "answerCount": 2,
 "upvoteCount": 15,
 "dateCreated": "2024-08-10T09:00:00Z",
 "author": {
 "@type": "Person",
 "name": "NewHomeOwner"
 },
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "Hold the reset button on the back of the lock for 10 seconds until you hear a beep. Then release and wait for the LED to flash blue. The lock is now in factory default mode and you can set up new fingerprints.",
 "dateCreated": "2024-08-10T10:30:00Z",
 "upvoteCount": 42,
 "url": "https://example.com/questions/123#answer-1",
 "author": {
 "@type": "Person",
 "name": "SmartLockExpert"
 }
 },
 "suggestedAnswer": [
 {
 "@type": "Answer",
 "text": "Check your model's manual - some models require you to remove the battery pack first, then hold the reset button while reinserting batteries.",
 "dateCreated": "2024-08-11T08:15:00Z",
 "upvoteCount": 8,
 "url": "https://example.com/questions/123#answer-2",
 "author": {
 "@type": "Person",
 "name": "DIYHelper"
 }
 }
 ]
 }
}

来源

公众号 DTC品牌营销 二维码扫码 / 长按识别

接入知识库

把整套已验证知识接进你自己的 AI

关注公众号「DTC品牌营销」,自动发放知识库 MCP / CLI 接入 key,让你的 AI 直接调用全部已沉淀经验,并持续接收更新。

相关内容