-
Notifications
You must be signed in to change notification settings - Fork 918
Expand file tree
/
Copy pathissue-3563-examples.txt
More file actions
141 lines (132 loc) · 4.44 KB
/
issue-3563-examples.txt
File metadata and controls
141 lines (132 loc) · 4.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
TYPES: #eg-0489 MemberProgram, MemberProgramTier, TierBenefitEnumeration,
PRE-MARKUP:
A member (loyalty) program provided by an OnlineStore. The program has 3 tiers:
- The Silver tier is free to join and provides loyalty points to the member.
- The Gold tier requires sign-up to a creditcard and has the benefit of
member-only pricing and more loyalty points than the silver tier
- The Platinum tier has an annual fee of $39.99 and has the benefit of
member-only pricing and more loyalty points than the gold tier.
Use of the MemberProgram is illustrated by an Offer which has a non-member (regular)
price as well as a special member price for the gold and platinum member tiers.
MICRODATA:
<!-- JSON-LD example only -->
RDFA:
<!-- JSON-LD example only -->
JSON:
<script type="application/ld+json">
[
{
"@context": "https://schema.org",
"@type": "OnlineStore",
"name": "Example Online Store",
"url": "https://www.example.com",
"sameAs": [
"https://example.net/profile/example12",
"https://example.org/@example34"
],
"logo": "https://www.example.com/assets/images/logo.png",
"contactPoint": {
"contactType": "Customer Service",
"email": "support@example.com",
"telephone": "+47-99-999-9900"
},
"vatID": "FR12345678901",
"iso6523Code": "0199:724500PMK2A2M1SQX229",
"hasMemberProgram": {
"@type": "MemberProgram",
"name": "Membership Plus",
"description": "For frequent shoppers this is our top-rated loyalty program",
"url": "https://www.example.com/membership-plus",
"hasTiers": [
{
"@type": "MemberProgramTier",
"@id": "membership-plus#tier_silver",
"name": "silver",
"url": "https://www.example.com/membership-plus-silver",
"hasTierBenefit": [
"https://schema.org/TierBenefitLoyaltyPoints"
],
"membershipPointsEarned": 5
},
{
"@type": "MemberProgramTier",
"@id": "membership-plus#tier_gold",
"name": "gold",
"url": "https://www.example.com/membership-plus-gold",
"hasTierRequirement": {
"@type": "CreditCard",
"name":" MyStore Gold Plus"
},
"hasTierBenefit": [
"https://schema.org/TierBenefitLoyaltyPrice",
"https://schema.org/TierBenefitLoyaltyPoints"
],
"membershipPointsEarned": 10
},
{
"@type": "MemberProgramTier",
"@id": "membership-plus#tier_platinum",
"name": "gold",
"url": "https://www.example.com/membership-plus-platinum",
"hasTierRequirement": {
"@type": "UnitPriceSpecification",
"price": "39.99",
"priceCurrency": "USD",
"referenceQuantity": {
"@type": "QuantitativeValue",
"value": "1",
"unitCode": "ANN"
}
},
"hasTierBenefit": [
"https://schema.org/TierBenefitLoyaltyPrice",
"https://schema.org/TierBenefitLoyaltyPoints"
],
"membershipPointsEarned": 15
}
]
}
},
{
"@context": "https://schema.org",
"@type": "Product",
"sku": "44E01-X1100000",
"gtin14": "98766051104399",
"image": "https://www.example.com/coat_large_lightblue.jpg",
"name": "Large light blue coat",
"description": "Large wool light blue coat for the winter season",
"color": "light blue",
"size": "large",
"offers": [
{
"@type": "Offer",
"url": "https://www.example.com/coat?size=large&color=lightblue",
"itemCondition": "https://schema.org/NewCondition",
"availability": "https://schema.org/BackOrder",
"shippingDetails": {
"@id": "https://www.example.com/shipping#shipping_policy"
},
"hasMerchantReturnPolicy": {
"@id": "https://www.example.com/returns#return_policy"
},
"priceSpecification": [
{
"@type": "PriceSpecification",
"price": 15,
"priceCurrency": "USD"
},
{
"@type": "PriceSpecification",
"validForMemberTier": [
{ "@id": "https://www.example.com/membership-plus#tier_gold" },
{ "@id": "https://www.example.com/membership-plus#tier_platinum" }
],
"price": 9.95,
"priceCurrency": "USD"
}
]
}
]
}
]
</script>