N
N
NataliaCh2018-09-07 14:55:39
Search Engine Optimization
NataliaCh, 2018-09-07 14:55:39

How to understand dependencies in schema.org?

I'm trying to figure out schema.org. In general, it is understandable. But until now, here's the moment: there is, for example, info about the film (title, picture, directors, genres ...) - all this is described by schema.org/Movie. Then, under the information about the film, there is its rating, set by visitors. This entity is described by schema.org/AggregateRating. But how will the system understand that this rating applies specifically to this film? Do I need to specify the name of the film somewhere in the rating? Or is it enough that the rating is a nested entity in the movie (well, in the sense that the block with itemtype= schema.org/AggregateRating is nested in the block with itemtype= schema.org/Movie?
The same goes for the comments of visitors to this movie. How to make it clear that the comments are specifically for this movie ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Yudin, 2018-09-07
@NataliaCh

Yes, it is sufficient that AggregateRating be a nested Movie entity. If you move it outside the Movie entity, the validator will complain about take.ms/g81D2.
the same goes for the https://schema.org/Comment entity - it must be nested within a Movie

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question