Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change identifier property to id
See examples on schema.org e.g. https://schema.org/BreadcrumbList
Also, https://search.google.com/structured-data/testing-tool/ throw error when using "identifier"
  • Loading branch information
cri2net authored Dec 22, 2018
commit a4f629f52555ee103121720818f087243f434a60
2 changes: 1 addition & 1 deletion src/Thing.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function disambiguatingDescription($disambiguatingDescription)
*/
public function identifier($identifier)
{
return $this->setProperty('identifier', $identifier);
return $this->setProperty('id', $identifier);
}

/**
Expand Down