@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.
- package/LICENSE +21 -0
- package/README.md +65 -2
- package/brew-methods/latest.json +312 -0
- package/brew-methods/v0.1.0.json +265 -0
- package/brew-methods/v0.2.0.json +265 -0
- package/brew-methods/v0.3.0.json +272 -0
- package/brew-methods/v0.4.0.json +312 -0
- package/coffee-places/context.latest.json +246 -0
- package/coffee-places/context.v0.1.0.json +241 -0
- package/coffee-places/context.v0.3.0.json +246 -0
- package/coffee-places/context.v0.4.0.json +246 -0
- package/coffee-places/latest.json +577 -0
- package/coffee-places/v0.1.0.json +518 -0
- package/coffee-places/v0.2.0.json +518 -0
- package/coffee-places/v0.3.0.json +577 -0
- package/coffee-places/v0.4.0.json +577 -0
- package/common/latest.json +197 -0
- package/common/v0.1.0.json +192 -0
- package/common/v0.2.0.json +197 -0
- package/common/v0.3.0.json +197 -0
- package/common/v0.4.0.json +197 -0
- package/equipment/latest.json +895 -0
- package/equipment/v0.1.0.json +1122 -0
- package/equipment/v0.2.0.json +1122 -0
- package/equipment/v0.3.0.json +895 -0
- package/equipment/v0.4.0.json +895 -0
- package/index.d.ts +1114 -0
- package/index.js +94 -0
- package/package.json +67 -4
- package/schemas.d.ts +5 -0
- package/schemas.js +3 -0
|
@@ -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
|
+
}
|