fastapi-streams 0.0.1__py3-none-any.whl

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,1729 @@
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.2/schema/2026-08-30",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "description": "The description of OpenAPI v3.2.x Documents without Schema Object validation",
5
+ "type": "object",
6
+ "properties": {
7
+ "openapi": {
8
+ "type": "string",
9
+ "pattern": "^3\\.2\\.[0-9]+(-.+)?$"
10
+ },
11
+ "$self": {
12
+ "type": "string",
13
+ "format": "uri-reference",
14
+ "$comment": "MUST NOT contain a fragment",
15
+ "pattern": "^[^#]*$"
16
+ },
17
+ "info": {
18
+ "$ref": "#/$defs/info"
19
+ },
20
+ "jsonSchemaDialect": {
21
+ "type": "string",
22
+ "format": "uri-reference",
23
+ "default": "https://spec.openapis.org/oas/3.2/dialect/2026-02-26"
24
+ },
25
+ "servers": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/$defs/server"
29
+ },
30
+ "default": [
31
+ {
32
+ "url": "/"
33
+ }
34
+ ]
35
+ },
36
+ "paths": {
37
+ "$ref": "#/$defs/paths"
38
+ },
39
+ "webhooks": {
40
+ "type": "object",
41
+ "additionalProperties": {
42
+ "$ref": "#/$defs/path-item"
43
+ }
44
+ },
45
+ "components": {
46
+ "$ref": "#/$defs/components"
47
+ },
48
+ "security": {
49
+ "type": "array",
50
+ "items": {
51
+ "$ref": "#/$defs/security-requirement"
52
+ }
53
+ },
54
+ "tags": {
55
+ "type": "array",
56
+ "items": {
57
+ "$ref": "#/$defs/tag"
58
+ }
59
+ },
60
+ "externalDocs": {
61
+ "$ref": "#/$defs/external-documentation"
62
+ }
63
+ },
64
+ "required": [
65
+ "openapi",
66
+ "info"
67
+ ],
68
+ "anyOf": [
69
+ {
70
+ "required": [
71
+ "paths"
72
+ ]
73
+ },
74
+ {
75
+ "required": [
76
+ "components"
77
+ ]
78
+ },
79
+ {
80
+ "required": [
81
+ "webhooks"
82
+ ]
83
+ }
84
+ ],
85
+ "$ref": "#/$defs/specification-extensions",
86
+ "unevaluatedProperties": false,
87
+ "$defs": {
88
+ "info": {
89
+ "$comment": "https://spec.openapis.org/oas/v3.2#info-object",
90
+ "type": "object",
91
+ "properties": {
92
+ "title": {
93
+ "type": "string"
94
+ },
95
+ "summary": {
96
+ "type": "string"
97
+ },
98
+ "description": {
99
+ "type": "string"
100
+ },
101
+ "termsOfService": {
102
+ "type": "string",
103
+ "format": "uri-reference"
104
+ },
105
+ "contact": {
106
+ "$ref": "#/$defs/contact"
107
+ },
108
+ "license": {
109
+ "$ref": "#/$defs/license"
110
+ },
111
+ "version": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ "required": [
116
+ "title",
117
+ "version"
118
+ ],
119
+ "$ref": "#/$defs/specification-extensions",
120
+ "unevaluatedProperties": false
121
+ },
122
+ "contact": {
123
+ "$comment": "https://spec.openapis.org/oas/v3.2#contact-object",
124
+ "type": "object",
125
+ "properties": {
126
+ "name": {
127
+ "type": "string"
128
+ },
129
+ "url": {
130
+ "type": "string",
131
+ "format": "uri-reference"
132
+ },
133
+ "email": {
134
+ "type": "string",
135
+ "format": "email"
136
+ }
137
+ },
138
+ "$ref": "#/$defs/specification-extensions",
139
+ "unevaluatedProperties": false
140
+ },
141
+ "license": {
142
+ "$comment": "https://spec.openapis.org/oas/v3.2#license-object",
143
+ "type": "object",
144
+ "properties": {
145
+ "name": {
146
+ "type": "string"
147
+ },
148
+ "identifier": {
149
+ "type": "string"
150
+ },
151
+ "url": {
152
+ "type": "string",
153
+ "format": "uri-reference"
154
+ }
155
+ },
156
+ "required": [
157
+ "name"
158
+ ],
159
+ "dependentSchemas": {
160
+ "identifier": {
161
+ "not": {
162
+ "required": [
163
+ "url"
164
+ ]
165
+ }
166
+ }
167
+ },
168
+ "$ref": "#/$defs/specification-extensions",
169
+ "unevaluatedProperties": false
170
+ },
171
+ "server": {
172
+ "$comment": "https://spec.openapis.org/oas/v3.2#server-object",
173
+ "type": "object",
174
+ "properties": {
175
+ "url": {
176
+ "type": "string"
177
+ },
178
+ "description": {
179
+ "type": "string"
180
+ },
181
+ "name": {
182
+ "type": "string"
183
+ },
184
+ "variables": {
185
+ "type": "object",
186
+ "additionalProperties": {
187
+ "$ref": "#/$defs/server-variable"
188
+ }
189
+ }
190
+ },
191
+ "required": [
192
+ "url"
193
+ ],
194
+ "$ref": "#/$defs/specification-extensions",
195
+ "unevaluatedProperties": false
196
+ },
197
+ "server-variable": {
198
+ "$comment": "https://spec.openapis.org/oas/v3.2#server-variable-object",
199
+ "type": "object",
200
+ "properties": {
201
+ "enum": {
202
+ "type": "array",
203
+ "items": {
204
+ "type": "string"
205
+ },
206
+ "minItems": 1
207
+ },
208
+ "default": {
209
+ "type": "string"
210
+ },
211
+ "description": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ "required": [
216
+ "default"
217
+ ],
218
+ "$ref": "#/$defs/specification-extensions",
219
+ "unevaluatedProperties": false
220
+ },
221
+ "components": {
222
+ "$comment": "https://spec.openapis.org/oas/v3.2#components-object",
223
+ "type": "object",
224
+ "properties": {
225
+ "schemas": {
226
+ "type": "object",
227
+ "additionalProperties": {
228
+ "$dynamicRef": "#meta"
229
+ }
230
+ },
231
+ "responses": {
232
+ "type": "object",
233
+ "additionalProperties": {
234
+ "$ref": "#/$defs/response-or-reference"
235
+ }
236
+ },
237
+ "parameters": {
238
+ "type": "object",
239
+ "additionalProperties": {
240
+ "$ref": "#/$defs/parameter-or-reference"
241
+ }
242
+ },
243
+ "examples": {
244
+ "type": "object",
245
+ "additionalProperties": {
246
+ "$ref": "#/$defs/example-or-reference"
247
+ }
248
+ },
249
+ "requestBodies": {
250
+ "type": "object",
251
+ "additionalProperties": {
252
+ "$ref": "#/$defs/request-body-or-reference"
253
+ }
254
+ },
255
+ "headers": {
256
+ "type": "object",
257
+ "additionalProperties": {
258
+ "$ref": "#/$defs/header-or-reference"
259
+ }
260
+ },
261
+ "securitySchemes": {
262
+ "type": "object",
263
+ "additionalProperties": {
264
+ "$ref": "#/$defs/security-scheme-or-reference"
265
+ }
266
+ },
267
+ "links": {
268
+ "type": "object",
269
+ "additionalProperties": {
270
+ "$ref": "#/$defs/link-or-reference"
271
+ }
272
+ },
273
+ "callbacks": {
274
+ "type": "object",
275
+ "additionalProperties": {
276
+ "$ref": "#/$defs/callbacks-or-reference"
277
+ }
278
+ },
279
+ "pathItems": {
280
+ "type": "object",
281
+ "additionalProperties": {
282
+ "$ref": "#/$defs/path-item"
283
+ }
284
+ },
285
+ "mediaTypes": {
286
+ "type": "object",
287
+ "additionalProperties": {
288
+ "$ref": "#/$defs/media-type-or-reference"
289
+ }
290
+ }
291
+ },
292
+ "patternProperties": {
293
+ "^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$": {
294
+ "$comment": "Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",
295
+ "propertyNames": {
296
+ "pattern": "^[a-zA-Z0-9._-]+$"
297
+ }
298
+ }
299
+ },
300
+ "$ref": "#/$defs/specification-extensions",
301
+ "unevaluatedProperties": false
302
+ },
303
+ "paths": {
304
+ "$comment": "https://spec.openapis.org/oas/v3.2#paths-object",
305
+ "type": "object",
306
+ "patternProperties": {
307
+ "^/": {
308
+ "$ref": "#/$defs/path-item"
309
+ }
310
+ },
311
+ "$ref": "#/$defs/specification-extensions",
312
+ "unevaluatedProperties": false
313
+ },
314
+ "path-item": {
315
+ "$comment": "https://spec.openapis.org/oas/v3.2#path-item-object",
316
+ "type": "object",
317
+ "properties": {
318
+ "$ref": {
319
+ "type": "string",
320
+ "format": "uri-reference"
321
+ },
322
+ "summary": {
323
+ "type": "string"
324
+ },
325
+ "description": {
326
+ "type": "string"
327
+ },
328
+ "servers": {
329
+ "type": "array",
330
+ "items": {
331
+ "$ref": "#/$defs/server"
332
+ }
333
+ },
334
+ "parameters": {
335
+ "$ref": "#/$defs/parameters"
336
+ },
337
+ "additionalOperations": {
338
+ "type": "object",
339
+ "additionalProperties": {
340
+ "$ref": "#/$defs/operation"
341
+ },
342
+ "propertyNames": {
343
+ "$comment": "RFC9110 restricts methods to \"1*tchar\" in ABNF",
344
+ "$ref": "#/$defs/token",
345
+ "not": {
346
+ "enum": [
347
+ "GET",
348
+ "PUT",
349
+ "POST",
350
+ "DELETE",
351
+ "OPTIONS",
352
+ "HEAD",
353
+ "PATCH",
354
+ "TRACE",
355
+ "QUERY"
356
+ ]
357
+ }
358
+ }
359
+ },
360
+ "get": {
361
+ "$ref": "#/$defs/operation"
362
+ },
363
+ "put": {
364
+ "$ref": "#/$defs/operation"
365
+ },
366
+ "post": {
367
+ "$ref": "#/$defs/operation"
368
+ },
369
+ "delete": {
370
+ "$ref": "#/$defs/operation"
371
+ },
372
+ "options": {
373
+ "$ref": "#/$defs/operation"
374
+ },
375
+ "head": {
376
+ "$ref": "#/$defs/operation"
377
+ },
378
+ "patch": {
379
+ "$ref": "#/$defs/operation"
380
+ },
381
+ "trace": {
382
+ "$ref": "#/$defs/operation"
383
+ },
384
+ "query": {
385
+ "$ref": "#/$defs/operation"
386
+ }
387
+ },
388
+ "$ref": "#/$defs/specification-extensions",
389
+ "unevaluatedProperties": false
390
+ },
391
+ "operation": {
392
+ "$comment": "https://spec.openapis.org/oas/v3.2#operation-object",
393
+ "type": "object",
394
+ "properties": {
395
+ "tags": {
396
+ "type": "array",
397
+ "items": {
398
+ "type": "string"
399
+ }
400
+ },
401
+ "summary": {
402
+ "type": "string"
403
+ },
404
+ "description": {
405
+ "type": "string"
406
+ },
407
+ "externalDocs": {
408
+ "$ref": "#/$defs/external-documentation"
409
+ },
410
+ "operationId": {
411
+ "type": "string"
412
+ },
413
+ "parameters": {
414
+ "$ref": "#/$defs/parameters"
415
+ },
416
+ "requestBody": {
417
+ "$ref": "#/$defs/request-body-or-reference"
418
+ },
419
+ "responses": {
420
+ "$ref": "#/$defs/responses"
421
+ },
422
+ "callbacks": {
423
+ "type": "object",
424
+ "additionalProperties": {
425
+ "$ref": "#/$defs/callbacks-or-reference"
426
+ }
427
+ },
428
+ "deprecated": {
429
+ "default": false,
430
+ "type": "boolean"
431
+ },
432
+ "security": {
433
+ "type": "array",
434
+ "items": {
435
+ "$ref": "#/$defs/security-requirement"
436
+ }
437
+ },
438
+ "servers": {
439
+ "type": "array",
440
+ "items": {
441
+ "$ref": "#/$defs/server"
442
+ }
443
+ }
444
+ },
445
+ "$ref": "#/$defs/specification-extensions",
446
+ "unevaluatedProperties": false
447
+ },
448
+ "external-documentation": {
449
+ "$comment": "https://spec.openapis.org/oas/v3.2#external-documentation-object",
450
+ "type": "object",
451
+ "properties": {
452
+ "description": {
453
+ "type": "string"
454
+ },
455
+ "url": {
456
+ "type": "string",
457
+ "format": "uri-reference"
458
+ }
459
+ },
460
+ "required": [
461
+ "url"
462
+ ],
463
+ "$ref": "#/$defs/specification-extensions",
464
+ "unevaluatedProperties": false
465
+ },
466
+ "parameters": {
467
+ "type": "array",
468
+ "items": {
469
+ "$ref": "#/$defs/parameter-or-reference"
470
+ },
471
+ "not": {
472
+ "allOf": [
473
+ {
474
+ "contains": {
475
+ "type": "object",
476
+ "properties": {
477
+ "in": {
478
+ "const": "query"
479
+ }
480
+ },
481
+ "required": [
482
+ "in"
483
+ ]
484
+ }
485
+ },
486
+ {
487
+ "contains": {
488
+ "type": "object",
489
+ "properties": {
490
+ "in": {
491
+ "const": "querystring"
492
+ }
493
+ },
494
+ "required": [
495
+ "in"
496
+ ]
497
+ }
498
+ }
499
+ ]
500
+ },
501
+ "contains": {
502
+ "type": "object",
503
+ "properties": {
504
+ "in": {
505
+ "const": "querystring"
506
+ }
507
+ },
508
+ "required": [
509
+ "in"
510
+ ]
511
+ },
512
+ "minContains": 0,
513
+ "maxContains": 1
514
+ },
515
+ "parameter": {
516
+ "$comment": "https://spec.openapis.org/oas/v3.2#parameter-object",
517
+ "type": "object",
518
+ "properties": {
519
+ "name": {
520
+ "type": "string"
521
+ },
522
+ "in": {
523
+ "enum": [
524
+ "query",
525
+ "querystring",
526
+ "header",
527
+ "path",
528
+ "cookie"
529
+ ]
530
+ },
531
+ "description": {
532
+ "type": "string"
533
+ },
534
+ "required": {
535
+ "default": false,
536
+ "type": "boolean"
537
+ },
538
+ "deprecated": {
539
+ "default": false,
540
+ "type": "boolean"
541
+ },
542
+ "schema": {
543
+ "$dynamicRef": "#meta"
544
+ },
545
+ "content": {
546
+ "$ref": "#/$defs/content",
547
+ "minProperties": 1,
548
+ "maxProperties": 1
549
+ }
550
+ },
551
+ "required": [
552
+ "name",
553
+ "in"
554
+ ],
555
+ "oneOf": [
556
+ {
557
+ "required": [
558
+ "schema"
559
+ ]
560
+ },
561
+ {
562
+ "required": [
563
+ "content"
564
+ ]
565
+ }
566
+ ],
567
+ "allOf": [
568
+ {
569
+ "$ref": "#/$defs/examples"
570
+ },
571
+ {
572
+ "$ref": "#/$defs/specification-extensions"
573
+ },
574
+ {
575
+ "if": {
576
+ "properties": {
577
+ "in": {
578
+ "const": "query"
579
+ }
580
+ }
581
+ },
582
+ "then": {
583
+ "properties": {
584
+ "allowEmptyValue": {
585
+ "default": false,
586
+ "type": "boolean"
587
+ }
588
+ }
589
+ }
590
+ },
591
+ {
592
+ "if": {
593
+ "properties": {
594
+ "in": {
595
+ "const": "querystring"
596
+ }
597
+ }
598
+ },
599
+ "then": {
600
+ "required": [
601
+ "content"
602
+ ]
603
+ }
604
+ },
605
+ {
606
+ "if": {
607
+ "properties": {
608
+ "in": {
609
+ "const": "path"
610
+ }
611
+ }
612
+ },
613
+ "then": {
614
+ "properties": {
615
+ "name": {
616
+ "$comment": "see OAS 3.2.0 §4.8.2",
617
+ "pattern": "^[^{}]+$"
618
+ }
619
+ }
620
+ }
621
+ },
622
+ {
623
+ "if": {
624
+ "properties": {
625
+ "in": {
626
+ "const": "header"
627
+ }
628
+ }
629
+ },
630
+ "then": {
631
+ "properties": {
632
+ "name": {
633
+ "$comment": "see RFC9110 §5.1",
634
+ "$ref": "#/$defs/token"
635
+ }
636
+ }
637
+ }
638
+ }
639
+ ],
640
+ "dependentSchemas": {
641
+ "schema": {
642
+ "properties": {
643
+ "style": {
644
+ "type": "string"
645
+ },
646
+ "explode": {
647
+ "type": "boolean"
648
+ }
649
+ },
650
+ "allOf": [
651
+ {
652
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"
653
+ },
654
+ {
655
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"
656
+ },
657
+ {
658
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"
659
+ },
660
+ {
661
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"
662
+ }
663
+ ],
664
+ "$defs": {
665
+ "styles-for-path": {
666
+ "if": {
667
+ "properties": {
668
+ "in": {
669
+ "const": "path"
670
+ }
671
+ }
672
+ },
673
+ "then": {
674
+ "properties": {
675
+ "name": {
676
+ "pattern": "^[^{}]+$"
677
+ },
678
+ "style": {
679
+ "default": "simple",
680
+ "enum": [
681
+ "matrix",
682
+ "label",
683
+ "simple"
684
+ ]
685
+ },
686
+ "required": {
687
+ "const": true
688
+ },
689
+ "explode": {
690
+ "default": false
691
+ },
692
+ "allowReserved": {
693
+ "type": "boolean",
694
+ "default": false
695
+ }
696
+ },
697
+ "required": [
698
+ "required"
699
+ ]
700
+ }
701
+ },
702
+ "styles-for-header": {
703
+ "if": {
704
+ "properties": {
705
+ "in": {
706
+ "const": "header"
707
+ }
708
+ }
709
+ },
710
+ "then": {
711
+ "properties": {
712
+ "style": {
713
+ "default": "simple",
714
+ "const": "simple"
715
+ },
716
+ "explode": {
717
+ "default": false
718
+ }
719
+ }
720
+ }
721
+ },
722
+ "styles-for-query": {
723
+ "if": {
724
+ "properties": {
725
+ "in": {
726
+ "const": "query"
727
+ }
728
+ }
729
+ },
730
+ "then": {
731
+ "properties": {
732
+ "style": {
733
+ "default": "form",
734
+ "enum": [
735
+ "form",
736
+ "spaceDelimited",
737
+ "pipeDelimited",
738
+ "deepObject"
739
+ ]
740
+ },
741
+ "allowReserved": {
742
+ "type": "boolean",
743
+ "default": false
744
+ }
745
+ },
746
+ "$ref": "#/$defs/explode-for-form"
747
+ }
748
+ },
749
+ "styles-for-cookie": {
750
+ "if": {
751
+ "properties": {
752
+ "in": {
753
+ "const": "cookie"
754
+ }
755
+ }
756
+ },
757
+ "then": {
758
+ "properties": {
759
+ "style": {
760
+ "default": "form",
761
+ "enum": [
762
+ "form",
763
+ "cookie"
764
+ ]
765
+ },
766
+ "explode": {
767
+ "default": true
768
+ }
769
+ },
770
+ "if": {
771
+ "properties": {
772
+ "style": {
773
+ "const": "form"
774
+ }
775
+ }
776
+ },
777
+ "then": {
778
+ "properties": {
779
+ "allowReserved": {
780
+ "type": "boolean",
781
+ "default": false
782
+ }
783
+ }
784
+ }
785
+ }
786
+ }
787
+ }
788
+ }
789
+ },
790
+ "unevaluatedProperties": false
791
+ },
792
+ "parameter-or-reference": {
793
+ "if": {
794
+ "type": "object",
795
+ "required": [
796
+ "$ref"
797
+ ]
798
+ },
799
+ "then": {
800
+ "$ref": "#/$defs/reference"
801
+ },
802
+ "else": {
803
+ "$ref": "#/$defs/parameter"
804
+ }
805
+ },
806
+ "request-body": {
807
+ "$comment": "https://spec.openapis.org/oas/v3.2#request-body-object",
808
+ "type": "object",
809
+ "properties": {
810
+ "description": {
811
+ "type": "string"
812
+ },
813
+ "content": {
814
+ "$ref": "#/$defs/content"
815
+ },
816
+ "required": {
817
+ "default": false,
818
+ "type": "boolean"
819
+ }
820
+ },
821
+ "required": [
822
+ "content"
823
+ ],
824
+ "$ref": "#/$defs/specification-extensions",
825
+ "unevaluatedProperties": false
826
+ },
827
+ "request-body-or-reference": {
828
+ "if": {
829
+ "type": "object",
830
+ "required": [
831
+ "$ref"
832
+ ]
833
+ },
834
+ "then": {
835
+ "$ref": "#/$defs/reference"
836
+ },
837
+ "else": {
838
+ "$ref": "#/$defs/request-body"
839
+ }
840
+ },
841
+ "content": {
842
+ "$comment": "The `content` object is a property of:\nParameter Object: https://spec.openapis.org/oas/v3.2#parameter-object\nRequest Body Object: https://spec.openapis.org/oas/v3.2#request-body-object\nResponse Object: https://spec.openapis.org/oas/v3.2#response-object\nHeader Object: https://spec.openapis.org/oas/v3.2#header-object\n",
843
+ "type": "object",
844
+ "additionalProperties": {
845
+ "$ref": "#/$defs/media-type-or-reference"
846
+ },
847
+ "propertyNames": {
848
+ "format": "media-range"
849
+ }
850
+ },
851
+ "media-type": {
852
+ "$comment": "https://spec.openapis.org/oas/v3.2#media-type-object",
853
+ "type": "object",
854
+ "properties": {
855
+ "description": {
856
+ "type": "string"
857
+ },
858
+ "schema": {
859
+ "$dynamicRef": "#meta"
860
+ },
861
+ "itemSchema": {
862
+ "$dynamicRef": "#meta"
863
+ },
864
+ "encoding": {
865
+ "type": "object",
866
+ "additionalProperties": {
867
+ "$ref": "#/$defs/encoding"
868
+ }
869
+ },
870
+ "prefixEncoding": {
871
+ "type": "array",
872
+ "items": {
873
+ "$ref": "#/$defs/encoding"
874
+ }
875
+ },
876
+ "itemEncoding": {
877
+ "$ref": "#/$defs/encoding"
878
+ }
879
+ },
880
+ "dependentSchemas": {
881
+ "encoding": {
882
+ "properties": {
883
+ "prefixEncoding": false,
884
+ "itemEncoding": false
885
+ }
886
+ }
887
+ },
888
+ "allOf": [
889
+ {
890
+ "$ref": "#/$defs/examples"
891
+ },
892
+ {
893
+ "$ref": "#/$defs/specification-extensions"
894
+ }
895
+ ],
896
+ "unevaluatedProperties": false
897
+ },
898
+ "media-type-or-reference": {
899
+ "if": {
900
+ "type": "object",
901
+ "required": [
902
+ "$ref"
903
+ ]
904
+ },
905
+ "then": {
906
+ "$ref": "#/$defs/reference"
907
+ },
908
+ "else": {
909
+ "$ref": "#/$defs/media-type"
910
+ }
911
+ },
912
+ "encoding": {
913
+ "$comment": "https://spec.openapis.org/oas/v3.2#encoding-object",
914
+ "type": "object",
915
+ "properties": {
916
+ "contentType": {
917
+ "$comment": "one or more comma-separated media-ranges",
918
+ "type": "string"
919
+ },
920
+ "headers": {
921
+ "type": "object",
922
+ "propertyNames": {
923
+ "$ref": "#/$defs/token"
924
+ },
925
+ "additionalProperties": {
926
+ "$ref": "#/$defs/header-or-reference"
927
+ }
928
+ },
929
+ "style": {
930
+ "enum": [
931
+ "form",
932
+ "spaceDelimited",
933
+ "pipeDelimited",
934
+ "deepObject"
935
+ ]
936
+ },
937
+ "explode": {
938
+ "type": "boolean"
939
+ },
940
+ "allowReserved": {
941
+ "type": "boolean"
942
+ },
943
+ "encoding": {
944
+ "type": "object",
945
+ "additionalProperties": {
946
+ "$ref": "#/$defs/encoding"
947
+ }
948
+ },
949
+ "prefixEncoding": {
950
+ "type": "array",
951
+ "items": {
952
+ "$ref": "#/$defs/encoding"
953
+ }
954
+ },
955
+ "itemEncoding": {
956
+ "$ref": "#/$defs/encoding"
957
+ }
958
+ },
959
+ "dependentSchemas": {
960
+ "encoding": {
961
+ "properties": {
962
+ "prefixEncoding": false,
963
+ "itemEncoding": false
964
+ }
965
+ },
966
+ "style": {
967
+ "properties": {
968
+ "allowReserved": {
969
+ "default": false
970
+ }
971
+ },
972
+ "$ref": "#/$defs/explode-for-form"
973
+ },
974
+ "explode": {
975
+ "properties": {
976
+ "style": {
977
+ "default": "form"
978
+ },
979
+ "allowReserved": {
980
+ "default": false
981
+ }
982
+ }
983
+ },
984
+ "allowReserved": {
985
+ "properties": {
986
+ "style": {
987
+ "default": "form"
988
+ }
989
+ },
990
+ "$ref": "#/$defs/explode-for-form"
991
+ }
992
+ },
993
+ "$ref": "#/$defs/specification-extensions",
994
+ "unevaluatedProperties": false
995
+ },
996
+ "responses": {
997
+ "$comment": "https://spec.openapis.org/oas/v3.2#responses-object",
998
+ "type": "object",
999
+ "properties": {
1000
+ "default": {
1001
+ "$ref": "#/$defs/response-or-reference"
1002
+ }
1003
+ },
1004
+ "patternProperties": {
1005
+ "^[1-5](?:[0-9]{2}|XX)$": {
1006
+ "$ref": "#/$defs/response-or-reference"
1007
+ }
1008
+ },
1009
+ "minProperties": 1,
1010
+ "$ref": "#/$defs/specification-extensions",
1011
+ "unevaluatedProperties": false,
1012
+ "if": {
1013
+ "$comment": "either default, or at least one response code property must exist",
1014
+ "patternProperties": {
1015
+ "^[1-5](?:[0-9]{2}|XX)$": false
1016
+ }
1017
+ },
1018
+ "then": {
1019
+ "required": [
1020
+ "default"
1021
+ ]
1022
+ }
1023
+ },
1024
+ "response": {
1025
+ "$comment": "https://spec.openapis.org/oas/v3.2#response-object",
1026
+ "type": "object",
1027
+ "properties": {
1028
+ "summary": {
1029
+ "type": "string"
1030
+ },
1031
+ "description": {
1032
+ "type": "string"
1033
+ },
1034
+ "headers": {
1035
+ "type": "object",
1036
+ "propertyNames": {
1037
+ "$ref": "#/$defs/token"
1038
+ },
1039
+ "additionalProperties": {
1040
+ "$ref": "#/$defs/header-or-reference"
1041
+ }
1042
+ },
1043
+ "content": {
1044
+ "$ref": "#/$defs/content"
1045
+ },
1046
+ "links": {
1047
+ "type": "object",
1048
+ "additionalProperties": {
1049
+ "$ref": "#/$defs/link-or-reference"
1050
+ }
1051
+ }
1052
+ },
1053
+ "$ref": "#/$defs/specification-extensions",
1054
+ "unevaluatedProperties": false
1055
+ },
1056
+ "response-or-reference": {
1057
+ "if": {
1058
+ "type": "object",
1059
+ "required": [
1060
+ "$ref"
1061
+ ]
1062
+ },
1063
+ "then": {
1064
+ "$ref": "#/$defs/reference"
1065
+ },
1066
+ "else": {
1067
+ "$ref": "#/$defs/response"
1068
+ }
1069
+ },
1070
+ "callbacks": {
1071
+ "$comment": "https://spec.openapis.org/oas/v3.2#callback-object",
1072
+ "type": "object",
1073
+ "$ref": "#/$defs/specification-extensions",
1074
+ "additionalProperties": {
1075
+ "$ref": "#/$defs/path-item"
1076
+ }
1077
+ },
1078
+ "callbacks-or-reference": {
1079
+ "if": {
1080
+ "type": "object",
1081
+ "required": [
1082
+ "$ref"
1083
+ ]
1084
+ },
1085
+ "then": {
1086
+ "$ref": "#/$defs/reference"
1087
+ },
1088
+ "else": {
1089
+ "$ref": "#/$defs/callbacks"
1090
+ }
1091
+ },
1092
+ "example": {
1093
+ "$comment": "https://spec.openapis.org/oas/v3.2#example-object",
1094
+ "type": "object",
1095
+ "properties": {
1096
+ "summary": {
1097
+ "type": "string"
1098
+ },
1099
+ "description": {
1100
+ "type": "string"
1101
+ },
1102
+ "dataValue": true,
1103
+ "serializedValue": {
1104
+ "type": "string"
1105
+ },
1106
+ "value": true,
1107
+ "externalValue": {
1108
+ "type": "string",
1109
+ "format": "uri-reference"
1110
+ }
1111
+ },
1112
+ "allOf": [
1113
+ {
1114
+ "not": {
1115
+ "required": [
1116
+ "value",
1117
+ "externalValue"
1118
+ ]
1119
+ }
1120
+ },
1121
+ {
1122
+ "not": {
1123
+ "required": [
1124
+ "value",
1125
+ "dataValue"
1126
+ ]
1127
+ }
1128
+ },
1129
+ {
1130
+ "not": {
1131
+ "required": [
1132
+ "value",
1133
+ "serializedValue"
1134
+ ]
1135
+ }
1136
+ },
1137
+ {
1138
+ "not": {
1139
+ "required": [
1140
+ "serializedValue",
1141
+ "externalValue"
1142
+ ]
1143
+ }
1144
+ }
1145
+ ],
1146
+ "$ref": "#/$defs/specification-extensions",
1147
+ "unevaluatedProperties": false
1148
+ },
1149
+ "example-or-reference": {
1150
+ "if": {
1151
+ "type": "object",
1152
+ "required": [
1153
+ "$ref"
1154
+ ]
1155
+ },
1156
+ "then": {
1157
+ "$ref": "#/$defs/reference"
1158
+ },
1159
+ "else": {
1160
+ "$ref": "#/$defs/example"
1161
+ }
1162
+ },
1163
+ "link": {
1164
+ "$comment": "https://spec.openapis.org/oas/v3.2#link-object",
1165
+ "type": "object",
1166
+ "properties": {
1167
+ "operationRef": {
1168
+ "type": "string",
1169
+ "format": "uri-reference"
1170
+ },
1171
+ "operationId": {
1172
+ "type": "string"
1173
+ },
1174
+ "parameters": {
1175
+ "$ref": "#/$defs/map-of-strings"
1176
+ },
1177
+ "requestBody": true,
1178
+ "description": {
1179
+ "type": "string"
1180
+ },
1181
+ "server": {
1182
+ "$ref": "#/$defs/server"
1183
+ }
1184
+ },
1185
+ "oneOf": [
1186
+ {
1187
+ "required": [
1188
+ "operationRef"
1189
+ ]
1190
+ },
1191
+ {
1192
+ "required": [
1193
+ "operationId"
1194
+ ]
1195
+ }
1196
+ ],
1197
+ "$ref": "#/$defs/specification-extensions",
1198
+ "unevaluatedProperties": false
1199
+ },
1200
+ "link-or-reference": {
1201
+ "if": {
1202
+ "type": "object",
1203
+ "required": [
1204
+ "$ref"
1205
+ ]
1206
+ },
1207
+ "then": {
1208
+ "$ref": "#/$defs/reference"
1209
+ },
1210
+ "else": {
1211
+ "$ref": "#/$defs/link"
1212
+ }
1213
+ },
1214
+ "header": {
1215
+ "$comment": "https://spec.openapis.org/oas/v3.2#header-object",
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "description": {
1219
+ "type": "string"
1220
+ },
1221
+ "required": {
1222
+ "default": false,
1223
+ "type": "boolean"
1224
+ },
1225
+ "deprecated": {
1226
+ "default": false,
1227
+ "type": "boolean"
1228
+ },
1229
+ "schema": {
1230
+ "$dynamicRef": "#meta"
1231
+ },
1232
+ "content": {
1233
+ "$ref": "#/$defs/content",
1234
+ "minProperties": 1,
1235
+ "maxProperties": 1
1236
+ }
1237
+ },
1238
+ "oneOf": [
1239
+ {
1240
+ "required": [
1241
+ "schema"
1242
+ ]
1243
+ },
1244
+ {
1245
+ "required": [
1246
+ "content"
1247
+ ]
1248
+ }
1249
+ ],
1250
+ "dependentSchemas": {
1251
+ "schema": {
1252
+ "properties": {
1253
+ "style": {
1254
+ "default": "simple",
1255
+ "const": "simple"
1256
+ },
1257
+ "explode": {
1258
+ "default": false,
1259
+ "type": "boolean"
1260
+ }
1261
+ }
1262
+ }
1263
+ },
1264
+ "allOf": [
1265
+ {
1266
+ "$ref": "#/$defs/examples"
1267
+ },
1268
+ {
1269
+ "$ref": "#/$defs/specification-extensions"
1270
+ }
1271
+ ],
1272
+ "unevaluatedProperties": false
1273
+ },
1274
+ "header-or-reference": {
1275
+ "if": {
1276
+ "type": "object",
1277
+ "required": [
1278
+ "$ref"
1279
+ ]
1280
+ },
1281
+ "then": {
1282
+ "$ref": "#/$defs/reference"
1283
+ },
1284
+ "else": {
1285
+ "$ref": "#/$defs/header"
1286
+ }
1287
+ },
1288
+ "tag": {
1289
+ "$comment": "https://spec.openapis.org/oas/v3.2#tag-object",
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "name": {
1293
+ "type": "string"
1294
+ },
1295
+ "summary": {
1296
+ "type": "string"
1297
+ },
1298
+ "description": {
1299
+ "type": "string"
1300
+ },
1301
+ "externalDocs": {
1302
+ "$ref": "#/$defs/external-documentation"
1303
+ },
1304
+ "parent": {
1305
+ "type": "string"
1306
+ },
1307
+ "kind": {
1308
+ "type": "string"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "name"
1313
+ ],
1314
+ "$ref": "#/$defs/specification-extensions",
1315
+ "unevaluatedProperties": false
1316
+ },
1317
+ "reference": {
1318
+ "$comment": "https://spec.openapis.org/oas/v3.2#reference-object",
1319
+ "type": "object",
1320
+ "properties": {
1321
+ "$ref": {
1322
+ "type": "string",
1323
+ "format": "uri-reference"
1324
+ },
1325
+ "summary": {
1326
+ "type": "string"
1327
+ },
1328
+ "description": {
1329
+ "type": "string"
1330
+ }
1331
+ }
1332
+ },
1333
+ "schema": {
1334
+ "$comment": "https://spec.openapis.org/oas/v3.2#schema-object",
1335
+ "$dynamicAnchor": "meta",
1336
+ "type": [
1337
+ "object",
1338
+ "boolean"
1339
+ ]
1340
+ },
1341
+ "security-scheme": {
1342
+ "$comment": "https://spec.openapis.org/oas/v3.2#security-scheme-object",
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "type": {
1346
+ "enum": [
1347
+ "apiKey",
1348
+ "http",
1349
+ "mutualTLS",
1350
+ "oauth2",
1351
+ "openIdConnect"
1352
+ ]
1353
+ },
1354
+ "description": {
1355
+ "type": "string"
1356
+ },
1357
+ "deprecated": {
1358
+ "default": false,
1359
+ "type": "boolean"
1360
+ }
1361
+ },
1362
+ "required": [
1363
+ "type"
1364
+ ],
1365
+ "allOf": [
1366
+ {
1367
+ "$ref": "#/$defs/specification-extensions"
1368
+ },
1369
+ {
1370
+ "$ref": "#/$defs/security-scheme/$defs/type-apikey"
1371
+ },
1372
+ {
1373
+ "$ref": "#/$defs/security-scheme/$defs/type-http"
1374
+ },
1375
+ {
1376
+ "$ref": "#/$defs/security-scheme/$defs/type-http-bearer"
1377
+ },
1378
+ {
1379
+ "$ref": "#/$defs/security-scheme/$defs/type-oauth2"
1380
+ },
1381
+ {
1382
+ "$ref": "#/$defs/security-scheme/$defs/type-oidc"
1383
+ }
1384
+ ],
1385
+ "unevaluatedProperties": false,
1386
+ "$defs": {
1387
+ "type-apikey": {
1388
+ "if": {
1389
+ "properties": {
1390
+ "type": {
1391
+ "const": "apiKey"
1392
+ }
1393
+ }
1394
+ },
1395
+ "then": {
1396
+ "properties": {
1397
+ "name": {
1398
+ "type": "string"
1399
+ },
1400
+ "in": {
1401
+ "enum": [
1402
+ "query",
1403
+ "header",
1404
+ "cookie"
1405
+ ]
1406
+ }
1407
+ },
1408
+ "required": [
1409
+ "name",
1410
+ "in"
1411
+ ]
1412
+ }
1413
+ },
1414
+ "type-http": {
1415
+ "if": {
1416
+ "properties": {
1417
+ "type": {
1418
+ "const": "http"
1419
+ }
1420
+ }
1421
+ },
1422
+ "then": {
1423
+ "properties": {
1424
+ "scheme": {
1425
+ "type": "string"
1426
+ }
1427
+ },
1428
+ "required": [
1429
+ "scheme"
1430
+ ]
1431
+ }
1432
+ },
1433
+ "type-http-bearer": {
1434
+ "if": {
1435
+ "properties": {
1436
+ "type": {
1437
+ "const": "http"
1438
+ },
1439
+ "scheme": {
1440
+ "type": "string",
1441
+ "pattern": "^[Bb][Ee][Aa][Rr][Ee][Rr]$"
1442
+ }
1443
+ },
1444
+ "required": [
1445
+ "type",
1446
+ "scheme"
1447
+ ]
1448
+ },
1449
+ "then": {
1450
+ "properties": {
1451
+ "bearerFormat": {
1452
+ "type": "string"
1453
+ }
1454
+ }
1455
+ }
1456
+ },
1457
+ "type-oauth2": {
1458
+ "if": {
1459
+ "properties": {
1460
+ "type": {
1461
+ "const": "oauth2"
1462
+ }
1463
+ }
1464
+ },
1465
+ "then": {
1466
+ "properties": {
1467
+ "flows": {
1468
+ "$ref": "#/$defs/oauth-flows"
1469
+ },
1470
+ "oauth2MetadataUrl": {
1471
+ "type": "string",
1472
+ "format": "uri-reference"
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "flows"
1477
+ ]
1478
+ }
1479
+ },
1480
+ "type-oidc": {
1481
+ "if": {
1482
+ "properties": {
1483
+ "type": {
1484
+ "const": "openIdConnect"
1485
+ }
1486
+ }
1487
+ },
1488
+ "then": {
1489
+ "properties": {
1490
+ "openIdConnectUrl": {
1491
+ "type": "string",
1492
+ "format": "uri-reference"
1493
+ }
1494
+ },
1495
+ "required": [
1496
+ "openIdConnectUrl"
1497
+ ]
1498
+ }
1499
+ }
1500
+ }
1501
+ },
1502
+ "security-scheme-or-reference": {
1503
+ "if": {
1504
+ "type": "object",
1505
+ "required": [
1506
+ "$ref"
1507
+ ]
1508
+ },
1509
+ "then": {
1510
+ "$ref": "#/$defs/reference"
1511
+ },
1512
+ "else": {
1513
+ "$ref": "#/$defs/security-scheme"
1514
+ }
1515
+ },
1516
+ "oauth-flows": {
1517
+ "type": "object",
1518
+ "properties": {
1519
+ "implicit": {
1520
+ "$ref": "#/$defs/oauth-flows/$defs/implicit"
1521
+ },
1522
+ "password": {
1523
+ "$ref": "#/$defs/oauth-flows/$defs/password"
1524
+ },
1525
+ "clientCredentials": {
1526
+ "$ref": "#/$defs/oauth-flows/$defs/client-credentials"
1527
+ },
1528
+ "authorizationCode": {
1529
+ "$ref": "#/$defs/oauth-flows/$defs/authorization-code"
1530
+ },
1531
+ "deviceAuthorization": {
1532
+ "$ref": "#/$defs/oauth-flows/$defs/device-authorization"
1533
+ }
1534
+ },
1535
+ "$ref": "#/$defs/specification-extensions",
1536
+ "unevaluatedProperties": false,
1537
+ "$defs": {
1538
+ "implicit": {
1539
+ "type": "object",
1540
+ "properties": {
1541
+ "authorizationUrl": {
1542
+ "type": "string",
1543
+ "format": "uri-reference"
1544
+ },
1545
+ "refreshUrl": {
1546
+ "type": "string",
1547
+ "format": "uri-reference"
1548
+ },
1549
+ "scopes": {
1550
+ "$ref": "#/$defs/map-of-strings"
1551
+ }
1552
+ },
1553
+ "required": [
1554
+ "authorizationUrl",
1555
+ "scopes"
1556
+ ],
1557
+ "$ref": "#/$defs/specification-extensions",
1558
+ "unevaluatedProperties": false
1559
+ },
1560
+ "password": {
1561
+ "type": "object",
1562
+ "properties": {
1563
+ "tokenUrl": {
1564
+ "type": "string",
1565
+ "format": "uri-reference"
1566
+ },
1567
+ "refreshUrl": {
1568
+ "type": "string",
1569
+ "format": "uri-reference"
1570
+ },
1571
+ "scopes": {
1572
+ "$ref": "#/$defs/map-of-strings"
1573
+ }
1574
+ },
1575
+ "required": [
1576
+ "tokenUrl",
1577
+ "scopes"
1578
+ ],
1579
+ "$ref": "#/$defs/specification-extensions",
1580
+ "unevaluatedProperties": false
1581
+ },
1582
+ "client-credentials": {
1583
+ "type": "object",
1584
+ "properties": {
1585
+ "tokenUrl": {
1586
+ "type": "string",
1587
+ "format": "uri-reference"
1588
+ },
1589
+ "refreshUrl": {
1590
+ "type": "string",
1591
+ "format": "uri-reference"
1592
+ },
1593
+ "scopes": {
1594
+ "$ref": "#/$defs/map-of-strings"
1595
+ }
1596
+ },
1597
+ "required": [
1598
+ "tokenUrl",
1599
+ "scopes"
1600
+ ],
1601
+ "$ref": "#/$defs/specification-extensions",
1602
+ "unevaluatedProperties": false
1603
+ },
1604
+ "authorization-code": {
1605
+ "type": "object",
1606
+ "properties": {
1607
+ "authorizationUrl": {
1608
+ "type": "string",
1609
+ "format": "uri-reference"
1610
+ },
1611
+ "tokenUrl": {
1612
+ "type": "string",
1613
+ "format": "uri-reference"
1614
+ },
1615
+ "refreshUrl": {
1616
+ "type": "string",
1617
+ "format": "uri-reference"
1618
+ },
1619
+ "scopes": {
1620
+ "$ref": "#/$defs/map-of-strings"
1621
+ }
1622
+ },
1623
+ "required": [
1624
+ "authorizationUrl",
1625
+ "tokenUrl",
1626
+ "scopes"
1627
+ ],
1628
+ "$ref": "#/$defs/specification-extensions",
1629
+ "unevaluatedProperties": false
1630
+ },
1631
+ "device-authorization": {
1632
+ "type": "object",
1633
+ "properties": {
1634
+ "deviceAuthorizationUrl": {
1635
+ "type": "string",
1636
+ "format": "uri-reference"
1637
+ },
1638
+ "tokenUrl": {
1639
+ "type": "string",
1640
+ "format": "uri-reference"
1641
+ },
1642
+ "refreshUrl": {
1643
+ "type": "string",
1644
+ "format": "uri-reference"
1645
+ },
1646
+ "scopes": {
1647
+ "$ref": "#/$defs/map-of-strings"
1648
+ }
1649
+ },
1650
+ "required": [
1651
+ "deviceAuthorizationUrl",
1652
+ "tokenUrl",
1653
+ "scopes"
1654
+ ],
1655
+ "$ref": "#/$defs/specification-extensions",
1656
+ "unevaluatedProperties": false
1657
+ }
1658
+ }
1659
+ },
1660
+ "security-requirement": {
1661
+ "$comment": "https://spec.openapis.org/oas/v3.2#security-requirement-object",
1662
+ "type": "object",
1663
+ "additionalProperties": {
1664
+ "type": "array",
1665
+ "items": {
1666
+ "type": "string"
1667
+ }
1668
+ }
1669
+ },
1670
+ "specification-extensions": {
1671
+ "$comment": "https://spec.openapis.org/oas/v3.2#specification-extensions",
1672
+ "patternProperties": {
1673
+ "^x-": true
1674
+ }
1675
+ },
1676
+ "examples": {
1677
+ "properties": {
1678
+ "example": true,
1679
+ "examples": {
1680
+ "type": "object",
1681
+ "additionalProperties": {
1682
+ "$ref": "#/$defs/example-or-reference"
1683
+ }
1684
+ }
1685
+ },
1686
+ "not": {
1687
+ "required": [
1688
+ "example",
1689
+ "examples"
1690
+ ]
1691
+ }
1692
+ },
1693
+ "map-of-strings": {
1694
+ "type": "object",
1695
+ "additionalProperties": {
1696
+ "type": "string"
1697
+ }
1698
+ },
1699
+ "explode-for-form": {
1700
+ "$comment": "for encoding objects, and query and cookie parameters, style=form is the default",
1701
+ "if": {
1702
+ "properties": {
1703
+ "style": {
1704
+ "const": "form"
1705
+ }
1706
+ }
1707
+ },
1708
+ "then": {
1709
+ "properties": {
1710
+ "explode": {
1711
+ "default": true
1712
+ }
1713
+ }
1714
+ },
1715
+ "else": {
1716
+ "properties": {
1717
+ "explode": {
1718
+ "default": false
1719
+ }
1720
+ }
1721
+ }
1722
+ },
1723
+ "token": {
1724
+ "$comment": "see https://www.rfc-editor.org/rfc/rfc9110.html#section-5.6.2",
1725
+ "type": "string",
1726
+ "pattern": "^[0-9A-Za-z!#$%&'*+.^_`|~-]+$"
1727
+ }
1728
+ }
1729
+ }