Review 对象中的 aggregateRating

aggregateRating within Review object

我们正在尝试使用 aggregateRating 标签,但我们在 SDTT 中收到此警告:

The aggregateRating property inside a Review object applies to the review itself, as a creative work. Did you mean to use reviewRating instead.

我们想汇总所有用户的评论,而不是使用 reviewRating(我们已经将其用于我们自己的评论)。

有谁知道如何解决这个错误?

JSON-LD (example page):

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Review",
    "name": "It",
    "datePublished": "2017-09-06",
    "description": "Based on Stephen King's 1986 novel, […]",
    "url": "https://dev.commonsensemedia.org/movie-reviews/it",
    "reviewBody": "Based on Stephen King's 1986 novel, […]",
    "author": {
        "@type": "Person",
        "name": "Jeffrey M. Anderson",
        "sameAs": "https://dev.commonsensemedia.org/users/jeffrey-m-anderson"
    },
    "itemReviewed": {
        "@type": "Movie",
        "name": "It",
        "sameAs": "http://www.imdb.com/title/tt1396484/",
        "datePublished": "2017-09-08",
        "image": {
            "@type": "ImageObject",
            "url": "image.jpg"
        },
        "director": {
            "@type": "Person",
            "name": "Andres Muschietti"
        },
        "actor": [
            {
                "@type": "Person",
                "name": "Bill Skarsg\u00e5rd"
            },
            {
                "@type": "Person",
                "name": "Jaeden Lieberher"
            },
            {
                "@type": "Person",
                "name": "Finn Wolfhard"
            }
        ]
    },
    "publisher": {
        "@type": "Organization",
        "name": "Common Sense Media",
        "sameAs": "https://www.commonsensemedia.org"
    },
    "reviewRating": {
        "@type": "Rating",
        "ratingValue": "4"
    },
    "aggregateRating": {
        "@type": "AggregateRating",
        "ratingValue": "4.04651",
        "bestRating": 5,
        "worstRating": 1,
        "reviewCount": "43",
        "name": "Parents say",
        "description": "All parent member reviews for It"
    }
}
</script>

当您添加 aggregateRating property to the Review 项目时,综合评分是针对评论的,而不是针对已评论的项目。

如果综合评分是针对已评论的项目,您必须向该项目添加 aggregateRating(例如,Movie)。

如果这是您想要的,您可以将 aggregateRating 移动到 Movie 下,例如:

{
    "@context": "http://schema.org",
    "@type": "Review",

    "itemReviewed": {
        "@type": "Movie",

        "aggregateRating": {
          "@type": "AggregateRating"
        }

    }
}