@roastbook/open-coffee-schema 0.0.0-stage → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,241 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "schema": "https://schema.org/",
5
+ "oc": "https://schema.roastbook.coffee/vocab#",
6
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
7
+ "dcterms": "http://purl.org/dc/terms/",
8
+ "CafeOrCoffeeShop": "schema:CafeOrCoffeeShop",
9
+ "$schema": {
10
+ "@id": "dcterms:conformsTo",
11
+ "@type": "@id"
12
+ },
13
+ "meta": {
14
+ "@id": "oc:meta",
15
+ "@context": {
16
+ "licence": "schema:license",
17
+ "country_code": "schema:addressCountry",
18
+ "city": "oc:city",
19
+ "city_name": "oc:cityName"
20
+ }
21
+ },
22
+ "places": {
23
+ "@id": "schema:hasPart",
24
+ "@container": "@set"
25
+ },
26
+ "id": "schema:identifier",
27
+ "name": "schema:name",
28
+ "status": "oc:status",
29
+ "merged_into": "oc:mergedInto",
30
+ "opened_on": {
31
+ "@id": "schema:foundingDate",
32
+ "@type": "xsd:date"
33
+ },
34
+ "closed_on": {
35
+ "@id": "schema:dissolutionDate",
36
+ "@type": "xsd:date"
37
+ },
38
+ "last_verified_at": {
39
+ "@id": "oc:lastVerifiedAt",
40
+ "@type": "xsd:dateTime"
41
+ },
42
+ "checked_at": {
43
+ "@id": "oc:checkedAt",
44
+ "@type": "xsd:dateTime"
45
+ },
46
+ "address": {
47
+ "@id": "schema:address",
48
+ "@context": {
49
+ "street_address": "schema:streetAddress",
50
+ "postal_code": "schema:postalCode",
51
+ "locality": "schema:addressLocality",
52
+ "region": "schema:addressRegion",
53
+ "country_code": "schema:addressCountry"
54
+ }
55
+ },
56
+ "location": {
57
+ "@id": "schema:geo",
58
+ "@context": {
59
+ "lat": {
60
+ "@id": "schema:latitude",
61
+ "@type": "xsd:double"
62
+ },
63
+ "lon": {
64
+ "@id": "schema:longitude",
65
+ "@type": "xsd:double"
66
+ }
67
+ }
68
+ },
69
+ "opening_hours": "schema:openingHours",
70
+ "open_sunday": "oc:openSunday",
71
+ "description": "schema:description",
72
+ "specialty_tier": "oc:specialtyTier",
73
+ "roasts_own_beans": "oc:roastsOwnBeans",
74
+ "roasters_served": {
75
+ "@id": "oc:roastersServed",
76
+ "@container": "@set",
77
+ "@context": {
78
+ "roaster_id": "schema:identifier",
79
+ "url": {
80
+ "@id": "schema:url",
81
+ "@type": "@id"
82
+ },
83
+ "own": "oc:ownRoast"
84
+ }
85
+ },
86
+ "serving": {
87
+ "@id": "oc:serving",
88
+ "@context": {
89
+ "espresso": "oc:espresso",
90
+ "filter": "oc:filter",
91
+ "pour_over": "oc:pourOver",
92
+ "batch_brew": "oc:batchBrew",
93
+ "cold_brew": "oc:coldBrew",
94
+ "decaf": "oc:decaf",
95
+ "plant_milk": "oc:plantMilk"
96
+ }
97
+ },
98
+ "amenities": {
99
+ "@id": "oc:amenities",
100
+ "@context": {
101
+ "wifi": "oc:wifi",
102
+ "laptop_friendly": "oc:laptopFriendly",
103
+ "kids_friendly": "oc:kidsFriendly",
104
+ "vegan_options": "oc:veganOptions",
105
+ "dogs_allowed": "oc:dogsAllowed",
106
+ "outdoor_seating": "oc:outdoorSeating",
107
+ "card_payment": "oc:cardPayment",
108
+ "cash_only": "oc:cashOnly",
109
+ "wheelchair_accessible": "oc:wheelchairAccessible"
110
+ }
111
+ },
112
+ "food": {
113
+ "@id": "oc:food",
114
+ "@context": {
115
+ "focus": "oc:focus",
116
+ "breakfast": "oc:breakfast",
117
+ "lunch": "oc:lunch",
118
+ "cakes_baked_in_house": "oc:cakesBakedInHouse"
119
+ }
120
+ },
121
+ "sells_beans": "oc:sellsBeans",
122
+ "sells_equipment": "oc:sellsEquipment",
123
+ "offers_courses": "oc:offersCourses",
124
+ "reusable_cup_systems": {
125
+ "@id": "oc:reusableCupSystems",
126
+ "@container": "@set"
127
+ },
128
+ "good_for": {
129
+ "@id": "oc:goodFor",
130
+ "@container": "@set"
131
+ },
132
+ "awards": {
133
+ "@id": "oc:awards",
134
+ "@container": "@set",
135
+ "@context": {
136
+ "year": {
137
+ "@id": "oc:year",
138
+ "@type": "xsd:gYear"
139
+ },
140
+ "url": {
141
+ "@id": "schema:url",
142
+ "@type": "@id"
143
+ }
144
+ }
145
+ },
146
+ "prices": {
147
+ "@id": "oc:prices",
148
+ "@context": {
149
+ "cappuccino": {
150
+ "@id": "oc:cappuccinoPrice",
151
+ "@context": {
152
+ "amount": "schema:price",
153
+ "currency": "schema:priceCurrency",
154
+ "observed_on": {
155
+ "@id": "oc:observedOn",
156
+ "@type": "xsd:date"
157
+ },
158
+ "source_url": {
159
+ "@id": "schema:url",
160
+ "@type": "@id"
161
+ }
162
+ }
163
+ }
164
+ }
165
+ },
166
+ "operator": {
167
+ "@id": "oc:operator",
168
+ "@context": {
169
+ "name": "schema:legalName",
170
+ "legal_form": "oc:legalForm",
171
+ "register_id": "oc:registerId"
172
+ }
173
+ },
174
+ "links": "@nest",
175
+ "website": {
176
+ "@id": "schema:url",
177
+ "@type": "@id",
178
+ "@nest": "links"
179
+ },
180
+ "instagram": {
181
+ "@id": "schema:sameAs",
182
+ "@type": "@id",
183
+ "@nest": "links"
184
+ },
185
+ "facebook": {
186
+ "@id": "schema:sameAs",
187
+ "@type": "@id",
188
+ "@nest": "links"
189
+ },
190
+ "image": {
191
+ "@id": "schema:image",
192
+ "@context": {
193
+ "url": {
194
+ "@id": "schema:contentUrl",
195
+ "@type": "@id"
196
+ },
197
+ "licence": "schema:license",
198
+ "author": "schema:creditText",
199
+ "source_url": {
200
+ "@id": "schema:url",
201
+ "@type": "@id"
202
+ },
203
+ "title": "schema:name",
204
+ "width": "schema:width",
205
+ "height": "schema:height"
206
+ }
207
+ },
208
+ "xref": "@nest",
209
+ "overture": {
210
+ "@id": "oc:overtureId",
211
+ "@nest": "xref"
212
+ },
213
+ "foursquare": {
214
+ "@id": "oc:foursquareId",
215
+ "@nest": "xref"
216
+ },
217
+ "wikidata": {
218
+ "@id": "schema:sameAs",
219
+ "@type": "@vocab",
220
+ "@nest": "xref",
221
+ "@context": {
222
+ "@vocab": "http://www.wikidata.org/entity/"
223
+ }
224
+ },
225
+ "google_place_id": {
226
+ "@id": "oc:googlePlaceId",
227
+ "@nest": "xref"
228
+ },
229
+ "external_ratings": {
230
+ "@id": "oc:externalRatings",
231
+ "@container": "@set",
232
+ "@context": {
233
+ "source": "oc:source",
234
+ "url": {
235
+ "@id": "schema:url",
236
+ "@type": "@id"
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
@@ -0,0 +1,246 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@base": "https://data.roastbook.coffee/places/",
5
+ "schema": "https://schema.org/",
6
+ "oc": "https://schema.roastbook.coffee/vocab#",
7
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
8
+ "dcterms": "http://purl.org/dc/terms/",
9
+ "CafeOrCoffeeShop": "schema:CafeOrCoffeeShop",
10
+ "$schema": {
11
+ "@id": "dcterms:conformsTo",
12
+ "@type": "@id"
13
+ },
14
+ "meta": {
15
+ "@id": "oc:meta",
16
+ "@context": {
17
+ "licence": "schema:license",
18
+ "country_code": "schema:addressCountry",
19
+ "city": "oc:city",
20
+ "city_name": "oc:cityName"
21
+ }
22
+ },
23
+ "places": {
24
+ "@id": "schema:hasPart",
25
+ "@container": "@set"
26
+ },
27
+ "id": "@id",
28
+ "type": "@type",
29
+ "name": "schema:name",
30
+ "status": "oc:status",
31
+ "merged_into": {
32
+ "@id": "oc:mergedInto",
33
+ "@type": "@id"
34
+ },
35
+ "opened_on": {
36
+ "@id": "schema:foundingDate",
37
+ "@type": "xsd:date"
38
+ },
39
+ "closed_on": {
40
+ "@id": "schema:dissolutionDate",
41
+ "@type": "xsd:date"
42
+ },
43
+ "last_verified_at": {
44
+ "@id": "oc:lastVerifiedAt",
45
+ "@type": "xsd:dateTime"
46
+ },
47
+ "checked_at": {
48
+ "@id": "oc:checkedAt",
49
+ "@type": "xsd:dateTime"
50
+ },
51
+ "address": {
52
+ "@id": "schema:address",
53
+ "@context": {
54
+ "street_address": "schema:streetAddress",
55
+ "postal_code": "schema:postalCode",
56
+ "locality": "schema:addressLocality",
57
+ "region": "schema:addressRegion",
58
+ "country_code": "schema:addressCountry"
59
+ }
60
+ },
61
+ "location": {
62
+ "@id": "schema:geo",
63
+ "@context": {
64
+ "lat": {
65
+ "@id": "schema:latitude",
66
+ "@type": "xsd:double"
67
+ },
68
+ "lon": {
69
+ "@id": "schema:longitude",
70
+ "@type": "xsd:double"
71
+ }
72
+ }
73
+ },
74
+ "opening_hours": "schema:openingHours",
75
+ "description": "schema:description",
76
+ "specialty_tier": "oc:specialtyTier",
77
+ "roasts_own_beans": "oc:roastsOwnBeans",
78
+ "roasters_served": {
79
+ "@id": "oc:roastersServed",
80
+ "@container": "@set",
81
+ "@context": {
82
+ "roaster_id": "schema:identifier",
83
+ "url": {
84
+ "@id": "schema:url",
85
+ "@type": "@id"
86
+ },
87
+ "own": "oc:ownRoast"
88
+ }
89
+ },
90
+ "serving": {
91
+ "@id": "oc:serving",
92
+ "@context": {
93
+ "espresso": "oc:espresso",
94
+ "filter": "oc:filter",
95
+ "pour_over": "oc:pourOver",
96
+ "batch_brew": "oc:batchBrew",
97
+ "cold_brew": "oc:coldBrew",
98
+ "decaf": "oc:decaf",
99
+ "plant_milk": "oc:plantMilk"
100
+ }
101
+ },
102
+ "amenities": {
103
+ "@id": "oc:amenities",
104
+ "@context": {
105
+ "wifi": "oc:wifi",
106
+ "laptop_friendly": "oc:laptopFriendly",
107
+ "kids_friendly": "oc:kidsFriendly",
108
+ "vegan_options": "oc:veganOptions",
109
+ "dogs_allowed": "oc:dogsAllowed",
110
+ "outdoor_seating": "oc:outdoorSeating",
111
+ "card_payment": "oc:cardPayment",
112
+ "cash_only": "oc:cashOnly",
113
+ "wheelchair_accessible": "oc:wheelchairAccessible"
114
+ }
115
+ },
116
+ "food": {
117
+ "@id": "oc:food",
118
+ "@context": {
119
+ "focus": "oc:focus",
120
+ "breakfast": "oc:breakfast",
121
+ "lunch": "oc:lunch",
122
+ "cakes_baked_in_house": "oc:cakesBakedInHouse"
123
+ }
124
+ },
125
+ "sells_beans": "oc:sellsBeans",
126
+ "sells_equipment": "oc:sellsEquipment",
127
+ "offers_courses": "oc:offersCourses",
128
+ "reusable_cup_systems": {
129
+ "@id": "oc:reusableCupSystems",
130
+ "@container": "@set"
131
+ },
132
+ "good_for": {
133
+ "@id": "oc:goodFor",
134
+ "@container": "@set"
135
+ },
136
+ "awards": {
137
+ "@id": "oc:awards",
138
+ "@container": "@set",
139
+ "@context": {
140
+ "year": {
141
+ "@id": "oc:year",
142
+ "@type": "xsd:gYear"
143
+ },
144
+ "url": {
145
+ "@id": "schema:url",
146
+ "@type": "@id"
147
+ }
148
+ }
149
+ },
150
+ "prices": {
151
+ "@id": "oc:prices",
152
+ "@context": {
153
+ "cappuccino": {
154
+ "@id": "oc:cappuccinoPrice",
155
+ "@context": {
156
+ "amount": "schema:price",
157
+ "currency": "schema:priceCurrency",
158
+ "observed_on": {
159
+ "@id": "oc:observedOn",
160
+ "@type": "xsd:date"
161
+ },
162
+ "source_url": {
163
+ "@id": "schema:url",
164
+ "@type": "@id"
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "operator": {
171
+ "@id": "oc:operator",
172
+ "@context": {
173
+ "name": "schema:legalName",
174
+ "legal_form": "oc:legalForm",
175
+ "register_id": "oc:registerId"
176
+ }
177
+ },
178
+ "links": "@nest",
179
+ "website": {
180
+ "@id": "schema:url",
181
+ "@type": "@id",
182
+ "@nest": "links"
183
+ },
184
+ "instagram": {
185
+ "@id": "schema:sameAs",
186
+ "@type": "@id",
187
+ "@nest": "links"
188
+ },
189
+ "facebook": {
190
+ "@id": "schema:sameAs",
191
+ "@type": "@id",
192
+ "@nest": "links"
193
+ },
194
+ "image": {
195
+ "@id": "schema:image",
196
+ "@context": {
197
+ "url": {
198
+ "@id": "schema:contentUrl",
199
+ "@type": "@id"
200
+ },
201
+ "licence": "schema:license",
202
+ "author": "schema:creditText",
203
+ "source_url": {
204
+ "@id": "schema:url",
205
+ "@type": "@id"
206
+ },
207
+ "title": "schema:name",
208
+ "width": "schema:width",
209
+ "height": "schema:height"
210
+ }
211
+ },
212
+ "xref": "@nest",
213
+ "overture": {
214
+ "@id": "oc:overtureId",
215
+ "@nest": "xref"
216
+ },
217
+ "foursquare": {
218
+ "@id": "oc:foursquareId",
219
+ "@nest": "xref"
220
+ },
221
+ "wikidata": {
222
+ "@id": "schema:sameAs",
223
+ "@type": "@vocab",
224
+ "@nest": "xref",
225
+ "@context": {
226
+ "@vocab": "http://www.wikidata.org/entity/"
227
+ }
228
+ },
229
+ "google_place_id": {
230
+ "@id": "oc:googlePlaceId",
231
+ "@nest": "xref"
232
+ },
233
+ "external_ratings": {
234
+ "@id": "oc:externalRatings",
235
+ "@container": "@set",
236
+ "@context": {
237
+ "source": "oc:source",
238
+ "id": "schema:identifier",
239
+ "url": {
240
+ "@id": "schema:url",
241
+ "@type": "@id"
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }