@snokam/mcp-api 0.124.2 → 0.124.3

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,2727 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Events API",
5
+ "description": "Events and notifications service",
6
+ "version": "v1.0.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "/api/events"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1.0/public": {
15
+ "get": {
16
+ "tags": [
17
+ "Events"
18
+ ],
19
+ "summary": "Gets events",
20
+ "description": "Retrieves events within a date range.",
21
+ "operationId": "PublicEvents",
22
+ "parameters": [
23
+ {
24
+ "name": "from",
25
+ "in": "query",
26
+ "description": "The start date for the events",
27
+ "schema": {
28
+ "type": "string",
29
+ "format": "date-time"
30
+ },
31
+ "x-ms-summary": "Start date"
32
+ },
33
+ {
34
+ "name": "to",
35
+ "in": "query",
36
+ "description": "The end date for the events",
37
+ "schema": {
38
+ "type": "string",
39
+ "format": "date-time"
40
+ },
41
+ "x-ms-summary": "End date"
42
+ },
43
+ {
44
+ "name": "token",
45
+ "in": "query",
46
+ "description": "Bypass token",
47
+ "schema": {
48
+ "type": "string"
49
+ },
50
+ "x-ms-summary": "Token"
51
+ }
52
+ ],
53
+ "responses": {
54
+ "200": {
55
+ "description": "Events retrieved successfully",
56
+ "content": {
57
+ "application/json": {
58
+ "schema": {
59
+ "type": "array",
60
+ "items": {
61
+ "$ref": "#/components/schemas/event"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "x-ms-summary": "Success"
67
+ },
68
+ "400": {
69
+ "description": "Invalid query parameters",
70
+ "content": {
71
+ "application/json": {
72
+ "schema": {
73
+ "$ref": "#/components/schemas/badRequestResult"
74
+ }
75
+ }
76
+ },
77
+ "x-ms-summary": "Bad Request"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "/v1.0/public/{eventIdOrSlug}": {
83
+ "get": {
84
+ "tags": [
85
+ "Events"
86
+ ],
87
+ "summary": "Gets an event by slug or id",
88
+ "description": "Retrieves an event by its slug or id.",
89
+ "operationId": "PublicEvent",
90
+ "parameters": [
91
+ {
92
+ "name": "eventIdOrSlug",
93
+ "in": "path",
94
+ "description": "The slug or id of the event to retrieve",
95
+ "required": true,
96
+ "schema": {
97
+ "type": "string"
98
+ },
99
+ "x-ms-summary": "The slug or id of the event"
100
+ },
101
+ {
102
+ "name": "token",
103
+ "in": "query",
104
+ "description": "Guest participation token; grants read access to a non-public event",
105
+ "schema": {
106
+ "type": "string"
107
+ },
108
+ "x-ms-summary": "Participant token"
109
+ }
110
+ ],
111
+ "responses": {
112
+ "200": {
113
+ "description": "Event retrieved successfully",
114
+ "content": {
115
+ "application/json": {
116
+ "schema": {
117
+ "$ref": "#/components/schemas/event"
118
+ }
119
+ }
120
+ },
121
+ "x-ms-summary": "Success"
122
+ },
123
+ "401": {
124
+ "description": "User is not authorized",
125
+ "x-ms-summary": "Unauthorized"
126
+ },
127
+ "404": {
128
+ "description": "Event not found",
129
+ "x-ms-summary": "Not Found"
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "/v1.0/public/random-event": {
135
+ "get": {
136
+ "tags": [
137
+ "Events"
138
+ ],
139
+ "summary": "Gets random event",
140
+ "description": "Retrieves random event",
141
+ "operationId": "GetPublicRandomEvent",
142
+ "responses": {
143
+ "200": {
144
+ "description": "Event retrieved successfully",
145
+ "content": {
146
+ "application/json": {
147
+ "schema": {
148
+ "$ref": "#/components/schemas/event"
149
+ }
150
+ }
151
+ },
152
+ "x-ms-summary": "Success"
153
+ }
154
+ }
155
+ }
156
+ },
157
+ "/v1.0/public/ongoing-event": {
158
+ "get": {
159
+ "tags": [
160
+ "Events"
161
+ ],
162
+ "summary": "Gets ongoing event",
163
+ "description": "Retrieves ongoing event",
164
+ "operationId": "GetPublicOngoingEvent",
165
+ "responses": {
166
+ "200": {
167
+ "description": "Event retrieved successfully",
168
+ "content": {
169
+ "application/json": {
170
+ "schema": {
171
+ "$ref": "#/components/schemas/event"
172
+ }
173
+ }
174
+ },
175
+ "x-ms-summary": "Success"
176
+ },
177
+ "204": {
178
+ "description": "No ongoing events",
179
+ "x-ms-summary": "Not content"
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "/v1.0/public/ongoing-events": {
185
+ "get": {
186
+ "tags": [
187
+ "Events"
188
+ ],
189
+ "summary": "Gets ongoing events",
190
+ "description": "Retrieves ongoing events",
191
+ "operationId": "GetPublicOngoingEvents",
192
+ "responses": {
193
+ "200": {
194
+ "description": "Event retrieved successfully",
195
+ "content": {
196
+ "application/json": {
197
+ "schema": {
198
+ "type": "array",
199
+ "items": {
200
+ "$ref": "#/components/schemas/event"
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "x-ms-summary": "Success"
206
+ },
207
+ "204": {
208
+ "description": "No ongoing events",
209
+ "x-ms-summary": "Not content"
210
+ }
211
+ }
212
+ }
213
+ },
214
+ "/v1.0/public/{eventId}/add-guest-feedback": {
215
+ "post": {
216
+ "tags": [
217
+ "Events"
218
+ ],
219
+ "summary": "Add guest feedback",
220
+ "description": "Adds guest event feedback",
221
+ "operationId": "AddGuestFeedback",
222
+ "parameters": [
223
+ {
224
+ "name": "eventId",
225
+ "in": "path",
226
+ "description": "The ID of the event to patch",
227
+ "required": true,
228
+ "schema": {
229
+ "type": "string"
230
+ },
231
+ "x-ms-summary": "The ID of the event"
232
+ }
233
+ ],
234
+ "requestBody": {
235
+ "description": "Event data to patch",
236
+ "content": {
237
+ "application/json": {
238
+ "schema": {
239
+ "$ref": "#/components/schemas/addGuestGeedback"
240
+ }
241
+ }
242
+ },
243
+ "required": true
244
+ },
245
+ "responses": {
246
+ "200": {
247
+ "description": "Event feedback sent successfully",
248
+ "x-ms-summary": "Success"
249
+ }
250
+ }
251
+ }
252
+ },
253
+ "/v1.0/public/get-guest-events-pending-feedback": {
254
+ "get": {
255
+ "tags": [
256
+ "Events"
257
+ ],
258
+ "summary": "Gets guest events pending feedback",
259
+ "description": "Gets guest events pending feedback",
260
+ "operationId": "GetGuestEventsPendingFeedback",
261
+ "parameters": [
262
+ {
263
+ "name": "token",
264
+ "in": "query",
265
+ "description": "Participation token",
266
+ "schema": {
267
+ "type": "string"
268
+ },
269
+ "x-ms-summary": "Token"
270
+ }
271
+ ],
272
+ "responses": {
273
+ "200": {
274
+ "description": "Event feedback sent successfully",
275
+ "content": {
276
+ "application/json": {
277
+ "schema": {
278
+ "type": "array",
279
+ "items": {
280
+ "$ref": "#/components/schemas/event"
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "x-ms-summary": "Success"
286
+ }
287
+ },
288
+ "security": [
289
+ {
290
+ "Implicit": [
291
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
292
+ ]
293
+ }
294
+ ]
295
+ }
296
+ },
297
+ "/v1.0/public/instagram/feed": {
298
+ "get": {
299
+ "tags": [
300
+ "Instagram"
301
+ ],
302
+ "summary": "Gets Instagram feed",
303
+ "description": "Retrieves the public Instagram feed (media posts). Cached for 1 hour.",
304
+ "operationId": "GetPublicInstagramFeed",
305
+ "responses": {
306
+ "200": {
307
+ "description": "Instagram feed retrieved successfully",
308
+ "content": {
309
+ "application/json": {
310
+ "schema": {
311
+ "$ref": "#/components/schemas/instagramFeedResponse"
312
+ }
313
+ }
314
+ },
315
+ "x-ms-summary": "Success"
316
+ }
317
+ }
318
+ }
319
+ },
320
+ "/v1.0/public/{eventId}/memories": {
321
+ "post": {
322
+ "tags": [
323
+ "Events"
324
+ ],
325
+ "summary": "Upload my memories to an event",
326
+ "description": "Upload my memories to an event",
327
+ "operationId": "UploadGuestMemories",
328
+ "parameters": [
329
+ {
330
+ "name": "eventId",
331
+ "in": "path",
332
+ "description": "The id of the event to upload memories to",
333
+ "required": true,
334
+ "schema": {
335
+ "type": "string"
336
+ },
337
+ "x-ms-summary": "The id of the event"
338
+ }
339
+ ],
340
+ "requestBody": {
341
+ "description": "Event data to patch",
342
+ "content": {
343
+ "application/json": {
344
+ "schema": {
345
+ "type": "array",
346
+ "items": {
347
+ "$ref": "#/components/schemas/sanityCreateMemory"
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "required": true
353
+ },
354
+ "responses": {
355
+ "200": {
356
+ "description": "Memories uploaded sent successfully",
357
+ "x-ms-summary": "Success"
358
+ }
359
+ },
360
+ "security": [
361
+ {
362
+ "Implicit": [
363
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
364
+ ]
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ "/v1.0/public/blob-storage": {
370
+ "get": {
371
+ "tags": [
372
+ "Tokens"
373
+ ],
374
+ "summary": "Gets blob storage and creates sas token",
375
+ "description": "Generates a sas token for use to upload image and video memories to azure blob storage",
376
+ "operationId": "GetBlobStorage",
377
+ "responses": {
378
+ "200": {
379
+ "description": "Generated token",
380
+ "content": {
381
+ "application/json": {
382
+ "schema": {
383
+ "$ref": "#/components/schemas/azureBlobStorageCredentials"
384
+ }
385
+ }
386
+ },
387
+ "x-ms-summary": "Success"
388
+ },
389
+ "401": {
390
+ "description": "User is not authorized",
391
+ "x-ms-summary": "Unauthorized"
392
+ }
393
+ }
394
+ }
395
+ },
396
+ "/v1.0/public/{eventId}/participate": {
397
+ "post": {
398
+ "tags": [
399
+ "Events"
400
+ ],
401
+ "summary": "Participates in an event",
402
+ "description": "Registers participation in an event.",
403
+ "operationId": "Participate",
404
+ "parameters": [
405
+ {
406
+ "name": "eventId",
407
+ "in": "path",
408
+ "description": "The ID of the event to patch",
409
+ "required": true,
410
+ "schema": {
411
+ "type": "string"
412
+ },
413
+ "x-ms-summary": "The ID of the event"
414
+ }
415
+ ],
416
+ "requestBody": {
417
+ "description": "Participation data",
418
+ "content": {
419
+ "application/json": {
420
+ "schema": {
421
+ "$ref": "#/components/schemas/participate"
422
+ }
423
+ }
424
+ },
425
+ "required": true
426
+ },
427
+ "responses": {
428
+ "200": {
429
+ "description": "Participation registered successfully",
430
+ "content": {
431
+ "application/json": {
432
+ "schema": {
433
+ "$ref": "#/components/schemas/participant"
434
+ }
435
+ }
436
+ },
437
+ "x-ms-summary": "Success"
438
+ },
439
+ "401": {
440
+ "description": "User is not authorized",
441
+ "x-ms-summary": "Unauthorized"
442
+ }
443
+ }
444
+ },
445
+ "delete": {
446
+ "tags": [
447
+ "Events"
448
+ ],
449
+ "summary": "Removes participation",
450
+ "description": "Removes participation from an event.",
451
+ "operationId": "RemoveParticipation",
452
+ "parameters": [
453
+ {
454
+ "name": "eventId",
455
+ "in": "path",
456
+ "description": "The ID of the event to patch",
457
+ "required": true,
458
+ "schema": {
459
+ "type": "string"
460
+ },
461
+ "x-ms-summary": "The ID of the event"
462
+ }
463
+ ],
464
+ "requestBody": {
465
+ "description": "Data to remove participation",
466
+ "content": {
467
+ "application/json": {
468
+ "schema": {
469
+ "$ref": "#/components/schemas/removeParticipation"
470
+ }
471
+ }
472
+ },
473
+ "required": true
474
+ },
475
+ "responses": {
476
+ "200": {
477
+ "description": "Participation removed successfully",
478
+ "x-ms-summary": "Success"
479
+ },
480
+ "401": {
481
+ "description": "User is not authorized",
482
+ "x-ms-summary": "Unauthorized"
483
+ }
484
+ }
485
+ }
486
+ },
487
+ "/v1.0/protected": {
488
+ "get": {
489
+ "tags": [
490
+ "Events"
491
+ ],
492
+ "summary": "Gets events",
493
+ "description": "Retrieves events within a date range.",
494
+ "operationId": "ProtectedEvents",
495
+ "parameters": [
496
+ {
497
+ "name": "from",
498
+ "in": "query",
499
+ "description": "The start date for the events",
500
+ "schema": {
501
+ "type": "string",
502
+ "format": "date-time"
503
+ },
504
+ "x-ms-summary": "Start date"
505
+ },
506
+ {
507
+ "name": "to",
508
+ "in": "query",
509
+ "description": "The end date for the events",
510
+ "schema": {
511
+ "type": "string",
512
+ "format": "date-time"
513
+ },
514
+ "x-ms-summary": "End date"
515
+ }
516
+ ],
517
+ "responses": {
518
+ "200": {
519
+ "description": "Events retrieved successfully",
520
+ "content": {
521
+ "application/json": {
522
+ "schema": {
523
+ "type": "array",
524
+ "items": {
525
+ "$ref": "#/components/schemas/event"
526
+ }
527
+ }
528
+ }
529
+ },
530
+ "x-ms-summary": "Success"
531
+ },
532
+ "400": {
533
+ "description": "Invalid query parameters",
534
+ "content": {
535
+ "application/json": {
536
+ "schema": {
537
+ "$ref": "#/components/schemas/badRequestResult"
538
+ }
539
+ }
540
+ },
541
+ "x-ms-summary": "Bad Request"
542
+ }
543
+ },
544
+ "security": [
545
+ {
546
+ "Implicit": [
547
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
548
+ ]
549
+ }
550
+ ]
551
+ },
552
+ "post": {
553
+ "tags": [
554
+ "Events"
555
+ ],
556
+ "summary": "Creates an event",
557
+ "description": "Creates a new event.",
558
+ "operationId": "Create",
559
+ "requestBody": {
560
+ "description": "Event data to create",
561
+ "content": {
562
+ "application/json": {
563
+ "schema": {
564
+ "$ref": "#/components/schemas/createEvent"
565
+ }
566
+ }
567
+ },
568
+ "required": true
569
+ },
570
+ "responses": {
571
+ "200": {
572
+ "description": "Event created successfully",
573
+ "content": {
574
+ "application/json": {
575
+ "schema": {
576
+ "$ref": "#/components/schemas/sanityEvent"
577
+ }
578
+ }
579
+ },
580
+ "x-ms-summary": "Success"
581
+ },
582
+ "401": {
583
+ "description": "User is not authorized",
584
+ "x-ms-summary": "Unauthorized"
585
+ }
586
+ },
587
+ "security": [
588
+ {
589
+ "Implicit": [
590
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
591
+ ]
592
+ }
593
+ ]
594
+ }
595
+ },
596
+ "/v1.0/protected/{eventIdOrSlug}": {
597
+ "get": {
598
+ "tags": [
599
+ "Events"
600
+ ],
601
+ "summary": "Gets an event by slug or id",
602
+ "description": "Retrieves an event by its slug or id.",
603
+ "operationId": "ProtectedEvent",
604
+ "parameters": [
605
+ {
606
+ "name": "eventIdOrSlug",
607
+ "in": "path",
608
+ "description": "The slug or id of the event to retrieve",
609
+ "required": true,
610
+ "schema": {
611
+ "type": "string"
612
+ },
613
+ "x-ms-summary": "The slug or id of the event"
614
+ }
615
+ ],
616
+ "responses": {
617
+ "200": {
618
+ "description": "Event retrieved successfully",
619
+ "content": {
620
+ "application/json": {
621
+ "schema": {
622
+ "$ref": "#/components/schemas/event"
623
+ }
624
+ }
625
+ },
626
+ "x-ms-summary": "Success"
627
+ },
628
+ "401": {
629
+ "description": "User is not authorized",
630
+ "x-ms-summary": "Unauthorized"
631
+ },
632
+ "404": {
633
+ "description": "Event not found",
634
+ "x-ms-summary": "Not Found"
635
+ }
636
+ },
637
+ "security": [
638
+ {
639
+ "Implicit": [
640
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
641
+ ]
642
+ }
643
+ ]
644
+ },
645
+ "patch": {
646
+ "tags": [
647
+ "Events"
648
+ ],
649
+ "summary": "Patches an event",
650
+ "description": "Patches an existing event.",
651
+ "operationId": "PatchMyEvent",
652
+ "parameters": [
653
+ {
654
+ "name": "eventIdOrSlug",
655
+ "in": "path",
656
+ "description": "The ID of the event to patch",
657
+ "required": true,
658
+ "schema": {
659
+ "type": "string"
660
+ },
661
+ "x-ms-summary": "The ID of the event"
662
+ }
663
+ ],
664
+ "requestBody": {
665
+ "description": "Event data to patch",
666
+ "content": {
667
+ "application/json": {
668
+ "schema": {
669
+ "$ref": "#/components/schemas/patchEvent"
670
+ }
671
+ }
672
+ },
673
+ "required": true
674
+ },
675
+ "responses": {
676
+ "200": {
677
+ "description": "Event patched successfully",
678
+ "content": {
679
+ "application/json": {
680
+ "schema": {
681
+ "$ref": "#/components/schemas/event"
682
+ }
683
+ }
684
+ },
685
+ "x-ms-summary": "Success"
686
+ },
687
+ "401": {
688
+ "description": "User is not authorized",
689
+ "x-ms-summary": "Unauthorized"
690
+ }
691
+ },
692
+ "security": [
693
+ {
694
+ "Implicit": [
695
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
696
+ ]
697
+ }
698
+ ]
699
+ }
700
+ },
701
+ "/v1.0/protected/random-event": {
702
+ "get": {
703
+ "tags": [
704
+ "Events"
705
+ ],
706
+ "summary": "Gets random event",
707
+ "description": "Retrieves random event",
708
+ "operationId": "GetProtectedRandomEvent",
709
+ "responses": {
710
+ "200": {
711
+ "description": "Event retrieved successfully",
712
+ "content": {
713
+ "application/json": {
714
+ "schema": {
715
+ "$ref": "#/components/schemas/event"
716
+ }
717
+ }
718
+ },
719
+ "x-ms-summary": "Success"
720
+ }
721
+ },
722
+ "security": [
723
+ {
724
+ "Implicit": [
725
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
726
+ ]
727
+ }
728
+ ]
729
+ }
730
+ },
731
+ "/v1.0/protected/ongoing-event": {
732
+ "get": {
733
+ "tags": [
734
+ "Events"
735
+ ],
736
+ "summary": "Gets ongoing event",
737
+ "description": "Retrieves ongoing event",
738
+ "operationId": "GetProtectedOngoingEvent",
739
+ "responses": {
740
+ "200": {
741
+ "description": "Event retrieved successfully",
742
+ "content": {
743
+ "application/json": {
744
+ "schema": {
745
+ "$ref": "#/components/schemas/event"
746
+ }
747
+ }
748
+ },
749
+ "x-ms-summary": "Success"
750
+ },
751
+ "204": {
752
+ "description": "No ongoing events",
753
+ "x-ms-summary": "Not content"
754
+ }
755
+ },
756
+ "security": [
757
+ {
758
+ "Implicit": [
759
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
760
+ ]
761
+ }
762
+ ]
763
+ }
764
+ },
765
+ "/v1.0/protected/{eventIdOrSlug}/invitation-preview": {
766
+ "get": {
767
+ "tags": [
768
+ "Events"
769
+ ],
770
+ "summary": "Preview invitation recipients",
771
+ "description": "Returns the list of subscriber emails that would receive an invitation for the given event type. Does not send any email.",
772
+ "operationId": "GetInvitationPreview",
773
+ "parameters": [
774
+ {
775
+ "name": "eventIdOrSlug",
776
+ "in": "path",
777
+ "description": "The slug or id of the event (for route consistency)",
778
+ "required": true,
779
+ "schema": {
780
+ "type": "string"
781
+ },
782
+ "x-ms-summary": "The slug or id of the event"
783
+ },
784
+ {
785
+ "name": "eventTypeId",
786
+ "in": "query",
787
+ "description": "The ID of the event type to preview subscribers for",
788
+ "required": true,
789
+ "schema": {
790
+ "type": "string"
791
+ },
792
+ "x-ms-summary": "The event type ID"
793
+ }
794
+ ],
795
+ "responses": {
796
+ "200": {
797
+ "description": "List of subscriber emails",
798
+ "content": {
799
+ "application/json": {
800
+ "schema": {
801
+ "$ref": "#/components/schemas/invitationPreviewResponse"
802
+ }
803
+ }
804
+ },
805
+ "x-ms-summary": "Success"
806
+ },
807
+ "400": {
808
+ "description": "Event type ID is required",
809
+ "x-ms-summary": "Bad Request"
810
+ },
811
+ "401": {
812
+ "description": "User is not authorized",
813
+ "x-ms-summary": "Unauthorized"
814
+ }
815
+ },
816
+ "security": [
817
+ {
818
+ "Implicit": [
819
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
820
+ ]
821
+ }
822
+ ]
823
+ }
824
+ },
825
+ "/v1.0/protected/{eventIdOrSlug}/send-invitations": {
826
+ "post": {
827
+ "tags": [
828
+ "Events"
829
+ ],
830
+ "summary": "Sends email invitations",
831
+ "description": "Sends email invitations to subscribers of the specified event type and marks invitationSent as true. Cannot be called if invitations have already been sent.",
832
+ "operationId": "SendInvitations",
833
+ "parameters": [
834
+ {
835
+ "name": "eventIdOrSlug",
836
+ "in": "path",
837
+ "description": "The slug or id of the event to send invitations for",
838
+ "required": true,
839
+ "schema": {
840
+ "type": "string"
841
+ },
842
+ "x-ms-summary": "The slug or id of the event"
843
+ },
844
+ {
845
+ "name": "eventTypeId",
846
+ "in": "query",
847
+ "description": "The ID of the event type to send invitations to subscribers of",
848
+ "required": true,
849
+ "schema": {
850
+ "type": "string"
851
+ },
852
+ "x-ms-summary": "The event type ID"
853
+ }
854
+ ],
855
+ "responses": {
856
+ "200": {
857
+ "description": "Invitations sent successfully",
858
+ "content": {
859
+ "application/json": {
860
+ "schema": {
861
+ "$ref": "#/components/schemas/event"
862
+ }
863
+ }
864
+ },
865
+ "x-ms-summary": "Success"
866
+ },
867
+ "400": {
868
+ "description": "No subscribers found for event type, or invitations have already been sent",
869
+ "x-ms-summary": "Bad Request"
870
+ },
871
+ "401": {
872
+ "description": "User is not authorized",
873
+ "x-ms-summary": "Unauthorized"
874
+ },
875
+ "404": {
876
+ "description": "Event not found",
877
+ "x-ms-summary": "Not Found"
878
+ }
879
+ },
880
+ "security": [
881
+ {
882
+ "Implicit": [
883
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
884
+ ]
885
+ }
886
+ ]
887
+ }
888
+ },
889
+ "/v1.0/protected/{eventId}/add-my-feedback": {
890
+ "post": {
891
+ "tags": [
892
+ "Events"
893
+ ],
894
+ "summary": "Add my feedback",
895
+ "description": "Adds my event feedback",
896
+ "operationId": "AddMyFeedback",
897
+ "parameters": [
898
+ {
899
+ "name": "eventId",
900
+ "in": "path",
901
+ "description": "The ID of the event to patch",
902
+ "required": true,
903
+ "schema": {
904
+ "type": "string"
905
+ },
906
+ "x-ms-summary": "The ID of the event"
907
+ }
908
+ ],
909
+ "requestBody": {
910
+ "description": "Event data to patch",
911
+ "content": {
912
+ "application/json": {
913
+ "schema": {
914
+ "$ref": "#/components/schemas/addEmployeeFeedback"
915
+ }
916
+ }
917
+ },
918
+ "required": true
919
+ },
920
+ "responses": {
921
+ "200": {
922
+ "description": "Event feedback sent successfully",
923
+ "x-ms-summary": "Success"
924
+ }
925
+ },
926
+ "security": [
927
+ {
928
+ "Implicit": [
929
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
930
+ ]
931
+ }
932
+ ]
933
+ }
934
+ },
935
+ "/v1.0/protected/get-my-events-pending-feedback": {
936
+ "get": {
937
+ "tags": [
938
+ "Events"
939
+ ],
940
+ "summary": "Gets events pending feedback",
941
+ "description": "Gets events pending feedback",
942
+ "operationId": "GetMyEventsPendingFeedback",
943
+ "responses": {
944
+ "200": {
945
+ "description": "Event feedback sent successfully",
946
+ "content": {
947
+ "application/json": {
948
+ "schema": {
949
+ "type": "array",
950
+ "items": {
951
+ "$ref": "#/components/schemas/event"
952
+ }
953
+ }
954
+ }
955
+ },
956
+ "x-ms-summary": "Success"
957
+ }
958
+ },
959
+ "security": [
960
+ {
961
+ "Implicit": [
962
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
963
+ ]
964
+ }
965
+ ]
966
+ }
967
+ },
968
+ "/v1.0/protected/health/{provider}": {
969
+ "get": {
970
+ "tags": [
971
+ "Health"
972
+ ],
973
+ "summary": "Checks an integration's connectivity",
974
+ "operationId": "EventsIntegrationHealth",
975
+ "parameters": [
976
+ {
977
+ "name": "provider",
978
+ "in": "path",
979
+ "required": true,
980
+ "schema": {
981
+ "type": "string"
982
+ }
983
+ }
984
+ ],
985
+ "responses": {
986
+ "200": {
987
+ "description": "Health result",
988
+ "content": {
989
+ "application/json": {
990
+ "schema": {
991
+ "$ref": "#/components/schemas/integrationHealthResult"
992
+ }
993
+ }
994
+ }
995
+ }
996
+ },
997
+ "security": [
998
+ {
999
+ "Implicit": [
1000
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1001
+ ]
1002
+ }
1003
+ ]
1004
+ }
1005
+ },
1006
+ "/v1.0/protected/{eventId}/memories/{memoryKey}": {
1007
+ "patch": {
1008
+ "tags": [
1009
+ "Events"
1010
+ ],
1011
+ "summary": "Reviews media",
1012
+ "description": "Approves or rejects a memory.",
1013
+ "operationId": "ReviewUploadedMemory",
1014
+ "parameters": [
1015
+ {
1016
+ "name": "eventId",
1017
+ "in": "path",
1018
+ "description": "The id of the event to patch",
1019
+ "required": true,
1020
+ "schema": {
1021
+ "type": "string"
1022
+ },
1023
+ "x-ms-summary": "The id of the event"
1024
+ },
1025
+ {
1026
+ "name": "memoryKey",
1027
+ "in": "path",
1028
+ "description": "The key of the memory to patch",
1029
+ "required": true,
1030
+ "schema": {
1031
+ "type": "string"
1032
+ },
1033
+ "x-ms-summary": "The key of the memory"
1034
+ }
1035
+ ],
1036
+ "requestBody": {
1037
+ "description": "Review data",
1038
+ "content": {
1039
+ "application/json": {
1040
+ "schema": {
1041
+ "$ref": "#/components/schemas/patchEventMemory"
1042
+ }
1043
+ }
1044
+ },
1045
+ "required": true
1046
+ },
1047
+ "responses": {
1048
+ "200": {
1049
+ "description": "Event patched successfully",
1050
+ "content": {
1051
+ "application/json": {
1052
+ "schema": {
1053
+ "$ref": "#/components/schemas/event"
1054
+ }
1055
+ }
1056
+ },
1057
+ "x-ms-summary": "Success"
1058
+ },
1059
+ "401": {
1060
+ "description": "User is not authorized",
1061
+ "x-ms-summary": "Unauthorized"
1062
+ }
1063
+ },
1064
+ "security": [
1065
+ {
1066
+ "Implicit": [
1067
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1068
+ ]
1069
+ }
1070
+ ]
1071
+ }
1072
+ },
1073
+ "/v1.0/protected/{eventId}/memories": {
1074
+ "post": {
1075
+ "tags": [
1076
+ "Events"
1077
+ ],
1078
+ "summary": "Upload my memories to an event",
1079
+ "description": "Upload my memories to an event",
1080
+ "operationId": "UploadMyMemories",
1081
+ "parameters": [
1082
+ {
1083
+ "name": "eventId",
1084
+ "in": "path",
1085
+ "description": "The id of the event to patch",
1086
+ "required": true,
1087
+ "schema": {
1088
+ "type": "string"
1089
+ },
1090
+ "x-ms-summary": "The id of the event"
1091
+ }
1092
+ ],
1093
+ "requestBody": {
1094
+ "description": "Event data to patch",
1095
+ "content": {
1096
+ "application/json": {
1097
+ "schema": {
1098
+ "type": "array",
1099
+ "items": {
1100
+ "$ref": "#/components/schemas/sanityCreateMemory"
1101
+ }
1102
+ }
1103
+ }
1104
+ },
1105
+ "required": true
1106
+ },
1107
+ "responses": {
1108
+ "200": {
1109
+ "description": "Memories uploaded sent successfully",
1110
+ "x-ms-summary": "Success"
1111
+ }
1112
+ },
1113
+ "security": [
1114
+ {
1115
+ "Implicit": [
1116
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1117
+ ]
1118
+ }
1119
+ ]
1120
+ }
1121
+ },
1122
+ "/v1.0/protected/{eventId}/participate": {
1123
+ "post": {
1124
+ "tags": [
1125
+ "Events"
1126
+ ],
1127
+ "summary": "Participates in an event",
1128
+ "description": "Registers participation in an event.",
1129
+ "operationId": "AddMyParticipation",
1130
+ "parameters": [
1131
+ {
1132
+ "name": "eventId",
1133
+ "in": "path",
1134
+ "description": "The ID of the event to patch",
1135
+ "required": true,
1136
+ "schema": {
1137
+ "type": "string"
1138
+ },
1139
+ "x-ms-summary": "The ID of the event"
1140
+ }
1141
+ ],
1142
+ "responses": {
1143
+ "200": {
1144
+ "description": "Participation registered successfully",
1145
+ "content": {
1146
+ "application/json": {
1147
+ "schema": {
1148
+ "$ref": "#/components/schemas/participant"
1149
+ }
1150
+ }
1151
+ },
1152
+ "x-ms-summary": "Success"
1153
+ },
1154
+ "401": {
1155
+ "description": "User is not authorized",
1156
+ "x-ms-summary": "Unauthorized"
1157
+ }
1158
+ },
1159
+ "security": [
1160
+ {
1161
+ "Implicit": [
1162
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1163
+ ]
1164
+ }
1165
+ ]
1166
+ },
1167
+ "delete": {
1168
+ "tags": [
1169
+ "Events"
1170
+ ],
1171
+ "summary": "Removes participation",
1172
+ "description": "Removes participation from an event.",
1173
+ "operationId": "RemoveMyParticipation",
1174
+ "parameters": [
1175
+ {
1176
+ "name": "eventId",
1177
+ "in": "path",
1178
+ "description": "The ID of the event to patch",
1179
+ "required": true,
1180
+ "schema": {
1181
+ "type": "string"
1182
+ },
1183
+ "x-ms-summary": "The ID of the event"
1184
+ }
1185
+ ],
1186
+ "responses": {
1187
+ "200": {
1188
+ "description": "Participation removed successfully",
1189
+ "x-ms-summary": "Success"
1190
+ },
1191
+ "401": {
1192
+ "description": "User is not authorized",
1193
+ "x-ms-summary": "Unauthorized"
1194
+ }
1195
+ },
1196
+ "security": [
1197
+ {
1198
+ "Implicit": [
1199
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1200
+ ]
1201
+ }
1202
+ ]
1203
+ }
1204
+ },
1205
+ "/v1.0/protected/{eventId}/participate/employee": {
1206
+ "post": {
1207
+ "tags": [
1208
+ "Events"
1209
+ ],
1210
+ "summary": "Registers an employee as participant",
1211
+ "description": "Registers a specific employee as an internal participant in an event. Requires authentication.",
1212
+ "operationId": "AddParticipationForEmployee",
1213
+ "parameters": [
1214
+ {
1215
+ "name": "eventId",
1216
+ "in": "path",
1217
+ "description": "The ID of the event",
1218
+ "required": true,
1219
+ "schema": {
1220
+ "type": "string"
1221
+ },
1222
+ "x-ms-summary": "The ID of the event"
1223
+ }
1224
+ ],
1225
+ "requestBody": {
1226
+ "description": "Employee participation data",
1227
+ "content": {
1228
+ "application/json": {
1229
+ "schema": {
1230
+ "$ref": "#/components/schemas/participateEmployee"
1231
+ }
1232
+ }
1233
+ },
1234
+ "required": true
1235
+ },
1236
+ "responses": {
1237
+ "200": {
1238
+ "description": "Participation registered successfully",
1239
+ "content": {
1240
+ "application/json": {
1241
+ "schema": {
1242
+ "$ref": "#/components/schemas/participant"
1243
+ }
1244
+ }
1245
+ },
1246
+ "x-ms-summary": "Success"
1247
+ },
1248
+ "401": {
1249
+ "description": "User is not authorized",
1250
+ "x-ms-summary": "Unauthorized"
1251
+ }
1252
+ },
1253
+ "security": [
1254
+ {
1255
+ "Implicit": [
1256
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1257
+ ]
1258
+ }
1259
+ ]
1260
+ }
1261
+ },
1262
+ "/v1.0/protected/instagram": {
1263
+ "post": {
1264
+ "tags": [
1265
+ "Social Media"
1266
+ ],
1267
+ "summary": "Posts images to Instagram",
1268
+ "description": "Posts images to Instagram.",
1269
+ "operationId": "PostToInstagram",
1270
+ "requestBody": {
1271
+ "description": "Data to post images to Instagram",
1272
+ "content": {
1273
+ "application/json": {
1274
+ "schema": {
1275
+ "$ref": "#/components/schemas/postToInstagram"
1276
+ }
1277
+ }
1278
+ },
1279
+ "required": true
1280
+ },
1281
+ "responses": {
1282
+ "200": {
1283
+ "description": "Images posted to Instagram successfully",
1284
+ "content": {
1285
+ "application/json": {
1286
+ "schema": {
1287
+ "type": "string"
1288
+ }
1289
+ }
1290
+ },
1291
+ "x-ms-summary": "Success"
1292
+ },
1293
+ "401": {
1294
+ "description": "User is not authorized",
1295
+ "x-ms-summary": "Unauthorized"
1296
+ }
1297
+ },
1298
+ "security": [
1299
+ {
1300
+ "Implicit": [
1301
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1302
+ ]
1303
+ }
1304
+ ]
1305
+ }
1306
+ }
1307
+ },
1308
+ "components": {
1309
+ "schemas": {
1310
+ "addEmployeeFeedback": {
1311
+ "type": "object",
1312
+ "properties": {
1313
+ "sanityType": {
1314
+ "enum": [
1315
+ "response"
1316
+ ],
1317
+ "type": "string",
1318
+ "default": "response"
1319
+ },
1320
+ "comment": {
1321
+ "type": "string"
1322
+ },
1323
+ "foodAndDrinkRating": {
1324
+ "type": "number",
1325
+ "format": "double"
1326
+ },
1327
+ "locationRating": {
1328
+ "type": "number",
1329
+ "format": "double"
1330
+ },
1331
+ "organizationRating": {
1332
+ "type": "number",
1333
+ "format": "double"
1334
+ },
1335
+ "overallRating": {
1336
+ "type": "number",
1337
+ "format": "double"
1338
+ },
1339
+ "additionalProperties": {
1340
+ "type": "object",
1341
+ "additionalProperties": {
1342
+ "type": "object"
1343
+ }
1344
+ }
1345
+ }
1346
+ },
1347
+ "addGuestGeedback": {
1348
+ "required": [
1349
+ "token"
1350
+ ],
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "token": {
1354
+ "minLength": 1,
1355
+ "type": "string",
1356
+ "nullable": true
1357
+ },
1358
+ "sanityType": {
1359
+ "enum": [
1360
+ "response"
1361
+ ],
1362
+ "type": "string",
1363
+ "default": "response"
1364
+ },
1365
+ "comment": {
1366
+ "type": "string"
1367
+ },
1368
+ "foodAndDrinkRating": {
1369
+ "type": "number",
1370
+ "format": "double"
1371
+ },
1372
+ "locationRating": {
1373
+ "type": "number",
1374
+ "format": "double"
1375
+ },
1376
+ "organizationRating": {
1377
+ "type": "number",
1378
+ "format": "double"
1379
+ },
1380
+ "overallRating": {
1381
+ "type": "number",
1382
+ "format": "double"
1383
+ },
1384
+ "additionalProperties": {
1385
+ "type": "object",
1386
+ "additionalProperties": {
1387
+ "type": "object"
1388
+ }
1389
+ }
1390
+ }
1391
+ },
1392
+ "azureBlobStorageCredentials": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "blobUrl": {
1396
+ "type": "string"
1397
+ },
1398
+ "sasToken": {
1399
+ "type": "string"
1400
+ },
1401
+ "additionalProperties": {
1402
+ "type": "object",
1403
+ "additionalProperties": {
1404
+ "type": "object"
1405
+ }
1406
+ }
1407
+ }
1408
+ },
1409
+ "badRequestResult": {
1410
+ "type": "object",
1411
+ "properties": {
1412
+ "statusCode": {
1413
+ "type": "integer",
1414
+ "format": "int32"
1415
+ }
1416
+ }
1417
+ },
1418
+ "componentMedia": {
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "sanityType": {
1422
+ "enum": [
1423
+ "component.media"
1424
+ ],
1425
+ "type": "string",
1426
+ "default": "component.media"
1427
+ },
1428
+ "type": {
1429
+ "enum": [
1430
+ "image",
1431
+ "video"
1432
+ ],
1433
+ "type": "string",
1434
+ "default": "image"
1435
+ },
1436
+ "image": {
1437
+ "$ref": "#/components/schemas/componentMediaImage"
1438
+ },
1439
+ "video": {
1440
+ "$ref": "#/components/schemas/muxVideo"
1441
+ }
1442
+ }
1443
+ },
1444
+ "componentMediaImage": {
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "sanityType": {
1448
+ "enum": [
1449
+ "image"
1450
+ ],
1451
+ "type": "string",
1452
+ "default": "image"
1453
+ },
1454
+ "asset": {
1455
+ "$ref": "#/components/schemas/sanityImageAssetReference"
1456
+ },
1457
+ "crop": {
1458
+ "$ref": "#/components/schemas/sanityImageCrop"
1459
+ },
1460
+ "hotspot": {
1461
+ "$ref": "#/components/schemas/sanityImageHotspot"
1462
+ },
1463
+ "media": {
1464
+ "type": "object"
1465
+ }
1466
+ }
1467
+ },
1468
+ "createEvent": {
1469
+ "type": "object",
1470
+ "properties": {
1471
+ "status": {
1472
+ "enum": [
1473
+ "active",
1474
+ "cancelled"
1475
+ ],
1476
+ "type": "string",
1477
+ "default": "active"
1478
+ },
1479
+ "dates": {
1480
+ "type": "array",
1481
+ "items": {
1482
+ "type": "string",
1483
+ "format": "date-time"
1484
+ },
1485
+ "nullable": true
1486
+ },
1487
+ "file": {
1488
+ "$ref": "#/components/schemas/createEventFile"
1489
+ },
1490
+ "sanityType": {
1491
+ "enum": [
1492
+ "event"
1493
+ ],
1494
+ "type": "string",
1495
+ "default": "event"
1496
+ },
1497
+ "allowDigitalParticipation": {
1498
+ "type": "boolean"
1499
+ },
1500
+ "askForFeedback": {
1501
+ "type": "boolean"
1502
+ },
1503
+ "category": {
1504
+ "type": "array",
1505
+ "items": {
1506
+ "type": "string"
1507
+ }
1508
+ },
1509
+ "creator": {
1510
+ "$ref": "#/components/schemas/employeeReference"
1511
+ },
1512
+ "description": {
1513
+ "type": "string"
1514
+ },
1515
+ "endTime": {
1516
+ "type": "string"
1517
+ },
1518
+ "eventType": {
1519
+ "type": "array",
1520
+ "items": {
1521
+ "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
1522
+ }
1523
+ },
1524
+ "feedback": {
1525
+ "type": "array",
1526
+ "items": {
1527
+ "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
1528
+ }
1529
+ },
1530
+ "invitationSent": {
1531
+ "type": "boolean"
1532
+ },
1533
+ "isServingFood": {
1534
+ "type": "boolean"
1535
+ },
1536
+ "linkOnly": {
1537
+ "type": "boolean"
1538
+ },
1539
+ "manualMemoriesApproval": {
1540
+ "type": "boolean"
1541
+ },
1542
+ "maxParticipants": {
1543
+ "type": "number",
1544
+ "format": "double"
1545
+ },
1546
+ "media": {
1547
+ "$ref": "#/components/schemas/componentMedia"
1548
+ },
1549
+ "memories": {
1550
+ "type": "array",
1551
+ "items": {
1552
+ "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
1553
+ }
1554
+ },
1555
+ "participants": {
1556
+ "type": "array",
1557
+ "items": {
1558
+ "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
1559
+ }
1560
+ },
1561
+ "participationStart": {
1562
+ "type": "string"
1563
+ },
1564
+ "place": {
1565
+ "type": "string"
1566
+ },
1567
+ "public": {
1568
+ "type": "boolean"
1569
+ },
1570
+ "recurringId": {
1571
+ "type": "string"
1572
+ },
1573
+ "slug": {
1574
+ "$ref": "#/components/schemas/slug"
1575
+ },
1576
+ "teamsLink": {
1577
+ "type": "string"
1578
+ },
1579
+ "time": {
1580
+ "type": "string"
1581
+ },
1582
+ "title": {
1583
+ "type": "string"
1584
+ },
1585
+ "additionalProperties": {
1586
+ "type": "object",
1587
+ "additionalProperties": {
1588
+ "type": "object"
1589
+ }
1590
+ }
1591
+ }
1592
+ },
1593
+ "createEventFile": {
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "type": {
1597
+ "type": "string",
1598
+ "nullable": true
1599
+ },
1600
+ "url": {
1601
+ "type": "string",
1602
+ "nullable": true
1603
+ },
1604
+ "filename": {
1605
+ "type": "string",
1606
+ "nullable": true
1607
+ }
1608
+ },
1609
+ "nullable": true
1610
+ },
1611
+ "employeeReference": {
1612
+ "type": "object",
1613
+ "properties": {
1614
+ "sanityType": {
1615
+ "enum": [
1616
+ "reference"
1617
+ ],
1618
+ "type": "string",
1619
+ "default": "reference"
1620
+ },
1621
+ "sanityRef": {
1622
+ "type": "string"
1623
+ },
1624
+ "sanityWeak": {
1625
+ "type": "boolean"
1626
+ }
1627
+ }
1628
+ },
1629
+ "event": {
1630
+ "required": [
1631
+ "sanityId",
1632
+ "sanityType",
1633
+ "sanityRev",
1634
+ "sanityCreatedAt",
1635
+ "sanityUpdatedAt",
1636
+ "creator",
1637
+ "title",
1638
+ "slug",
1639
+ "description",
1640
+ "eventTypes",
1641
+ "time"
1642
+ ],
1643
+ "type": "object",
1644
+ "properties": {
1645
+ "sanityId": {
1646
+ "minLength": 1,
1647
+ "type": "string"
1648
+ },
1649
+ "sanityType": {
1650
+ "minLength": 1,
1651
+ "type": "string"
1652
+ },
1653
+ "sanityRev": {
1654
+ "minLength": 1,
1655
+ "type": "string"
1656
+ },
1657
+ "sanityCreatedAt": {
1658
+ "minLength": 1,
1659
+ "type": "string"
1660
+ },
1661
+ "sanityUpdatedAt": {
1662
+ "minLength": 1,
1663
+ "type": "string"
1664
+ },
1665
+ "creator": {
1666
+ "$ref": "#/components/schemas/sanityOrderEmployee"
1667
+ },
1668
+ "participants": {
1669
+ "type": "array",
1670
+ "items": {
1671
+ "$ref": "#/components/schemas/participant"
1672
+ }
1673
+ },
1674
+ "memories": {
1675
+ "type": "array",
1676
+ "items": {
1677
+ "$ref": "#/components/schemas/sanityEventMemoriesInner"
1678
+ }
1679
+ },
1680
+ "media": {
1681
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
1682
+ },
1683
+ "unapprovedMediaCount": {
1684
+ "type": "integer",
1685
+ "format": "int32"
1686
+ },
1687
+ "recurringId": {
1688
+ "type": "string"
1689
+ },
1690
+ "public": {
1691
+ "type": "boolean"
1692
+ },
1693
+ "linkOnly": {
1694
+ "type": "boolean"
1695
+ },
1696
+ "status": {
1697
+ "type": "string"
1698
+ },
1699
+ "askForFeedback": {
1700
+ "type": "boolean"
1701
+ },
1702
+ "title": {
1703
+ "minLength": 1,
1704
+ "type": "string"
1705
+ },
1706
+ "slug": {
1707
+ "$ref": "#/components/schemas/slug"
1708
+ },
1709
+ "description": {
1710
+ "minLength": 1,
1711
+ "type": "string"
1712
+ },
1713
+ "isServingFood": {
1714
+ "type": "boolean",
1715
+ "nullable": true
1716
+ },
1717
+ "eventTypes": {
1718
+ "type": "array",
1719
+ "items": {
1720
+ "$ref": "#/components/schemas/eventType"
1721
+ }
1722
+ },
1723
+ "endTime": {
1724
+ "type": "string"
1725
+ },
1726
+ "place": {
1727
+ "type": "string"
1728
+ },
1729
+ "maxParticipants": {
1730
+ "type": "number",
1731
+ "format": "double",
1732
+ "nullable": true
1733
+ },
1734
+ "time": {
1735
+ "minLength": 1,
1736
+ "type": "string"
1737
+ },
1738
+ "participationStart": {
1739
+ "type": "string"
1740
+ },
1741
+ "manualMemoriesApproval": {
1742
+ "type": "boolean"
1743
+ },
1744
+ "feedback": {
1745
+ "type": "array",
1746
+ "items": {
1747
+ "$ref": "#/components/schemas/sanityEventFeedbackInner"
1748
+ }
1749
+ },
1750
+ "invitationSent": {
1751
+ "type": "boolean",
1752
+ "nullable": true
1753
+ },
1754
+ "allowDigitalParticipation": {
1755
+ "type": "boolean",
1756
+ "nullable": true
1757
+ },
1758
+ "teamsLink": {
1759
+ "type": "string"
1760
+ }
1761
+ }
1762
+ },
1763
+ "eventType": {
1764
+ "type": "object",
1765
+ "properties": {
1766
+ "sanityId": {
1767
+ "type": "string"
1768
+ },
1769
+ "sanityType": {
1770
+ "type": "string"
1771
+ },
1772
+ "name": {
1773
+ "type": "string"
1774
+ },
1775
+ "slug": {
1776
+ "$ref": "#/components/schemas/slug"
1777
+ },
1778
+ "canSubscribe": {
1779
+ "type": "boolean"
1780
+ }
1781
+ }
1782
+ },
1783
+ "image": {
1784
+ "type": "object",
1785
+ "properties": {
1786
+ "url": {
1787
+ "type": "string"
1788
+ },
1789
+ "tags": {
1790
+ "type": "array",
1791
+ "items": {
1792
+ "$ref": "#/components/schemas/tag"
1793
+ }
1794
+ }
1795
+ }
1796
+ },
1797
+ "instagramFeedResponse": {
1798
+ "type": "object",
1799
+ "properties": {
1800
+ "username": {
1801
+ "type": "string"
1802
+ },
1803
+ "name": {
1804
+ "type": "string"
1805
+ },
1806
+ "profileUrl": {
1807
+ "type": "string"
1808
+ },
1809
+ "profilePictureUrl": {
1810
+ "type": "string"
1811
+ },
1812
+ "mediaCount": {
1813
+ "type": "integer",
1814
+ "format": "int32"
1815
+ },
1816
+ "followersCount": {
1817
+ "type": "integer",
1818
+ "format": "int32"
1819
+ },
1820
+ "followsCount": {
1821
+ "type": "integer",
1822
+ "format": "int32"
1823
+ },
1824
+ "media": {
1825
+ "type": "array",
1826
+ "items": {
1827
+ "$ref": "#/components/schemas/instagramMedia"
1828
+ }
1829
+ }
1830
+ }
1831
+ },
1832
+ "instagramMedia": {
1833
+ "type": "object",
1834
+ "properties": {
1835
+ "id": {
1836
+ "type": "string"
1837
+ },
1838
+ "caption": {
1839
+ "type": "string"
1840
+ },
1841
+ "mediaType": {
1842
+ "type": "string"
1843
+ },
1844
+ "mediaUrl": {
1845
+ "type": "string"
1846
+ },
1847
+ "thumbnailUrl": {
1848
+ "type": "string"
1849
+ },
1850
+ "permalink": {
1851
+ "type": "string"
1852
+ },
1853
+ "timestamp": {
1854
+ "type": "string"
1855
+ }
1856
+ }
1857
+ },
1858
+ "integrationHealthResult": {
1859
+ "type": "object",
1860
+ "properties": {
1861
+ "key": {
1862
+ "type": "string"
1863
+ },
1864
+ "status": {
1865
+ "type": "string"
1866
+ },
1867
+ "message": {
1868
+ "type": "string"
1869
+ }
1870
+ }
1871
+ },
1872
+ "invitationPreviewResponse": {
1873
+ "type": "object",
1874
+ "properties": {
1875
+ "emails": {
1876
+ "type": "array",
1877
+ "items": {
1878
+ "type": "string"
1879
+ }
1880
+ }
1881
+ }
1882
+ },
1883
+ "muxVideo": {
1884
+ "type": "object",
1885
+ "properties": {
1886
+ "sanityType": {
1887
+ "enum": [
1888
+ "mux.video"
1889
+ ],
1890
+ "type": "string",
1891
+ "default": "mux.video"
1892
+ },
1893
+ "asset": {
1894
+ "$ref": "#/components/schemas/muxVideoAssetReference"
1895
+ }
1896
+ }
1897
+ },
1898
+ "muxVideoAssetReference": {
1899
+ "type": "object",
1900
+ "properties": {
1901
+ "sanityType": {
1902
+ "enum": [
1903
+ "reference"
1904
+ ],
1905
+ "type": "string",
1906
+ "default": "reference"
1907
+ },
1908
+ "sanityRef": {
1909
+ "type": "string"
1910
+ },
1911
+ "sanityWeak": {
1912
+ "type": "boolean"
1913
+ }
1914
+ }
1915
+ },
1916
+ "participant": {
1917
+ "required": [
1918
+ "sanityKey",
1919
+ "sanityType",
1920
+ "name",
1921
+ "email",
1922
+ "token",
1923
+ "feedbackSubmitted"
1924
+ ],
1925
+ "type": "object",
1926
+ "properties": {
1927
+ "sanityKey": {
1928
+ "minLength": 1,
1929
+ "type": "string"
1930
+ },
1931
+ "sanityType": {
1932
+ "minLength": 1,
1933
+ "type": "string"
1934
+ },
1935
+ "image": {
1936
+ "type": "string"
1937
+ },
1938
+ "name": {
1939
+ "minLength": 1,
1940
+ "type": "string"
1941
+ },
1942
+ "email": {
1943
+ "minLength": 1,
1944
+ "type": "string"
1945
+ },
1946
+ "registered": {
1947
+ "type": "string"
1948
+ },
1949
+ "details": {
1950
+ "type": "string"
1951
+ },
1952
+ "token": {
1953
+ "minLength": 1,
1954
+ "type": "string"
1955
+ },
1956
+ "feedbackSubmitted": {
1957
+ "type": "boolean"
1958
+ }
1959
+ }
1960
+ },
1961
+ "participate": {
1962
+ "required": [
1963
+ "name",
1964
+ "email"
1965
+ ],
1966
+ "type": "object",
1967
+ "properties": {
1968
+ "name": {
1969
+ "minLength": 1,
1970
+ "type": "string"
1971
+ },
1972
+ "email": {
1973
+ "minLength": 1,
1974
+ "type": "string"
1975
+ },
1976
+ "details": {
1977
+ "type": "string"
1978
+ }
1979
+ }
1980
+ },
1981
+ "participateEmployee": {
1982
+ "required": [
1983
+ "email"
1984
+ ],
1985
+ "type": "object",
1986
+ "properties": {
1987
+ "email": {
1988
+ "minLength": 1,
1989
+ "type": "string"
1990
+ },
1991
+ "details": {
1992
+ "type": "string"
1993
+ }
1994
+ }
1995
+ },
1996
+ "patchEvent": {
1997
+ "type": "object",
1998
+ "properties": {
1999
+ "file": {
2000
+ "$ref": "#/components/schemas/createEventFile"
2001
+ },
2002
+ "invitationSent": {
2003
+ "type": "boolean",
2004
+ "nullable": true
2005
+ },
2006
+ "sanityType": {
2007
+ "enum": [
2008
+ "event"
2009
+ ],
2010
+ "type": "string",
2011
+ "default": "event",
2012
+ "nullable": true
2013
+ },
2014
+ "status": {
2015
+ "enum": [
2016
+ "active",
2017
+ "cancelled"
2018
+ ],
2019
+ "type": "string",
2020
+ "default": "active",
2021
+ "nullable": true
2022
+ },
2023
+ "allowDigitalParticipation": {
2024
+ "type": "boolean",
2025
+ "nullable": true
2026
+ },
2027
+ "askForFeedback": {
2028
+ "type": "boolean",
2029
+ "nullable": true
2030
+ },
2031
+ "category": {
2032
+ "type": "array",
2033
+ "items": {
2034
+ "type": "string"
2035
+ }
2036
+ },
2037
+ "creator": {
2038
+ "$ref": "#/components/schemas/employeeReference"
2039
+ },
2040
+ "description": {
2041
+ "type": "string"
2042
+ },
2043
+ "endTime": {
2044
+ "type": "string"
2045
+ },
2046
+ "eventType": {
2047
+ "type": "array",
2048
+ "items": {
2049
+ "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
2050
+ }
2051
+ },
2052
+ "feedback": {
2053
+ "type": "array",
2054
+ "items": {
2055
+ "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
2056
+ }
2057
+ },
2058
+ "isServingFood": {
2059
+ "type": "boolean",
2060
+ "nullable": true
2061
+ },
2062
+ "linkOnly": {
2063
+ "type": "boolean",
2064
+ "nullable": true
2065
+ },
2066
+ "manualMemoriesApproval": {
2067
+ "type": "boolean",
2068
+ "nullable": true
2069
+ },
2070
+ "maxParticipants": {
2071
+ "type": "number",
2072
+ "format": "double",
2073
+ "nullable": true
2074
+ },
2075
+ "media": {
2076
+ "$ref": "#/components/schemas/componentMedia"
2077
+ },
2078
+ "memories": {
2079
+ "type": "array",
2080
+ "items": {
2081
+ "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
2082
+ }
2083
+ },
2084
+ "participants": {
2085
+ "type": "array",
2086
+ "items": {
2087
+ "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
2088
+ }
2089
+ },
2090
+ "participationStart": {
2091
+ "type": "string"
2092
+ },
2093
+ "place": {
2094
+ "type": "string"
2095
+ },
2096
+ "public": {
2097
+ "type": "boolean",
2098
+ "nullable": true
2099
+ },
2100
+ "recurringId": {
2101
+ "type": "string"
2102
+ },
2103
+ "slug": {
2104
+ "$ref": "#/components/schemas/slug"
2105
+ },
2106
+ "teamsLink": {
2107
+ "type": "string"
2108
+ },
2109
+ "time": {
2110
+ "type": "string"
2111
+ },
2112
+ "title": {
2113
+ "type": "string"
2114
+ },
2115
+ "additionalProperties": {
2116
+ "type": "object",
2117
+ "additionalProperties": {
2118
+ "type": "object"
2119
+ }
2120
+ }
2121
+ }
2122
+ },
2123
+ "patchEventMemory": {
2124
+ "type": "object",
2125
+ "properties": {
2126
+ "approved": {
2127
+ "type": "boolean"
2128
+ },
2129
+ "additionalProperties": {
2130
+ "type": "object",
2131
+ "additionalProperties": {
2132
+ "type": "object"
2133
+ }
2134
+ }
2135
+ }
2136
+ },
2137
+ "postToInstagram": {
2138
+ "required": [
2139
+ "eventId"
2140
+ ],
2141
+ "type": "object",
2142
+ "properties": {
2143
+ "eventId": {
2144
+ "minLength": 1,
2145
+ "type": "string"
2146
+ },
2147
+ "description": {
2148
+ "type": "string"
2149
+ },
2150
+ "images": {
2151
+ "type": "array",
2152
+ "items": {
2153
+ "$ref": "#/components/schemas/image"
2154
+ }
2155
+ }
2156
+ }
2157
+ },
2158
+ "removeParticipation": {
2159
+ "required": [
2160
+ "token"
2161
+ ],
2162
+ "type": "object",
2163
+ "properties": {
2164
+ "token": {
2165
+ "minLength": 1,
2166
+ "type": "string"
2167
+ }
2168
+ }
2169
+ },
2170
+ "sanityCreateEventEventTypeInner": {
2171
+ "type": "object",
2172
+ "properties": {
2173
+ "sanityType": {
2174
+ "enum": [
2175
+ "reference"
2176
+ ],
2177
+ "type": "string",
2178
+ "default": "reference"
2179
+ },
2180
+ "sanityKey": {
2181
+ "type": "string"
2182
+ },
2183
+ "sanityRef": {
2184
+ "type": "string"
2185
+ },
2186
+ "sanityWeak": {
2187
+ "type": "boolean"
2188
+ }
2189
+ }
2190
+ },
2191
+ "sanityCreateEventFeedbackInner": {
2192
+ "type": "object",
2193
+ "properties": {
2194
+ "sanityType": {
2195
+ "enum": [
2196
+ "response"
2197
+ ],
2198
+ "type": "string",
2199
+ "default": "response"
2200
+ },
2201
+ "comment": {
2202
+ "type": "string"
2203
+ },
2204
+ "foodAndDrinkRating": {
2205
+ "type": "number",
2206
+ "format": "double"
2207
+ },
2208
+ "locationRating": {
2209
+ "type": "number",
2210
+ "format": "double"
2211
+ },
2212
+ "organizationRating": {
2213
+ "type": "number",
2214
+ "format": "double"
2215
+ },
2216
+ "overallRating": {
2217
+ "type": "number",
2218
+ "format": "double"
2219
+ },
2220
+ "sanityKey": {
2221
+ "type": "string"
2222
+ }
2223
+ }
2224
+ },
2225
+ "sanityCreateEventMemoriesInner": {
2226
+ "type": "object",
2227
+ "properties": {
2228
+ "actualInstance": {
2229
+ "type": "object"
2230
+ },
2231
+ "isNullable": {
2232
+ "type": "boolean"
2233
+ },
2234
+ "schemaType": {
2235
+ "type": "string"
2236
+ }
2237
+ }
2238
+ },
2239
+ "sanityCreateEventParticipantsInner": {
2240
+ "type": "object",
2241
+ "properties": {
2242
+ "actualInstance": {
2243
+ "type": "object"
2244
+ },
2245
+ "isNullable": {
2246
+ "type": "boolean"
2247
+ },
2248
+ "schemaType": {
2249
+ "type": "string"
2250
+ }
2251
+ }
2252
+ },
2253
+ "sanityCreateMemory": {
2254
+ "type": "object",
2255
+ "properties": {
2256
+ "sanityType": {
2257
+ "enum": [
2258
+ "memory.image",
2259
+ "memory.video"
2260
+ ],
2261
+ "type": "string",
2262
+ "default": "memory.image"
2263
+ },
2264
+ "filename": {
2265
+ "type": "string"
2266
+ },
2267
+ "mediaUrl": {
2268
+ "type": "string"
2269
+ },
2270
+ "additionalProperties": {
2271
+ "type": "object",
2272
+ "additionalProperties": {
2273
+ "type": "object"
2274
+ }
2275
+ }
2276
+ }
2277
+ },
2278
+ "sanityEvent": {
2279
+ "type": "object",
2280
+ "properties": {
2281
+ "sanityType": {
2282
+ "enum": [
2283
+ "event"
2284
+ ],
2285
+ "type": "string",
2286
+ "default": "event"
2287
+ },
2288
+ "status": {
2289
+ "enum": [
2290
+ "active",
2291
+ "cancelled"
2292
+ ],
2293
+ "type": "string",
2294
+ "default": "active"
2295
+ },
2296
+ "allowDigitalParticipation": {
2297
+ "type": "boolean"
2298
+ },
2299
+ "askForFeedback": {
2300
+ "type": "boolean"
2301
+ },
2302
+ "category": {
2303
+ "type": "array",
2304
+ "items": {
2305
+ "type": "string"
2306
+ }
2307
+ },
2308
+ "creator": {
2309
+ "$ref": "#/components/schemas/sanityOrderEmployee"
2310
+ },
2311
+ "description": {
2312
+ "type": "string"
2313
+ },
2314
+ "endTime": {
2315
+ "type": "string"
2316
+ },
2317
+ "eventType": {
2318
+ "type": "array",
2319
+ "items": {
2320
+ "$ref": "#/components/schemas/sanityEventEventTypeInner"
2321
+ }
2322
+ },
2323
+ "feedback": {
2324
+ "type": "array",
2325
+ "items": {
2326
+ "$ref": "#/components/schemas/sanityEventFeedbackInner"
2327
+ }
2328
+ },
2329
+ "invitationSent": {
2330
+ "type": "boolean"
2331
+ },
2332
+ "isServingFood": {
2333
+ "type": "boolean"
2334
+ },
2335
+ "linkOnly": {
2336
+ "type": "boolean"
2337
+ },
2338
+ "manualMemoriesApproval": {
2339
+ "type": "boolean"
2340
+ },
2341
+ "maxParticipants": {
2342
+ "type": "number",
2343
+ "format": "double"
2344
+ },
2345
+ "media": {
2346
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2347
+ },
2348
+ "memories": {
2349
+ "type": "array",
2350
+ "items": {
2351
+ "$ref": "#/components/schemas/sanityEventMemoriesInner"
2352
+ }
2353
+ },
2354
+ "participants": {
2355
+ "type": "array",
2356
+ "items": {
2357
+ "$ref": "#/components/schemas/sanityEventParticipantsInner"
2358
+ }
2359
+ },
2360
+ "participationStart": {
2361
+ "type": "string"
2362
+ },
2363
+ "place": {
2364
+ "type": "string"
2365
+ },
2366
+ "public": {
2367
+ "type": "boolean"
2368
+ },
2369
+ "recurringId": {
2370
+ "type": "string"
2371
+ },
2372
+ "sanityCreatedAt": {
2373
+ "type": "string"
2374
+ },
2375
+ "sanityId": {
2376
+ "type": "string"
2377
+ },
2378
+ "sanityRev": {
2379
+ "type": "string"
2380
+ },
2381
+ "sanityUpdatedAt": {
2382
+ "type": "string"
2383
+ },
2384
+ "slug": {
2385
+ "$ref": "#/components/schemas/slug"
2386
+ },
2387
+ "teamsLink": {
2388
+ "type": "string"
2389
+ },
2390
+ "time": {
2391
+ "type": "string"
2392
+ },
2393
+ "title": {
2394
+ "type": "string"
2395
+ }
2396
+ }
2397
+ },
2398
+ "sanityEventEventTypeInner": {
2399
+ "type": "object",
2400
+ "properties": {
2401
+ "sanityType": {
2402
+ "enum": [
2403
+ "eventType"
2404
+ ],
2405
+ "type": "string",
2406
+ "default": "eventType"
2407
+ },
2408
+ "canSubscribe": {
2409
+ "type": "boolean"
2410
+ },
2411
+ "name": {
2412
+ "type": "string"
2413
+ },
2414
+ "sanityId": {
2415
+ "type": "string"
2416
+ },
2417
+ "slug": {
2418
+ "$ref": "#/components/schemas/slug"
2419
+ }
2420
+ }
2421
+ },
2422
+ "sanityEventFeedbackInner": {
2423
+ "type": "object",
2424
+ "properties": {
2425
+ "sanityType": {
2426
+ "enum": [
2427
+ "response"
2428
+ ],
2429
+ "type": "string",
2430
+ "default": "response"
2431
+ },
2432
+ "comment": {
2433
+ "type": "string"
2434
+ },
2435
+ "foodAndDrinkRating": {
2436
+ "type": "number",
2437
+ "format": "double"
2438
+ },
2439
+ "locationRating": {
2440
+ "type": "number",
2441
+ "format": "double"
2442
+ },
2443
+ "organizationRating": {
2444
+ "type": "number",
2445
+ "format": "double"
2446
+ },
2447
+ "overallRating": {
2448
+ "type": "number",
2449
+ "format": "double"
2450
+ },
2451
+ "sanityKey": {
2452
+ "type": "string"
2453
+ }
2454
+ }
2455
+ },
2456
+ "sanityEventMemoriesInner": {
2457
+ "type": "object",
2458
+ "properties": {
2459
+ "actualInstance": {
2460
+ "type": "object"
2461
+ },
2462
+ "isNullable": {
2463
+ "type": "boolean"
2464
+ },
2465
+ "schemaType": {
2466
+ "type": "string"
2467
+ }
2468
+ }
2469
+ },
2470
+ "sanityEventParticipantsInner": {
2471
+ "type": "object",
2472
+ "properties": {
2473
+ "actualInstance": {
2474
+ "type": "object"
2475
+ },
2476
+ "isNullable": {
2477
+ "type": "boolean"
2478
+ },
2479
+ "schemaType": {
2480
+ "type": "string"
2481
+ }
2482
+ }
2483
+ },
2484
+ "sanityImageAssetReference": {
2485
+ "type": "object",
2486
+ "properties": {
2487
+ "sanityType": {
2488
+ "enum": [
2489
+ "reference"
2490
+ ],
2491
+ "type": "string",
2492
+ "default": "reference"
2493
+ },
2494
+ "sanityRef": {
2495
+ "type": "string"
2496
+ },
2497
+ "sanityWeak": {
2498
+ "type": "boolean"
2499
+ }
2500
+ }
2501
+ },
2502
+ "sanityImageCrop": {
2503
+ "type": "object",
2504
+ "properties": {
2505
+ "sanityType": {
2506
+ "enum": [
2507
+ "sanity.imageCrop"
2508
+ ],
2509
+ "type": "string",
2510
+ "default": "sanity.imageCrop"
2511
+ },
2512
+ "bottom": {
2513
+ "type": "number",
2514
+ "format": "double"
2515
+ },
2516
+ "left": {
2517
+ "type": "number",
2518
+ "format": "double"
2519
+ },
2520
+ "right": {
2521
+ "type": "number",
2522
+ "format": "double"
2523
+ },
2524
+ "top": {
2525
+ "type": "number",
2526
+ "format": "double"
2527
+ }
2528
+ }
2529
+ },
2530
+ "sanityImageHotspot": {
2531
+ "type": "object",
2532
+ "properties": {
2533
+ "sanityType": {
2534
+ "enum": [
2535
+ "sanity.imageHotspot"
2536
+ ],
2537
+ "type": "string",
2538
+ "default": "sanity.imageHotspot"
2539
+ },
2540
+ "height": {
2541
+ "type": "number",
2542
+ "format": "double"
2543
+ },
2544
+ "width": {
2545
+ "type": "number",
2546
+ "format": "double"
2547
+ },
2548
+ "x": {
2549
+ "type": "number",
2550
+ "format": "double"
2551
+ },
2552
+ "y": {
2553
+ "type": "number",
2554
+ "format": "double"
2555
+ }
2556
+ }
2557
+ },
2558
+ "sanityOrderEmployee": {
2559
+ "type": "object",
2560
+ "properties": {
2561
+ "sanityType": {
2562
+ "enum": [
2563
+ "employee"
2564
+ ],
2565
+ "type": "string",
2566
+ "default": "employee"
2567
+ },
2568
+ "email": {
2569
+ "type": "string"
2570
+ },
2571
+ "image": {
2572
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
2573
+ },
2574
+ "isBot": {
2575
+ "type": "boolean",
2576
+ "nullable": true
2577
+ },
2578
+ "isExternal": {
2579
+ "type": "boolean",
2580
+ "nullable": true
2581
+ },
2582
+ "name": {
2583
+ "type": "string"
2584
+ },
2585
+ "sanityId": {
2586
+ "type": "string"
2587
+ },
2588
+ "slug": {
2589
+ "$ref": "#/components/schemas/slug"
2590
+ },
2591
+ "tags": {
2592
+ "type": "array",
2593
+ "items": {
2594
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
2595
+ }
2596
+ },
2597
+ "telephone": {
2598
+ "type": "string"
2599
+ }
2600
+ }
2601
+ },
2602
+ "sanityTechnologyWithRelationsArticlesInnerMedia": {
2603
+ "type": "object",
2604
+ "properties": {
2605
+ "actualInstance": {
2606
+ "type": "object"
2607
+ },
2608
+ "isNullable": {
2609
+ "type": "boolean"
2610
+ },
2611
+ "schemaType": {
2612
+ "type": "string"
2613
+ }
2614
+ }
2615
+ },
2616
+ "sanityTechnologyWithRelationsEmployeesInnerTagsInner": {
2617
+ "type": "object",
2618
+ "properties": {
2619
+ "sanityType": {
2620
+ "enum": [
2621
+ "tag"
2622
+ ],
2623
+ "type": "string",
2624
+ "default": "tag"
2625
+ },
2626
+ "name": {
2627
+ "type": "string"
2628
+ },
2629
+ "sanityId": {
2630
+ "type": "string"
2631
+ },
2632
+ "slug": {
2633
+ "$ref": "#/components/schemas/slug"
2634
+ }
2635
+ }
2636
+ },
2637
+ "sanityTvCategoryDashboardsInnerBackgroundImage": {
2638
+ "type": "object",
2639
+ "properties": {
2640
+ "sanityType": {
2641
+ "enum": [
2642
+ "image"
2643
+ ],
2644
+ "type": "string",
2645
+ "default": "image"
2646
+ },
2647
+ "asset": {
2648
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
2649
+ }
2650
+ }
2651
+ },
2652
+ "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
2653
+ "type": "object",
2654
+ "properties": {
2655
+ "sanityType": {
2656
+ "enum": [
2657
+ "sanity.imageAsset"
2658
+ ],
2659
+ "type": "string",
2660
+ "default": "sanity.imageAsset"
2661
+ },
2662
+ "mimeType": {
2663
+ "type": "string"
2664
+ },
2665
+ "originalFilename": {
2666
+ "type": "string"
2667
+ },
2668
+ "sanityId": {
2669
+ "type": "string"
2670
+ },
2671
+ "url": {
2672
+ "type": "string"
2673
+ }
2674
+ }
2675
+ },
2676
+ "slug": {
2677
+ "type": "object",
2678
+ "properties": {
2679
+ "sanityType": {
2680
+ "enum": [
2681
+ "slug"
2682
+ ],
2683
+ "type": "string",
2684
+ "default": "slug"
2685
+ },
2686
+ "current": {
2687
+ "type": "string"
2688
+ },
2689
+ "source": {
2690
+ "type": "string"
2691
+ }
2692
+ }
2693
+ },
2694
+ "tag": {
2695
+ "type": "object",
2696
+ "properties": {
2697
+ "username": {
2698
+ "type": "string"
2699
+ },
2700
+ "x": {
2701
+ "type": "number",
2702
+ "format": "float"
2703
+ },
2704
+ "y": {
2705
+ "type": "number",
2706
+ "format": "float"
2707
+ }
2708
+ }
2709
+ }
2710
+ },
2711
+ "securitySchemes": {
2712
+ "Implicit": {
2713
+ "type": "oauth2",
2714
+ "flows": {
2715
+ "implicit": {
2716
+ "authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
2717
+ "tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
2718
+ "refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
2719
+ "scopes": {
2720
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
2721
+ }
2722
+ }
2723
+ }
2724
+ }
2725
+ }
2726
+ }
2727
+ }