Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move namedPosition to Role and rename to roleName #146

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions data/examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11956,7 +11956,7 @@ MICRODATA:
</div>
<span itemprop="startDate">1979</span>
<span itemprop="endDate">1992</span>
<span itemprop="namedPosition">Quarterback</span>
<span itemprop="roleName">Quarterback</span>
</div>

RDFA:
Expand All @@ -11969,7 +11969,7 @@ RDFA:
</div>
<span property="startDate">1979</span>
<span property="endDate">1992</span>
<span property="namedPosition">Quarterback</span>
<span property="roleName">Quarterback</span>
</div>

JSON:
Expand All @@ -11987,7 +11987,7 @@ JSON:
},
"startDate": "1979",
"endDate": "1992",
"namedPosition": "Quarterback"
"roleName": "Quarterback"
}
}
</script>
Expand Down
11 changes: 10 additions & 1 deletion data/schema.rdfa
Original file line number Diff line number Diff line change
Expand Up @@ -10124,8 +10124,17 @@ postponing for 1.6.

<div typeof="rdf:Property" resource="http://schema.org/namedPosition">
<span class="h" property="rdfs:label">namedPosition</span>
<span property="http://schema.org/supersededBy" href="http://schema.org/roleName"/>
<span property="rdfs:comment">A position played, performed or filled by a person or organization, as part of an organization. For example, an athlete in a SportsTeam might play in the position named 'Quarterback'.</span>
<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/OrganizationRole">OrganizationRole</a></span>
<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/Role">Role</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/URL">URL</a></span>
</div>

<div typeof="rdf:Property" resource="http://schema.org/roleName">
<span class="h" property="rdfs:label">roleName</span>
<span property="rdfs:comment">A role played, performed or filled by a person or organization. For example, the team of creators for a comic book might fill the roles named 'inker', 'penciller', and 'letterer'; or an athlete in a SportsTeam might play in the position named 'Quarterback'.</span>
<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/Role">Role</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
<span>rangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/URL">URL</a></span>
</div>
Expand Down