Skip to content

Commit

Permalink
[TASK] Adjust examples to reflect changes to schema definition 3.7
Browse files Browse the repository at this point in the history
Relates: #3
  • Loading branch information
brotkrueml committed Jun 24, 2019
1 parent ef8409b commit e2eb1b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ Surely you'll have some properties to add, otherwise it makes no sense:
->setProperty('givenName', 'John')
->setProperty('familyName', 'Smith')
->setProperty('gender', 'http://schema.org/Male')
->setProperty('jobTitle', 'Software Developer')
;

That was easy ... let's go on and add the company for who the person works:
Expand Down Expand Up @@ -90,7 +89,6 @@ automatically into the head section:
"givenName": "John",
"familyName": "Smith",
"gender": "http://schema.org/Male",
"jobTitle": "Software Developer",
"worksFor": {
"@type": "Corporation",
"name": "Acme Ltd.",
Expand All @@ -110,7 +108,6 @@ Another possible way to insert the structured data is via a Fluid template:
givenName="John"
familyName="Smith"
gender="http://schema.org/Male"
jobTitle="Software Developer"
>
<schema:type.corporation
-as="worksFor"
Expand Down Expand Up @@ -149,7 +146,6 @@ Now you can connect the corporation to the person:
givenName="John"
familyName="Smith"
gender="http://schema.org/Male"
jobTitle="Software Developer"
>
<schema:type.corporation
-as="worksFor"
Expand All @@ -175,7 +171,6 @@ The resulting output would be now:
"givenName": "John",
"familyName": "Smith",
"gender": "http://schema.org/Male",
"jobTitle": "Software Developer",
"worksFor": {
"@type": "Corporation",
"@id": "https://example.org/#corporation"
Expand Down

0 comments on commit e2eb1b5

Please sign in to comment.