Talk:Product

From getSchema

Jump to: navigation, search

Schema Expected Types

Input:

 <span  itemscope itemtype="http://schema.org/Product">  <span itemprop="brand" itemscope itemtype="http://schema.org/Organization">Samsung   </span>  </span>

You get from Google Rich Snippets:

Extracted structured data Item  type:	http://schema.org/product property:	    brand: Item 1 Warning: Missing required field "name (fn)". Warning: Incomplete microdata with schema.org. Item 1 type:	http://schema.org/organization 

Therefore, when the type information is provided then one should also take care of an appropriate markup such as:

 <span  itemscope itemtype="http://schema.org/Product">  <span itemprop="brand" itemscope itemtype="http://schema.org/Organization">   <span itemprop="name">Samsung</span>   </span>  </span>

When you miss the type information then the “expected type principle” is enabled:

 <span  itemscope itemtype="http://schema.org/Product">  <span itemprop="brand">Samsung</span>  </span>

you get:

Extracted structured data: Item type:	http://schema.org/product property:	   brand:	Samsung  Warning: Missing required field "name (fn)". Warning: Incomplete microdata with schema.org. 

Admin66 15:41, 5 November 2012 (CET)

Personal tools

Namespaces

Variants

Actions

Navigation

Toolbox