permdock 0.0.0 → 0.1.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.
Files changed (290) hide show
  1. package/README.md +268 -1
  2. package/dist/a2a/index.d.ts +178 -0
  3. package/dist/a2a/index.js +271 -0
  4. package/dist/ai-sdk/index.d.ts +74 -0
  5. package/dist/ai-sdk/index.js +137 -0
  6. package/dist/approval-required-TzNB9oQA.js +6 -0
  7. package/dist/approvals/index.d.ts +3 -0
  8. package/dist/approvals/index.js +4 -0
  9. package/dist/approvals-DaxY-Bdg.js +218 -0
  10. package/dist/approvers-aH0PJkmf.js +20 -0
  11. package/dist/arazzo-CTeVuXr5.js +70 -0
  12. package/dist/arazzo-aoTkqYsJ.js +54 -0
  13. package/dist/authzen/index.d.ts +48 -0
  14. package/dist/authzen/index.js +336 -0
  15. package/dist/better-auth/index.d.ts +92 -0
  16. package/dist/better-auth/index.js +324 -0
  17. package/dist/budget-JqcRqyhK.d.ts +11 -0
  18. package/dist/budget-NbEtbJC_.js +11 -0
  19. package/dist/capability-B68OFnZx.js +171 -0
  20. package/dist/capability-BDG_nkxt.d.ts +99 -0
  21. package/dist/catalog/index.d.ts +12 -0
  22. package/dist/catalog/index.js +2 -0
  23. package/dist/catalog-B0E6bggc.js +48 -0
  24. package/dist/catalog-H-vFGwWK.js +55 -0
  25. package/dist/catalog-doc-BSo_Q_-6.js +298 -0
  26. package/dist/catalog-idsHc0vo.js +2 -0
  27. package/dist/catalog-path-CnI0XTFK.js +12 -0
  28. package/dist/claude-agent/index.d.ts +81 -0
  29. package/dist/claude-agent/index.js +83 -0
  30. package/dist/clerk/index.d.ts +56 -0
  31. package/dist/clerk/index.js +280 -0
  32. package/dist/cli/bin.d.ts +1 -0
  33. package/dist/cli/bin.js +20 -0
  34. package/dist/cli/index.d.ts +46 -0
  35. package/dist/cli/index.js +5 -0
  36. package/dist/cloud/index.d.ts +91 -0
  37. package/dist/cloud/index.js +390 -0
  38. package/dist/cloud-BNQTrmrr.js +50 -0
  39. package/dist/cloud-Cuxr6Czw.js +117 -0
  40. package/dist/collect-B7_TIfmg.js +49 -0
  41. package/dist/collect-O-tOtbnk.js +350 -0
  42. package/dist/collect-fRPAQIWb.js +2 -0
  43. package/dist/commands-BMh_Etm2.js +93 -0
  44. package/dist/compact-y6vfu2_f.js +19 -0
  45. package/dist/compare-pfyVnBjE.js +12 -0
  46. package/dist/compile-CQbvyIBr.d.ts +30 -0
  47. package/dist/compile-D22iwvuV.js +558 -0
  48. package/dist/config-BPYmjTOp.js +26 -0
  49. package/dist/connection-JvqwHODC.js +194 -0
  50. package/dist/context-CKEAabd7.js +73 -0
  51. package/dist/context-gtAwAILx.js +6 -0
  52. package/dist/convex/index.d.ts +40 -0
  53. package/dist/convex/index.js +55 -0
  54. package/dist/create-BKF3dgFk.d.ts +162 -0
  55. package/dist/create-CSkhDU9T.js +222 -0
  56. package/dist/credential-B_rkUNlY.js +326 -0
  57. package/dist/credentials-BgRX3WEg.js +268 -0
  58. package/dist/describe-Bt1YD5uS.js +99 -0
  59. package/dist/describe-DernyItf.d.ts +37 -0
  60. package/dist/diff-BUzf5Poi.js +48 -0
  61. package/dist/diff-x5Il8LVa.js +418 -0
  62. package/dist/digest-B3kc_PgQ.d.ts +19 -0
  63. package/dist/digest-BI-6aa6d.js +27 -0
  64. package/dist/doctor-BGle8Gqi.js +1314 -0
  65. package/dist/doctor-Bqo6FwUa.js +53 -0
  66. package/dist/drizzle/index.d.ts +72 -0
  67. package/dist/drizzle/index.js +160 -0
  68. package/dist/duration-xK2jGFVc.js +25 -0
  69. package/dist/elysia/index.d.ts +71 -0
  70. package/dist/elysia/index.js +103 -0
  71. package/dist/errors-DSMnAVNa.js +43 -0
  72. package/dist/errors-DbZ1YOnb.d.ts +138 -0
  73. package/dist/errors-Iy71s7Oj.js +177 -0
  74. package/dist/errors-m3u9TmDu.js +27 -0
  75. package/dist/evaluations-DsAU9ppl.js +479 -0
  76. package/dist/eve/index.d.ts +95 -0
  77. package/dist/eve/index.js +181 -0
  78. package/dist/express/index.d.ts +46 -0
  79. package/dist/express/index.js +108 -0
  80. package/dist/fastify/index.d.ts +56 -0
  81. package/dist/fastify/index.js +141 -0
  82. package/dist/files-B_wAGYmt.js +121 -0
  83. package/dist/fixtures-Cvaw0gDG.js +64 -0
  84. package/dist/freeze-y1_jQL4v.js +31 -0
  85. package/dist/from-snapshot-BMGnhmgv.js +552 -0
  86. package/dist/generate-CH7ThJ14.js +173 -0
  87. package/dist/grantee-Bv04_Vzf.js +521 -0
  88. package/dist/headers-B5RRv3Xm.js +6 -0
  89. package/dist/headers-C8SHQccD.d.ts +6 -0
  90. package/dist/helpers-DnSOrhB9.js +682 -0
  91. package/dist/hono/index.d.ts +70 -0
  92. package/dist/hono/index.js +131 -0
  93. package/dist/hosted-BwKQ1BTA.js +265 -0
  94. package/dist/http-DPuDaChb.d.ts +13 -0
  95. package/dist/http-GgVApX1k.js +111 -0
  96. package/dist/index-CltcQ4Bf.d.ts +138 -0
  97. package/dist/index-LF_hS-yn.d.ts +177 -0
  98. package/dist/index-fG6NSXlc.d.ts +9 -0
  99. package/dist/index-xIxJLwOQ.d.ts +415 -0
  100. package/dist/index.d.ts +11 -0
  101. package/dist/index.js +21 -0
  102. package/dist/jwt/index.d.ts +87 -0
  103. package/dist/jwt/index.js +571 -0
  104. package/dist/kernel-YOGCWNLf.js +211 -0
  105. package/dist/kysely/index.d.ts +77 -0
  106. package/dist/kysely/index.js +129 -0
  107. package/dist/load-BZ24CpZP.js +69 -0
  108. package/dist/load-QOOm1z70.js +2 -0
  109. package/dist/load-jose-BL6LH4bL.js +11 -0
  110. package/dist/lru-8q4WZjBV.js +28 -0
  111. package/dist/manifest-DDQbC6K0.d.ts +118 -0
  112. package/dist/map-DowSO96j.js +158 -0
  113. package/dist/map-claims-B_6I1Rn-.js +360 -0
  114. package/dist/map-error-RJ3ZsUyA.js +16 -0
  115. package/dist/markers-B0hYLvMD.js +60 -0
  116. package/dist/may-use-CnFEjVEp.js +37 -0
  117. package/dist/mcp/index.d.ts +127 -0
  118. package/dist/mcp/index.js +563 -0
  119. package/dist/nest/index.d.ts +80 -0
  120. package/dist/nest/index.js +270 -0
  121. package/dist/next/client.d.ts +24 -0
  122. package/dist/next/client.js +31 -0
  123. package/dist/next/index.d.ts +110 -0
  124. package/dist/next/index.js +195 -0
  125. package/dist/next/plugin.d.ts +14 -0
  126. package/dist/next/plugin.js +2 -0
  127. package/dist/node/index.d.ts +43 -0
  128. package/dist/node/index.js +66 -0
  129. package/dist/openai/index.d.ts +71 -0
  130. package/dist/openai/index.js +105 -0
  131. package/dist/openapi/index.d.ts +93 -0
  132. package/dist/openapi/index.js +3 -0
  133. package/dist/openapi-CwePaF7C.js +164 -0
  134. package/dist/openapi-DWD0Uc_4.js +250 -0
  135. package/dist/openapi-DcqM8nU7.js +306 -0
  136. package/dist/openapi-import-BWRUNNeW.js +5959 -0
  137. package/dist/openapi-schema-D8j_T9tO.js +6902 -0
  138. package/dist/orpc/index.d.ts +64 -0
  139. package/dist/orpc/index.js +188 -0
  140. package/dist/otel/index.d.ts +13 -0
  141. package/dist/otel/index.js +202 -0
  142. package/dist/package-root-zGkxO3oN.js +30 -0
  143. package/dist/parse-DPfIvFMU.js +135 -0
  144. package/dist/pdp/index.d.ts +22 -0
  145. package/dist/pdp/index.js +795 -0
  146. package/dist/peer-BOr_kJE1.js +31 -0
  147. package/dist/permdock-yoZ7EjxX.js +2956 -0
  148. package/dist/permissions-B4apnahQ.d.ts +185 -0
  149. package/dist/permissions-B8vCg_bI.d.ts +52 -0
  150. package/dist/permissions-CofRqesP.js +142 -0
  151. package/dist/permissions-DC7GROPA.js +600 -0
  152. package/dist/pg-4GJWDUxG.js +953 -0
  153. package/dist/pins-CqE1jZuF.js +12 -0
  154. package/dist/plugin-4gr7IxFJ.js +65 -0
  155. package/dist/policy-ANp36PnI.js +971 -0
  156. package/dist/policy-CInmNGkM.d.ts +1959 -0
  157. package/dist/policy-Cq2fB8Q5.d.ts +20 -0
  158. package/dist/prisma/index.d.ts +135 -0
  159. package/dist/prisma/index.js +430 -0
  160. package/dist/problem-Cgp9-KZA.js +226 -0
  161. package/dist/prompt-CXYhLfsS.js +32 -0
  162. package/dist/protected-B4K3BKoX.js +138 -0
  163. package/dist/protected-BuPAycJT.d.ts +26 -0
  164. package/dist/protected-wY7nXhY9.d.ts +23 -0
  165. package/dist/provider-_wx46HpB.js +48 -0
  166. package/dist/provider-wTAUda2v.d.ts +6 -0
  167. package/dist/react/index.d.ts +6 -0
  168. package/dist/react/index.js +6 -0
  169. package/dist/react/provider-client.d.ts +2 -0
  170. package/dist/react/provider-client.js +3 -0
  171. package/dist/react-native/index.d.ts +42 -0
  172. package/dist/react-native/index.js +174 -0
  173. package/dist/refs-ChLSxbST.js +90 -0
  174. package/dist/relations-r4soIFZB.js +426 -0
  175. package/dist/revocations-Cy06JNx2.d.ts +21 -0
  176. package/dist/rls-BOFU3chG.js +233 -0
  177. package/dist/rls-CJVja9Ww.js +2119 -0
  178. package/dist/rls-graph-DxQ39PJj.js +371 -0
  179. package/dist/rls-helpers-BxRuif0l.js +1346 -0
  180. package/dist/rls-import-CXV6LBlS.js +942 -0
  181. package/dist/rls-migrate-DrFPbf8p.js +366 -0
  182. package/dist/row-check-BajTgQZ-.d.ts +43 -0
  183. package/dist/run-CJ6UvS3a.js +155 -0
  184. package/dist/runtime-DP9ttFh1.js +27 -0
  185. package/dist/saas-BRrZzJkM.js +1193 -0
  186. package/dist/schema-P8yoma__.js +296 -0
  187. package/dist/scim/index.d.ts +2 -0
  188. package/dist/scim/index.js +2 -0
  189. package/dist/scim-9NFa0XVZ.js +1445 -0
  190. package/dist/scopes-cKVp_WTw.js +212 -0
  191. package/dist/server/index.d.ts +123 -0
  192. package/dist/server/index.js +8 -0
  193. package/dist/sha256-BO0swRXL.js +150 -0
  194. package/dist/sink-Bd9PSyfq.js +141 -0
  195. package/dist/sink-Cfr9-7YC.d.ts +104 -0
  196. package/dist/skills-C_lpV4Jx.js +50 -0
  197. package/dist/skills-Dx3QLnMY.js +110 -0
  198. package/dist/snapshot-DE8dE_hz.js +1051 -0
  199. package/dist/solid/index.d.ts +63 -0
  200. package/dist/solid/index.js +197 -0
  201. package/dist/source-DoBBYJi2.js +6 -0
  202. package/dist/sources-DOpW5Ila.d.ts +347 -0
  203. package/dist/sources-DVHM3Mwq.js +284 -0
  204. package/dist/sql-Bll1d7y0.js +22 -0
  205. package/dist/src-CTNT-PBW.js +430 -0
  206. package/dist/ssf/index.d.ts +3 -0
  207. package/dist/ssf/index.js +622 -0
  208. package/dist/store-Bq90395i.d.ts +27 -0
  209. package/dist/store-C6hFW6ta.js +508 -0
  210. package/dist/stores-CkG2HrSg.js +140 -0
  211. package/dist/stores-CvOnu_2T.d.ts +41 -0
  212. package/dist/stream-BhMfZOwr.d.ts +12 -0
  213. package/dist/stream-Q_xlB6Ko.js +52 -0
  214. package/dist/style-CTm1AXDT.js +22 -0
  215. package/dist/subject-C6dLxqHU.js +24 -0
  216. package/dist/subject-settings-xt7V845g.js +82 -0
  217. package/dist/supabase/index.d.ts +67 -0
  218. package/dist/supabase/index.js +4 -0
  219. package/dist/supabase/middleware.d.ts +77 -0
  220. package/dist/supabase/middleware.js +68 -0
  221. package/dist/supabase-D8UlBA7Z.js +83 -0
  222. package/dist/supabase-DTxGtYdi.js +796 -0
  223. package/dist/supabase-hook-DW-xP4hU.js +2 -0
  224. package/dist/supabase-hook-D_OqGb_V.js +1528 -0
  225. package/dist/svelte/Protected.svelte +34 -0
  226. package/dist/svelte/index.d.ts +10 -0
  227. package/dist/svelte/index.js +53 -0
  228. package/dist/svelte/runtime.d.ts +6 -0
  229. package/dist/svelte/runtime.js +3 -0
  230. package/dist/svelte/source.d.ts +10 -0
  231. package/dist/svelte/source.js +8 -0
  232. package/dist/terminal/index.d.ts +171 -0
  233. package/dist/terminal/index.js +821 -0
  234. package/dist/testing/index.d.ts +656 -0
  235. package/dist/testing/index.js +3208 -0
  236. package/dist/testing/saas/index.d.ts +194 -0
  237. package/dist/testing/saas/index.js +3 -0
  238. package/dist/testing/saas/permissions.d.ts +2 -0
  239. package/dist/testing/saas/permissions.js +2 -0
  240. package/dist/text-diff-BdkkYSbi.js +15 -0
  241. package/dist/thenable-okc2xDsj.js +10 -0
  242. package/dist/timeout-D51niuQP.js +8 -0
  243. package/dist/trpc/index.d.ts +80 -0
  244. package/dist/trpc/index.js +205 -0
  245. package/dist/types-B8w5PFtS.d.ts +141 -0
  246. package/dist/types-B9dmiiab.d.ts +66 -0
  247. package/dist/types-BBK-exvJ.d.ts +177 -0
  248. package/dist/types-BvBk1wgn.d.ts +118 -0
  249. package/dist/types-CxquUByI.d.ts +9 -0
  250. package/dist/types-D6Z6-rKJ.d.ts +312 -0
  251. package/dist/types-DbWdEfcm.d.ts +87 -0
  252. package/dist/types-bva3i4Gf.d.ts +98 -0
  253. package/dist/types-i4BAOvdb.d.ts +97 -0
  254. package/dist/unplugin/index.d.ts +7 -0
  255. package/dist/unplugin/index.js +30 -0
  256. package/dist/usage-1ozMubLY.js +42 -0
  257. package/dist/usage-CUnK6Ou9.js +530 -0
  258. package/dist/usage-PyEor6GA.js +2 -0
  259. package/dist/validity-D0uRmJKJ.js +224 -0
  260. package/dist/verifier-B90agnhl.js +461 -0
  261. package/dist/version-CnSh33Fj.js +16 -0
  262. package/dist/vocabulary-Dk0fs-Jk.d.ts +56 -0
  263. package/dist/vue/index.d.ts +57 -0
  264. package/dist/vue/index.js +203 -0
  265. package/dist/webmcp/index.d.ts +75 -0
  266. package/dist/webmcp/index.js +313 -0
  267. package/package.json +423 -4
  268. package/rulesets/permdock.yaml +29 -0
  269. package/schemas/catalog-v1.json +507 -0
  270. package/schemas/openapi/oas-3.1.json +1298 -0
  271. package/schemas/openapi/oas-3.2.json +1516 -0
  272. package/schemas/openapi/overlay-1.1.json +79 -0
  273. package/schemas/supabase-claims-v1.json +139 -0
  274. package/schemas/supabase-manifest-v1.json +217 -0
  275. package/skills/permdock/SKILL.md +66 -0
  276. package/skills/permdock-agents/SKILL.md +77 -0
  277. package/skills/permdock-agents/references/runtimes.md +211 -0
  278. package/skills/permdock-approvals/SKILL.md +80 -0
  279. package/skills/permdock-approvals/references/stores-and-resume.md +83 -0
  280. package/skills/permdock-audit/SKILL.md +67 -0
  281. package/skills/permdock-credentials/SKILL.md +55 -0
  282. package/skills/permdock-credentials/references/tokens-keys-links.md +127 -0
  283. package/skills/permdock-data/SKILL.md +57 -0
  284. package/skills/permdock-data/references/queries-and-rls.md +54 -0
  285. package/skills/permdock-data/references/relationships.md +65 -0
  286. package/skills/permdock-tenancy/SKILL.md +77 -0
  287. package/skills/permdock-tenancy/references/ownership-and-custom-roles.md +83 -0
  288. package/skills/permdock-wire/SKILL.md +116 -0
  289. package/skills/permdock-wire/references/adapters.md +480 -0
  290. package/skills/permdock-wire/references/policy-options.md +43 -0
@@ -0,0 +1,1516 @@
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.2/schema/2025-09-17",
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\\.\\d+(-.+)?$"
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/2025-09-17"
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": ["openapi", "info"],
65
+ "anyOf": [
66
+ {
67
+ "required": ["paths"]
68
+ },
69
+ {
70
+ "required": ["components"]
71
+ },
72
+ {
73
+ "required": ["webhooks"]
74
+ }
75
+ ],
76
+ "$ref": "#/$defs/specification-extensions",
77
+ "unevaluatedProperties": false,
78
+ "$defs": {
79
+ "info": {
80
+ "$comment": "https://spec.openapis.org/oas/v3.2#info-object",
81
+ "type": "object",
82
+ "properties": {
83
+ "title": {
84
+ "type": "string"
85
+ },
86
+ "summary": {
87
+ "type": "string"
88
+ },
89
+ "description": {
90
+ "type": "string"
91
+ },
92
+ "termsOfService": {
93
+ "type": "string",
94
+ "format": "uri-reference"
95
+ },
96
+ "contact": {
97
+ "$ref": "#/$defs/contact"
98
+ },
99
+ "license": {
100
+ "$ref": "#/$defs/license"
101
+ },
102
+ "version": {
103
+ "type": "string"
104
+ }
105
+ },
106
+ "required": ["title", "version"],
107
+ "$ref": "#/$defs/specification-extensions",
108
+ "unevaluatedProperties": false
109
+ },
110
+ "contact": {
111
+ "$comment": "https://spec.openapis.org/oas/v3.2#contact-object",
112
+ "type": "object",
113
+ "properties": {
114
+ "name": {
115
+ "type": "string"
116
+ },
117
+ "url": {
118
+ "type": "string",
119
+ "format": "uri-reference"
120
+ },
121
+ "email": {
122
+ "type": "string",
123
+ "format": "email"
124
+ }
125
+ },
126
+ "$ref": "#/$defs/specification-extensions",
127
+ "unevaluatedProperties": false
128
+ },
129
+ "license": {
130
+ "$comment": "https://spec.openapis.org/oas/v3.2#license-object",
131
+ "type": "object",
132
+ "properties": {
133
+ "name": {
134
+ "type": "string"
135
+ },
136
+ "identifier": {
137
+ "type": "string"
138
+ },
139
+ "url": {
140
+ "type": "string",
141
+ "format": "uri-reference"
142
+ }
143
+ },
144
+ "required": ["name"],
145
+ "dependentSchemas": {
146
+ "identifier": {
147
+ "not": {
148
+ "required": ["url"]
149
+ }
150
+ }
151
+ },
152
+ "$ref": "#/$defs/specification-extensions",
153
+ "unevaluatedProperties": false
154
+ },
155
+ "server": {
156
+ "$comment": "https://spec.openapis.org/oas/v3.2#server-object",
157
+ "type": "object",
158
+ "properties": {
159
+ "url": {
160
+ "type": "string"
161
+ },
162
+ "description": {
163
+ "type": "string"
164
+ },
165
+ "name": {
166
+ "type": "string"
167
+ },
168
+ "variables": {
169
+ "type": "object",
170
+ "additionalProperties": {
171
+ "$ref": "#/$defs/server-variable"
172
+ }
173
+ }
174
+ },
175
+ "required": ["url"],
176
+ "$ref": "#/$defs/specification-extensions",
177
+ "unevaluatedProperties": false
178
+ },
179
+ "server-variable": {
180
+ "$comment": "https://spec.openapis.org/oas/v3.2#server-variable-object",
181
+ "type": "object",
182
+ "properties": {
183
+ "enum": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "string"
187
+ },
188
+ "minItems": 1
189
+ },
190
+ "default": {
191
+ "type": "string"
192
+ },
193
+ "description": {
194
+ "type": "string"
195
+ }
196
+ },
197
+ "required": ["default"],
198
+ "$ref": "#/$defs/specification-extensions",
199
+ "unevaluatedProperties": false
200
+ },
201
+ "components": {
202
+ "$comment": "https://spec.openapis.org/oas/v3.2#components-object",
203
+ "type": "object",
204
+ "properties": {
205
+ "schemas": {
206
+ "type": "object",
207
+ "additionalProperties": {
208
+ "$dynamicRef": "#meta"
209
+ }
210
+ },
211
+ "responses": {
212
+ "type": "object",
213
+ "additionalProperties": {
214
+ "$ref": "#/$defs/response-or-reference"
215
+ }
216
+ },
217
+ "parameters": {
218
+ "type": "object",
219
+ "additionalProperties": {
220
+ "$ref": "#/$defs/parameter-or-reference"
221
+ }
222
+ },
223
+ "examples": {
224
+ "type": "object",
225
+ "additionalProperties": {
226
+ "$ref": "#/$defs/example-or-reference"
227
+ }
228
+ },
229
+ "requestBodies": {
230
+ "type": "object",
231
+ "additionalProperties": {
232
+ "$ref": "#/$defs/request-body-or-reference"
233
+ }
234
+ },
235
+ "headers": {
236
+ "type": "object",
237
+ "additionalProperties": {
238
+ "$ref": "#/$defs/header-or-reference"
239
+ }
240
+ },
241
+ "securitySchemes": {
242
+ "type": "object",
243
+ "additionalProperties": {
244
+ "$ref": "#/$defs/security-scheme-or-reference"
245
+ }
246
+ },
247
+ "links": {
248
+ "type": "object",
249
+ "additionalProperties": {
250
+ "$ref": "#/$defs/link-or-reference"
251
+ }
252
+ },
253
+ "callbacks": {
254
+ "type": "object",
255
+ "additionalProperties": {
256
+ "$ref": "#/$defs/callbacks-or-reference"
257
+ }
258
+ },
259
+ "pathItems": {
260
+ "type": "object",
261
+ "additionalProperties": {
262
+ "$ref": "#/$defs/path-item"
263
+ }
264
+ },
265
+ "mediaTypes": {
266
+ "type": "object",
267
+ "additionalProperties": {
268
+ "$ref": "#/$defs/media-type-or-reference"
269
+ }
270
+ }
271
+ },
272
+ "patternProperties": {
273
+ "^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$": {
274
+ "$comment": "Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",
275
+ "propertyNames": {
276
+ "pattern": "^[a-zA-Z0-9._-]+$"
277
+ }
278
+ }
279
+ },
280
+ "$ref": "#/$defs/specification-extensions",
281
+ "unevaluatedProperties": false
282
+ },
283
+ "paths": {
284
+ "$comment": "https://spec.openapis.org/oas/v3.2#paths-object",
285
+ "type": "object",
286
+ "patternProperties": {
287
+ "^/": {
288
+ "$ref": "#/$defs/path-item"
289
+ }
290
+ },
291
+ "$ref": "#/$defs/specification-extensions",
292
+ "unevaluatedProperties": false
293
+ },
294
+ "path-item": {
295
+ "$comment": "https://spec.openapis.org/oas/v3.2#path-item-object",
296
+ "type": "object",
297
+ "properties": {
298
+ "$ref": {
299
+ "type": "string",
300
+ "format": "uri-reference"
301
+ },
302
+ "summary": {
303
+ "type": "string"
304
+ },
305
+ "description": {
306
+ "type": "string"
307
+ },
308
+ "servers": {
309
+ "type": "array",
310
+ "items": {
311
+ "$ref": "#/$defs/server"
312
+ }
313
+ },
314
+ "parameters": {
315
+ "$ref": "#/$defs/parameters"
316
+ },
317
+ "additionalOperations": {
318
+ "type": "object",
319
+ "additionalProperties": {
320
+ "$ref": "#/$defs/operation"
321
+ },
322
+ "propertyNames": {
323
+ "$comment": "RFC9110 restricts methods to \"1*tchar\" in ABNF",
324
+ "pattern": "^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$",
325
+ "not": {
326
+ "enum": [
327
+ "GET",
328
+ "PUT",
329
+ "POST",
330
+ "DELETE",
331
+ "OPTIONS",
332
+ "HEAD",
333
+ "PATCH",
334
+ "TRACE",
335
+ "QUERY"
336
+ ]
337
+ }
338
+ }
339
+ },
340
+ "get": {
341
+ "$ref": "#/$defs/operation"
342
+ },
343
+ "put": {
344
+ "$ref": "#/$defs/operation"
345
+ },
346
+ "post": {
347
+ "$ref": "#/$defs/operation"
348
+ },
349
+ "delete": {
350
+ "$ref": "#/$defs/operation"
351
+ },
352
+ "options": {
353
+ "$ref": "#/$defs/operation"
354
+ },
355
+ "head": {
356
+ "$ref": "#/$defs/operation"
357
+ },
358
+ "patch": {
359
+ "$ref": "#/$defs/operation"
360
+ },
361
+ "trace": {
362
+ "$ref": "#/$defs/operation"
363
+ },
364
+ "query": {
365
+ "$ref": "#/$defs/operation"
366
+ }
367
+ },
368
+ "$ref": "#/$defs/specification-extensions",
369
+ "unevaluatedProperties": false
370
+ },
371
+ "operation": {
372
+ "$comment": "https://spec.openapis.org/oas/v3.2#operation-object",
373
+ "type": "object",
374
+ "properties": {
375
+ "tags": {
376
+ "type": "array",
377
+ "items": {
378
+ "type": "string"
379
+ }
380
+ },
381
+ "summary": {
382
+ "type": "string"
383
+ },
384
+ "description": {
385
+ "type": "string"
386
+ },
387
+ "externalDocs": {
388
+ "$ref": "#/$defs/external-documentation"
389
+ },
390
+ "operationId": {
391
+ "type": "string"
392
+ },
393
+ "parameters": {
394
+ "$ref": "#/$defs/parameters"
395
+ },
396
+ "requestBody": {
397
+ "$ref": "#/$defs/request-body-or-reference"
398
+ },
399
+ "responses": {
400
+ "$ref": "#/$defs/responses"
401
+ },
402
+ "callbacks": {
403
+ "type": "object",
404
+ "additionalProperties": {
405
+ "$ref": "#/$defs/callbacks-or-reference"
406
+ }
407
+ },
408
+ "deprecated": {
409
+ "default": false,
410
+ "type": "boolean"
411
+ },
412
+ "security": {
413
+ "type": "array",
414
+ "items": {
415
+ "$ref": "#/$defs/security-requirement"
416
+ }
417
+ },
418
+ "servers": {
419
+ "type": "array",
420
+ "items": {
421
+ "$ref": "#/$defs/server"
422
+ }
423
+ }
424
+ },
425
+ "$ref": "#/$defs/specification-extensions",
426
+ "unevaluatedProperties": false
427
+ },
428
+ "external-documentation": {
429
+ "$comment": "https://spec.openapis.org/oas/v3.2#external-documentation-object",
430
+ "type": "object",
431
+ "properties": {
432
+ "description": {
433
+ "type": "string"
434
+ },
435
+ "url": {
436
+ "type": "string",
437
+ "format": "uri-reference"
438
+ }
439
+ },
440
+ "required": ["url"],
441
+ "$ref": "#/$defs/specification-extensions",
442
+ "unevaluatedProperties": false
443
+ },
444
+ "parameters": {
445
+ "type": "array",
446
+ "items": {
447
+ "$ref": "#/$defs/parameter-or-reference"
448
+ },
449
+ "not": {
450
+ "allOf": [
451
+ {
452
+ "contains": {
453
+ "type": "object",
454
+ "properties": {
455
+ "in": {
456
+ "const": "query"
457
+ }
458
+ },
459
+ "required": ["in"]
460
+ }
461
+ },
462
+ {
463
+ "contains": {
464
+ "type": "object",
465
+ "properties": {
466
+ "in": {
467
+ "const": "querystring"
468
+ }
469
+ },
470
+ "required": ["in"]
471
+ }
472
+ }
473
+ ]
474
+ },
475
+ "contains": {
476
+ "type": "object",
477
+ "properties": {
478
+ "in": {
479
+ "const": "querystring"
480
+ }
481
+ },
482
+ "required": ["in"]
483
+ },
484
+ "minContains": 0,
485
+ "maxContains": 1
486
+ },
487
+ "parameter": {
488
+ "$comment": "https://spec.openapis.org/oas/v3.2#parameter-object",
489
+ "type": "object",
490
+ "properties": {
491
+ "name": {
492
+ "type": "string"
493
+ },
494
+ "in": {
495
+ "enum": ["query", "querystring", "header", "path", "cookie"]
496
+ },
497
+ "description": {
498
+ "type": "string"
499
+ },
500
+ "required": {
501
+ "default": false,
502
+ "type": "boolean"
503
+ },
504
+ "deprecated": {
505
+ "default": false,
506
+ "type": "boolean"
507
+ },
508
+ "schema": {
509
+ "$dynamicRef": "#meta"
510
+ },
511
+ "content": {
512
+ "$ref": "#/$defs/content",
513
+ "minProperties": 1,
514
+ "maxProperties": 1
515
+ }
516
+ },
517
+ "required": ["name", "in"],
518
+ "oneOf": [
519
+ {
520
+ "required": ["schema"]
521
+ },
522
+ {
523
+ "required": ["content"]
524
+ }
525
+ ],
526
+ "allOf": [
527
+ {
528
+ "$ref": "#/$defs/examples"
529
+ },
530
+ {
531
+ "$ref": "#/$defs/specification-extensions"
532
+ },
533
+ {
534
+ "if": {
535
+ "properties": {
536
+ "in": {
537
+ "const": "query"
538
+ }
539
+ }
540
+ },
541
+ "then": {
542
+ "properties": {
543
+ "allowEmptyValue": {
544
+ "default": false,
545
+ "type": "boolean"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ {
551
+ "if": {
552
+ "properties": {
553
+ "in": {
554
+ "const": "querystring"
555
+ }
556
+ }
557
+ },
558
+ "then": {
559
+ "required": ["content"]
560
+ }
561
+ }
562
+ ],
563
+ "dependentSchemas": {
564
+ "schema": {
565
+ "properties": {
566
+ "style": {
567
+ "type": "string"
568
+ },
569
+ "explode": {
570
+ "type": "boolean"
571
+ },
572
+ "allowReserved": {
573
+ "default": false,
574
+ "type": "boolean"
575
+ }
576
+ },
577
+ "allOf": [
578
+ {
579
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"
580
+ },
581
+ {
582
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"
583
+ },
584
+ {
585
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"
586
+ },
587
+ {
588
+ "$ref": "#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"
589
+ },
590
+ {
591
+ "$ref": "#/$defs/styles-for-form"
592
+ }
593
+ ],
594
+ "$defs": {
595
+ "styles-for-path": {
596
+ "if": {
597
+ "properties": {
598
+ "in": {
599
+ "const": "path"
600
+ }
601
+ }
602
+ },
603
+ "then": {
604
+ "properties": {
605
+ "style": {
606
+ "default": "simple",
607
+ "enum": ["matrix", "label", "simple"]
608
+ },
609
+ "required": {
610
+ "const": true
611
+ }
612
+ },
613
+ "required": ["required"]
614
+ }
615
+ },
616
+ "styles-for-header": {
617
+ "if": {
618
+ "properties": {
619
+ "in": {
620
+ "const": "header"
621
+ }
622
+ }
623
+ },
624
+ "then": {
625
+ "properties": {
626
+ "style": {
627
+ "default": "simple",
628
+ "const": "simple"
629
+ }
630
+ }
631
+ }
632
+ },
633
+ "styles-for-query": {
634
+ "if": {
635
+ "properties": {
636
+ "in": {
637
+ "const": "query"
638
+ }
639
+ }
640
+ },
641
+ "then": {
642
+ "properties": {
643
+ "style": {
644
+ "default": "form",
645
+ "enum": [
646
+ "form",
647
+ "spaceDelimited",
648
+ "pipeDelimited",
649
+ "deepObject"
650
+ ]
651
+ }
652
+ }
653
+ }
654
+ },
655
+ "styles-for-cookie": {
656
+ "if": {
657
+ "properties": {
658
+ "in": {
659
+ "const": "cookie"
660
+ }
661
+ }
662
+ },
663
+ "then": {
664
+ "properties": {
665
+ "style": {
666
+ "default": "form",
667
+ "enum": ["form", "cookie"]
668
+ }
669
+ }
670
+ }
671
+ }
672
+ }
673
+ }
674
+ },
675
+ "unevaluatedProperties": false
676
+ },
677
+ "parameter-or-reference": {
678
+ "if": {
679
+ "type": "object",
680
+ "required": ["$ref"]
681
+ },
682
+ "then": {
683
+ "$ref": "#/$defs/reference"
684
+ },
685
+ "else": {
686
+ "$ref": "#/$defs/parameter"
687
+ }
688
+ },
689
+ "request-body": {
690
+ "$comment": "https://spec.openapis.org/oas/v3.2#request-body-object",
691
+ "type": "object",
692
+ "properties": {
693
+ "description": {
694
+ "type": "string"
695
+ },
696
+ "content": {
697
+ "$ref": "#/$defs/content"
698
+ },
699
+ "required": {
700
+ "default": false,
701
+ "type": "boolean"
702
+ }
703
+ },
704
+ "required": ["content"],
705
+ "$ref": "#/$defs/specification-extensions",
706
+ "unevaluatedProperties": false
707
+ },
708
+ "request-body-or-reference": {
709
+ "if": {
710
+ "type": "object",
711
+ "required": ["$ref"]
712
+ },
713
+ "then": {
714
+ "$ref": "#/$defs/reference"
715
+ },
716
+ "else": {
717
+ "$ref": "#/$defs/request-body"
718
+ }
719
+ },
720
+ "content": {
721
+ "$comment": "https://spec.openapis.org/oas/v3.2#fixed-fields-10",
722
+ "type": "object",
723
+ "additionalProperties": {
724
+ "$ref": "#/$defs/media-type-or-reference"
725
+ },
726
+ "propertyNames": {
727
+ "format": "media-range"
728
+ }
729
+ },
730
+ "media-type": {
731
+ "$comment": "https://spec.openapis.org/oas/v3.2#media-type-object",
732
+ "type": "object",
733
+ "properties": {
734
+ "description": {
735
+ "type": "string"
736
+ },
737
+ "schema": {
738
+ "$dynamicRef": "#meta"
739
+ },
740
+ "itemSchema": {
741
+ "$dynamicRef": "#meta"
742
+ },
743
+ "encoding": {
744
+ "type": "object",
745
+ "additionalProperties": {
746
+ "$ref": "#/$defs/encoding"
747
+ }
748
+ },
749
+ "prefixEncoding": {
750
+ "type": "array",
751
+ "items": {
752
+ "$ref": "#/$defs/encoding"
753
+ }
754
+ },
755
+ "itemEncoding": {
756
+ "$ref": "#/$defs/encoding"
757
+ }
758
+ },
759
+ "dependentSchemas": {
760
+ "encoding": {
761
+ "properties": {
762
+ "prefixEncoding": false,
763
+ "itemEncoding": false
764
+ }
765
+ }
766
+ },
767
+ "allOf": [
768
+ {
769
+ "$ref": "#/$defs/examples"
770
+ },
771
+ {
772
+ "$ref": "#/$defs/specification-extensions"
773
+ }
774
+ ],
775
+ "unevaluatedProperties": false
776
+ },
777
+ "media-type-or-reference": {
778
+ "if": {
779
+ "type": "object",
780
+ "required": ["$ref"]
781
+ },
782
+ "then": {
783
+ "$ref": "#/$defs/reference"
784
+ },
785
+ "else": {
786
+ "$ref": "#/$defs/media-type"
787
+ }
788
+ },
789
+ "encoding": {
790
+ "$comment": "https://spec.openapis.org/oas/v3.2#encoding-object",
791
+ "type": "object",
792
+ "properties": {
793
+ "contentType": {
794
+ "type": "string",
795
+ "format": "media-range"
796
+ },
797
+ "headers": {
798
+ "type": "object",
799
+ "additionalProperties": {
800
+ "$ref": "#/$defs/header-or-reference"
801
+ }
802
+ },
803
+ "style": {
804
+ "enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject"]
805
+ },
806
+ "explode": {
807
+ "type": "boolean"
808
+ },
809
+ "allowReserved": {
810
+ "type": "boolean"
811
+ },
812
+ "encoding": {
813
+ "type": "object",
814
+ "additionalProperties": {
815
+ "$ref": "#/$defs/encoding"
816
+ }
817
+ },
818
+ "prefixEncoding": {
819
+ "type": "array",
820
+ "items": {
821
+ "$ref": "#/$defs/encoding"
822
+ }
823
+ },
824
+ "itemEncoding": {
825
+ "$ref": "#/$defs/encoding"
826
+ }
827
+ },
828
+ "dependentSchemas": {
829
+ "encoding": {
830
+ "properties": {
831
+ "prefixEncoding": false,
832
+ "itemEncoding": false
833
+ }
834
+ },
835
+ "style": {
836
+ "properties": {
837
+ "allowReserved": {
838
+ "default": false
839
+ }
840
+ }
841
+ },
842
+ "explode": {
843
+ "properties": {
844
+ "style": {
845
+ "default": "form"
846
+ },
847
+ "allowReserved": {
848
+ "default": false
849
+ }
850
+ }
851
+ },
852
+ "allowReserved": {
853
+ "properties": {
854
+ "style": {
855
+ "default": "form"
856
+ }
857
+ }
858
+ }
859
+ },
860
+ "allOf": [
861
+ {
862
+ "$ref": "#/$defs/specification-extensions"
863
+ },
864
+ {
865
+ "$ref": "#/$defs/styles-for-form"
866
+ }
867
+ ],
868
+ "unevaluatedProperties": false
869
+ },
870
+ "responses": {
871
+ "$comment": "https://spec.openapis.org/oas/v3.2#responses-object",
872
+ "type": "object",
873
+ "properties": {
874
+ "default": {
875
+ "$ref": "#/$defs/response-or-reference"
876
+ }
877
+ },
878
+ "patternProperties": {
879
+ "^[1-5](?:[0-9]{2}|XX)$": {
880
+ "$ref": "#/$defs/response-or-reference"
881
+ }
882
+ },
883
+ "minProperties": 1,
884
+ "$ref": "#/$defs/specification-extensions",
885
+ "unevaluatedProperties": false,
886
+ "if": {
887
+ "$comment": "either default, or at least one response code property must exist",
888
+ "patternProperties": {
889
+ "^[1-5](?:[0-9]{2}|XX)$": false
890
+ }
891
+ },
892
+ "then": {
893
+ "required": ["default"]
894
+ }
895
+ },
896
+ "response": {
897
+ "$comment": "https://spec.openapis.org/oas/v3.2#response-object",
898
+ "type": "object",
899
+ "properties": {
900
+ "summary": {
901
+ "type": "string"
902
+ },
903
+ "description": {
904
+ "type": "string"
905
+ },
906
+ "headers": {
907
+ "type": "object",
908
+ "additionalProperties": {
909
+ "$ref": "#/$defs/header-or-reference"
910
+ }
911
+ },
912
+ "content": {
913
+ "$ref": "#/$defs/content"
914
+ },
915
+ "links": {
916
+ "type": "object",
917
+ "additionalProperties": {
918
+ "$ref": "#/$defs/link-or-reference"
919
+ }
920
+ }
921
+ },
922
+ "$ref": "#/$defs/specification-extensions",
923
+ "unevaluatedProperties": false
924
+ },
925
+ "response-or-reference": {
926
+ "if": {
927
+ "type": "object",
928
+ "required": ["$ref"]
929
+ },
930
+ "then": {
931
+ "$ref": "#/$defs/reference"
932
+ },
933
+ "else": {
934
+ "$ref": "#/$defs/response"
935
+ }
936
+ },
937
+ "callbacks": {
938
+ "$comment": "https://spec.openapis.org/oas/v3.2#callback-object",
939
+ "type": "object",
940
+ "$ref": "#/$defs/specification-extensions",
941
+ "additionalProperties": {
942
+ "$ref": "#/$defs/path-item"
943
+ }
944
+ },
945
+ "callbacks-or-reference": {
946
+ "if": {
947
+ "type": "object",
948
+ "required": ["$ref"]
949
+ },
950
+ "then": {
951
+ "$ref": "#/$defs/reference"
952
+ },
953
+ "else": {
954
+ "$ref": "#/$defs/callbacks"
955
+ }
956
+ },
957
+ "example": {
958
+ "$comment": "https://spec.openapis.org/oas/v3.2#example-object",
959
+ "type": "object",
960
+ "properties": {
961
+ "summary": {
962
+ "type": "string"
963
+ },
964
+ "description": {
965
+ "type": "string"
966
+ },
967
+ "dataValue": true,
968
+ "serializedValue": {
969
+ "type": "string"
970
+ },
971
+ "value": true,
972
+ "externalValue": {
973
+ "type": "string",
974
+ "format": "uri-reference"
975
+ }
976
+ },
977
+ "allOf": [
978
+ {
979
+ "not": {
980
+ "required": ["value", "externalValue"]
981
+ }
982
+ },
983
+ {
984
+ "not": {
985
+ "required": ["value", "dataValue"]
986
+ }
987
+ },
988
+ {
989
+ "not": {
990
+ "required": ["value", "serializedValue"]
991
+ }
992
+ },
993
+ {
994
+ "not": {
995
+ "required": ["serializedValue", "externalValue"]
996
+ }
997
+ }
998
+ ],
999
+ "$ref": "#/$defs/specification-extensions",
1000
+ "unevaluatedProperties": false
1001
+ },
1002
+ "example-or-reference": {
1003
+ "if": {
1004
+ "type": "object",
1005
+ "required": ["$ref"]
1006
+ },
1007
+ "then": {
1008
+ "$ref": "#/$defs/reference"
1009
+ },
1010
+ "else": {
1011
+ "$ref": "#/$defs/example"
1012
+ }
1013
+ },
1014
+ "link": {
1015
+ "$comment": "https://spec.openapis.org/oas/v3.2#link-object",
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "operationRef": {
1019
+ "type": "string",
1020
+ "format": "uri-reference"
1021
+ },
1022
+ "operationId": {
1023
+ "type": "string"
1024
+ },
1025
+ "parameters": {
1026
+ "$ref": "#/$defs/map-of-strings"
1027
+ },
1028
+ "requestBody": true,
1029
+ "description": {
1030
+ "type": "string"
1031
+ },
1032
+ "server": {
1033
+ "$ref": "#/$defs/server"
1034
+ }
1035
+ },
1036
+ "oneOf": [
1037
+ {
1038
+ "required": ["operationRef"]
1039
+ },
1040
+ {
1041
+ "required": ["operationId"]
1042
+ }
1043
+ ],
1044
+ "$ref": "#/$defs/specification-extensions",
1045
+ "unevaluatedProperties": false
1046
+ },
1047
+ "link-or-reference": {
1048
+ "if": {
1049
+ "type": "object",
1050
+ "required": ["$ref"]
1051
+ },
1052
+ "then": {
1053
+ "$ref": "#/$defs/reference"
1054
+ },
1055
+ "else": {
1056
+ "$ref": "#/$defs/link"
1057
+ }
1058
+ },
1059
+ "header": {
1060
+ "$comment": "https://spec.openapis.org/oas/v3.2#header-object",
1061
+ "type": "object",
1062
+ "properties": {
1063
+ "description": {
1064
+ "type": "string"
1065
+ },
1066
+ "required": {
1067
+ "default": false,
1068
+ "type": "boolean"
1069
+ },
1070
+ "deprecated": {
1071
+ "default": false,
1072
+ "type": "boolean"
1073
+ },
1074
+ "schema": {
1075
+ "$dynamicRef": "#meta"
1076
+ },
1077
+ "content": {
1078
+ "$ref": "#/$defs/content",
1079
+ "minProperties": 1,
1080
+ "maxProperties": 1
1081
+ }
1082
+ },
1083
+ "oneOf": [
1084
+ {
1085
+ "required": ["schema"]
1086
+ },
1087
+ {
1088
+ "required": ["content"]
1089
+ }
1090
+ ],
1091
+ "dependentSchemas": {
1092
+ "schema": {
1093
+ "properties": {
1094
+ "style": {
1095
+ "default": "simple",
1096
+ "const": "simple"
1097
+ },
1098
+ "explode": {
1099
+ "default": false,
1100
+ "type": "boolean"
1101
+ },
1102
+ "allowReserved": {
1103
+ "default": false,
1104
+ "type": "boolean"
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "allOf": [
1110
+ {
1111
+ "$ref": "#/$defs/examples"
1112
+ },
1113
+ {
1114
+ "$ref": "#/$defs/specification-extensions"
1115
+ }
1116
+ ],
1117
+ "unevaluatedProperties": false
1118
+ },
1119
+ "header-or-reference": {
1120
+ "if": {
1121
+ "type": "object",
1122
+ "required": ["$ref"]
1123
+ },
1124
+ "then": {
1125
+ "$ref": "#/$defs/reference"
1126
+ },
1127
+ "else": {
1128
+ "$ref": "#/$defs/header"
1129
+ }
1130
+ },
1131
+ "tag": {
1132
+ "$comment": "https://spec.openapis.org/oas/v3.2#tag-object",
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "name": {
1136
+ "type": "string"
1137
+ },
1138
+ "summary": {
1139
+ "type": "string"
1140
+ },
1141
+ "description": {
1142
+ "type": "string"
1143
+ },
1144
+ "externalDocs": {
1145
+ "$ref": "#/$defs/external-documentation"
1146
+ },
1147
+ "parent": {
1148
+ "type": "string"
1149
+ },
1150
+ "kind": {
1151
+ "type": "string"
1152
+ }
1153
+ },
1154
+ "required": ["name"],
1155
+ "$ref": "#/$defs/specification-extensions",
1156
+ "unevaluatedProperties": false
1157
+ },
1158
+ "reference": {
1159
+ "$comment": "https://spec.openapis.org/oas/v3.2#reference-object",
1160
+ "type": "object",
1161
+ "properties": {
1162
+ "$ref": {
1163
+ "type": "string",
1164
+ "format": "uri-reference"
1165
+ },
1166
+ "summary": {
1167
+ "type": "string"
1168
+ },
1169
+ "description": {
1170
+ "type": "string"
1171
+ }
1172
+ }
1173
+ },
1174
+ "schema": {
1175
+ "$comment": "https://spec.openapis.org/oas/v3.2#schema-object",
1176
+ "$dynamicAnchor": "meta",
1177
+ "type": ["object", "boolean"]
1178
+ },
1179
+ "security-scheme": {
1180
+ "$comment": "https://spec.openapis.org/oas/v3.2#security-scheme-object",
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "type": {
1184
+ "enum": ["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]
1185
+ },
1186
+ "description": {
1187
+ "type": "string"
1188
+ },
1189
+ "deprecated": {
1190
+ "default": false,
1191
+ "type": "boolean"
1192
+ }
1193
+ },
1194
+ "required": ["type"],
1195
+ "allOf": [
1196
+ {
1197
+ "$ref": "#/$defs/specification-extensions"
1198
+ },
1199
+ {
1200
+ "$ref": "#/$defs/security-scheme/$defs/type-apikey"
1201
+ },
1202
+ {
1203
+ "$ref": "#/$defs/security-scheme/$defs/type-http"
1204
+ },
1205
+ {
1206
+ "$ref": "#/$defs/security-scheme/$defs/type-http-bearer"
1207
+ },
1208
+ {
1209
+ "$ref": "#/$defs/security-scheme/$defs/type-oauth2"
1210
+ },
1211
+ {
1212
+ "$ref": "#/$defs/security-scheme/$defs/type-oidc"
1213
+ }
1214
+ ],
1215
+ "unevaluatedProperties": false,
1216
+ "$defs": {
1217
+ "type-apikey": {
1218
+ "if": {
1219
+ "properties": {
1220
+ "type": {
1221
+ "const": "apiKey"
1222
+ }
1223
+ }
1224
+ },
1225
+ "then": {
1226
+ "properties": {
1227
+ "name": {
1228
+ "type": "string"
1229
+ },
1230
+ "in": {
1231
+ "enum": ["query", "header", "cookie"]
1232
+ }
1233
+ },
1234
+ "required": ["name", "in"]
1235
+ }
1236
+ },
1237
+ "type-http": {
1238
+ "if": {
1239
+ "properties": {
1240
+ "type": {
1241
+ "const": "http"
1242
+ }
1243
+ }
1244
+ },
1245
+ "then": {
1246
+ "properties": {
1247
+ "scheme": {
1248
+ "type": "string"
1249
+ }
1250
+ },
1251
+ "required": ["scheme"]
1252
+ }
1253
+ },
1254
+ "type-http-bearer": {
1255
+ "if": {
1256
+ "properties": {
1257
+ "type": {
1258
+ "const": "http"
1259
+ },
1260
+ "scheme": {
1261
+ "type": "string",
1262
+ "pattern": "^[Bb][Ee][Aa][Rr][Ee][Rr]$"
1263
+ }
1264
+ },
1265
+ "required": ["type", "scheme"]
1266
+ },
1267
+ "then": {
1268
+ "properties": {
1269
+ "bearerFormat": {
1270
+ "type": "string"
1271
+ }
1272
+ }
1273
+ }
1274
+ },
1275
+ "type-oauth2": {
1276
+ "if": {
1277
+ "properties": {
1278
+ "type": {
1279
+ "const": "oauth2"
1280
+ }
1281
+ }
1282
+ },
1283
+ "then": {
1284
+ "properties": {
1285
+ "flows": {
1286
+ "$ref": "#/$defs/oauth-flows"
1287
+ },
1288
+ "oauth2MetadataUrl": {
1289
+ "type": "string",
1290
+ "format": "uri-reference"
1291
+ }
1292
+ },
1293
+ "required": ["flows"]
1294
+ }
1295
+ },
1296
+ "type-oidc": {
1297
+ "if": {
1298
+ "properties": {
1299
+ "type": {
1300
+ "const": "openIdConnect"
1301
+ }
1302
+ }
1303
+ },
1304
+ "then": {
1305
+ "properties": {
1306
+ "openIdConnectUrl": {
1307
+ "type": "string",
1308
+ "format": "uri-reference"
1309
+ }
1310
+ },
1311
+ "required": ["openIdConnectUrl"]
1312
+ }
1313
+ }
1314
+ }
1315
+ },
1316
+ "security-scheme-or-reference": {
1317
+ "if": {
1318
+ "type": "object",
1319
+ "required": ["$ref"]
1320
+ },
1321
+ "then": {
1322
+ "$ref": "#/$defs/reference"
1323
+ },
1324
+ "else": {
1325
+ "$ref": "#/$defs/security-scheme"
1326
+ }
1327
+ },
1328
+ "oauth-flows": {
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "implicit": {
1332
+ "$ref": "#/$defs/oauth-flows/$defs/implicit"
1333
+ },
1334
+ "password": {
1335
+ "$ref": "#/$defs/oauth-flows/$defs/password"
1336
+ },
1337
+ "clientCredentials": {
1338
+ "$ref": "#/$defs/oauth-flows/$defs/client-credentials"
1339
+ },
1340
+ "authorizationCode": {
1341
+ "$ref": "#/$defs/oauth-flows/$defs/authorization-code"
1342
+ },
1343
+ "deviceAuthorization": {
1344
+ "$ref": "#/$defs/oauth-flows/$defs/device-authorization"
1345
+ }
1346
+ },
1347
+ "$ref": "#/$defs/specification-extensions",
1348
+ "unevaluatedProperties": false,
1349
+ "$defs": {
1350
+ "implicit": {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "authorizationUrl": {
1354
+ "type": "string",
1355
+ "format": "uri-reference"
1356
+ },
1357
+ "refreshUrl": {
1358
+ "type": "string",
1359
+ "format": "uri-reference"
1360
+ },
1361
+ "scopes": {
1362
+ "$ref": "#/$defs/map-of-strings"
1363
+ }
1364
+ },
1365
+ "required": ["authorizationUrl", "scopes"],
1366
+ "$ref": "#/$defs/specification-extensions",
1367
+ "unevaluatedProperties": false
1368
+ },
1369
+ "password": {
1370
+ "type": "object",
1371
+ "properties": {
1372
+ "tokenUrl": {
1373
+ "type": "string",
1374
+ "format": "uri-reference"
1375
+ },
1376
+ "refreshUrl": {
1377
+ "type": "string",
1378
+ "format": "uri-reference"
1379
+ },
1380
+ "scopes": {
1381
+ "$ref": "#/$defs/map-of-strings"
1382
+ }
1383
+ },
1384
+ "required": ["tokenUrl", "scopes"],
1385
+ "$ref": "#/$defs/specification-extensions",
1386
+ "unevaluatedProperties": false
1387
+ },
1388
+ "client-credentials": {
1389
+ "type": "object",
1390
+ "properties": {
1391
+ "tokenUrl": {
1392
+ "type": "string",
1393
+ "format": "uri-reference"
1394
+ },
1395
+ "refreshUrl": {
1396
+ "type": "string",
1397
+ "format": "uri-reference"
1398
+ },
1399
+ "scopes": {
1400
+ "$ref": "#/$defs/map-of-strings"
1401
+ }
1402
+ },
1403
+ "required": ["tokenUrl", "scopes"],
1404
+ "$ref": "#/$defs/specification-extensions",
1405
+ "unevaluatedProperties": false
1406
+ },
1407
+ "authorization-code": {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "authorizationUrl": {
1411
+ "type": "string",
1412
+ "format": "uri-reference"
1413
+ },
1414
+ "tokenUrl": {
1415
+ "type": "string",
1416
+ "format": "uri-reference"
1417
+ },
1418
+ "refreshUrl": {
1419
+ "type": "string",
1420
+ "format": "uri-reference"
1421
+ },
1422
+ "scopes": {
1423
+ "$ref": "#/$defs/map-of-strings"
1424
+ }
1425
+ },
1426
+ "required": ["authorizationUrl", "tokenUrl", "scopes"],
1427
+ "$ref": "#/$defs/specification-extensions",
1428
+ "unevaluatedProperties": false
1429
+ },
1430
+ "device-authorization": {
1431
+ "type": "object",
1432
+ "properties": {
1433
+ "deviceAuthorizationUrl": {
1434
+ "type": "string",
1435
+ "format": "uri-reference"
1436
+ },
1437
+ "tokenUrl": {
1438
+ "type": "string",
1439
+ "format": "uri-reference"
1440
+ },
1441
+ "refreshUrl": {
1442
+ "type": "string",
1443
+ "format": "uri-reference"
1444
+ },
1445
+ "scopes": {
1446
+ "$ref": "#/$defs/map-of-strings"
1447
+ }
1448
+ },
1449
+ "required": ["deviceAuthorizationUrl", "tokenUrl", "scopes"],
1450
+ "$ref": "#/$defs/specification-extensions",
1451
+ "unevaluatedProperties": false
1452
+ }
1453
+ }
1454
+ },
1455
+ "security-requirement": {
1456
+ "$comment": "https://spec.openapis.org/oas/v3.2#security-requirement-object",
1457
+ "type": "object",
1458
+ "additionalProperties": {
1459
+ "type": "array",
1460
+ "items": {
1461
+ "type": "string"
1462
+ }
1463
+ }
1464
+ },
1465
+ "specification-extensions": {
1466
+ "$comment": "https://spec.openapis.org/oas/v3.2#specification-extensions",
1467
+ "patternProperties": {
1468
+ "^x-": true
1469
+ }
1470
+ },
1471
+ "examples": {
1472
+ "properties": {
1473
+ "example": true,
1474
+ "examples": {
1475
+ "type": "object",
1476
+ "additionalProperties": {
1477
+ "$ref": "#/$defs/example-or-reference"
1478
+ }
1479
+ }
1480
+ },
1481
+ "not": {
1482
+ "required": ["example", "examples"]
1483
+ }
1484
+ },
1485
+ "map-of-strings": {
1486
+ "type": "object",
1487
+ "additionalProperties": {
1488
+ "type": "string"
1489
+ }
1490
+ },
1491
+ "styles-for-form": {
1492
+ "if": {
1493
+ "properties": {
1494
+ "style": {
1495
+ "const": "form"
1496
+ }
1497
+ },
1498
+ "required": ["style"]
1499
+ },
1500
+ "then": {
1501
+ "properties": {
1502
+ "explode": {
1503
+ "default": true
1504
+ }
1505
+ }
1506
+ },
1507
+ "else": {
1508
+ "properties": {
1509
+ "explode": {
1510
+ "default": false
1511
+ }
1512
+ }
1513
+ }
1514
+ }
1515
+ }
1516
+ }