Add parentOrganization and hasOccupation property/tag to schema_person

Created on 17 December 2024, 4 days ago

Problem/Motivation

I work at a university and we need to use the 'Person' Schema.org Metatag. However, the current 'schema_person' tag does not include a 'hasOccupation' property and 'parentOrganization' within 'worksFor' property, which is required for the 'Person' schema type.

Proposed resolution

Add a 'parentOrganization' and hasOccupation property to 'schema_person'
This is our desired output for our specific use case of Schema Person:

<script type="application/ld+json">
{
	"@context": "http://schema.org/",
	"@type": "Person",
	"name": "{{node:title}}",
	"hasOccupation": {
		"@type": "Occupation",
		"name": "{{Title/Position}}"
	},
	"worksFor": {
		"@type": "CollegeOrUniversity",
		"name": "University of Arizona {{Department/College}}",
		"url": "{{Department/College url}}",
		"parentOrganization": {
			"@type": "EducationalOrganization",
			"name": "University of Arizona",
			"url": "https://www.arizona.edu/",
			"address": {
				"@type": "PostalAddress",
				"streetAddress": "1401 E University Blvd",
				"addressLocality": "Tucson",
				"addressRegion": "AZ",
				"postalCode": "85721",
				"addressCountry": "US"
			}
		}
	}
}
</script>
Feature request
Status

Active

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024