Comment


目录

import YoastSchemaExample from '../../../../src/components/YoastSchemaExample';

描述一条评论。通常在 Article 或 WebPage 的上下文中使用。

触发条件

当其他节点需要时(例如,当 Article 包含 comments 时),应作为顶级节点添加到图谱中。

必需属性

一个有效的 Comment 必须包含以下属性。

失败场景

如果任何必需字段缺失或无效,则不应输出该节点。

可选属性

在可用且有效时应添加以下属性:

示例

最低标准

{`{ "@context": "https://schema.org", "@graph": [ { "@type": "Comment", "@id": "https://www.example.com/#/schema/Comment/abc123", "about": { "@id": "https://www.example.com/blog/example-article/" }, "text": "Example comment content", "author": { "@id": "https://www.example.com/#/schema/Person/abc123" } } ] }`}

版本号 #2
由 壳壳虫 创建于 2026-03-26 17:08:40 UTC
由 壳壳虫 更新于 2026-03-26 17:08:40 UTC