【问题标题】:How to fix this schema markup, I am getting the error code Duplicate key found如何修复此架构标记,我收到错误代码 Duplicate key found
【发布时间】:2019-05-31 14:40:43
【问题描述】:

你能帮我修复这个架构标记吗?在 Google 结构化数据测试工具上进行测试时,我收到错误代码:

在第 119 行的对象声明中发现重复键

<!-- JSON-LD markup generated by Google Structured Data Markup Helper. -->
<script type="application/ld+json">
{
  "@context" : "http://socialwetalk.me",
  "@type" : "LocalBusiness",
 "name" : "SocialWeTalk",
  "image" : [ "http://socialwetalk.me/wp-content/uploads/2019/03/macbook_mockup-1.png", "http://socialwetalk.me/wp-content/uploads/2018/08/service-summary-2.png" ],
"priceRange" : "$450 - $850",
  "telephone" : "+961 76 020 274",
  "email" : "info@socialwetalk.me",
  "address" : {
    "@type" : "PostalAddress",
    "streetAddress" : "Hamra, Jeanne d'Arc",
    "addressLocality" : "Beirut"
  },
  "geo" : {
    "@type" : "GeoCoordinates",
    "latitude" : "33.897835",
    "longitude" : "35.481523"
  },
"@type":"Review",
"itemReviewed":{"@type":"Product","name":"SocialWeTalk"}
"reviewRating":{"@type":"Rating","ratingValue":4.5,"bestRating":5}
"author":{"@type":"Person","name":"Samir Tutunji"}
"reviewBody":"SocialWeTalk helped us understand where our customers are coming from, and came up with an innovative concept online to keep them coming..."}
}
</script>

我正在使用 Google 结构化数据测试工具来验证我的工作

【问题讨论】:

    标签: schema


    【解决方案1】:

    已修复并重新格式化

    <!-- JSON-LD markup generated by Google Structured Data Markup Helper. -->
    <script type="application/ld+json">
    {
      "@context" : "http://schema.org",
      "@type" : "LocalBusiness",
      "name" : "SocialWeTalk",
      "image" : [ "http://socialwetalk.me/wp-content/uploads/2019/03/macbook_mockup-1.png", "http://socialwetalk.me/wp-content/uploads/2018/08/service-summary-2.png" ],
      "priceRange" : "$450 - $850",
      "telephone" : "+961 76 020 274",
      "email" : "info@socialwetalk.me",
      "address" : {
        "@type" : "PostalAddress",
        "streetAddress" : "Hamra, Jeanne d'Arc",
        "addressLocality" : "Beirut"
      },
      "review" : [
        {
        "@type" : "Review",
        "author" : {
          "@type" : "Person",
          "name" : "Pro Retrofits"
        },
        "reviewBody" : "We love our clients"
      }, {
        "@type" : "Review",
        "author" : {
          "@type" : "Person",
          "name" : "Crunch"
        },
        "reviewBody" : "We love our clients"
        }, {
        "@type" : "Review",
        "author" : {
          "@type" : "Person",
          "name" : "SocialWeTalk"
        }],
      "geo" : {
        "@type" : "GeoCoordinates",
        "latitude" : "33.897835",
        "longitude" : "35.481523"
      }
      }
     </script>
    <script type="application/ld+json">
    {
        "@context":"http://socialwetalk.me","@type":"Review",
        "itemReviewed":{"@type":"Product","name":"SocialWeTalk"},
        "reviewRating":{"@type":"Rating","ratingValue":4.5,"bestRating":5},
        "author":{"@type":"Person","name":"Samir Tutunji"},
        "reviewBody":"SocialWeTalk helped us understand where our customers are coming from, and came up with an innovative concept online to keep them coming..."}
    </script>
    

    【讨论】:

      猜你喜欢
      • 2020-04-26
      • 2018-07-15
      • 2018-05-05
      • 1970-01-01
      • 2016-01-30
      • 1970-01-01
      • 1970-01-01
      • 2012-03-30
      • 1970-01-01
      相关资源
      最近更新 更多