forked from miharekar/visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
1094 lines (1094 loc) · 29.7 KB
/
Copy pathopenapi.yaml
File metadata and controls
1094 lines (1094 loc) · 29.7 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
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
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: Visualizer API
description: >
Visualizer exposes a REST API for managing espresso shots, roasters, and coffee bag metadata.
Authenticate with OAuth 2.0 access tokens issued by Visualizer or HTTP Basic using your account credentials.
version: "1.0.0"
contact:
email: miha@visualizer.coffee
servers:
- url: https://visualizer.coffee/api
description: Production
- url: http://localhost:3000/api
description: Local development
tags:
- name: Credentials
description: Session and identity helpers.
- name: Shots
description: Access espresso shot exports and metadata.
- name: Roasters
description: Roaster catalog for the authenticated account.
- name: Coffee Bags
description: Coffee bag catalog scoped to a roaster.
paths:
/me:
get:
tags:
- Credentials
summary: Get current user
description: >
Returns basic profile information for the authenticated account. Requires an OAuth token with the `read`
scope or HTTP Basic credentials for a Visualizer account with password access.
operationId: getMe
security:
- OAuth2:
- read
- BasicAuth: []
responses:
"200":
description: Current account profile.
content:
application/json:
schema:
$ref: "#/components/schemas/UserSelf"
"401":
description: Authentication required.
/shots:
get:
tags:
- Shots
summary: List shots
description: >
Returns a paginated list of shots visible to the caller. Anonymous clients receive only public shots.
Authenticated users receive their own shots; non-premium accounts are limited to recent history while premium accounts see all data.
operationId: listShots
parameters:
- $ref: "#/components/parameters/PageParam"
- $ref: "#/components/parameters/ItemsParam"
- $ref: "#/components/parameters/ShotSortParam"
security:
- OAuth2:
- read
- BasicAuth: []
- {}
responses:
"200":
description: Paginated shots.
content:
application/json:
schema:
$ref: "#/components/schemas/ShotListResponse"
"422":
description: Pagination error.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
example:
error: Could not paginate
/shots/{id}:
parameters:
- $ref: "#/components/parameters/ShotId"
get:
tags:
- Shots
summary: Retrieve a shot
description: >
Returns a single shot in Visualizer JSON format by default, or BeanConqueror JSON when `format=beanconqueror`.
Set `essentials=true` to omit large brew data payloads.
operationId: getShot
parameters:
- $ref: "#/components/parameters/ShotFormatParam"
- $ref: "#/components/parameters/ShotEssentialsParam"
security:
- OAuth2:
- read
- BasicAuth: []
- {}
responses:
"200":
description: Shot payload in requested format.
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/ShotDetail"
- $ref: "#/components/schemas/ShotBeanconqueror"
examples:
visualizer:
summary: Visualizer format
value:
id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
user_id: "b82d57c1-5152-49b5-8c32-d5e686fac07b"
profile_title: "30g/60g/30s"
start_time: "2024-05-18T08:31:20Z"
updated_at: 1716021080
duration: 30.5
bean_weight: "18.0"
drink_weight: "40.0"
espresso_enjoyment: 8
roast_level: "Medium"
tags:
- morning
brewdata:
profile: "decent"
beanconqueror:
summary: BeanConqueror format
value:
bean:
roaster: "Example Roaster"
name: "House Espresso"
brew:
grind_weight: 18
brew_beverage_quantity: 36
meta:
visualizer:
shot_id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
user_id: "b82d57c1-5152-49b5-8c32-d5e686fac07b"
updated_at: 1716021080
tags:
- morning
"404":
description: Shot not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
delete:
tags:
- Shots
summary: Delete a shot
description: >
Deletes a shot owned by the authenticated user. Requires the `write` scope when using OAuth.
operationId: deleteShot
security:
- OAuth2:
- write
- BasicAuth: []
responses:
"200":
description: Shot deleted.
content:
application/json:
schema:
$ref: "#/components/schemas/ShotDeleteResult"
"401":
description: Authentication required.
"403":
description: Missing `write` scope for the provided token.
"404":
description: Shot not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/shots/{id}/download:
parameters:
- $ref: "#/components/parameters/ShotId"
get:
tags:
- Shots
summary: Download a shot
description: >
Returns the same payload as `GET /shots/{id}` but served as a downloadable attachment.
operationId: downloadShot
parameters:
- $ref: "#/components/parameters/ShotFormatParam"
- $ref: "#/components/parameters/ShotEssentialsParam"
security:
- OAuth2:
- read
- BasicAuth: []
- {}
responses:
"200":
description: Shot payload attachment.
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/ShotDetail"
- $ref: "#/components/schemas/ShotBeanconqueror"
"404":
description: Shot not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/shots/{shot_id}/profile:
parameters:
- $ref: "#/components/parameters/ShotProfileId"
get:
tags:
- Shots
summary: Download a shot profile
description: >
Downloads a profile file associated with the shot. The response type depends on the underlying shot parser.
Use `format=csv` for a CSV export (when available) or `format=json` to force JSON output for supported parsers.
operationId: getShotProfile
parameters:
- $ref: "#/components/parameters/ShotProfileFormatParam"
security:
- OAuth2:
- read
- BasicAuth: []
- {}
responses:
"200":
description: Profile payload.
content:
application/json:
schema:
$ref: "#/components/schemas/ShotProfileJson"
text/csv:
schema:
$ref: "#/components/schemas/ShotProfileFile"
application/x-tcl:
schema:
$ref: "#/components/schemas/ShotProfileFile"
application/octet-stream:
schema:
$ref: "#/components/schemas/ShotProfileFile"
"404":
description: Shot not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
"422":
description: Profile is not available for the shot.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
example:
error: Shot does not have a profile
/shots/shared:
get:
tags:
- Shots
summary: Retrieve shared shots
description: >
Provide a `code` query parameter to retrieve the shot that was shared with that code. When no `code`
is supplied, authenticated users receive every shot they have shared.
operationId: getSharedShots
parameters:
- $ref: "#/components/parameters/ShotCodeParam"
- $ref: "#/components/parameters/ShotFormatParam"
- $ref: "#/components/parameters/ShotWithDataParam"
security:
- OAuth2:
- read
- BasicAuth: []
- {}
responses:
"200":
description: Shared shot payload(s).
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/ShotDetail"
- $ref: "#/components/schemas/ShotBeanconqueror"
- $ref: "#/components/schemas/ShotSharedCollection"
"404":
description: Shared shot not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/shots/upload:
post:
tags:
- Shots
summary: Upload a shot file
description: >
Creates a new shot by uploading a Decent, BeanConqueror, Gaggiuino, or GaggiMate export. Provide either a multipart file upload using the `file` field or send the parsed JSON payload directly.
operationId: uploadShot
security:
- OAuth2:
- upload
- OAuth2:
- write
- BasicAuth: []
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: Shot export file with JSON content.
application/json:
schema:
$ref: "#/components/schemas/ShotUploadPayload"
responses:
"200":
description: Shot successfully created.
content:
application/json:
schema:
$ref: "#/components/schemas/ShotUploadResult"
"401":
description: Authentication required.
"403":
description: Missing `upload` scope (or `write`) for the provided token.
"422":
description: Shot could not be processed.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
examples:
missingFile:
summary: Missing file
value:
error: No shot file provided. Provide a file parameter with a multipart/form-data request or a JSON body with a valid JSON object.
invalidFile:
summary: Invalid content
value:
error: Could not save the provided file. Bean weight can't be blank.
/roasters:
get:
tags:
- Roasters
summary: List roasters
description: Returns roasters owned by the authenticated user.
operationId: listRoasters
parameters:
- $ref: "#/components/parameters/PageParam"
- $ref: "#/components/parameters/ItemsParam"
security:
- OAuth2:
- read
- BasicAuth: []
responses:
"200":
description: Paginated roasters.
content:
application/json:
schema:
$ref: "#/components/schemas/RoasterListResponse"
"401":
description: Authentication required.
/roasters/{id}:
parameters:
- $ref: "#/components/parameters/RoasterId"
get:
tags:
- Roasters
summary: Retrieve a roaster
description: Fetches the specified roaster owned by the authenticated account, including website and image metadata when present.
operationId: getRoaster
security:
- OAuth2:
- read
- BasicAuth: []
responses:
"200":
description: Roaster details.
content:
application/json:
schema:
$ref: "#/components/schemas/RoasterDetail"
"401":
description: Authentication required.
"404":
description: Roaster not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/roasters/{roaster_id}/coffee_bags:
parameters:
- $ref: "#/components/parameters/RoasterRef"
get:
tags:
- Coffee Bags
summary: List coffee bags
description: Returns coffee bags for the given roaster, ordered by roast date with archived entries last.
operationId: listCoffeeBags
parameters:
- $ref: "#/components/parameters/PageParam"
- $ref: "#/components/parameters/ItemsParam"
security:
- OAuth2:
- read
- BasicAuth: []
responses:
"200":
description: Paginated coffee bags.
content:
application/json:
schema:
$ref: "#/components/schemas/CoffeeBagListResponse"
"401":
description: Authentication required.
"404":
description: Roaster not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
/roasters/{roaster_id}/coffee_bags/{id}:
parameters:
- $ref: "#/components/parameters/RoasterRef"
- $ref: "#/components/parameters/CoffeeBagId"
get:
tags:
- Coffee Bags
summary: Retrieve a coffee bag
description: Returns detailed information for a coffee bag belonging to the given roaster, including origin, processing, and archival status.
operationId: getCoffeeBag
security:
- OAuth2:
- read
- BasicAuth: []
responses:
"200":
description: Coffee bag details.
content:
application/json:
schema:
$ref: "#/components/schemas/CoffeeBagDetail"
"401":
description: Authentication required.
"404":
description: Coffee bag not found.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
components:
securitySchemes:
BasicAuth:
type: http
scheme: basic
description: >
Use your Visualizer email address and password. Two-factor authentication must be disabled for Basic authentication.
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://visualizer.coffee/oauth/authorize
tokenUrl: https://visualizer.coffee/oauth/token
refreshUrl: https://visualizer.coffee/oauth/token
scopes:
read: Read shots, roasters, coffee bags, and account metadata.
upload: Upload shot files.
write: Manage shots.
parameters:
PageParam:
name: page
in: query
description: 1-based page number (defaults to 1).
schema:
type: integer
minimum: 1
ItemsParam:
name: items
in: query
description: Items per page (defaults to 10, maximum 100).
schema:
type: integer
minimum: 1
maximum: 100
ShotSortParam:
name: sort
in: query
description: When set to `updated_at`, results are sorted by last update time; otherwise start time descending.
schema:
type: string
enum:
- updated_at
ShotId:
name: id
in: path
required: true
description: Shot identifier.
schema:
type: string
format: uuid
ShotProfileId:
name: shot_id
in: path
required: true
description: Shot identifier.
schema:
type: string
format: uuid
ShotFormatParam:
name: format
in: query
description: Response format for shot payloads.
schema:
type: string
enum:
- decent
- beanconqueror
ShotEssentialsParam:
name: essentials
in: query
description: When true, omit brew telemetry from the response.
schema:
type: boolean
ShotProfileFormatParam:
name: format
in: query
description: Force a specific profile file format when available.
schema:
type: string
enum:
- csv
- json
ShotCodeParam:
name: code
in: query
description: Four-character share code (case-insensitive).
schema:
type: string
minLength: 4
maxLength: 4
ShotWithDataParam:
name: with_data
in: query
description: When true, include brew telemetry in shared shot responses.
schema:
type: boolean
RoasterId:
name: id
in: path
required: true
description: Roaster identifier.
schema:
type: string
format: uuid
RoasterRef:
name: roaster_id
in: path
required: true
description: Roaster identifier.
schema:
type: string
format: uuid
CoffeeBagId:
name: id
in: path
required: true
description: Coffee bag identifier.
schema:
type: string
format: uuid
schemas:
Error:
type: object
properties:
error:
type: string
required:
- error
example:
error: Shot not found
Paging:
type: object
required:
- count
- page
- limit
- pages
properties:
count:
type: integer
description: Total number of items.
page:
type: integer
description: Current page number.
limit:
type: integer
description: Number of items per page.
pages:
type: integer
description: Total number of pages available.
UserSelf:
type: object
required:
- id
- name
- public
properties:
id:
type: string
format: uuid
name:
type: string
public:
type: boolean
avatar_url:
type: string
format: uri
nullable: true
example:
id: "c2d5c71e-0e9f-4cbe-81bb-1db7c2422e23"
name: "Ava Brewer"
public: true
avatar_url: "https://visualizer.coffee/uploads/avatars/ava.png"
ShotSummary:
type: object
required:
- id
- clock
- updated_at
properties:
id:
type: string
format: uuid
clock:
type: integer
format: int64
description: Shot start time in seconds since the Unix epoch.
updated_at:
type: integer
format: int64
description: Last update time in seconds since the Unix epoch.
example:
id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
clock: 1716021080
updated_at: 1716022080
ShotListResponse:
type: object
required:
- data
- paging
properties:
data:
type: array
items:
$ref: "#/components/schemas/ShotSummary"
paging:
$ref: "#/components/schemas/Paging"
ShotVisualizerMeta:
type: object
required:
- shot_id
- user_id
- updated_at
- tags
properties:
shot_id:
type: string
format: uuid
user_id:
type: string
format: uuid
updated_at:
type: integer
format: int64
duration:
type: number
nullable: true
profile_title:
type: string
nullable: true
start_time:
type: string
format: date-time
nullable: true
metadata:
type: object
nullable: true
additionalProperties: true
tags:
type: array
items:
type: string
profile_url:
type: string
format: uri
nullable: true
image_url:
type: string
format: uri
nullable: true
roaster_id:
type: string
format: uuid
nullable: true
coffee_bag_id:
type: string
format: uuid
nullable: true
user_name:
type: string
nullable: true
ShotDetail:
type: object
required:
- id
- updated_at
- tags
- user_id
properties:
id:
type: string
format: uuid
user_id:
type: string
format: uuid
profile_title:
type: string
nullable: true
start_time:
type: string
format: date-time
nullable: true
updated_at:
type: integer
format: int64
duration:
type: number
nullable: true
bean_brand:
type: string
nullable: true
bean_type:
type: string
nullable: true
bean_notes:
type: string
nullable: true
bean_weight:
type: string
nullable: true
drink_weight:
type: string
nullable: true
drink_tds:
type: string
nullable: true
drink_ey:
type: string
nullable: true
espresso_enjoyment:
type: integer
nullable: true
espresso_notes:
type: string
nullable: true
grinder_model:
type: string
nullable: true
grinder_setting:
type: string
nullable: true
roast_date:
type: string
nullable: true
description: Roast date formatted for the owner.
roast_level:
type: string
nullable: true
barista:
type: string
nullable: true
metadata:
type: object
nullable: true
additionalProperties: true
tags:
type: array
items:
type: string
brewdata:
type: object
nullable: true
additionalProperties: true
timeframe:
type: object
nullable: true
additionalProperties: true
data:
type: object
nullable: true
additionalProperties: true
profile_url:
type: string
format: uri
nullable: true
image_url:
type: string
format: uri
nullable: true
roaster_id:
type: string
format: uuid
nullable: true
coffee_bag_id:
type: string
format: uuid
nullable: true
user_name:
type: string
nullable: true
example:
id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
user_id: "b82d57c1-5152-49b5-8c32-d5e686fac07b"
profile_title: "30g/60g/30s"
start_time: "2024-05-18T08:31:20Z"
updated_at: 1716021080
duration: 30.5
bean_brand: "Example Roasters"
bean_type: "House Espresso"
drink_weight: "40.0"
espresso_enjoyment: 8
tags:
- morning
metadata:
group: "Competition"
brewdata:
profile: "decent"
ShotBeanconqueror:
type: object
required:
- meta
properties:
bean:
type: object
nullable: true
additionalProperties: true
brew:
type: object
nullable: true
additionalProperties: true
mill:
type: object
nullable: true
additionalProperties: true
preparation:
type: object
nullable: true
additionalProperties: true
timeframe:
type: object
nullable: true
additionalProperties: true
data:
type: object
nullable: true
additionalProperties: true
brewdata:
type: object
nullable: true
additionalProperties: true
meta:
type: object
required:
- visualizer
properties:
visualizer:
$ref: "#/components/schemas/ShotVisualizerMeta"
example:
bean:
roaster: "Example Roaster"
name: "House Espresso"
brew:
grind_weight: 18
brew_beverage_quantity: 36
preparation:
name: "Decent DE1"
meta:
visualizer:
shot_id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
user_id: "b82d57c1-5152-49b5-8c32-d5e686fac07b"
updated_at: 1716021080
tags:
- morning
ShotSharedCollection:
type: array
items:
$ref: "#/components/schemas/ShotDetail"
ShotProfileJson:
type: object
additionalProperties: true
description: JSON profile data emitted by supported integrations.
example:
name: "Turbo profile"
steps:
- temperature: 93
seconds: 5
ShotProfileFile:
type: string
format: binary
description: Downloadable profile file (CSV, JSON, or TCL).
ShotUploadPayload:
type: object
additionalProperties: true
description: Raw JSON payload exported by supported devices or applications.
example:
bean:
roaster: "Example Roaster"
name: "House Espresso"
brew:
grind_weight: 18
brew_beverage_quantity: 36
ShotUploadResult:
type: object
required:
- id
properties:
id:
type: string
format: uuid
example:
id: "c8fe2d3a-6d11-4a8f-9c73-1d4f6a0efb73"
ShotDeleteResult:
type: object
required:
- success
properties:
success:
type: boolean
example:
success: true
RoasterSummary:
type: object
required:
- id
- name
properties:
id:
type: string
format: uuid
name:
type: string
example:
id: "5f7b3f5a-2fb5-4531-9ee0-6f7e0e6bd2ef"
name: "Example Roasters"
RoasterListResponse:
type: object
required:
- data
- paging
properties:
data:
type: array
items:
$ref: "#/components/schemas/RoasterSummary"
paging:
$ref: "#/components/schemas/Paging"
RoasterDetail:
type: object
required:
- id
- name
properties:
id:
type: string
format: uuid
name:
type: string
website:
type: string
format: uri
nullable: true
image_url:
type: string
format: uri
nullable: true
example:
id: "5f7b3f5a-2fb5-4531-9ee0-6f7e0e6bd2ef"
name: "Example Roasters"
website: "https://example.com"
image_url: "https://visualizer.coffee/uploads/roasters/example.jpg"
CoffeeBagSummary:
type: object
required: