Skip to content

Commit

Permalink
Issue #2085: Created membershipPointsEarned. (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
vholland authored and danbri committed Dec 11, 2018
1 parent a9807f3 commit e4dc863
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
28 changes: 28 additions & 0 deletions data/ext/pending/issue-2085-examples.txt
@@ -0,0 +1,28 @@
TYPES: ProgramMembership, membershipPointsEarned

PRE-MARKUP:

An email message describing the points earned.

MICRODATA:

TODO

RDFA:

TODO


JSON:

<script type="application/ld+json">
{
"@type": "ProgramMembership",
"name": "ACME customer rewards",
"membershipPointsEarned": {
"@type": "QuantitativeValue",
"unitText": "Starpoints",
"value": 500
}
}
</script>
19 changes: 19 additions & 0 deletions data/ext/pending/issue-2085.rdfa
@@ -0,0 +1,19 @@
<div>

<div typeof="rdf:Property" resource="http://schema.org/membershipPointsEarned">
<span class="h" property="rdfs:label">membershipPointsEarned</span>
<span property="rdfs:comment">The number of membership points earned by the member. If necessary, the unitText can be used to express the units the points are issued in. (e.g. stars, miles, etc.)</span>

<span property="schema:category">issue-2085</span><a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/2085">#2085</a>

<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ProgramMembership">ProgramMembership</a></span>

<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>

<span property="schema:category">issue-2085</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/2085">#2085</a>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
</div>

</div>

0 comments on commit e4dc863

Please sign in to comment.