Have been adding html5 microdata to my online resume, and read in http://www.schema.org/docs/extension.html that you can extend existing schema.
I've been trying to extend Event to describe a Job with the following markup:
<div class="job" itemscope itemtype="http://schema.org/Event/Job">
<h2 itemprop="name">Web Developer</h2>
<div itemprop="organizer" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">Company Name 2</span>
<span itemprop="location">London</span>
</div>
<span itemprop="startDate">January 2000</span>
<span itemprop="endDate">February 2009</span>
<p itemprop="description">Lorem ipsum dolor sit amet, consectetuer adipiscing elit...</p>
</div>
When i use the Google Structured Data Testing Tool it gives the following errors:
Item
type: http://schema.org/event/job
property:
name: Web Developer
organizer: Item 4
start date: January 2000
enddate: February 2009
description: Lorem ipsum dolor sit amet, consectetuer adipiscing elit...
Error: Page contains property "name" which is not part of the schema.
Error: Page contains property "organizer" which is not part of the schema.
Error: Page contains property "startdate" which is not part of the schema.
Error: Page contains property "enddate" which is not part of the schema.
Error: Page contains property "description" which is not part of the schema.
Error: Missing required field "dtstart".
Error: Missing required field "name".
Any ideas what's wrong? and how it should be done?
Many thanks,!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…