Skip to content

numberOfItems clarification #439

@unor

Description

@unor

The current description of numberOfItems:

The number of items in an ItemList. Note that some descriptions might not full describe all items in a list (e.g. multi-page pagination).

I think the second sentence could be more clear; a Stack Overflow user is also not sure about it.

It is my understanding that numberOfItems should always specify the total number, even for paginated or teaser lists. Correct?

Example: The homepage contains a sidebar, "My favorite movies", teasing only 2 of 6 movies, with a link to the page with the full list. In both cases, numberOfItems should be 6.

  <!-- http://example.com/ -->

  <div itemscope itemtype="http://schema.org/ItemList">
      <meta itemprop="numberOfItems" content="6"/>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
      <a itemprop="url" href="/favorite-movies">Full list</a>
  </div>

  <!-- http://example.com/favorite-movies -->

  <div itemscope itemtype="http://schema.org/ItemList">
      <link itemprop="url" href="/favorite-movies"/>
      <meta itemprop="numberOfItems" content="6"/>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
      <p itemprop="itemListElement"></p>
  </div>

I guess it would be different if the ItemList items had different URLs, as we’d have multiple lists then, not the same represented differently. Correct?

Metadata

Metadata

Assignees

Labels

schema.org vocabGeneral top level tag for issues on the vocabulary

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions