Skip to content
功能特色定价方案合作伙伴博客帮助关于我们联系我们
免费开始登录
返回博客
tips2027-06-305 分钟阅读

LocalBusiness Schema 餐厅标记:完整 JSON-LD 模板

schema.org Restaurant + Menu + AggregateRating + OpeningHoursSpecification 现成模板。thMenu 自动注入。包含 Google Rich Results 验证步骤。

th

thMenu Team

thmenu.com

布尔萨切基尔盖的新土耳其烤肉店想在"çekirge döner"搜索中排名,但 Search Console 提示"缺少结构化数据"。没有正确的 JSON-LD 模板,Google 不会在 SERP 中显示价格区间、营业时间或 4.7 星评分作为富文本结果。

组合:4 种 schema.org 类型于一个块中

餐厅页面应将 Restaurant(LocalBusiness 子类型)+ 嵌套 hasMenu + aggregateRating + openingHoursSpecification 合并到单个 JSON-LD 中。Google 将其索引为单一实体。

thMenu 从设置中读取地址、电话、营业时间和菜品,自动在 <head> 中生成 JSON-LD。无需手动编辑。

可复制模板

@context 必须为 "https://schema.org";@type 为 "Restaurant"。

{"@context":"https://schema.org","@type":"Restaurant","name":"Çekirge Döner","address":{"@type":"PostalAddress","streetAddress":"Hüdavendigar Mah. 12","addressLocality":"Bursa","postalCode":"16070","addressCountry":"TR"},"telephone":"+90-224-555-0142","priceRange":"$$","servesCuisine":"土耳其菜","hasMenu":"https://menu.thmenu.com/cekirge-doner","aggregateRating":{"@type":"AggregateRating","ratingValue":"4.7","reviewCount":"183"},"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],"opens":"11:00","closes":"23:00"}]}

验证:2 个工具

Google Rich Results Test 模拟 SERP 显示。Schema Markup Validator 验证技术合规性。目标:0 错误,0 警告。

常见问题

可以用虚假星级膨胀 aggregateRating 吗? 不能 — Google 会施加人工处罚,自然流量会消失。

两个 openingHoursSpecification 块用于午休? 可以,数组包含两个条目(11:00-14:00 和 16:00-23:00)。

需要单独的 Menu schema 吗? 可选但推荐 — 允许 Google 按菜品索引价格。

觉得有用?分享给朋友。