@snokam/mcp-api 0.14.0 → 0.16.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.
@@ -35,6 +35,51 @@
35
35
  }
36
36
  },
37
37
  "/v1.0/protected/articles": {
38
+ "get": {
39
+ "tags": [
40
+ "Articles"
41
+ ],
42
+ "summary": "List articles (admin)",
43
+ "description": "Returns the full published article list for the editor — live + offline articles when `includeInactive=true`. Public callers should hit sanity-function directly; this endpoint exists so my-page-web can read everything via blog-function without needing sanity-function admin perms.",
44
+ "operationId": "GetArticles",
45
+ "parameters": [
46
+ {
47
+ "name": "includeInactive",
48
+ "in": "query",
49
+ "schema": {
50
+ "type": "boolean"
51
+ },
52
+ "x-ms-summary": "Include `active=false` articles (admin view)"
53
+ }
54
+ ],
55
+ "responses": {
56
+ "200": {
57
+ "description": "Article list",
58
+ "content": {
59
+ "application/json": {
60
+ "schema": {
61
+ "type": "array",
62
+ "items": {
63
+ "$ref": "#/components/schemas/getArticlesResultInner"
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "x-ms-summary": "Success"
69
+ },
70
+ "401": {
71
+ "description": "No description",
72
+ "x-ms-summary": "Unauthorized"
73
+ }
74
+ },
75
+ "security": [
76
+ {
77
+ "Implicit": [
78
+ "api://e60092d3-3970-4a7c-a62e-19f17c4bca08/.default"
79
+ ]
80
+ }
81
+ ]
82
+ },
38
83
  "post": {
39
84
  "tags": [
40
85
  "Articles"
@@ -59,7 +104,98 @@
59
104
  "content": {
60
105
  "application/json": {
61
106
  "schema": {
62
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
107
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
108
+ }
109
+ }
110
+ },
111
+ "x-ms-summary": "Success"
112
+ },
113
+ "400": {
114
+ "description": "Payload of Object",
115
+ "content": {
116
+ "application/json": {
117
+ "schema": {
118
+ "type": "object"
119
+ }
120
+ }
121
+ },
122
+ "x-ms-summary": "Bad Request"
123
+ },
124
+ "401": {
125
+ "description": "No description",
126
+ "x-ms-summary": "Unauthorized"
127
+ }
128
+ },
129
+ "security": [
130
+ {
131
+ "Implicit": [
132
+ "api://e60092d3-3970-4a7c-a62e-19f17c4bca08/.default"
133
+ ]
134
+ }
135
+ ]
136
+ }
137
+ },
138
+ "/v1.0/protected/articles/drafts": {
139
+ "get": {
140
+ "tags": [
141
+ "Articles"
142
+ ],
143
+ "summary": "List drafts without a published counterpart",
144
+ "description": "Used by the editor to surface unpublished articles authors might want to resume.",
145
+ "operationId": "GetDraftOnlyArticles",
146
+ "responses": {
147
+ "200": {
148
+ "description": "Draft article list",
149
+ "content": {
150
+ "application/json": {
151
+ "schema": {
152
+ "type": "array",
153
+ "items": {
154
+ "$ref": "#/components/schemas/getArticlesResultInner"
155
+ }
156
+ }
157
+ }
158
+ },
159
+ "x-ms-summary": "Success"
160
+ },
161
+ "401": {
162
+ "description": "No description",
163
+ "x-ms-summary": "Unauthorized"
164
+ }
165
+ },
166
+ "security": [
167
+ {
168
+ "Implicit": [
169
+ "api://e60092d3-3970-4a7c-a62e-19f17c4bca08/.default"
170
+ ]
171
+ }
172
+ ]
173
+ },
174
+ "post": {
175
+ "tags": [
176
+ "Articles"
177
+ ],
178
+ "summary": "Create a new article as a draft",
179
+ "description": "Creates a new article in Sanity's `drafts.*` namespace. The article is not visible on the public site until PublishDraft is called.",
180
+ "operationId": "CreateDraft",
181
+ "requestBody": {
182
+ "description": "The article content to save as a draft",
183
+ "content": {
184
+ "application/json": {
185
+ "schema": {
186
+ "$ref": "#/components/schemas/sanityCreateArticle"
187
+ }
188
+ }
189
+ },
190
+ "required": true
191
+ },
192
+ "responses": {
193
+ "200": {
194
+ "description": "The newly created draft",
195
+ "content": {
196
+ "application/json": {
197
+ "schema": {
198
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
63
199
  }
64
200
  }
65
201
  },
@@ -91,6 +227,59 @@
91
227
  }
92
228
  },
93
229
  "/v1.0/protected/articles/{slugOrId}": {
230
+ "get": {
231
+ "tags": [
232
+ "Articles"
233
+ ],
234
+ "summary": "Get a single published article (admin)",
235
+ "description": "Returns the published article — `includeInactive=true` resolves \"Ikke live\" articles by slug too. Mirrors sanity-function's `/v1.0/articles/{slugOrId}` but routed through blog-function so my-page-web doesn't need direct sanity-function permissions.",
236
+ "operationId": "GetPublishedArticle",
237
+ "parameters": [
238
+ {
239
+ "name": "slugOrId",
240
+ "in": "path",
241
+ "required": true,
242
+ "schema": {
243
+ "type": "string"
244
+ }
245
+ },
246
+ {
247
+ "name": "includeInactive",
248
+ "in": "query",
249
+ "schema": {
250
+ "type": "boolean"
251
+ }
252
+ }
253
+ ],
254
+ "responses": {
255
+ "200": {
256
+ "description": "The article",
257
+ "content": {
258
+ "application/json": {
259
+ "schema": {
260
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
261
+ }
262
+ }
263
+ },
264
+ "x-ms-summary": "Success"
265
+ },
266
+ "401": {
267
+ "description": "No description",
268
+ "x-ms-summary": "Unauthorized"
269
+ },
270
+ "404": {
271
+ "description": "No description",
272
+ "x-ms-summary": "Not Found"
273
+ }
274
+ },
275
+ "security": [
276
+ {
277
+ "Implicit": [
278
+ "api://e60092d3-3970-4a7c-a62e-19f17c4bca08/.default"
279
+ ]
280
+ }
281
+ ]
282
+ },
94
283
  "patch": {
95
284
  "tags": [
96
285
  "Articles"
@@ -126,7 +315,7 @@
126
315
  "content": {
127
316
  "application/json": {
128
317
  "schema": {
129
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
318
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
130
319
  }
131
320
  }
132
321
  },
@@ -184,7 +373,7 @@
184
373
  "content": {
185
374
  "application/json": {
186
375
  "schema": {
187
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
376
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
188
377
  }
189
378
  }
190
379
  },
@@ -233,7 +422,7 @@
233
422
  "content": {
234
423
  "application/json": {
235
424
  "schema": {
236
- "$ref": "#/components/schemas/sanityGetArticleWithDraftResult"
425
+ "$ref": "#/components/schemas/getArticleWithDraftResult"
237
426
  }
238
427
  }
239
428
  },
@@ -257,62 +446,6 @@
257
446
  ]
258
447
  }
259
448
  },
260
- "/v1.0/protected/articles/drafts": {
261
- "post": {
262
- "tags": [
263
- "Articles"
264
- ],
265
- "summary": "Create a new article as a draft",
266
- "description": "Creates a new article in Sanity's `drafts.*` namespace. The article is not visible on the public site until PublishDraft is called.",
267
- "operationId": "CreateDraft",
268
- "requestBody": {
269
- "description": "The article content to save as a draft",
270
- "content": {
271
- "application/json": {
272
- "schema": {
273
- "$ref": "#/components/schemas/sanityCreateArticle"
274
- }
275
- }
276
- },
277
- "required": true
278
- },
279
- "responses": {
280
- "200": {
281
- "description": "The newly created draft",
282
- "content": {
283
- "application/json": {
284
- "schema": {
285
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
286
- }
287
- }
288
- },
289
- "x-ms-summary": "Success"
290
- },
291
- "400": {
292
- "description": "Payload of Object",
293
- "content": {
294
- "application/json": {
295
- "schema": {
296
- "type": "object"
297
- }
298
- }
299
- },
300
- "x-ms-summary": "Bad Request"
301
- },
302
- "401": {
303
- "description": "No description",
304
- "x-ms-summary": "Unauthorized"
305
- }
306
- },
307
- "security": [
308
- {
309
- "Implicit": [
310
- "api://e60092d3-3970-4a7c-a62e-19f17c4bca08/.default"
311
- ]
312
- }
313
- ]
314
- }
315
- },
316
449
  "/v1.0/protected/articles/{slugOrId}/draft": {
317
450
  "patch": {
318
451
  "tags": [
@@ -349,7 +482,7 @@
349
482
  "content": {
350
483
  "application/json": {
351
484
  "schema": {
352
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
485
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
353
486
  }
354
487
  }
355
488
  },
@@ -407,7 +540,7 @@
407
540
  "content": {
408
541
  "application/json": {
409
542
  "schema": {
410
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
543
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
411
544
  }
412
545
  }
413
546
  },
@@ -456,7 +589,7 @@
456
589
  "content": {
457
590
  "application/json": {
458
591
  "schema": {
459
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
592
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
460
593
  }
461
594
  }
462
595
  },
@@ -614,1788 +747,322 @@
614
747
  }
615
748
  }
616
749
  },
617
- "articles": {
750
+ "articleSeriesReference": {
618
751
  "type": "object",
619
752
  "properties": {
620
- "articlesMember1": {
621
- "$ref": "#/components/schemas/articlesMember1"
622
- },
623
- "articlesMember2": {
624
- "$ref": "#/components/schemas/articlesMember2"
625
- },
626
- "sanityCode": {
627
- "$ref": "#/components/schemas/sanityCode"
628
- },
629
- "sanityComponentGallery": {
630
- "$ref": "#/components/schemas/sanityComponentGallery"
631
- },
632
- "sanityComponentLink": {
633
- "$ref": "#/components/schemas/sanityComponentLink"
634
- },
635
- "sanityComponentYoutube": {
636
- "$ref": "#/components/schemas/sanityComponentYoutube"
753
+ "sanityType": {
754
+ "enum": [
755
+ "reference"
756
+ ],
757
+ "type": "string",
758
+ "default": "reference"
637
759
  },
638
- "sanityIframe": {
639
- "$ref": "#/components/schemas/sanityIframe"
760
+ "sanityRef": {
761
+ "type": "string"
640
762
  },
641
- "sanityMuxVideo": {
642
- "$ref": "#/components/schemas/sanityMuxVideo"
763
+ "sanityWeak": {
764
+ "type": "boolean"
643
765
  }
644
766
  }
645
767
  },
646
- "articlesMember1": {
768
+ "componentBlocksInner": {
647
769
  "type": "object",
648
770
  "properties": {
649
- "additionalData": {
650
- "type": "object",
651
- "additionalProperties": {
652
- "type": "object"
653
- }
654
- },
655
- "children": {
656
- "type": "array",
657
- "items": {
658
- "$ref": "#/components/schemas/articlesMember1_children"
659
- }
660
- },
661
- "level": {
662
- "type": "number",
663
- "format": "double",
664
- "nullable": true
665
- },
666
- "listItem": {
667
- "enum": [
668
- 0,
669
- 1
670
- ],
671
- "type": "integer",
672
- "format": "int32",
673
- "default": 0,
674
- "nullable": true
771
+ "actualInstance": {
772
+ "type": "object"
675
773
  },
676
- "markDefs": {
677
- "type": "array",
678
- "items": {
679
- "$ref": "#/components/schemas/articlesMember1_markDefs"
680
- }
774
+ "isNullable": {
775
+ "type": "boolean"
681
776
  },
682
- "sanityKey": {
777
+ "schemaType": {
683
778
  "type": "string"
684
- },
779
+ }
780
+ }
781
+ },
782
+ "componentMedia": {
783
+ "type": "object",
784
+ "properties": {
685
785
  "sanityType": {
686
786
  "enum": [
687
- 0
787
+ "component.media"
688
788
  ],
689
- "type": "integer",
690
- "format": "int32",
691
- "default": 0,
692
- "nullable": true
789
+ "type": "string",
790
+ "default": "component.media"
693
791
  },
694
- "style": {
792
+ "type": {
695
793
  "enum": [
696
- 0,
697
- 1,
698
- 2
794
+ "image",
795
+ "video"
699
796
  ],
700
- "type": "integer",
701
- "format": "int32",
702
- "default": 0,
703
- "nullable": true
704
- }
705
- }
706
- },
707
- "articlesMember1_children": {
708
- "type": "object",
709
- "properties": {
710
- "additionalData": {
711
- "type": "object",
712
- "additionalProperties": {
713
- "type": "object"
714
- }
715
- },
716
- "marks": {
717
- "type": "array",
718
- "items": {
719
- "type": "string"
720
- }
721
- },
722
- "sanityKey": {
723
- "type": "string"
724
- },
725
- "sanityType": {
726
- "enum": [
727
- 0
728
- ],
729
- "type": "integer",
730
- "format": "int32",
731
- "default": 0,
732
- "nullable": true
733
- },
734
- "text": {
735
- "type": "string"
736
- }
737
- }
738
- },
739
- "articlesMember1_markDefs": {
740
- "type": "object",
741
- "properties": {
742
- "additionalData": {
743
- "type": "object",
744
- "additionalProperties": {
745
- "type": "object"
746
- }
747
- },
748
- "href": {
749
- "type": "string"
750
- },
751
- "sanityKey": {
752
- "type": "string"
753
- },
754
- "sanityType": {
755
- "enum": [
756
- 0
757
- ],
758
- "type": "integer",
759
- "format": "int32",
760
- "default": 0,
761
- "nullable": true
762
- }
763
- }
764
- },
765
- "articlesMember2": {
766
- "type": "object",
767
- "properties": {
768
- "additionalData": {
769
- "type": "object",
770
- "additionalProperties": {
771
- "type": "object"
772
- }
773
- },
774
- "asset": {
775
- "$ref": "#/components/schemas/sanityImageAssetReference"
776
- },
777
- "crop": {
778
- "$ref": "#/components/schemas/sanityImageCrop"
779
- },
780
- "hotspot": {
781
- "$ref": "#/components/schemas/sanityImageHotspot"
782
- },
783
- "media": {
784
- "$ref": "#/components/schemas/untypedNode"
785
- },
786
- "sanityKey": {
787
- "type": "string"
788
- },
789
- "sanityType": {
790
- "enum": [
791
- 0
792
- ],
793
- "type": "integer",
794
- "format": "int32",
795
- "default": 0,
796
- "nullable": true
797
- }
798
- }
799
- },
800
- "sanityArticleSeriesReference": {
801
- "type": "object",
802
- "properties": {
803
- "additionalData": {
804
- "type": "object",
805
- "additionalProperties": {
806
- "type": "object"
807
- }
808
- },
809
- "sanityRef": {
810
- "type": "string"
811
- },
812
- "sanityType": {
813
- "enum": [
814
- 0
815
- ],
816
- "type": "integer",
817
- "format": "int32",
818
- "default": 0,
819
- "nullable": true
820
- },
821
- "sanityWeak": {
822
- "type": "boolean",
823
- "nullable": true
824
- }
825
- }
826
- },
827
- "sanityCode": {
828
- "type": "object",
829
- "properties": {
830
- "additionalData": {
831
- "type": "object",
832
- "additionalProperties": {
833
- "type": "object"
834
- }
835
- },
836
- "code": {
837
- "type": "string"
838
- },
839
- "filename": {
840
- "type": "string"
841
- },
842
- "highlightedLines": {
843
- "type": "array",
844
- "items": {
845
- "type": "number",
846
- "format": "double"
847
- }
848
- },
849
- "language": {
850
- "type": "string"
851
- },
852
- "sanityType": {
853
- "enum": [
854
- 0
855
- ],
856
- "type": "integer",
857
- "format": "int32",
858
- "default": 0,
859
- "nullable": true
860
- }
861
- }
862
- },
863
- "sanityComponentGallery": {
864
- "type": "object",
865
- "properties": {
866
- "additionalData": {
867
- "type": "object",
868
- "additionalProperties": {
869
- "type": "object"
870
- }
871
- },
872
- "media": {
873
- "type": "array",
874
- "items": {
875
- "$ref": "#/components/schemas/sanityComponentGalleryMedia"
876
- }
877
- },
878
- "sanityType": {
879
- "enum": [
880
- 0
881
- ],
882
- "type": "integer",
883
- "format": "int32",
884
- "default": 0,
885
- "nullable": true
886
- }
887
- }
888
- },
889
- "sanityComponentGalleryMedia": {
890
- "type": "object",
891
- "properties": {
892
- "sanityComponentGalleryMediaSanityImage": {
893
- "$ref": "#/components/schemas/sanityComponentGalleryMediaSanityImage"
894
- },
895
- "sanityComponentGalleryMediaSanityMuxVideo": {
896
- "$ref": "#/components/schemas/sanityComponentGalleryMediaSanityMuxVideo"
897
- }
898
- }
899
- },
900
- "sanityComponentGalleryMediaSanityImage": {
901
- "type": "object",
902
- "properties": {
903
- "additionalData": {
904
- "type": "object",
905
- "additionalProperties": {
906
- "type": "object"
907
- }
908
- },
909
- "asset": {
910
- "$ref": "#/components/schemas/sanityImageAssetReference"
911
- },
912
- "crop": {
913
- "$ref": "#/components/schemas/sanityImageCrop"
914
- },
915
- "hotspot": {
916
- "$ref": "#/components/schemas/sanityImageHotspot"
917
- },
918
- "media": {
919
- "$ref": "#/components/schemas/untypedNode"
920
- },
921
- "sanityKey": {
922
- "type": "string"
923
- },
924
- "sanityType": {
925
- "enum": [
926
- 0
927
- ],
928
- "type": "integer",
929
- "format": "int32",
930
- "default": 0,
931
- "nullable": true
932
- }
933
- }
934
- },
935
- "sanityComponentGalleryMediaSanityMuxVideo": {
936
- "type": "object",
937
- "properties": {
938
- "sanityKey": {
939
- "type": "string"
940
- },
941
- "additionalData": {
942
- "type": "object",
943
- "additionalProperties": {
944
- "type": "object"
945
- }
946
- },
947
- "asset": {
948
- "$ref": "#/components/schemas/sanityMuxVideoAssetReference"
949
- },
950
- "sanityType": {
951
- "enum": [
952
- 0
953
- ],
954
- "type": "integer",
955
- "format": "int32",
956
- "default": 0,
957
- "nullable": true
958
- }
959
- }
960
- },
961
- "sanityComponentLink": {
962
- "type": "object",
963
- "properties": {
964
- "additionalData": {
965
- "type": "object",
966
- "additionalProperties": {
967
- "type": "object"
968
- }
969
- },
970
- "link": {
971
- "type": "string"
972
- },
973
- "sanityType": {
974
- "enum": [
975
- 0
976
- ],
977
- "type": "integer",
978
- "format": "int32",
979
- "default": 0,
980
- "nullable": true
981
- },
982
- "text": {
983
- "type": "string"
984
- }
985
- }
986
- },
987
- "sanityComponentMedia": {
988
- "type": "object",
989
- "properties": {
990
- "additionalData": {
991
- "type": "object",
992
- "additionalProperties": {
993
- "type": "object"
994
- }
995
- },
996
- "image": {
997
- "$ref": "#/components/schemas/sanityComponentMediaImage"
998
- },
999
- "sanityType": {
1000
- "enum": [
1001
- 0
1002
- ],
1003
- "type": "integer",
1004
- "format": "int32",
1005
- "default": 0,
1006
- "nullable": true
1007
- },
1008
- "type": {
1009
- "enum": [
1010
- 0,
1011
- 1
1012
- ],
1013
- "type": "integer",
1014
- "format": "int32",
1015
- "default": 0,
1016
- "nullable": true
1017
- },
1018
- "video": {
1019
- "$ref": "#/components/schemas/sanityMuxVideo"
1020
- }
1021
- }
1022
- },
1023
- "sanityComponentMediaImage": {
1024
- "type": "object",
1025
- "properties": {
1026
- "additionalData": {
1027
- "type": "object",
1028
- "additionalProperties": {
1029
- "type": "object"
1030
- }
1031
- },
1032
- "asset": {
1033
- "$ref": "#/components/schemas/sanityImageAssetReference"
1034
- },
1035
- "crop": {
1036
- "$ref": "#/components/schemas/sanityImageCrop"
1037
- },
1038
- "hotspot": {
1039
- "$ref": "#/components/schemas/sanityImageHotspot"
1040
- },
1041
- "media": {
1042
- "$ref": "#/components/schemas/untypedNode"
1043
- },
1044
- "sanityType": {
1045
- "enum": [
1046
- 0
1047
- ],
1048
- "type": "integer",
1049
- "format": "int32",
1050
- "default": 0,
1051
- "nullable": true
1052
- }
1053
- }
1054
- },
1055
- "sanityComponentYoutube": {
1056
- "type": "object",
1057
- "properties": {
1058
- "additionalData": {
1059
- "type": "object",
1060
- "additionalProperties": {
1061
- "type": "object"
1062
- }
1063
- },
1064
- "sanityType": {
1065
- "enum": [
1066
- 0
1067
- ],
1068
- "type": "integer",
1069
- "format": "int32",
1070
- "default": 0,
1071
- "nullable": true
1072
- },
1073
- "url": {
1074
- "type": "string"
1075
- }
1076
- }
1077
- },
1078
- "sanityCreateArticle": {
1079
- "type": "object",
1080
- "properties": {
1081
- "active": {
1082
- "type": "boolean",
1083
- "nullable": true
1084
- },
1085
- "additionalData": {
1086
- "type": "object",
1087
- "additionalProperties": {
1088
- "type": "object"
1089
- }
1090
- },
1091
- "articleSeries": {
1092
- "$ref": "#/components/schemas/sanityArticleSeriesReference"
1093
- },
1094
- "authors": {
1095
- "type": "array",
1096
- "items": {
1097
- "$ref": "#/components/schemas/sanityCreateArticle_authors"
1098
- }
1099
- },
1100
- "content": {
1101
- "type": "array",
1102
- "items": {
1103
- "$ref": "#/components/schemas/articles"
1104
- }
1105
- },
1106
- "customer": {
1107
- "$ref": "#/components/schemas/sanityCustomerReference"
1108
- },
1109
- "live": {
1110
- "type": "string"
1111
- },
1112
- "media": {
1113
- "$ref": "#/components/schemas/sanityComponentMedia"
1114
- },
1115
- "metaDescription": {
1116
- "type": "string"
1117
- },
1118
- "preview": {
1119
- "type": "string"
1120
- },
1121
- "publishedAt": {
1122
- "type": "string"
1123
- },
1124
- "sanityType": {
1125
- "enum": [
1126
- 0
1127
- ],
1128
- "type": "integer",
1129
- "format": "int32",
1130
- "default": 0,
1131
- "nullable": true
1132
- },
1133
- "slug": {
1134
- "$ref": "#/components/schemas/sanitySlug"
1135
- },
1136
- "subscribersNotified": {
1137
- "type": "boolean",
1138
- "nullable": true
1139
- },
1140
- "technologies": {
1141
- "type": "array",
1142
- "items": {
1143
- "$ref": "#/components/schemas/sanityCreateArticle_technologies"
1144
- }
1145
- },
1146
- "title": {
1147
- "type": "string"
1148
- }
1149
- }
1150
- },
1151
- "sanityCreateArticle_authors": {
1152
- "type": "object",
1153
- "properties": {
1154
- "sanityKey": {
1155
- "type": "string"
1156
- },
1157
- "additionalData": {
1158
- "type": "object",
1159
- "additionalProperties": {
1160
- "type": "object"
1161
- }
1162
- },
1163
- "sanityRef": {
1164
- "type": "string"
1165
- },
1166
- "sanityType": {
1167
- "enum": [
1168
- 0
1169
- ],
1170
- "type": "integer",
1171
- "format": "int32",
1172
- "default": 0,
1173
- "nullable": true
1174
- },
1175
- "sanityWeak": {
1176
- "type": "boolean",
1177
- "nullable": true
1178
- }
1179
- }
1180
- },
1181
- "sanityCreateArticle_technologies": {
1182
- "type": "object",
1183
- "properties": {
1184
- "sanityKey": {
1185
- "type": "string"
1186
- },
1187
- "additionalData": {
1188
- "type": "object",
1189
- "additionalProperties": {
1190
- "type": "object"
1191
- }
1192
- },
1193
- "sanityRef": {
1194
- "type": "string"
1195
- },
1196
- "sanityType": {
1197
- "enum": [
1198
- 0
1199
- ],
1200
- "type": "integer",
1201
- "format": "int32",
1202
- "default": 0,
1203
- "nullable": true
1204
- },
1205
- "sanityWeak": {
1206
- "type": "boolean",
1207
- "nullable": true
1208
- }
1209
- }
1210
- },
1211
- "sanityCustomerReference": {
1212
- "type": "object",
1213
- "properties": {
1214
- "additionalData": {
1215
- "type": "object",
1216
- "additionalProperties": {
1217
- "type": "object"
1218
- }
1219
- },
1220
- "sanityRef": {
1221
- "type": "string"
1222
- },
1223
- "sanityType": {
1224
- "enum": [
1225
- 0
1226
- ],
1227
- "type": "integer",
1228
- "format": "int32",
1229
- "default": 0,
1230
- "nullable": true
1231
- },
1232
- "sanityWeak": {
1233
- "type": "boolean",
1234
- "nullable": true
1235
- }
1236
- }
1237
- },
1238
- "sanityGalleryMedia_f": {
1239
- "type": "object",
1240
- "properties": {
1241
- "sanityGalleryMediaSanityImage": {
1242
- "$ref": "#/components/schemas/sanityGalleryMediaSanityImage"
1243
- },
1244
- "sanityGalleryMediaSanityVideo": {
1245
- "$ref": "#/components/schemas/sanityGalleryMediaSanityVideo"
1246
- }
1247
- }
1248
- },
1249
- "sanityGalleryMediaSanityImage": {
1250
- "type": "object",
1251
- "properties": {
1252
- "additionalData": {
1253
- "type": "object",
1254
- "additionalProperties": {
1255
- "type": "object"
1256
- }
1257
- },
1258
- "asset": {
1259
- "$ref": "#/components/schemas/sanityGalleryMediaSanityImage_asset"
1260
- },
1261
- "sanityKey": {
1262
- "type": "string"
1263
- },
1264
- "sanityType": {
1265
- "enum": [
1266
- 0
1267
- ],
1268
- "type": "integer",
1269
- "format": "int32",
1270
- "default": 0,
1271
- "nullable": true
1272
- }
1273
- }
1274
- },
1275
- "sanityGalleryMediaSanityImage_asset": {
1276
- "type": "object",
1277
- "properties": {
1278
- "additionalData": {
1279
- "type": "object",
1280
- "additionalProperties": {
1281
- "type": "object"
1282
- }
1283
- },
1284
- "mimeType": {
1285
- "type": "string"
1286
- },
1287
- "originalFilename": {
1288
- "type": "string"
1289
- },
1290
- "sanityId": {
1291
- "type": "string"
1292
- },
1293
- "sanityType": {
1294
- "enum": [
1295
- 0
1296
- ],
1297
- "type": "integer",
1298
- "format": "int32",
1299
- "default": 0,
1300
- "nullable": true
1301
- },
1302
- "url": {
1303
- "type": "string"
1304
- }
1305
- }
1306
- },
1307
- "sanityGalleryMediaSanityVideo": {
1308
- "type": "object",
1309
- "properties": {
1310
- "additionalData": {
1311
- "type": "object",
1312
- "additionalProperties": {
1313
- "type": "object"
1314
- }
1315
- },
1316
- "asset": {
1317
- "$ref": "#/components/schemas/sanityGalleryMediaSanityVideo_asset"
1318
- },
1319
- "sanityKey": {
1320
- "type": "string"
1321
- },
1322
- "sanityType": {
1323
- "enum": [
1324
- 0
1325
- ],
1326
- "type": "integer",
1327
- "format": "int32",
1328
- "default": 0,
1329
- "nullable": true
1330
- }
1331
- }
1332
- },
1333
- "sanityGalleryMediaSanityVideo_asset": {
1334
- "type": "object",
1335
- "properties": {
1336
- "additionalData": {
1337
- "type": "object",
1338
- "additionalProperties": {
1339
- "type": "object"
1340
- }
1341
- },
1342
- "filename": {
1343
- "type": "string"
1344
- },
1345
- "playbackId": {
1346
- "type": "string"
1347
- },
1348
- "sanityId": {
1349
- "type": "string"
1350
- },
1351
- "sanityType": {
1352
- "enum": [
1353
- 0
1354
- ],
1355
- "type": "integer",
1356
- "format": "int32",
1357
- "default": 0,
1358
- "nullable": true
1359
- }
1360
- }
1361
- },
1362
- "sanityGetArticlesBySlugOrIdResult": {
1363
- "type": "object",
1364
- "properties": {
1365
- "active": {
1366
- "type": "boolean",
1367
- "nullable": true
1368
- },
1369
- "additionalData": {
1370
- "type": "object",
1371
- "additionalProperties": {
1372
- "type": "object"
1373
- }
1374
- },
1375
- "articleSeries": {
1376
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_articleSeries"
1377
- },
1378
- "authors": {
1379
- "type": "array",
1380
- "items": {
1381
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_authors"
1382
- }
1383
- },
1384
- "content": {
1385
- "type": "array",
1386
- "items": {
1387
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResultContent"
1388
- }
1389
- },
1390
- "customer": {
1391
- "$ref": "#/components/schemas/sanityCustomerReference"
1392
- },
1393
- "live": {
1394
- "type": "string"
1395
- },
1396
- "media": {
1397
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_media"
1398
- },
1399
- "metaDescription": {
1400
- "type": "string"
1401
- },
1402
- "nextArticle": {
1403
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_nextArticle"
1404
- },
1405
- "preview": {
1406
- "type": "string"
1407
- },
1408
- "previousArticle": {
1409
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_previousArticle"
1410
- },
1411
- "publishedAt": {
1412
- "type": "string"
1413
- },
1414
- "sanityCreatedAt": {
1415
- "type": "string"
1416
- },
1417
- "sanityId": {
1418
- "type": "string"
1419
- },
1420
- "sanityRev": {
1421
- "type": "string"
1422
- },
1423
- "sanityType": {
1424
- "enum": [
1425
- 0
1426
- ],
1427
- "type": "integer",
1428
- "format": "int32",
1429
- "default": 0,
1430
- "nullable": true
1431
- },
1432
- "sanityUpdatedAt": {
1433
- "type": "string"
1434
- },
1435
- "slug": {
1436
- "$ref": "#/components/schemas/sanitySlug"
1437
- },
1438
- "subscribersNotified": {
1439
- "type": "boolean",
1440
- "nullable": true
1441
- },
1442
- "technologies": {
1443
- "type": "array",
1444
- "items": {
1445
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_technologies"
1446
- }
1447
- },
1448
- "title": {
1449
- "type": "string"
1450
- }
1451
- }
1452
- },
1453
- "sanityGetArticlesBySlugOrIdResult_articleSeries": {
1454
- "type": "object",
1455
- "properties": {
1456
- "additionalData": {
1457
- "type": "object",
1458
- "additionalProperties": {
1459
- "type": "object"
1460
- }
1461
- },
1462
- "sanityCreatedAt": {
1463
- "type": "string"
1464
- },
1465
- "sanityId": {
1466
- "type": "string"
1467
- },
1468
- "sanityRev": {
1469
- "type": "string"
1470
- },
1471
- "sanityType": {
1472
- "enum": [
1473
- 0
1474
- ],
1475
- "type": "integer",
1476
- "format": "int32",
1477
- "default": 0,
1478
- "nullable": true
1479
- },
1480
- "sanityUpdatedAt": {
1481
- "type": "string"
1482
- },
1483
- "slug": {
1484
- "$ref": "#/components/schemas/sanitySlug"
1485
- },
1486
- "title": {
1487
- "type": "string"
1488
- }
1489
- }
1490
- },
1491
- "sanityGetArticlesBySlugOrIdResult_authors": {
1492
- "type": "object",
1493
- "properties": {
1494
- "additionalData": {
1495
- "type": "object",
1496
- "additionalProperties": {
1497
- "type": "object"
1498
- }
1499
- },
1500
- "email": {
1501
- "type": "string"
1502
- },
1503
- "image": {
1504
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_authors_image"
1505
- },
1506
- "name": {
1507
- "type": "string"
1508
- },
1509
- "sanityId": {
1510
- "type": "string"
1511
- },
1512
- "sanityType": {
1513
- "enum": [
1514
- 0
1515
- ],
1516
- "type": "integer",
1517
- "format": "int32",
1518
- "default": 0,
1519
- "nullable": true
1520
- },
1521
- "slug": {
1522
- "$ref": "#/components/schemas/sanitySlug"
1523
- },
1524
- "tags": {
1525
- "type": "array",
1526
- "items": {
1527
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_authors_tags"
1528
- }
1529
- },
1530
- "telephone": {
1531
- "type": "string"
1532
- }
1533
- }
1534
- },
1535
- "sanityGetArticlesBySlugOrIdResult_authors_image": {
1536
- "type": "object",
1537
- "properties": {
1538
- "additionalData": {
1539
- "type": "object",
1540
- "additionalProperties": {
1541
- "type": "object"
1542
- }
1543
- },
1544
- "asset": {
1545
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_authors_image_asset"
1546
- },
1547
- "sanityType": {
1548
- "enum": [
1549
- 0
1550
- ],
1551
- "type": "integer",
1552
- "format": "int32",
1553
- "default": 0,
1554
- "nullable": true
1555
- }
1556
- }
1557
- },
1558
- "sanityGetArticlesBySlugOrIdResult_authors_image_asset": {
1559
- "type": "object",
1560
- "properties": {
1561
- "additionalData": {
1562
- "type": "object",
1563
- "additionalProperties": {
1564
- "type": "object"
1565
- }
1566
- },
1567
- "mimeType": {
1568
- "type": "string"
1569
- },
1570
- "originalFilename": {
1571
- "type": "string"
1572
- },
1573
- "sanityId": {
1574
- "type": "string"
1575
- },
1576
- "sanityType": {
1577
- "enum": [
1578
- 0
1579
- ],
1580
- "type": "integer",
1581
- "format": "int32",
1582
- "default": 0,
1583
- "nullable": true
1584
- },
1585
- "url": {
1586
- "type": "string"
1587
- }
1588
- }
1589
- },
1590
- "sanityGetArticlesBySlugOrIdResult_authors_tags": {
1591
- "type": "object",
1592
- "properties": {
1593
- "additionalData": {
1594
- "type": "object",
1595
- "additionalProperties": {
1596
- "type": "object"
1597
- }
1598
- },
1599
- "name": {
1600
- "type": "string"
1601
- },
1602
- "sanityId": {
1603
- "type": "string"
1604
- },
1605
- "sanityType": {
1606
- "enum": [
1607
- 0
1608
- ],
1609
- "type": "integer",
1610
- "format": "int32",
1611
- "default": 0,
1612
- "nullable": true
1613
- },
1614
- "slug": {
1615
- "$ref": "#/components/schemas/sanitySlug"
1616
- }
1617
- }
1618
- },
1619
- "sanityGetArticlesBySlugOrIdResult_media": {
1620
- "type": "object",
1621
- "properties": {
1622
- "sanityGetArticlesBySlugOrIdResultMediaMember1": {
1623
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_mediaMember1"
1624
- },
1625
- "sanityGetArticlesBySlugOrIdResultMediaMember2": {
1626
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_mediaMember2"
1627
- }
1628
- }
1629
- },
1630
- "sanityGetArticlesBySlugOrIdResult_mediaMember1": {
1631
- "type": "object",
1632
- "properties": {
1633
- "additionalData": {
1634
- "type": "object",
1635
- "additionalProperties": {
1636
- "type": "object"
1637
- }
1638
- },
1639
- "asset": {
1640
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_mediaMember1_asset"
1641
- },
1642
- "sanityType": {
1643
- "enum": [
1644
- 0
1645
- ],
1646
- "type": "integer",
1647
- "format": "int32",
1648
- "default": 0,
1649
- "nullable": true
1650
- }
1651
- }
1652
- },
1653
- "sanityGetArticlesBySlugOrIdResult_mediaMember1_asset": {
1654
- "type": "object",
1655
- "properties": {
1656
- "additionalData": {
1657
- "type": "object",
1658
- "additionalProperties": {
1659
- "type": "object"
1660
- }
1661
- },
1662
- "mimeType": {
1663
- "type": "string"
1664
- },
1665
- "originalFilename": {
1666
- "type": "string"
1667
- },
1668
- "sanityId": {
1669
- "type": "string"
1670
- },
1671
- "sanityType": {
1672
- "enum": [
1673
- 0
1674
- ],
1675
- "type": "integer",
1676
- "format": "int32",
1677
- "default": 0,
1678
- "nullable": true
1679
- },
1680
- "url": {
1681
- "type": "string"
1682
- }
1683
- }
1684
- },
1685
- "sanityGetArticlesBySlugOrIdResult_mediaMember2": {
1686
- "type": "object",
1687
- "properties": {
1688
- "additionalData": {
1689
- "type": "object",
1690
- "additionalProperties": {
1691
- "type": "object"
1692
- }
1693
- },
1694
- "asset": {
1695
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_mediaMember2_asset"
1696
- },
1697
- "sanityType": {
1698
- "enum": [
1699
- 0
1700
- ],
1701
- "type": "integer",
1702
- "format": "int32",
1703
- "default": 0,
1704
- "nullable": true
1705
- }
1706
- }
1707
- },
1708
- "sanityGetArticlesBySlugOrIdResult_mediaMember2_asset": {
1709
- "type": "object",
1710
- "properties": {
1711
- "additionalData": {
1712
- "type": "object",
1713
- "additionalProperties": {
1714
- "type": "object"
1715
- }
1716
- },
1717
- "filename": {
1718
- "type": "string"
1719
- },
1720
- "playbackId": {
1721
- "type": "string"
1722
- },
1723
- "sanityId": {
1724
- "type": "string"
1725
- },
1726
- "sanityType": {
1727
- "enum": [
1728
- 0
1729
- ],
1730
- "type": "integer",
1731
- "format": "int32",
1732
- "default": 0,
1733
- "nullable": true
1734
- }
1735
- }
1736
- },
1737
- "sanityGetArticlesBySlugOrIdResult_nextArticle": {
1738
- "type": "object",
1739
- "properties": {
1740
- "additionalData": {
1741
- "type": "object",
1742
- "additionalProperties": {
1743
- "type": "object"
1744
- }
1745
- },
1746
- "content": {
1747
- "$ref": "#/components/schemas/untypedNode"
1748
- },
1749
- "media": {
1750
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_nextArticle_media"
1751
- },
1752
- "sanityId": {
1753
- "type": "string"
1754
- },
1755
- "sanityType": {
1756
- "enum": [
1757
- 0
1758
- ],
1759
- "type": "integer",
1760
- "format": "int32",
1761
- "default": 0,
1762
- "nullable": true
1763
- },
1764
- "slug": {
1765
- "$ref": "#/components/schemas/sanitySlug"
1766
- },
1767
- "title": {
1768
- "type": "string"
1769
- }
1770
- }
1771
- },
1772
- "sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember1": {
1773
- "type": "object",
1774
- "properties": {
1775
- "additionalData": {
1776
- "type": "object",
1777
- "additionalProperties": {
1778
- "type": "object"
1779
- }
1780
- },
1781
- "asset": {
1782
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember1_asset"
1783
- },
1784
- "sanityType": {
1785
- "enum": [
1786
- 0
1787
- ],
1788
- "type": "integer",
1789
- "format": "int32",
1790
- "default": 0,
1791
- "nullable": true
1792
- }
1793
- }
1794
- },
1795
- "sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember1_asset": {
1796
- "type": "object",
1797
- "properties": {
1798
- "additionalData": {
1799
- "type": "object",
1800
- "additionalProperties": {
1801
- "type": "object"
1802
- }
1803
- },
1804
- "mimeType": {
1805
- "type": "string"
1806
- },
1807
- "originalFilename": {
1808
- "type": "string"
1809
- },
1810
- "sanityId": {
1811
- "type": "string"
1812
- },
1813
- "sanityType": {
1814
- "enum": [
1815
- 0
1816
- ],
1817
- "type": "integer",
1818
- "format": "int32",
1819
- "default": 0,
1820
- "nullable": true
1821
- },
1822
- "url": {
1823
- "type": "string"
1824
- }
1825
- }
1826
- },
1827
- "sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember2": {
1828
- "type": "object",
1829
- "properties": {
1830
- "additionalData": {
1831
- "type": "object",
1832
- "additionalProperties": {
1833
- "type": "object"
1834
- }
1835
- },
1836
- "asset": {
1837
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember2_asset"
1838
- },
1839
- "sanityType": {
1840
- "enum": [
1841
- 0
1842
- ],
1843
- "type": "integer",
1844
- "format": "int32",
1845
- "default": 0,
1846
- "nullable": true
1847
- }
1848
- }
1849
- },
1850
- "sanityGetArticlesBySlugOrIdResult_nextArticle_mediaMember2_asset": {
1851
- "type": "object",
1852
- "properties": {
1853
- "additionalData": {
1854
- "type": "object",
1855
- "additionalProperties": {
1856
- "type": "object"
1857
- }
1858
- },
1859
- "filename": {
1860
- "type": "string"
1861
- },
1862
- "playbackId": {
1863
- "type": "string"
1864
- },
1865
- "sanityId": {
1866
- "type": "string"
797
+ "type": "string",
798
+ "default": "image"
1867
799
  },
1868
- "sanityType": {
1869
- "enum": [
1870
- 0
1871
- ],
1872
- "type": "integer",
1873
- "format": "int32",
1874
- "default": 0,
1875
- "nullable": true
800
+ "image": {
801
+ "$ref": "#/components/schemas/componentMediaImage"
802
+ },
803
+ "video": {
804
+ "$ref": "#/components/schemas/muxVideo"
1876
805
  }
1877
806
  }
1878
807
  },
1879
- "sanityGetArticlesBySlugOrIdResult_previousArticle": {
808
+ "componentMediaImage": {
1880
809
  "type": "object",
1881
810
  "properties": {
1882
- "additionalData": {
1883
- "type": "object",
1884
- "additionalProperties": {
1885
- "type": "object"
1886
- }
1887
- },
1888
- "content": {
1889
- "$ref": "#/components/schemas/untypedNode"
1890
- },
1891
- "media": {
1892
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_previousArticle_media"
1893
- },
1894
- "sanityId": {
1895
- "type": "string"
1896
- },
1897
811
  "sanityType": {
1898
812
  "enum": [
1899
- 0
813
+ "image"
1900
814
  ],
1901
- "type": "integer",
1902
- "format": "int32",
1903
- "default": 0,
1904
- "nullable": true
815
+ "type": "string",
816
+ "default": "image"
1905
817
  },
1906
- "slug": {
1907
- "$ref": "#/components/schemas/sanitySlug"
818
+ "asset": {
819
+ "$ref": "#/components/schemas/sanityImageAssetReference"
1908
820
  },
1909
- "title": {
1910
- "type": "string"
1911
- }
1912
- }
1913
- },
1914
- "sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember1": {
1915
- "type": "object",
1916
- "properties": {
1917
- "additionalData": {
1918
- "type": "object",
1919
- "additionalProperties": {
1920
- "type": "object"
1921
- }
821
+ "crop": {
822
+ "$ref": "#/components/schemas/sanityImageCrop"
1922
823
  },
1923
- "asset": {
1924
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember1_asset"
824
+ "hotspot": {
825
+ "$ref": "#/components/schemas/sanityImageHotspot"
1925
826
  },
1926
- "sanityType": {
1927
- "enum": [
1928
- 0
1929
- ],
1930
- "type": "integer",
1931
- "format": "int32",
1932
- "default": 0,
1933
- "nullable": true
827
+ "media": {
828
+ "type": "object"
1934
829
  }
1935
830
  }
1936
831
  },
1937
- "sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember1_asset": {
832
+ "customerReference": {
1938
833
  "type": "object",
1939
834
  "properties": {
1940
- "additionalData": {
1941
- "type": "object",
1942
- "additionalProperties": {
1943
- "type": "object"
1944
- }
1945
- },
1946
- "mimeType": {
1947
- "type": "string"
1948
- },
1949
- "originalFilename": {
1950
- "type": "string"
1951
- },
1952
- "sanityId": {
1953
- "type": "string"
1954
- },
1955
835
  "sanityType": {
1956
836
  "enum": [
1957
- 0
837
+ "reference"
1958
838
  ],
1959
- "type": "integer",
1960
- "format": "int32",
1961
- "default": 0,
1962
- "nullable": true
839
+ "type": "string",
840
+ "default": "reference"
1963
841
  },
1964
- "url": {
842
+ "sanityRef": {
1965
843
  "type": "string"
844
+ },
845
+ "sanityWeak": {
846
+ "type": "boolean"
1966
847
  }
1967
848
  }
1968
849
  },
1969
- "sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember2": {
850
+ "getArticlesBySlugOrIdResult": {
1970
851
  "type": "object",
1971
852
  "properties": {
1972
- "additionalData": {
1973
- "type": "object",
1974
- "additionalProperties": {
1975
- "type": "object"
1976
- }
1977
- },
1978
- "asset": {
1979
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember2_asset"
1980
- },
1981
853
  "sanityType": {
1982
854
  "enum": [
1983
- 0
855
+ "article"
1984
856
  ],
1985
- "type": "integer",
1986
- "format": "int32",
1987
- "default": 0,
1988
- "nullable": true
1989
- }
1990
- }
1991
- },
1992
- "sanityGetArticlesBySlugOrIdResult_previousArticle_mediaMember2_asset": {
1993
- "type": "object",
1994
- "properties": {
1995
- "additionalData": {
1996
- "type": "object",
1997
- "additionalProperties": {
1998
- "type": "object"
1999
- }
857
+ "type": "string",
858
+ "default": "article"
2000
859
  },
2001
- "filename": {
2002
- "type": "string"
2003
- },
2004
- "playbackId": {
2005
- "type": "string"
860
+ "active": {
861
+ "type": "boolean"
2006
862
  },
2007
- "sanityId": {
2008
- "type": "string"
863
+ "articleSeries": {
864
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultArticleSeries"
2009
865
  },
2010
- "sanityType": {
2011
- "enum": [
2012
- 0
2013
- ],
2014
- "type": "integer",
2015
- "format": "int32",
2016
- "default": 0,
2017
- "nullable": true
2018
- }
2019
- }
2020
- },
2021
- "sanityGetArticlesBySlugOrIdResult_technologies": {
2022
- "type": "object",
2023
- "properties": {
2024
- "additionalData": {
2025
- "type": "object",
2026
- "additionalProperties": {
2027
- "type": "object"
866
+ "authors": {
867
+ "type": "array",
868
+ "items": {
869
+ "$ref": "#/components/schemas/sanityOrderEmployee"
2028
870
  }
2029
871
  },
2030
- "description": {
872
+ "content": {
2031
873
  "type": "array",
2032
874
  "items": {
2033
- "$ref": "#/components/schemas/articles"
875
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInner"
2034
876
  }
2035
877
  },
2036
- "parent": {
2037
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult_technologies_parent"
878
+ "customer": {
879
+ "$ref": "#/components/schemas/customerReference"
2038
880
  },
2039
- "sanityCreatedAt": {
881
+ "live": {
2040
882
  "type": "string"
2041
883
  },
2042
- "sanityId": {
2043
- "type": "string"
884
+ "media": {
885
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2044
886
  },
2045
- "sanityRev": {
887
+ "metaDescription": {
2046
888
  "type": "string"
2047
889
  },
2048
- "sanityType": {
2049
- "enum": [
2050
- 0
2051
- ],
2052
- "type": "integer",
2053
- "format": "int32",
2054
- "default": 0,
2055
- "nullable": true
890
+ "nextArticle": {
891
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultNextArticle"
2056
892
  },
2057
- "sanityUpdatedAt": {
893
+ "preview": {
2058
894
  "type": "string"
2059
895
  },
2060
- "slug": {
2061
- "$ref": "#/components/schemas/sanitySlug"
896
+ "previousArticle": {
897
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultNextArticle"
2062
898
  },
2063
- "title": {
899
+ "publishedAt": {
2064
900
  "type": "string"
2065
- }
2066
- }
2067
- },
2068
- "sanityGetArticlesBySlugOrIdResult_technologies_parent": {
2069
- "type": "object",
2070
- "properties": {
2071
- "additionalData": {
2072
- "type": "object",
2073
- "additionalProperties": {
2074
- "type": "object"
2075
- }
2076
901
  },
2077
- "name": {
902
+ "sanityCreatedAt": {
2078
903
  "type": "string"
2079
904
  },
2080
905
  "sanityId": {
2081
906
  "type": "string"
2082
907
  },
2083
- "sanityType": {
2084
- "enum": [
2085
- 0
2086
- ],
2087
- "type": "integer",
2088
- "format": "int32",
2089
- "default": 0,
2090
- "nullable": true
2091
- },
2092
- "slug": {
2093
- "$ref": "#/components/schemas/sanitySlug"
2094
- }
2095
- }
2096
- },
2097
- "sanityGetArticlesBySlugOrIdResultContent": {
2098
- "type": "object",
2099
- "properties": {
2100
- "sanityGalleryMediaSanityVideo": {
2101
- "$ref": "#/components/schemas/sanityGalleryMediaSanityVideo"
2102
- },
2103
- "sanityGetArticlesBySlugOrIdResultContentSanityGallery": {
2104
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResultContentSanityGallery"
2105
- },
2106
- "sanityProjectContentSanityBlock": {
2107
- "$ref": "#/components/schemas/sanityProjectContentSanityBlock"
2108
- },
2109
- "sanityProjectContentSanityCode": {
2110
- "$ref": "#/components/schemas/sanityProjectContentSanityCode"
2111
- },
2112
- "sanityProjectContentSanityComponentLink": {
2113
- "$ref": "#/components/schemas/sanityProjectContentSanityComponentLink"
908
+ "sanityRev": {
909
+ "type": "string"
2114
910
  },
2115
- "sanityProjectContentSanityComponentYoutube": {
2116
- "$ref": "#/components/schemas/sanityProjectContentSanityComponentYoutube"
911
+ "sanityUpdatedAt": {
912
+ "type": "string"
2117
913
  },
2118
- "sanityProjectContentSanityIframe": {
2119
- "$ref": "#/components/schemas/sanityProjectContentSanityIframe"
914
+ "slug": {
915
+ "$ref": "#/components/schemas/slug"
2120
916
  },
2121
- "sanityProjectContentSanityImage": {
2122
- "$ref": "#/components/schemas/sanityProjectContentSanityImage"
2123
- }
2124
- }
2125
- },
2126
- "sanityGetArticlesBySlugOrIdResultContentSanityGallery": {
2127
- "type": "object",
2128
- "properties": {
2129
- "additionalData": {
2130
- "type": "object",
2131
- "additionalProperties": {
2132
- "type": "object"
2133
- }
917
+ "subscribersNotified": {
918
+ "type": "boolean"
2134
919
  },
2135
- "media": {
920
+ "technologies": {
2136
921
  "type": "array",
2137
922
  "items": {
2138
- "$ref": "#/components/schemas/sanityGalleryMedia_f"
2139
- }
2140
- },
2141
- "sanityKey": {
2142
- "type": "string"
2143
- },
2144
- "sanityType": {
2145
- "enum": [
2146
- 0
2147
- ],
2148
- "type": "integer",
2149
- "format": "int32",
2150
- "default": 0,
2151
- "nullable": true
2152
- }
2153
- }
2154
- },
2155
- "sanityGetArticleWithDraftResult": {
2156
- "type": "object",
2157
- "properties": {
2158
- "additionalData": {
2159
- "type": "object",
2160
- "additionalProperties": {
2161
- "type": "object"
923
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultTechnologiesInner"
2162
924
  }
2163
925
  },
2164
- "draft": {
2165
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
2166
- },
2167
- "hasDraft": {
2168
- "type": "boolean",
2169
- "nullable": true
2170
- },
2171
- "hasPublished": {
2172
- "type": "boolean",
2173
- "nullable": true
2174
- },
2175
- "published": {
2176
- "$ref": "#/components/schemas/sanityGetArticlesBySlugOrIdResult"
2177
- },
2178
- "publishedId": {
926
+ "title": {
2179
927
  "type": "string"
2180
928
  }
2181
929
  }
2182
930
  },
2183
- "sanityIframe": {
931
+ "getArticlesBySlugOrIdResultArticleSeries": {
2184
932
  "type": "object",
2185
933
  "properties": {
2186
- "additionalData": {
2187
- "type": "object",
2188
- "additionalProperties": {
2189
- "type": "object"
2190
- }
2191
- },
2192
934
  "sanityType": {
2193
935
  "enum": [
2194
- 0
936
+ "articleSeries"
2195
937
  ],
2196
- "type": "integer",
2197
- "format": "int32",
2198
- "default": 0,
2199
- "nullable": true
938
+ "type": "string",
939
+ "default": "articleSeries"
2200
940
  },
2201
- "url": {
941
+ "sanityCreatedAt": {
2202
942
  "type": "string"
2203
- }
2204
- }
2205
- },
2206
- "sanityImageAssetReference": {
2207
- "type": "object",
2208
- "properties": {
2209
- "additionalData": {
2210
- "type": "object",
2211
- "additionalProperties": {
2212
- "type": "object"
2213
- }
2214
943
  },
2215
- "sanityRef": {
944
+ "sanityId": {
2216
945
  "type": "string"
2217
946
  },
2218
- "sanityType": {
2219
- "enum": [
2220
- 0
2221
- ],
2222
- "type": "integer",
2223
- "format": "int32",
2224
- "default": 0,
2225
- "nullable": true
2226
- },
2227
- "sanityWeak": {
2228
- "type": "boolean",
2229
- "nullable": true
2230
- }
2231
- }
2232
- },
2233
- "sanityImageCrop": {
2234
- "type": "object",
2235
- "properties": {
2236
- "additionalData": {
2237
- "type": "object",
2238
- "additionalProperties": {
2239
- "type": "object"
2240
- }
2241
- },
2242
- "bottom": {
2243
- "type": "number",
2244
- "format": "double",
2245
- "nullable": true
2246
- },
2247
- "left": {
2248
- "type": "number",
2249
- "format": "double",
2250
- "nullable": true
947
+ "sanityRev": {
948
+ "type": "string"
2251
949
  },
2252
- "right": {
2253
- "type": "number",
2254
- "format": "double",
2255
- "nullable": true
950
+ "sanityUpdatedAt": {
951
+ "type": "string"
2256
952
  },
2257
- "sanityType": {
2258
- "enum": [
2259
- 0
2260
- ],
2261
- "type": "integer",
2262
- "format": "int32",
2263
- "default": 0,
2264
- "nullable": true
953
+ "slug": {
954
+ "$ref": "#/components/schemas/slug"
2265
955
  },
2266
- "top": {
2267
- "type": "number",
2268
- "format": "double",
2269
- "nullable": true
956
+ "title": {
957
+ "type": "string"
2270
958
  }
2271
959
  }
2272
960
  },
2273
- "sanityImageHotspot": {
961
+ "getArticlesBySlugOrIdResultNextArticle": {
2274
962
  "type": "object",
2275
963
  "properties": {
2276
- "additionalData": {
2277
- "type": "object",
2278
- "additionalProperties": {
2279
- "type": "object"
2280
- }
2281
- },
2282
- "height": {
2283
- "type": "number",
2284
- "format": "double",
2285
- "nullable": true
2286
- },
2287
964
  "sanityType": {
2288
965
  "enum": [
2289
- 0
966
+ "article"
2290
967
  ],
2291
- "type": "integer",
2292
- "format": "int32",
2293
- "default": 0,
2294
- "nullable": true
968
+ "type": "string",
969
+ "default": "article"
2295
970
  },
2296
- "width": {
2297
- "type": "number",
2298
- "format": "double",
2299
- "nullable": true
971
+ "content": {
972
+ "type": "array",
973
+ "items": {
974
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerContentInner"
975
+ }
2300
976
  },
2301
- "x": {
2302
- "type": "number",
2303
- "format": "double",
2304
- "nullable": true
977
+ "media": {
978
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2305
979
  },
2306
- "y": {
2307
- "type": "number",
2308
- "format": "double",
2309
- "nullable": true
980
+ "sanityId": {
981
+ "type": "string"
982
+ },
983
+ "slug": {
984
+ "$ref": "#/components/schemas/slug"
985
+ },
986
+ "title": {
987
+ "type": "string"
2310
988
  }
2311
989
  }
2312
990
  },
2313
- "sanityMuxVideo": {
991
+ "getArticlesBySlugOrIdResultTechnologiesInner": {
2314
992
  "type": "object",
2315
993
  "properties": {
2316
- "additionalData": {
2317
- "type": "object",
2318
- "additionalProperties": {
2319
- "type": "object"
2320
- }
2321
- },
2322
- "asset": {
2323
- "$ref": "#/components/schemas/sanityMuxVideoAssetReference"
2324
- },
2325
994
  "sanityType": {
2326
995
  "enum": [
2327
- 0
996
+ "technology"
2328
997
  ],
2329
- "type": "integer",
2330
- "format": "int32",
2331
- "default": 0,
2332
- "nullable": true
2333
- }
2334
- }
2335
- },
2336
- "sanityMuxVideoAssetReference": {
2337
- "type": "object",
2338
- "properties": {
2339
- "additionalData": {
2340
- "type": "object",
2341
- "additionalProperties": {
2342
- "type": "object"
998
+ "type": "string",
999
+ "default": "technology"
1000
+ },
1001
+ "description": {
1002
+ "type": "array",
1003
+ "items": {
1004
+ "$ref": "#/components/schemas/componentBlocksInner"
2343
1005
  }
2344
1006
  },
2345
- "sanityRef": {
1007
+ "parent": {
1008
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1009
+ },
1010
+ "sanityCreatedAt": {
2346
1011
  "type": "string"
2347
1012
  },
2348
- "sanityType": {
2349
- "enum": [
2350
- 0
2351
- ],
2352
- "type": "integer",
2353
- "format": "int32",
2354
- "default": 0,
2355
- "nullable": true
1013
+ "sanityId": {
1014
+ "type": "string"
2356
1015
  },
2357
- "sanityWeak": {
2358
- "type": "boolean",
2359
- "nullable": true
1016
+ "sanityRev": {
1017
+ "type": "string"
1018
+ },
1019
+ "sanityUpdatedAt": {
1020
+ "type": "string"
1021
+ },
1022
+ "slug": {
1023
+ "$ref": "#/components/schemas/slug"
1024
+ },
1025
+ "title": {
1026
+ "type": "string"
2360
1027
  }
2361
1028
  }
2362
1029
  },
2363
- "sanityPatchArticle": {
1030
+ "getArticlesResultInner": {
2364
1031
  "type": "object",
2365
1032
  "properties": {
2366
- "active": {
2367
- "type": "boolean",
2368
- "nullable": true
1033
+ "sanityType": {
1034
+ "enum": [
1035
+ "article"
1036
+ ],
1037
+ "type": "string",
1038
+ "default": "article"
2369
1039
  },
2370
- "additionalData": {
2371
- "type": "object",
2372
- "additionalProperties": {
2373
- "type": "object"
2374
- }
1040
+ "active": {
1041
+ "type": "boolean"
2375
1042
  },
2376
1043
  "articleSeries": {
2377
- "$ref": "#/components/schemas/sanityArticleSeriesReference"
1044
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultArticleSeries"
2378
1045
  },
2379
1046
  "authors": {
2380
1047
  "type": "array",
2381
1048
  "items": {
2382
- "$ref": "#/components/schemas/sanityPatchArticle_authors"
1049
+ "$ref": "#/components/schemas/sanityOrderEmployee"
2383
1050
  }
2384
1051
  },
2385
1052
  "content": {
2386
1053
  "type": "array",
2387
1054
  "items": {
2388
- "$ref": "#/components/schemas/withSlugOr"
1055
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInner"
2389
1056
  }
2390
1057
  },
2391
1058
  "customer": {
2392
- "$ref": "#/components/schemas/sanityCustomerReference"
1059
+ "$ref": "#/components/schemas/customerReference"
2393
1060
  },
2394
1061
  "live": {
2395
1062
  "type": "string"
2396
1063
  },
2397
1064
  "media": {
2398
- "$ref": "#/components/schemas/sanityComponentMedia"
1065
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2399
1066
  },
2400
1067
  "metaDescription": {
2401
1068
  "type": "string"
@@ -2406,26 +1073,28 @@
2406
1073
  "publishedAt": {
2407
1074
  "type": "string"
2408
1075
  },
2409
- "sanityType": {
2410
- "enum": [
2411
- 0
2412
- ],
2413
- "type": "integer",
2414
- "format": "int32",
2415
- "default": 0,
2416
- "nullable": true
1076
+ "sanityCreatedAt": {
1077
+ "type": "string"
1078
+ },
1079
+ "sanityId": {
1080
+ "type": "string"
1081
+ },
1082
+ "sanityRev": {
1083
+ "type": "string"
1084
+ },
1085
+ "sanityUpdatedAt": {
1086
+ "type": "string"
2417
1087
  },
2418
1088
  "slug": {
2419
- "$ref": "#/components/schemas/sanitySlug"
1089
+ "$ref": "#/components/schemas/slug"
2420
1090
  },
2421
1091
  "subscribersNotified": {
2422
- "type": "boolean",
2423
- "nullable": true
1092
+ "type": "boolean"
2424
1093
  },
2425
1094
  "technologies": {
2426
1095
  "type": "array",
2427
1096
  "items": {
2428
- "$ref": "#/components/schemas/sanityPatchArticle_technologies"
1097
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResultTechnologiesInner"
2429
1098
  }
2430
1099
  },
2431
1100
  "title": {
@@ -2433,581 +1102,475 @@
2433
1102
  }
2434
1103
  }
2435
1104
  },
2436
- "sanityPatchArticle_authors": {
1105
+ "getArticleWithDraftResult": {
2437
1106
  "type": "object",
2438
1107
  "properties": {
2439
- "sanityKey": {
1108
+ "draft": {
1109
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
1110
+ },
1111
+ "hasDraft": {
1112
+ "type": "boolean"
1113
+ },
1114
+ "hasPublished": {
1115
+ "type": "boolean"
1116
+ },
1117
+ "published": {
1118
+ "$ref": "#/components/schemas/getArticlesBySlugOrIdResult"
1119
+ },
1120
+ "publishedId": {
2440
1121
  "type": "string"
2441
1122
  },
2442
- "additionalData": {
1123
+ "additionalProperties": {
2443
1124
  "type": "object",
2444
1125
  "additionalProperties": {
2445
1126
  "type": "object"
2446
1127
  }
2447
- },
2448
- "sanityRef": {
2449
- "type": "string"
2450
- },
1128
+ }
1129
+ }
1130
+ },
1131
+ "muxVideo": {
1132
+ "type": "object",
1133
+ "properties": {
2451
1134
  "sanityType": {
2452
1135
  "enum": [
2453
- 0
1136
+ "mux.video"
2454
1137
  ],
2455
- "type": "integer",
2456
- "format": "int32",
2457
- "default": 0,
2458
- "nullable": true
1138
+ "type": "string",
1139
+ "default": "mux.video"
2459
1140
  },
2460
- "sanityWeak": {
2461
- "type": "boolean",
2462
- "nullable": true
1141
+ "asset": {
1142
+ "$ref": "#/components/schemas/muxVideoAssetReference"
2463
1143
  }
2464
1144
  }
2465
1145
  },
2466
- "sanityPatchArticle_technologies": {
1146
+ "muxVideoAssetReference": {
2467
1147
  "type": "object",
2468
1148
  "properties": {
2469
- "sanityKey": {
2470
- "type": "string"
2471
- },
2472
- "additionalData": {
2473
- "type": "object",
2474
- "additionalProperties": {
2475
- "type": "object"
2476
- }
2477
- },
2478
- "sanityRef": {
2479
- "type": "string"
2480
- },
2481
1149
  "sanityType": {
2482
1150
  "enum": [
2483
- 0
1151
+ "reference"
2484
1152
  ],
2485
- "type": "integer",
2486
- "format": "int32",
2487
- "default": 0,
2488
- "nullable": true
1153
+ "type": "string",
1154
+ "default": "reference"
1155
+ },
1156
+ "sanityRef": {
1157
+ "type": "string"
2489
1158
  },
2490
1159
  "sanityWeak": {
2491
- "type": "boolean",
2492
- "nullable": true
1160
+ "type": "boolean"
2493
1161
  }
2494
1162
  }
2495
1163
  },
2496
- "sanityProjectContentSanityBlock": {
1164
+ "pageEmployeeOrderInner": {
2497
1165
  "type": "object",
2498
1166
  "properties": {
2499
- "additionalData": {
2500
- "type": "object",
2501
- "additionalProperties": {
2502
- "type": "object"
2503
- }
2504
- },
2505
- "children": {
2506
- "type": "array",
2507
- "items": {
2508
- "$ref": "#/components/schemas/sanityProjectContentSanityBlock_children"
2509
- }
2510
- },
2511
- "level": {
2512
- "type": "number",
2513
- "format": "double",
2514
- "nullable": true
2515
- },
2516
- "listItem": {
1167
+ "sanityType": {
2517
1168
  "enum": [
2518
- 0,
2519
- 1
1169
+ "reference"
2520
1170
  ],
2521
- "type": "integer",
2522
- "format": "int32",
2523
- "default": 0,
2524
- "nullable": true
2525
- },
2526
- "markDefs": {
2527
- "type": "array",
2528
- "items": {
2529
- "$ref": "#/components/schemas/sanityProjectContentSanityBlock_markDefs"
2530
- }
1171
+ "type": "string",
1172
+ "default": "reference"
2531
1173
  },
2532
1174
  "sanityKey": {
2533
1175
  "type": "string"
2534
1176
  },
2535
- "sanityType": {
2536
- "enum": [
2537
- 0
2538
- ],
2539
- "type": "integer",
2540
- "format": "int32",
2541
- "default": 0,
2542
- "nullable": true
1177
+ "sanityRef": {
1178
+ "type": "string"
2543
1179
  },
2544
- "style": {
2545
- "enum": [
2546
- 0,
2547
- 1,
2548
- 2
2549
- ],
2550
- "type": "integer",
2551
- "format": "int32",
2552
- "default": 0,
2553
- "nullable": true
1180
+ "sanityWeak": {
1181
+ "type": "boolean"
2554
1182
  }
2555
1183
  }
2556
1184
  },
2557
- "sanityProjectContentSanityBlock_children": {
1185
+ "sanityCreateArticle": {
2558
1186
  "type": "object",
2559
1187
  "properties": {
2560
- "additionalData": {
2561
- "type": "object",
2562
- "additionalProperties": {
2563
- "type": "object"
1188
+ "sanityType": {
1189
+ "enum": [
1190
+ "article"
1191
+ ],
1192
+ "type": "string",
1193
+ "default": "article"
1194
+ },
1195
+ "active": {
1196
+ "type": "boolean"
1197
+ },
1198
+ "articleSeries": {
1199
+ "$ref": "#/components/schemas/articleSeriesReference"
1200
+ },
1201
+ "authors": {
1202
+ "type": "array",
1203
+ "items": {
1204
+ "$ref": "#/components/schemas/pageEmployeeOrderInner"
2564
1205
  }
2565
1206
  },
2566
- "marks": {
1207
+ "content": {
2567
1208
  "type": "array",
2568
1209
  "items": {
2569
- "type": "string"
1210
+ "$ref": "#/components/schemas/componentBlocksInner"
2570
1211
  }
2571
1212
  },
2572
- "sanityKey": {
1213
+ "customer": {
1214
+ "$ref": "#/components/schemas/customerReference"
1215
+ },
1216
+ "live": {
2573
1217
  "type": "string"
2574
1218
  },
2575
- "sanityType": {
2576
- "enum": [
2577
- 0
2578
- ],
2579
- "type": "integer",
2580
- "format": "int32",
2581
- "default": 0,
2582
- "nullable": true
1219
+ "media": {
1220
+ "$ref": "#/components/schemas/componentMedia"
2583
1221
  },
2584
- "text": {
1222
+ "metaDescription": {
2585
1223
  "type": "string"
2586
- }
2587
- }
2588
- },
2589
- "sanityProjectContentSanityBlock_markDefs": {
2590
- "type": "object",
2591
- "properties": {
2592
- "additionalData": {
2593
- "type": "object",
2594
- "additionalProperties": {
2595
- "type": "object"
2596
- }
2597
1224
  },
2598
- "href": {
1225
+ "preview": {
2599
1226
  "type": "string"
2600
1227
  },
2601
- "sanityKey": {
1228
+ "publishedAt": {
2602
1229
  "type": "string"
2603
1230
  },
2604
- "sanityType": {
2605
- "enum": [
2606
- 0
2607
- ],
2608
- "type": "integer",
2609
- "format": "int32",
2610
- "default": 0,
2611
- "nullable": true
2612
- }
2613
- }
2614
- },
2615
- "sanityProjectContentSanityCode": {
2616
- "type": "object",
2617
- "properties": {
2618
- "additionalData": {
2619
- "type": "object",
2620
- "additionalProperties": {
2621
- "type": "object"
2622
- }
2623
- },
2624
- "code": {
2625
- "type": "string"
1231
+ "slug": {
1232
+ "$ref": "#/components/schemas/slug"
2626
1233
  },
2627
- "filename": {
2628
- "type": "string"
1234
+ "subscribersNotified": {
1235
+ "type": "boolean"
2629
1236
  },
2630
- "highlightedLines": {
1237
+ "technologies": {
2631
1238
  "type": "array",
2632
1239
  "items": {
2633
- "type": "number",
2634
- "format": "double"
1240
+ "$ref": "#/components/schemas/sanityCreateEmployeeTechnologiesInner"
2635
1241
  }
2636
1242
  },
2637
- "language": {
2638
- "type": "string"
2639
- },
2640
- "sanityKey": {
1243
+ "title": {
2641
1244
  "type": "string"
2642
1245
  },
2643
- "sanityType": {
2644
- "enum": [
2645
- 0
2646
- ],
2647
- "type": "integer",
2648
- "format": "int32",
2649
- "default": 0,
2650
- "nullable": true
2651
- }
2652
- }
2653
- },
2654
- "sanityProjectContentSanityComponentLink": {
2655
- "type": "object",
2656
- "properties": {
2657
- "additionalData": {
1246
+ "additionalProperties": {
2658
1247
  "type": "object",
2659
1248
  "additionalProperties": {
2660
1249
  "type": "object"
2661
1250
  }
2662
- },
2663
- "link": {
2664
- "type": "string"
2665
- },
2666
- "sanityKey": {
2667
- "type": "string"
2668
- },
1251
+ }
1252
+ }
1253
+ },
1254
+ "sanityCreateEmployeeTechnologiesInner": {
1255
+ "type": "object",
1256
+ "properties": {
2669
1257
  "sanityType": {
2670
1258
  "enum": [
2671
- 0
1259
+ "reference"
2672
1260
  ],
2673
- "type": "integer",
2674
- "format": "int32",
2675
- "default": 0,
2676
- "nullable": true
1261
+ "type": "string",
1262
+ "default": "reference"
1263
+ },
1264
+ "sanityKey": {
1265
+ "type": "string"
2677
1266
  },
2678
- "text": {
1267
+ "sanityRef": {
2679
1268
  "type": "string"
1269
+ },
1270
+ "sanityWeak": {
1271
+ "type": "boolean"
2680
1272
  }
2681
1273
  }
2682
1274
  },
2683
- "sanityProjectContentSanityComponentYoutube": {
1275
+ "sanityImageAssetReference": {
2684
1276
  "type": "object",
2685
1277
  "properties": {
2686
- "additionalData": {
2687
- "type": "object",
2688
- "additionalProperties": {
2689
- "type": "object"
2690
- }
2691
- },
2692
- "sanityKey": {
2693
- "type": "string"
2694
- },
2695
1278
  "sanityType": {
2696
1279
  "enum": [
2697
- 0
1280
+ "reference"
2698
1281
  ],
2699
- "type": "integer",
2700
- "format": "int32",
2701
- "default": 0,
2702
- "nullable": true
1282
+ "type": "string",
1283
+ "default": "reference"
2703
1284
  },
2704
- "url": {
1285
+ "sanityRef": {
2705
1286
  "type": "string"
1287
+ },
1288
+ "sanityWeak": {
1289
+ "type": "boolean"
2706
1290
  }
2707
1291
  }
2708
1292
  },
2709
- "sanityProjectContentSanityIframe": {
1293
+ "sanityImageCrop": {
2710
1294
  "type": "object",
2711
1295
  "properties": {
2712
- "additionalData": {
2713
- "type": "object",
2714
- "additionalProperties": {
2715
- "type": "object"
2716
- }
2717
- },
2718
- "sanityKey": {
2719
- "type": "string"
2720
- },
2721
1296
  "sanityType": {
2722
1297
  "enum": [
2723
- 0
1298
+ "sanity.imageCrop"
2724
1299
  ],
2725
- "type": "integer",
2726
- "format": "int32",
2727
- "default": 0,
2728
- "nullable": true
1300
+ "type": "string",
1301
+ "default": "sanity.imageCrop"
2729
1302
  },
2730
- "url": {
2731
- "type": "string"
1303
+ "bottom": {
1304
+ "type": "number",
1305
+ "format": "double"
1306
+ },
1307
+ "left": {
1308
+ "type": "number",
1309
+ "format": "double"
1310
+ },
1311
+ "right": {
1312
+ "type": "number",
1313
+ "format": "double"
1314
+ },
1315
+ "top": {
1316
+ "type": "number",
1317
+ "format": "double"
2732
1318
  }
2733
1319
  }
2734
1320
  },
2735
- "sanityProjectContentSanityImage": {
1321
+ "sanityImageHotspot": {
2736
1322
  "type": "object",
2737
1323
  "properties": {
2738
- "additionalData": {
2739
- "type": "object",
2740
- "additionalProperties": {
2741
- "type": "object"
2742
- }
2743
- },
2744
- "asset": {
2745
- "$ref": "#/components/schemas/sanityProjectContentSanityImage_asset"
2746
- },
2747
- "crop": {
2748
- "$ref": "#/components/schemas/sanityImageCrop"
1324
+ "sanityType": {
1325
+ "enum": [
1326
+ "sanity.imageHotspot"
1327
+ ],
1328
+ "type": "string",
1329
+ "default": "sanity.imageHotspot"
2749
1330
  },
2750
- "hotspot": {
2751
- "$ref": "#/components/schemas/sanityImageHotspot"
1331
+ "height": {
1332
+ "type": "number",
1333
+ "format": "double"
2752
1334
  },
2753
- "media": {
2754
- "$ref": "#/components/schemas/untypedNode"
1335
+ "width": {
1336
+ "type": "number",
1337
+ "format": "double"
2755
1338
  },
2756
- "sanityKey": {
2757
- "type": "string"
1339
+ "x": {
1340
+ "type": "number",
1341
+ "format": "double"
2758
1342
  },
2759
- "sanityType": {
2760
- "enum": [
2761
- 0
2762
- ],
2763
- "type": "integer",
2764
- "format": "int32",
2765
- "default": 0,
2766
- "nullable": true
1343
+ "y": {
1344
+ "type": "number",
1345
+ "format": "double"
2767
1346
  }
2768
1347
  }
2769
1348
  },
2770
- "sanityProjectContentSanityImage_asset": {
1349
+ "sanityOrderEmployee": {
2771
1350
  "type": "object",
2772
1351
  "properties": {
2773
- "additionalData": {
2774
- "type": "object",
2775
- "additionalProperties": {
2776
- "type": "object"
2777
- }
1352
+ "sanityType": {
1353
+ "enum": [
1354
+ "employee"
1355
+ ],
1356
+ "type": "string",
1357
+ "default": "employee"
2778
1358
  },
2779
- "mimeType": {
1359
+ "email": {
2780
1360
  "type": "string"
2781
1361
  },
2782
- "originalFilename": {
1362
+ "image": {
1363
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1364
+ },
1365
+ "name": {
2783
1366
  "type": "string"
2784
1367
  },
2785
1368
  "sanityId": {
2786
1369
  "type": "string"
2787
1370
  },
2788
- "sanityType": {
2789
- "enum": [
2790
- 0
2791
- ],
2792
- "type": "integer",
2793
- "format": "int32",
2794
- "default": 0,
2795
- "nullable": true
1371
+ "slug": {
1372
+ "$ref": "#/components/schemas/slug"
2796
1373
  },
2797
- "url": {
1374
+ "tags": {
1375
+ "type": "array",
1376
+ "items": {
1377
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1378
+ }
1379
+ },
1380
+ "telephone": {
2798
1381
  "type": "string"
2799
1382
  }
2800
1383
  }
2801
1384
  },
2802
- "sanitySlug": {
1385
+ "sanityPatchArticle": {
2803
1386
  "type": "object",
2804
1387
  "properties": {
2805
- "additionalData": {
2806
- "type": "object",
2807
- "additionalProperties": {
2808
- "type": "object"
2809
- }
2810
- },
2811
- "current": {
2812
- "type": "string"
2813
- },
2814
1388
  "sanityType": {
2815
1389
  "enum": [
2816
- 0
1390
+ "article"
2817
1391
  ],
2818
- "type": "integer",
2819
- "format": "int32",
2820
- "default": 0,
1392
+ "type": "string",
1393
+ "default": "article",
2821
1394
  "nullable": true
2822
1395
  },
2823
- "source": {
2824
- "type": "string"
2825
- }
2826
- }
2827
- },
2828
- "untypedNode": {
2829
- "type": "object"
2830
- },
2831
- "withSlugOr": {
2832
- "type": "object",
2833
- "properties": {
2834
- "sanityCode": {
2835
- "$ref": "#/components/schemas/sanityCode"
1396
+ "active": {
1397
+ "type": "boolean",
1398
+ "nullable": true
1399
+ },
1400
+ "articleSeries": {
1401
+ "$ref": "#/components/schemas/articleSeriesReference"
2836
1402
  },
2837
- "sanityComponentGallery": {
2838
- "$ref": "#/components/schemas/sanityComponentGallery"
1403
+ "authors": {
1404
+ "type": "array",
1405
+ "items": {
1406
+ "$ref": "#/components/schemas/pageEmployeeOrderInner"
1407
+ }
2839
1408
  },
2840
- "sanityComponentLink": {
2841
- "$ref": "#/components/schemas/sanityComponentLink"
1409
+ "content": {
1410
+ "type": "array",
1411
+ "items": {
1412
+ "$ref": "#/components/schemas/componentBlocksInner"
1413
+ }
2842
1414
  },
2843
- "sanityComponentYoutube": {
2844
- "$ref": "#/components/schemas/sanityComponentYoutube"
1415
+ "customer": {
1416
+ "$ref": "#/components/schemas/customerReference"
2845
1417
  },
2846
- "sanityIframe": {
2847
- "$ref": "#/components/schemas/sanityIframe"
1418
+ "live": {
1419
+ "type": "string"
2848
1420
  },
2849
- "sanityMuxVideo": {
2850
- "$ref": "#/components/schemas/sanityMuxVideo"
1421
+ "media": {
1422
+ "$ref": "#/components/schemas/componentMedia"
2851
1423
  },
2852
- "withSlugOrMember1": {
2853
- "$ref": "#/components/schemas/withSlugOrMember1"
1424
+ "metaDescription": {
1425
+ "type": "string"
2854
1426
  },
2855
- "withSlugOrMember2": {
2856
- "$ref": "#/components/schemas/withSlugOrMember2"
2857
- }
2858
- }
2859
- },
2860
- "withSlugOrMember1": {
2861
- "type": "object",
2862
- "properties": {
2863
- "additionalData": {
2864
- "type": "object",
2865
- "additionalProperties": {
2866
- "type": "object"
2867
- }
1427
+ "preview": {
1428
+ "type": "string"
2868
1429
  },
2869
- "children": {
2870
- "type": "array",
2871
- "items": {
2872
- "$ref": "#/components/schemas/withSlugOrMember1_children"
2873
- }
1430
+ "publishedAt": {
1431
+ "type": "string"
2874
1432
  },
2875
- "level": {
2876
- "type": "number",
2877
- "format": "double",
2878
- "nullable": true
1433
+ "slug": {
1434
+ "$ref": "#/components/schemas/slug"
2879
1435
  },
2880
- "listItem": {
2881
- "enum": [
2882
- 0,
2883
- 1
2884
- ],
2885
- "type": "integer",
2886
- "format": "int32",
2887
- "default": 0,
1436
+ "subscribersNotified": {
1437
+ "type": "boolean",
2888
1438
  "nullable": true
2889
1439
  },
2890
- "markDefs": {
1440
+ "technologies": {
2891
1441
  "type": "array",
2892
1442
  "items": {
2893
- "$ref": "#/components/schemas/withSlugOrMember1_markDefs"
1443
+ "$ref": "#/components/schemas/sanityCreateEmployeeTechnologiesInner"
2894
1444
  }
2895
1445
  },
2896
- "sanityKey": {
1446
+ "title": {
2897
1447
  "type": "string"
2898
1448
  },
2899
- "sanityType": {
2900
- "enum": [
2901
- 0
2902
- ],
2903
- "type": "integer",
2904
- "format": "int32",
2905
- "default": 0,
2906
- "nullable": true
2907
- },
2908
- "style": {
2909
- "enum": [
2910
- 0,
2911
- 1,
2912
- 2
2913
- ],
2914
- "type": "integer",
2915
- "format": "int32",
2916
- "default": 0,
2917
- "nullable": true
1449
+ "additionalProperties": {
1450
+ "type": "object",
1451
+ "additionalProperties": {
1452
+ "type": "object"
1453
+ }
2918
1454
  }
2919
1455
  }
2920
1456
  },
2921
- "withSlugOrMember1_children": {
1457
+ "sanityTechnologyWithRelationsArticlesInnerContentInner": {
2922
1458
  "type": "object",
2923
1459
  "properties": {
2924
- "additionalData": {
2925
- "type": "object",
2926
- "additionalProperties": {
2927
- "type": "object"
2928
- }
1460
+ "actualInstance": {
1461
+ "type": "object"
2929
1462
  },
2930
- "marks": {
2931
- "type": "array",
2932
- "items": {
2933
- "type": "string"
2934
- }
1463
+ "isNullable": {
1464
+ "type": "boolean"
2935
1465
  },
2936
- "sanityKey": {
1466
+ "schemaType": {
2937
1467
  "type": "string"
1468
+ }
1469
+ }
1470
+ },
1471
+ "sanityTechnologyWithRelationsArticlesInnerMedia": {
1472
+ "type": "object",
1473
+ "properties": {
1474
+ "actualInstance": {
1475
+ "type": "object"
1476
+ },
1477
+ "isNullable": {
1478
+ "type": "boolean"
2938
1479
  },
1480
+ "schemaType": {
1481
+ "type": "string"
1482
+ }
1483
+ }
1484
+ },
1485
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
1486
+ "type": "object",
1487
+ "properties": {
2939
1488
  "sanityType": {
2940
1489
  "enum": [
2941
- 0
1490
+ "tag"
2942
1491
  ],
2943
- "type": "integer",
2944
- "format": "int32",
2945
- "default": 0,
2946
- "nullable": true
1492
+ "type": "string",
1493
+ "default": "tag"
1494
+ },
1495
+ "name": {
1496
+ "type": "string"
2947
1497
  },
2948
- "text": {
1498
+ "sanityId": {
2949
1499
  "type": "string"
1500
+ },
1501
+ "slug": {
1502
+ "$ref": "#/components/schemas/slug"
2950
1503
  }
2951
1504
  }
2952
1505
  },
2953
- "withSlugOrMember1_markDefs": {
1506
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInner": {
2954
1507
  "type": "object",
2955
1508
  "properties": {
2956
- "additionalData": {
2957
- "type": "object",
2958
- "additionalProperties": {
2959
- "type": "object"
2960
- }
1509
+ "actualInstance": {
1510
+ "type": "object"
2961
1511
  },
2962
- "href": {
2963
- "type": "string"
1512
+ "isNullable": {
1513
+ "type": "boolean"
2964
1514
  },
2965
- "sanityKey": {
1515
+ "schemaType": {
2966
1516
  "type": "string"
2967
- },
1517
+ }
1518
+ }
1519
+ },
1520
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
1521
+ "type": "object",
1522
+ "properties": {
2968
1523
  "sanityType": {
2969
1524
  "enum": [
2970
- 0
1525
+ "image"
2971
1526
  ],
2972
- "type": "integer",
2973
- "format": "int32",
2974
- "default": 0,
2975
- "nullable": true
1527
+ "type": "string",
1528
+ "default": "image"
1529
+ },
1530
+ "asset": {
1531
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
2976
1532
  }
2977
1533
  }
2978
1534
  },
2979
- "withSlugOrMember2": {
1535
+ "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
2980
1536
  "type": "object",
2981
1537
  "properties": {
2982
- "additionalData": {
2983
- "type": "object",
2984
- "additionalProperties": {
2985
- "type": "object"
2986
- }
2987
- },
2988
- "asset": {
2989
- "$ref": "#/components/schemas/sanityImageAssetReference"
2990
- },
2991
- "crop": {
2992
- "$ref": "#/components/schemas/sanityImageCrop"
1538
+ "sanityType": {
1539
+ "enum": [
1540
+ "sanity.imageAsset"
1541
+ ],
1542
+ "type": "string",
1543
+ "default": "sanity.imageAsset"
2993
1544
  },
2994
- "hotspot": {
2995
- "$ref": "#/components/schemas/sanityImageHotspot"
1545
+ "mimeType": {
1546
+ "type": "string"
2996
1547
  },
2997
- "media": {
2998
- "$ref": "#/components/schemas/untypedNode"
1548
+ "originalFilename": {
1549
+ "type": "string"
2999
1550
  },
3000
- "sanityKey": {
1551
+ "sanityId": {
3001
1552
  "type": "string"
3002
1553
  },
1554
+ "url": {
1555
+ "type": "string"
1556
+ }
1557
+ }
1558
+ },
1559
+ "slug": {
1560
+ "type": "object",
1561
+ "properties": {
3003
1562
  "sanityType": {
3004
1563
  "enum": [
3005
- 0
1564
+ "slug"
3006
1565
  ],
3007
- "type": "integer",
3008
- "format": "int32",
3009
- "default": 0,
3010
- "nullable": true
1566
+ "type": "string",
1567
+ "default": "slug"
1568
+ },
1569
+ "current": {
1570
+ "type": "string"
1571
+ },
1572
+ "source": {
1573
+ "type": "string"
3011
1574
  }
3012
1575
  }
3013
1576
  }