forked from schemaorg/schemaorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdo-hotels-examples.txt
419 lines (354 loc) · 14.5 KB
/
sdo-hotels-examples.txt
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
TYPES: Hotel
PRE-MARKUP:
<h1>ACME Hotel Innsbruck</h1>
<span>A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<span>Technikerstrasse 21</span>
<span>6020</span>
<span>Innsbruck</span>
<span>Tyrol</span>,
<span>Austria</span>
</div>
Phone: +43 512 8000-0
<img src="../media/hotel_front.png" alt="Front view of the hotel" />
Star rating: ****
Room rates: $100 - $240
</div>
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Technikerstrasse 21</span>
<span itemprop="postalCode">6020</span>
<span itemprop="addressLocality">Innsbruck</span>
<span itemprop="addressRegion">Tyrol</span>,
<span itemprop="addressCountry">Austria</span>
</div>
Phone: <span itemprop="telephone">+43 512 8000-0</span>
<img itemprop="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
Star rating: <span itemprop="starRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="4">****</span>
Room rates: <span itemprop="priceRange">$100 - $240</span>
</div>
RDFA:
<div vocab="http://schema.org/" typeof="Hotel">
<h1><span property="name">ACME Hotel Innsbruck</span></h1>
<span property="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<div property="address" typeof="PostalAddress">
<span property="streetAddress">Technikerstrasse 21</span>
<span property="postalCode">6020</span>
<span property="addressLocality">Innsbruck</span>
<span property="addressRegion">Tyrol</span>,
<span property="addressCountry">Austria</span>
</div>
Phone: <span property="telephone">+43 512 8000-0</span>
<img property="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
Star rating: <span property="starRating" typeof="Rating">
<meta property="ratingValue" content="4">****</span>
Room rates: <span property="priceRange">$100 - $240</span>
</div>
JSON:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Hotel",
"name": "ACME Hotel Innsbruck",
"description": "A beautifully located business hotel right in the heart of the alps. Watch the sun rise over the scenic Inn valley while enjoying your morning coffee.",
"address": {
"@type": "PostalAddress",
"addressCountry": "AT",
"addressLocality": "Innsbruck",
"addressRegion": "Tyrol",
"postalCode": "6020",
"streetAddress": "Technikerstrasse 21"
},
"telephone": "+43 512 8000-0",
"photo": "http://www.acme-innsbruck.at//media/hotel_front.png",
"starRating": {
"@type": "Rating",
"ratingValue": "4"
},
"priceRange": "$100 - $240"
}</script>
TYPES: starRating
PRE-MARKUP:
<h1>ACME Hotel Innsbruck</h1>
<span>A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Star rating: ****
Room rates: $100 - $240
</div>
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Star rating: <span itemprop="starRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="4">****</span>
Room rates: <span itemprop="priceRange">$100 - $240</span>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: starRating
PRE-MARKUP:
<h1>ACME Hotel Innsbruck</h1>
<span>A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Star rating: **** (DEHOGA)
Room rates: $100 - $240
</div>
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Star rating: <span itemprop="starRating" itemscope itemtype="http://schema.org/Rating">
<span itemprop="author" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">DEHOGA</span>
</span>
<meta itemprop="ratingValue" content="4">****
</span>
Room rates: <span itemprop="priceRange">$100 - $240</span>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: Hotel, logo, image
PRE-MARKUP:
<h1>ACME Hotel Innsbruck</h1>
<img src="../media/logo.png" alt="hotel logo" />
<span>A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<img src="../media/hotel_front.png" alt="Front view of the hotel" />
</div>
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<img itemprop="logo" src="../media/logo.png" alt="hotel logo" />
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<img itemprop="photo" src="../media/hotel_front.png" alt="Front view of the hotel" />
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: hasMap
PRE-MARKUP:
<h1>ACME Hotel Innsbruck</h1>
<span>A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<a href="https://www.google.com/maps?ie=UTF8&hq&ll=47.1234,11.1234&z=13">Click here for a map.</a>
</div>
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<a itemprop="hasMap" href="https://www.google.com/maps?ie=UTF8&hq&ll=47.1234,11.1234&z=13">Click here for a map.</a>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: GeoCoordinates, geo
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Technikerstrasse 21</span>
<span itemprop="postalCode">6020</span>
<span itemprop="addressLocality">Innsbruck</span>
<span itemprop="addressRegion">Tyrol</span>,
<span itemprop="addressCountry">Austria</span>
</div>
<div itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="47.2649990" />
<meta itemprop="longitude" content="11.3428720" />
</div>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: numberOfRooms
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<span itemprop="numberOfRooms">60</span> rooms.
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: numberOfRooms
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
<span itemprop="numberOfRooms" itemscope itemtype="http://schema.org/QuantitativeValue">
<span itemprop="value">45</span>
<span itemprop="unitText">double rooms</span>
</span>
<span itemprop="numberOfRooms" itemscope itemtype="http://schema.org/QuantitativeValue">
<span itemprop="value">15</span>
<span itemprop="unitText">single rooms</span>
</span>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: feature, LocationFeatureSpecification
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Hotel Features:
<ul>
<li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification">
<span itemprop="name">Sauna</span>
<meta itemprop="value" content="True">
</li>
<li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification">
<span itemprop="name">Gym</span>
<meta itemprop="value" content="True">
</li>
</ul>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: feature, LocationFeatureSpecification, hoursAvailable
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Hotel Features:
<ul>
<li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification">
<span itemprop="name">Sauna</span>
<meta itemprop="value" content="True">
<div itemprop="hoursAvailable" itemscope itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://purl.org/goodrelations/v1#Thursday" />(Open Thursdays
<time itemprop="opens" content="16:00:00"> 4:00 PM</time> -
<time itemprop="closes" content="21:00:00"> 9:00 PM</time>)
</div>
</li>
</ul>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: checkinTime, checkoutTime
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<img itemprop="logo" src="../media/logo.png" alt="hotel logo" />
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
Check-in: <meta itemprop="checkinTime" content="14:00:00">2:00 PM
Check-out: <meta itemprop="checkoutTime" content="11:00:00">11:00 AM
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: availableLanguage, Language
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
<span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
We speak:
<ul>
<li itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name">English</span>
</li>
<li itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name">German</span>
</li>
</ul>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: HotelRoom, Hotel
PRE-MARKUP:
This example is in microdata only.
MICRODATA:
<div itemscope itemtype="http://schema.org/Hotel">
<h1>
<span itemprop="name">ACME Hotel Innsbruck</span>
</h1><span itemprop="description">A beautifully located business hotel right in the heart of the alps. Watch the sun rise over the scenic Inn valley while enjoying your morning coffee.</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Technikerstrasse 21</span> <span itemprop="postalCode">6020</span> <span itemprop="addressLocality">Innsbruck</span> <span itemprop="addressRegion">Tyrol</span>, <span itemprop="addressCountry">Austria</span>
</div>Phone: <span itemprop="telephone">+43 512 8000-0</span>
<div itemprop="containsPlace" itemscope itemtype="http://schema.org/HotelRoom">
<span itemprop="name">Standard Double Room</span> <span itemprop="description">Our standard double rooms include a double bed, a full bathroom with tub, shower and toilet</span> <img itemprop="photo" src="../media/single_room1.png">
</div>Available rates:
<div itemprop="makesOffer" itemscope itemtype="http://schema.org/Offer">
<span itemprop="name">Flex-rate</span> <span itemprop="description">Terms and conditions go here...</span>
<link itemprop="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut"><span itemprop="priceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">
<meta itemprop="priceCurrency" content="EUR">€ <span itemprop="price">99</span>
<meta itemprop="unitCode" content="DAY">per room per day To save this rate, book by
<meta itemprop="validThrough" content="2016-08-31">August 31, 2016</span>
</div>
</div>
RDFA:
This example is in microdata only.
JSON:
This example is in microdata only.
TYPES: FakeEntryNeeded, FixMeSomeDay
PRE-MARKUP:
MICRODATA:
RDFA:
JSON: