Skip to content

Are the contents of an ItemList and ListItem dependant on the property they are used in? #3411

Answered by rrlevering
Toromyx asked this question in Q&A
Discussion options

You must be logged in to vote

By current schema.org semantics, the typing of the objects in the ItemList can be anything like an old school Java List. But in practice, they are going to be the things in the range of the property they are used in like you say. As a person who works on schema.org validation most of the time, this is super annoying.

I personally think schema.org could benefit from a move to a generic type more like you suggest, but it would require some more horizontal changes to collection structures and perhaps some thought to how they relate to RDF containers.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Toromyx
Comment options

You must be logged in to vote
1 reply
@rrlevering
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants