-
Notifications
You must be signed in to change notification settings - Fork 0
/
places.html
49 lines (49 loc) · 1.35 KB
/
places.html
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
<script type="application/ld+json">
{
"@context": "http://localhost:8080/static/context.jsonld",
"@id": "https://service.com/restaurants/123",
"@type": "Restaurant",
"name": "Sam's Pizza Place",
"reservations": {
"@type": "ItemList",
"@id": "https://service.com/restaurants/123/reservations",
"operation": {
"@type": "SearchAction",
"actionStatus": "proposed",
"actionHandler": [{
"@type": "HttpHandler",
"url": "http://localhost:8080/example/json/reservations-search.json",
"httpMethod": "get"
}],
"expects": [{
"@type": "SupportedClass",
"subClassOf": "FoodEstablishmentReservation",
"supportedProperty": [{
"@type": "SupportedProperty",
"name": "startTime",
"occurs": "Exactly-One",
"rangeIncludes": "DateTime"
},
{
"@type": "SupportedProperty",
"name": "partySize",
"occurs": "Exactly-One",
"rangeIncludes": "number"
}]
}]
}
},
"operation": {
"@type": "OtherSearchAction",
"actionStatus": "proposed",
"actionHandler": [{
"@type": "HttpHandler",
"url": "http://localhost:8080/example/json/reservations-search.json",
"httpMethod": "get"
}]
},
"openingHoursSpecification": {
"opens": "15:00:00Z+03:00"
}
}
</script>