You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何用JSON-LD标记Schema.org中LocalBusiness下带价格的Service

问题根因

Schema.org对属性所属类型有明确规定:price、priceCurrency是Offer(报价)类型的标准属性,不属于Service(服务)类型的可直接配置属性。你当前代码把价格相关字段写在了itemOffered嵌套的内层Service对象中,验证工具自然会提示属性无法识别。

修复步骤
  • 将所有固定价格套餐的price、priceCurrency字段,从内层Service对象移动到外层同级的Offer对象上
  • 价格标注为"Custom"的定制套餐,不要直接将非数值字符串写入price字段,改用priceSpecification字段声明为定制报价,避免触发数值格式警告
修复后可直接使用的代码
<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "LocalBusiness",
    "name" : "Charlotte Property Management",
    "hasOfferCatalog": {
        "@type": "OfferCatalog",
        "name": "Charlotte Property Management Plans",
        "itemListElement": [
              {
                "@type": "Offer",
                "price": "49",
                "priceCurrency": "USD",
                "itemOffered": {
                  "@type": "Service",
                  "name": "Silver Plan",
                  "description": "Our Silver Plan is developed for early-stage investors seeking to learn the intricacies of investment property management but with an added protection layer of professional oversight by our experienced team. This plan is perfect for DIY investment enthusiasts."
                }
              },
              {
                "@type": "Offer",
                "price": "99",
                "priceCurrency": "USD",
                "itemOffered": {
                  "@type": "Service",
                  "name": "Gold Plan",
                  "description": "The Gold Plan is designed for investors who value their time, treating their investment property as a business. If you are looking to delegate all aspects of property management and maintenance to our experienced team, while you focus on what matters in your life, this program is for you. Our Investment property acquisition, sale, and consulting services are included in this program."
                }
              },
              {
                "@type": "Offer",
                "price": "249",
                "priceCurrency": "USD",
                "itemOffered": {
                  "@type": "Service",
                  "name": "Platinum Plan",
                  "description": "The Platinum Plan is designed for the avid investor who is actively looking to build wealth by growing their Real Estate investment portfolio. The program includes full professional management services backed by our Uninterrupted Rent and Eviction Guarantees. Our Investment property acquisition, sale, and consulting services are included in this program."
                }
              },
              {
                "@type": "Offer",
                "priceCurrency": "USD",
                "priceSpecification": {
                  "@type": "PriceSpecification",
                  "priceType": "Custom quotation",
                  "description": "价格根据客户实际需求定制,可联系工作人员获取具体报价"
                },
                "itemOffered": {
                  "@type": "Service",
                  "name": "Guaranteed Income Plan",
                  "description": "Our Guaranteed Income Plan is a non-property management plan designed to free up your schedule, avoid rental income fluctuations, and make your rental property a continuously profitable investment."
                }
              }       
            ]
    }
}
</script>

调整完成后重新验证,原有属性无法识别的警告会完全消除。

内容的提问来源于stack exchange,提问作者Pavan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.03 05:39:32