How to combine multiple "Person" structured data in one HTML page

by Mostafa   Last Updated July 18, 2018 19:04 PM

is it possible to add more than "Person" structured data in one page? I have a website that shows search results for individuals' profiles, hence I want to know if it's possible to add structured data for each individual on the same search results page?, as each structured data would point to a different URL to the profile's page.

When I tried this, google's testing tool for strctured data was able to recognize only one strctured data which is the first, I tried the following:

{ 
"@context": "http://schema.org/", 
"@type": "Person", 
"name": "Person1", 
"url": "Person1 url",
"image": "Person1 image", 
"jobTitle": "Person1 title", 
"worksFor": 
  { 
  "@type": "Organization", 
  "name": "Orgnization 1" 
  } 
}

{ 
"@context": "http://schema.org/", 
"@type": "Person", 
"name": "Person2", 
"url": "Person2 url",
"image": "Person2 image", 
"jobTitle": "Person2 title", 
"worksFor": 
  { 
  "@type": "Organization", 
  "name": "Orgnization 2" 
  } 
}

Is there something wrong with the code, do I have to add anything to combine them together or doesn't it work at all.



Related Questions



SEO and dynamic structured data (microdata)

Updated July 17, 2015 15:01 PM

Schema.org LD+JSON Image Width Validation warning

Updated June 29, 2016 08:01 AM

JSON-LD GTM Tag for BlogPosting

Updated July 19, 2018 09:04 AM

Writing Schema.org for brand websites

Updated October 01, 2018 21:04 PM