Oru*_*run 7 schema.org json-ld
假设您有一个个人资料页面,其中mainEntity包含Person. 您想列出该人的工作和教育经历,类似于简历。
Schema.org 的Occupation示例 4说明了如何使用Role和hasOccupation关联工作历史记录数组,如下所示:
{
"@context": "http://schema.org",
"@type": "Person",
"name": "Jane Smith",
"sameAs": "http://en.wikipedia.org/wiki/Jane_Smith",
"worksFor": {
"@type": "Organization",
"name": "McKinsey & Company",
"url" : "http://www.mckinsey.com"
},
"hasOccupation": [ {
"@type": "Role",
"hasOccupation": {
"@type": "Occupation",
"name": "Management Consultant"
},
"startDate": "2016-04-21"
}, {
"@type": "Role",
"hasOccupation": {
"@type": "Occupation",
"name": "Chief Strategic Officer"
},
"startDate": "2013-11-14",
"endDate": "2016-03-22"
}, {
"@type": "Role",
"hasOccupation": {
"@type": "Occupation",
"name": "Vice President of Sales"
},
"startDate": "2009-09-20",
"endDate": "2013-10-14"
}
]
}
Run Code Online (Sandbox Code Playgroud)
仅包含职业名称。Organization与此无关Occupation。
是否可以使用 Schema.org 词汇以这种方式更广泛地详细描述简历?(类似于微格式hresume)
旁注:教育历史并不那么困难,因为你可以包含一个Organization对象
"alumniOf": [ {
"@type": "OrganizationRole",
"alumniOf": {
"@type": "CollegeOrUniversity",
"name": "City University of New York",
"sameAs": "https://en.wikipedia.org/wiki/City_University_of_New_York"
},
"startDate": "1990",
"endDate": "1992",
"roleName": "MBA"
}, {
"@type": "OrganizationRole",
"alumniOf": {
"@type": "CollegeOrUniversity",
"name": "University of California, Berkeley",
"sameAs": "https://en.wikipedia.org/wiki/University_of_California,_Berkeley"
},
"startDate": "1983",
"endDate": "1987",
"roleName": "BSc Psychology"
}
]
Run Code Online (Sandbox Code Playgroud)
小智 8
好的,我知道这个问题已经有一段时间没有得到回复了,但我一直在关注这个问题,因为我正在尝试“JSONize”我的简历数据:)
这是我对工作经历采取的方法。我创造了我的人和它的所有属性,然后我有一个职业(我当前的职业),然后我有以前的职业(过去的自我,如果你愿意的话)。说了这么多,我可以告诉你,我把我的工作经历放在了我的 alumniOf 财产中。
根据 schema.org,alumniOf 属性用于说明已经结束的个人与组织关系;我不再在那些地方工作了。
然后,当我“实例化”组织对象时,他们可以拥有一名员工。该员工就是“过去的我”,当时的职业是在 xyz 公司工作。这个“过去的人”与我现在的人是同一个人,然后我使用类似于https://schema.org/Book中的示例 5 的格式进行链接。
看一下我下面的代码以获得一些说明。
我希望这会有所帮助——如果没有其他人可以过来调整我的回答,这样我们就可以得到一些对人们在谷歌上搜索时有用的东西。
{
"@context": "http://schema.org",
"@type": "Person",
"@id": "#john",
"name": "John Smith",
"address": {
"@type": "PostalAddress",
"addressCountry": "US",
"addressLocality": "Austin",
"addressRegion": "Florida",
"postalCode": "12345",
"streetAddress": "123 breeze way"
},
"email": "john@example.org",
"telephone": "1234567890",
"image": "",
"jobTitle": "Software Developer",
"description": "Blip about me...",
"contactPoint": [{
"@type": "ContactPoint",
"contactType": "LinkedIn",
"identifier": "johnsmith",
"image": "imageurl",
"url": "profileurl"
},
{
"@type": "ContactPoint",
"contactType": "GitHub",
"identifier": "johnsmith",
"image": "imageurl",
"url": "profileurl"
}
],
"url": "example.org",
"hasCredential": [{
"@type": "EducationalOccupationalCredential",
"aggregateRating": {
"@type": "aggregateRating",
"ratingValue": "3.51",
"name": "GPA"
},
"credentialCategory": "degree",
"educationalLevel": "Bachelors of Science",
"dateCreated": "2015-05",
"about": {
"@type": "EducationalOccupationalProgram",
"name": "Computer Engineering"
},
"recognizedBy": {
"@type": "CollegeOrUniversity",
"name": "Some Awesome University",
"sameAs": "urlgoeshere"
}
}],
"hasOccupation": {
"@type": "EmployeeRole",
"roleName": "role title goes here",
"startDate": "2015-06"
},
"worksFor": {
"@type": "Organization",
"name": "big company",
"sameAs": "urlgoeshere"
},
"award": [
"Organizational Achievement Awards Q3'17, Q2'19, Q3'19",
"Divisional Recognition Award Q1'19",
"Dean's List: Spring '12,'14; Fall '13",
"President's List: Spring '13; Fall '14",
"Eagle Scout Leadership Service Award 2011"
],
"alumniOf": [{
"@type": "Organization",
"name": "old workplace",
"sameAs": "urlgoeshere",
"employee": {
"@type": "Person",
"hasOccupation": {
"@type": "EmployeeRole",
"roleName": "Computer Consultant",
"startDate": "2012-08",
"endDate": "2015-05"
},
"sameAs": "#john"
}
},
{
"@type": "Organization",
"name": "another company",
"sameAs": "urlgoeshere",
"employee": {
"@type": "Person",
"hasOccupation": {
"@type": "EmployeeRole",
"roleName": "internship",
"startDate": "2014-05",
"endDate": "2014-08"
},
"sameAs": "#john"
}
}
]
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1350 次 |
| 最近记录: |