W3C home > Mailing lists > Public > public-vocabs@w3.org > May 2014

RE: ItemList

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Wed, 14 May 2014 19:34:25 +0200
To: "'W3C Web Schemas Task Force'" <public-vocabs@w3.org>
Message-ID: <008f01cf6f9a$c12c5af0$438510d0$@gmx.net>
On Tuesday, May 13, 2014 8:19 PM, Jarno van Driel wrote
> 2014-05-13 20:02 GMT+02:00 Markus Lanthaler:
> > I asked this question already while ago but didn't get any answers, so
> > I'll ask again. How is ItemList intended to be used? Can it be used as
> > value for arbitrary properties that can be expected to take multiple
> > values? For example, can I link a http://schema.org/Blog to an
> > ItemList via the http://schema.org/blogPost property? Or isn't that
> > how it is intended to be used?
> 
> Personally I tried using it as for example:
> - a list of Products on an eCommerce category (Collection)page 
> - a list of JobPostings on an a JobPosting site's CollectionPage 
> - a list of articles related to a NewsArticle

Sorry, but this (and the rest of your email, and the replies from others) isn't really an answer to my question.
Let's keep it concrete: If I have a schema.org/Blog, can I link to the blog posts via an ItemList or not? So, is the following snippet an example of how ItemList is intended to be used?

   {
      "@context": "http://schema.org/",
      "@type": "Blog",
      "blogPost": {
        "@type": "ItemList",
        "itemListElement": [
          { "@type": "BlogPosting", ... },
          ...
        ]
      }
   }

In other words, can I as a publisher expect such data to be interpreted correctly? Do I as a data consumer have to reasonable expect data of this shape?


--
Markus Lanthaler
@markuslanthaler
Received on Wednesday, 14 May 2014 17:34:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:31 UTC