-
Notifications
You must be signed in to change notification settings - Fork 915
Expand file tree
/
Copy pathissue-3617-examples.txt
More file actions
198 lines (172 loc) · 4.35 KB
/
issue-3617-examples.txt
File metadata and controls
198 lines (172 loc) · 4.35 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
TYPES: #eg-3617a Product, Offer, OfferShippingDetails, ShippingService
PRE-MARKUP:
Offer with free shipping in the US and Canada (in the V2 Shipping format).
MICRODATA:
TODO
RDFA:
TODO
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "JSON Example",
"offers": {
"@type": "Offer",
"shippingDetails": {
"@type": "OfferShippingDetails",
"height": "12 in",
"width": "45 cm",
"depth": "0.3 m",
"weight": "1.2 kg",
"hasShippingService": {
"@type": "ShippingService",
"shippingConditions": {
"@type": "ShippingConditions",
"shippingDestination": [
{
"@type": "DefinedRegion",
"addressCountry": "US"
},
{
"@type": "DefinedRegion",
"addressCountry": "CA"
}
],
"shippingRate": "0"
}
}
}
}
}
</script>
TYPES: #eg-3617b Organization, ShippingService
PRE-MARKUP:
Organization with free shipping worldwide for members (in the V2 Shipping format) and paid shipping for non-members.
MICRODATA:
TODO
RDFA:
TODO
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Organization",
"name": "Example Inc.",
"hasShippingService": [
{
"@type": "ShippingService",
"name": "Members Free Shipping",
"description": "Free shipping worldwide for Gold and Platinum members.",
"validForMemberTier": [
{ "@id": "https://www.example.com/membership-plus#tier_gold" },
{ "@id": "https://www.example.com/membership-plus#tier_platinum" }
],
"shippingConditions": {
"@type": "ShippingConditions",
"shippingRate": "0"
}
}, {
"@type": "ShippingService",
"name": "Standard Shipping",
"description": "Flat-fee worldwide shipping.",
"shippingConditions": {
"@type": "ShippingConditions",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "9.99",
"currency": "USD"
}
}
}
]
}
</script>
TYPES: #eg-3617c Product, Offer, OfferShippingDetails, ShippingService
PRE-MARKUP:
Offer with shipping costs of $10 + $1/kg for orders $35-$200, to the US and Canada, with a handling time of 3.5 hours on weekdays (in the V2 format).
MICRODATA:
TODO
RDFA:
TODO
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "JSON Example",
"offers": {
"@type": "Offer",
"shippingDetails": {
"@type": "OfferShippingDetails",
"height": "12 in",
"width": "45 cm",
"depth": "300 mm",
"weight": "1.2 kg",
"hasShippingService": {
"@type": "ShippingService",
"handlingTime": {
"@type": "ServicePeriod",
"cutoffTime": "14:30:00-07:00",
"duration": {
"@type": "QuantitativeValue",
"maxValue": "30",
"unitCode": "min"
}
},
"shippingConditions": {
"@type": "ShippingConditions",
"shippingDestination": [
{
"@type": "DefinedRegion",
"addressCountry": "US"
},
{
"@type": "DefinedRegion",
"addressCountry": "CA"
}
],
"orderValue": {
"@type": "MonetaryAmount",
"minValue": "35",
"maxValue": "200"
},
"shippingRate": {
"@type": "ShippingRateSettings",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "10",
"currency": "USD"
},
"weightPercentage": "1.0"
},
"transitTime": {
"@type": "ServicePeriod",
"duration": {
"maxValue": "3.5",
"unitCode": "h"
},
"businessDays": [
{
"dayOfWeek": "Monday"
},
{
"dayOfWeek": "Tuesday"
},
{
"dayOfWeek": "Wednesday"
},
{
"dayOfWeek": "Thursday"
},
{
"dayOfWeek": "Friday"
}
]
}
}
}
}
}
}
</script>