@boxrouter/sdk 0.0.1-alpha.0 → 0.12.190

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 (338) hide show
  1. package/NOTICE +29 -5
  2. package/README.md +497 -24
  3. package/dist/addresses.d.ts +5 -0
  4. package/dist/addresses.js +10 -0
  5. package/dist/api-error.d.ts +62 -0
  6. package/dist/api-error.js +264 -0
  7. package/dist/boxrouter.d.ts +68 -0
  8. package/dist/boxrouter.js +291 -0
  9. package/dist/browser-session/index.d.ts +17 -0
  10. package/dist/browser-session/index.js +48 -0
  11. package/dist/browser-session/operations.gen.d.ts +272 -0
  12. package/dist/browser-session/operations.gen.js +58 -0
  13. package/dist/browser-session/responseContracts/api_keys.d.ts +2 -0
  14. package/dist/browser-session/responseContracts/api_keys.js +10 -0
  15. package/dist/browser-session/responseContracts/credits.d.ts +2 -0
  16. package/dist/browser-session/responseContracts/credits.js +8 -0
  17. package/dist/browser-session/responseContracts/github.d.ts +2 -0
  18. package/dist/browser-session/responseContracts/github.js +11 -0
  19. package/dist/browser-session/responseContracts/identity.d.ts +2 -0
  20. package/dist/browser-session/responseContracts/identity.js +30 -0
  21. package/dist/browser-session/responseContracts/organizations.d.ts +2 -0
  22. package/dist/browser-session/responseContracts/organizations.js +17 -0
  23. package/dist/browser-session/responseContracts/privacy.d.ts +2 -0
  24. package/dist/browser-session/responseContracts/privacy.js +7 -0
  25. package/dist/browser-session/responseContracts.gen.d.ts +3 -0
  26. package/dist/browser-session/responseContracts.gen.js +10 -0
  27. package/dist/browser-session/responseValidators/api_keys-diagnostics.cjs +1 -0
  28. package/dist/browser-session/responseValidators/api_keys-diagnostics.d.cts +4 -0
  29. package/dist/browser-session/responseValidators/api_keys.cjs +2 -0
  30. package/dist/browser-session/responseValidators/api_keys.d.cts +4 -0
  31. package/dist/browser-session/responseValidators/credits-diagnostics.cjs +1 -0
  32. package/dist/browser-session/responseValidators/credits-diagnostics.d.cts +3 -0
  33. package/dist/browser-session/responseValidators/credits.cjs +2 -0
  34. package/dist/browser-session/responseValidators/credits.d.cts +3 -0
  35. package/dist/browser-session/responseValidators/github-diagnostics.cjs +1 -0
  36. package/dist/browser-session/responseValidators/github-diagnostics.d.cts +3 -0
  37. package/dist/browser-session/responseValidators/github.cjs +2 -0
  38. package/dist/browser-session/responseValidators/github.d.cts +3 -0
  39. package/dist/browser-session/responseValidators/identity-diagnostics.cjs +1 -0
  40. package/dist/browser-session/responseValidators/identity-diagnostics.d.cts +23 -0
  41. package/dist/browser-session/responseValidators/identity.cjs +2 -0
  42. package/dist/browser-session/responseValidators/identity.d.cts +23 -0
  43. package/dist/browser-session/responseValidators/organizations-diagnostics.cjs +1 -0
  44. package/dist/browser-session/responseValidators/organizations-diagnostics.d.cts +15 -0
  45. package/dist/browser-session/responseValidators/organizations.cjs +2 -0
  46. package/dist/browser-session/responseValidators/organizations.d.cts +15 -0
  47. package/dist/browser-session/responseValidators/privacy-diagnostics.cjs +1 -0
  48. package/dist/browser-session/responseValidators/privacy-diagnostics.d.cts +2 -0
  49. package/dist/browser-session/responseValidators/privacy.cjs +2 -0
  50. package/dist/browser-session/responseValidators/privacy.d.cts +2 -0
  51. package/dist/client/client.gen.d.ts +1 -1
  52. package/dist/client/client.gen.js +46 -94
  53. package/dist/client/index.d.ts +10 -10
  54. package/dist/client/index.js +16 -5
  55. package/dist/client/types.gen.d.ts +6 -6
  56. package/dist/client/types.gen.js +2 -1
  57. package/dist/client/utils.gen.d.ts +2 -2
  58. package/dist/client/utils.gen.js +31 -20
  59. package/dist/client.gen.d.ts +2 -2
  60. package/dist/client.gen.js +5 -2
  61. package/dist/command-check.gen.d.ts +14 -0
  62. package/dist/command-check.gen.js +23 -0
  63. package/dist/command-input.gen.d.ts +6 -0
  64. package/dist/command-input.gen.js +45 -0
  65. package/dist/core/auth.gen.js +5 -1
  66. package/dist/core/binaryStream.d.ts +8 -0
  67. package/dist/core/binaryStream.js +76 -0
  68. package/dist/core/bodySerializer.gen.d.ts +1 -1
  69. package/dist/core/bodySerializer.gen.js +8 -5
  70. package/dist/core/commandValidators.cjs +1 -0
  71. package/dist/core/commandValidators.d.cts +14 -0
  72. package/dist/core/eventValidation.d.ts +17 -0
  73. package/dist/core/eventValidation.js +56 -0
  74. package/dist/core/eventValidators.cjs +1 -0
  75. package/dist/core/eventValidators.d.cts +2 -0
  76. package/dist/core/json.d.ts +3 -0
  77. package/dist/core/json.js +33 -0
  78. package/dist/core/params.gen.js +4 -1
  79. package/dist/core/pathSerializer.gen.js +20 -11
  80. package/dist/core/queryKeySerializer.gen.js +12 -6
  81. package/dist/core/responseContracts/actions.d.ts +2 -0
  82. package/dist/core/responseContracts/actions.js +30 -0
  83. package/dist/core/responseContracts/agents.d.ts +2 -0
  84. package/dist/core/responseContracts/agents.js +7 -0
  85. package/dist/core/responseContracts/artifacts.d.ts +2 -0
  86. package/dist/core/responseContracts/artifacts.js +8 -0
  87. package/dist/core/responseContracts/commands.d.ts +2 -0
  88. package/dist/core/responseContracts/commands.js +6 -0
  89. package/dist/core/responseContracts/credits.d.ts +2 -0
  90. package/dist/core/responseContracts/credits.js +27 -0
  91. package/dist/core/responseContracts/files.d.ts +2 -0
  92. package/dist/core/responseContracts/files.js +15 -0
  93. package/dist/core/responseContracts/github.d.ts +2 -0
  94. package/dist/core/responseContracts/github.js +8 -0
  95. package/dist/core/responseContracts/images.d.ts +2 -0
  96. package/dist/core/responseContracts/images.js +8 -0
  97. package/dist/core/responseContracts/launchRuns.d.ts +2 -0
  98. package/dist/core/responseContracts/launchRuns.js +10 -0
  99. package/dist/core/responseContracts/launches.d.ts +2 -0
  100. package/dist/core/responseContracts/launches.js +10 -0
  101. package/dist/core/responseContracts/operations.d.ts +2 -0
  102. package/dist/core/responseContracts/operations.js +7 -0
  103. package/dist/core/responseContracts/previews.d.ts +2 -0
  104. package/dist/core/responseContracts/previews.js +8 -0
  105. package/dist/core/responseContracts/pricing.d.ts +2 -0
  106. package/dist/core/responseContracts/pricing.js +6 -0
  107. package/dist/core/responseContracts/processes.d.ts +2 -0
  108. package/dist/core/responseContracts/processes.js +11 -0
  109. package/dist/core/responseContracts/provider_accounts.d.ts +2 -0
  110. package/dist/core/responseContracts/provider_accounts.js +13 -0
  111. package/dist/core/responseContracts/providers.d.ts +2 -0
  112. package/dist/core/responseContracts/providers.js +6 -0
  113. package/dist/core/responseContracts/routing.d.ts +2 -0
  114. package/dist/core/responseContracts/routing.js +8 -0
  115. package/dist/core/responseContracts/sandboxes.d.ts +2 -0
  116. package/dist/core/responseContracts/sandboxes.js +15 -0
  117. package/dist/core/responseContracts/secrets.d.ts +2 -0
  118. package/dist/core/responseContracts/secrets.js +8 -0
  119. package/dist/core/responseContracts/spend_limits.d.ts +2 -0
  120. package/dist/core/responseContracts/spend_limits.js +8 -0
  121. package/dist/core/responseContracts/terminals.d.ts +2 -0
  122. package/dist/core/responseContracts/terminals.js +11 -0
  123. package/dist/core/responseContracts/usage.d.ts +2 -0
  124. package/dist/core/responseContracts/usage.js +7 -0
  125. package/dist/core/responseContracts/volumes.d.ts +2 -0
  126. package/dist/core/responseContracts/volumes.js +19 -0
  127. package/dist/core/responseContracts.gen.d.ts +3 -0
  128. package/dist/core/responseContracts.gen.js +27 -0
  129. package/dist/core/responseModes.d.ts +19 -0
  130. package/dist/core/responseModes.js +13 -0
  131. package/dist/core/responseValidation.d.ts +44 -0
  132. package/dist/core/responseValidation.js +174 -0
  133. package/dist/core/responseValidators/actions-diagnostics.cjs +4 -0
  134. package/dist/core/responseValidators/actions-diagnostics.d.cts +24 -0
  135. package/dist/core/responseValidators/actions.cjs +2 -0
  136. package/dist/core/responseValidators/actions.d.cts +24 -0
  137. package/dist/core/responseValidators/agents-diagnostics.cjs +1 -0
  138. package/dist/core/responseValidators/agents-diagnostics.d.cts +2 -0
  139. package/dist/core/responseValidators/agents.cjs +2 -0
  140. package/dist/core/responseValidators/agents.d.cts +2 -0
  141. package/dist/core/responseValidators/artifacts-diagnostics.cjs +1 -0
  142. package/dist/core/responseValidators/artifacts-diagnostics.d.cts +2 -0
  143. package/dist/core/responseValidators/artifacts.cjs +2 -0
  144. package/dist/core/responseValidators/artifacts.d.cts +2 -0
  145. package/dist/core/responseValidators/commands-diagnostics.cjs +1 -0
  146. package/dist/core/responseValidators/commands-diagnostics.d.cts +1 -0
  147. package/dist/core/responseValidators/commands.cjs +2 -0
  148. package/dist/core/responseValidators/commands.d.cts +1 -0
  149. package/dist/core/responseValidators/compact.cjs +122 -0
  150. package/dist/core/responseValidators/credits-diagnostics.cjs +1 -0
  151. package/dist/core/responseValidators/credits-diagnostics.d.cts +21 -0
  152. package/dist/core/responseValidators/credits.cjs +2 -0
  153. package/dist/core/responseValidators/credits.d.cts +21 -0
  154. package/dist/core/responseValidators/files-diagnostics.cjs +1 -0
  155. package/dist/core/responseValidators/files-diagnostics.d.cts +5 -0
  156. package/dist/core/responseValidators/files.cjs +2 -0
  157. package/dist/core/responseValidators/files.d.cts +5 -0
  158. package/dist/core/responseValidators/github-diagnostics.cjs +1 -0
  159. package/dist/core/responseValidators/github-diagnostics.d.cts +2 -0
  160. package/dist/core/responseValidators/github.cjs +2 -0
  161. package/dist/core/responseValidators/github.d.cts +2 -0
  162. package/dist/core/responseValidators/images-diagnostics.cjs +1 -0
  163. package/dist/core/responseValidators/images-diagnostics.d.cts +3 -0
  164. package/dist/core/responseValidators/images.cjs +2 -0
  165. package/dist/core/responseValidators/images.d.cts +3 -0
  166. package/dist/core/responseValidators/launchRuns-diagnostics.cjs +1 -0
  167. package/dist/core/responseValidators/launchRuns-diagnostics.d.cts +5 -0
  168. package/dist/core/responseValidators/launchRuns.cjs +2 -0
  169. package/dist/core/responseValidators/launchRuns.d.cts +5 -0
  170. package/dist/core/responseValidators/launches-diagnostics.cjs +10 -0
  171. package/dist/core/responseValidators/launches-diagnostics.d.cts +5 -0
  172. package/dist/core/responseValidators/launches.cjs +2 -0
  173. package/dist/core/responseValidators/launches.d.cts +5 -0
  174. package/dist/core/responseValidators/operations-diagnostics.cjs +1 -0
  175. package/dist/core/responseValidators/operations-diagnostics.d.cts +2 -0
  176. package/dist/core/responseValidators/operations.cjs +2 -0
  177. package/dist/core/responseValidators/operations.d.cts +2 -0
  178. package/dist/core/responseValidators/previews-diagnostics.cjs +1 -0
  179. package/dist/core/responseValidators/previews-diagnostics.d.cts +3 -0
  180. package/dist/core/responseValidators/previews.cjs +2 -0
  181. package/dist/core/responseValidators/previews.d.cts +3 -0
  182. package/dist/core/responseValidators/pricing-diagnostics.cjs +7 -0
  183. package/dist/core/responseValidators/pricing-diagnostics.d.cts +1 -0
  184. package/dist/core/responseValidators/pricing.cjs +2 -0
  185. package/dist/core/responseValidators/pricing.d.cts +1 -0
  186. package/dist/core/responseValidators/processes-diagnostics.cjs +1 -0
  187. package/dist/core/responseValidators/processes-diagnostics.d.cts +2 -0
  188. package/dist/core/responseValidators/processes.cjs +2 -0
  189. package/dist/core/responseValidators/processes.d.cts +2 -0
  190. package/dist/core/responseValidators/provider_accounts-diagnostics.cjs +1 -0
  191. package/dist/core/responseValidators/provider_accounts-diagnostics.d.cts +8 -0
  192. package/dist/core/responseValidators/provider_accounts.cjs +2 -0
  193. package/dist/core/responseValidators/provider_accounts.d.cts +8 -0
  194. package/dist/core/responseValidators/providers-diagnostics.cjs +1 -0
  195. package/dist/core/responseValidators/providers-diagnostics.d.cts +1 -0
  196. package/dist/core/responseValidators/providers.cjs +2 -0
  197. package/dist/core/responseValidators/providers.d.cts +1 -0
  198. package/dist/core/responseValidators/routing-diagnostics.cjs +1 -0
  199. package/dist/core/responseValidators/routing-diagnostics.d.cts +3 -0
  200. package/dist/core/responseValidators/routing.cjs +2 -0
  201. package/dist/core/responseValidators/routing.d.cts +3 -0
  202. package/dist/core/responseValidators/sandboxes-diagnostics.cjs +1 -0
  203. package/dist/core/responseValidators/sandboxes-diagnostics.d.cts +10 -0
  204. package/dist/core/responseValidators/sandboxes.cjs +2 -0
  205. package/dist/core/responseValidators/sandboxes.d.cts +10 -0
  206. package/dist/core/responseValidators/secrets-diagnostics.cjs +1 -0
  207. package/dist/core/responseValidators/secrets-diagnostics.d.cts +1 -0
  208. package/dist/core/responseValidators/secrets.cjs +2 -0
  209. package/dist/core/responseValidators/secrets.d.cts +1 -0
  210. package/dist/core/responseValidators/spend_limits-diagnostics.cjs +1 -0
  211. package/dist/core/responseValidators/spend_limits-diagnostics.d.cts +3 -0
  212. package/dist/core/responseValidators/spend_limits.cjs +2 -0
  213. package/dist/core/responseValidators/spend_limits.d.cts +3 -0
  214. package/dist/core/responseValidators/terminals-diagnostics.cjs +1 -0
  215. package/dist/core/responseValidators/terminals-diagnostics.d.cts +2 -0
  216. package/dist/core/responseValidators/terminals.cjs +2 -0
  217. package/dist/core/responseValidators/terminals.d.cts +2 -0
  218. package/dist/core/responseValidators/usage-diagnostics.cjs +1 -0
  219. package/dist/core/responseValidators/usage-diagnostics.d.cts +1 -0
  220. package/dist/core/responseValidators/usage.cjs +2 -0
  221. package/dist/core/responseValidators/usage.d.cts +1 -0
  222. package/dist/core/responseValidators/volumes-diagnostics.cjs +1 -0
  223. package/dist/core/responseValidators/volumes-diagnostics.d.cts +10 -0
  224. package/dist/core/responseValidators/volumes.cjs +2 -0
  225. package/dist/core/responseValidators/volumes.d.cts +10 -0
  226. package/dist/core/serverSentEvents.gen.d.ts +21 -62
  227. package/dist/core/serverSentEvents.gen.js +297 -116
  228. package/dist/core/streamErrors.d.ts +32 -0
  229. package/dist/core/streamErrors.js +51 -0
  230. package/dist/core/types.gen.d.ts +2 -2
  231. package/dist/core/types.gen.js +2 -1
  232. package/dist/core/utils.gen.d.ts +1 -1
  233. package/dist/core/utils.gen.js +16 -10
  234. package/dist/creation.gen.d.ts +21 -0
  235. package/dist/creation.gen.js +35 -0
  236. package/dist/data-origin.d.ts +25 -0
  237. package/dist/data-origin.js +57 -0
  238. package/dist/error-codes.gen.d.ts +2 -0
  239. package/dist/error-codes.gen.js +2 -0
  240. package/dist/idempotency.gen.d.ts +1 -0
  241. package/dist/idempotency.gen.js +60 -0
  242. package/dist/images.d.ts +74 -0
  243. package/dist/images.js +88 -0
  244. package/dist/index.d.ts +22 -2
  245. package/dist/index.js +79 -1
  246. package/dist/launch-input.gen.d.ts +9 -0
  247. package/dist/launch-input.gen.js +83 -0
  248. package/dist/launch.d.ts +28 -0
  249. package/dist/launch.js +222 -0
  250. package/dist/namespace-actions.d.mts +307 -0
  251. package/dist/namespace-actions.mjs +595 -0
  252. package/dist/namespace-agents.d.mts +33 -0
  253. package/dist/namespace-agents.mjs +40 -0
  254. package/dist/namespace-artifacts.d.mts +46 -0
  255. package/dist/namespace-artifacts.mjs +69 -0
  256. package/dist/namespace-base.d.mts +7 -0
  257. package/dist/namespace-base.mjs +7 -0
  258. package/dist/namespace-commands.d.mts +57 -0
  259. package/dist/namespace-commands.mjs +57 -0
  260. package/dist/namespace-credits.d.mts +213 -0
  261. package/dist/namespace-credits.mjs +476 -0
  262. package/dist/namespace-files.d.mts +203 -0
  263. package/dist/namespace-files.mjs +334 -0
  264. package/dist/namespace-github.d.mts +50 -0
  265. package/dist/namespace-github.mjs +68 -0
  266. package/dist/namespace-images.d.mts +52 -0
  267. package/dist/namespace-images.mjs +78 -0
  268. package/dist/namespace-launch_runs.d.mts +89 -0
  269. package/dist/namespace-launch_runs.mjs +133 -0
  270. package/dist/namespace-launches.d.mts +89 -0
  271. package/dist/namespace-launches.mjs +133 -0
  272. package/dist/namespace-operations.d.mts +45 -0
  273. package/dist/namespace-operations.mjs +52 -0
  274. package/dist/namespace-previews.d.mts +79 -0
  275. package/dist/namespace-previews.mjs +101 -0
  276. package/dist/namespace-pricing.d.mts +31 -0
  277. package/dist/namespace-pricing.mjs +22 -0
  278. package/dist/namespace-processes.d.mts +125 -0
  279. package/dist/namespace-processes.mjs +184 -0
  280. package/dist/namespace-provider_accounts.d.mts +156 -0
  281. package/dist/namespace-provider_accounts.mjs +241 -0
  282. package/dist/namespace-providers.d.mts +28 -0
  283. package/dist/namespace-providers.mjs +24 -0
  284. package/dist/namespace-routing.d.mts +64 -0
  285. package/dist/namespace-routing.mjs +86 -0
  286. package/dist/namespace-sandboxes.d.mts +287 -0
  287. package/dist/namespace-sandboxes.mjs +402 -0
  288. package/dist/namespace-secrets.d.mts +46 -0
  289. package/dist/namespace-secrets.mjs +68 -0
  290. package/dist/namespace-spend_limits.d.mts +48 -0
  291. package/dist/namespace-spend_limits.mjs +70 -0
  292. package/dist/namespace-terminals.d.mts +112 -0
  293. package/dist/namespace-terminals.mjs +177 -0
  294. package/dist/namespace-usage.d.mts +46 -0
  295. package/dist/namespace-usage.mjs +53 -0
  296. package/dist/namespace-volumes.d.mts +110 -0
  297. package/dist/namespace-volumes.mjs +269 -0
  298. package/dist/operations.d.ts +14 -0
  299. package/dist/operations.js +31 -0
  300. package/dist/retry.d.ts +8 -0
  301. package/dist/retry.js +63 -0
  302. package/dist/routing-choices.gen.d.ts +132 -0
  303. package/dist/routing-choices.gen.js +136 -0
  304. package/dist/routing.d.ts +23 -0
  305. package/dist/routing.js +38 -0
  306. package/dist/sandbox-handle.gen.d.ts +8 -0
  307. package/dist/sandbox-handle.gen.js +14 -0
  308. package/dist/sandboxes.d.ts +213 -0
  309. package/dist/sandboxes.js +507 -0
  310. package/dist/sdk.gen.d.ts +2016 -12
  311. package/dist/sdk.gen.js +3862 -16
  312. package/dist/server-timing.d.ts +19 -0
  313. package/dist/server-timing.gen.d.ts +265 -0
  314. package/dist/server-timing.gen.js +254 -0
  315. package/dist/server-timing.js +421 -0
  316. package/dist/spend-limits.d.ts +17 -0
  317. package/dist/spend-limits.js +26 -0
  318. package/dist/telemetry.d.ts +51 -0
  319. package/dist/telemetry.gen.d.ts +1 -0
  320. package/dist/telemetry.gen.js +5 -0
  321. package/dist/telemetry.js +438 -0
  322. package/dist/terminal.d.ts +61 -0
  323. package/dist/terminal.js +266 -0
  324. package/dist/transfer.d.ts +75 -0
  325. package/dist/transfer.js +389 -0
  326. package/dist/types.gen.d.ts +14936 -110
  327. package/dist/types.gen.js +2 -1
  328. package/dist/user-agent.d.ts +2 -0
  329. package/dist/user-agent.js +18 -0
  330. package/dist/version.gen.d.ts +1 -0
  331. package/dist/version.gen.js +5 -0
  332. package/dist/volumes.d.ts +33 -0
  333. package/dist/volumes.js +221 -0
  334. package/dist/waits.d.ts +31 -0
  335. package/dist/waits.js +42 -0
  336. package/dist/workflow-policy.gen.d.ts +41 -0
  337. package/dist/workflow-policy.gen.js +45 -0
  338. package/package.json +124 -14
@@ -0,0 +1,7 @@
1
+ "use strict";exports.validate0 = validate549;const schema769 = {"type":"object","required":["data"],"properties":{"data":{"type":"array","description":"Live price versions, newest `effective_from` first. Not paginated: there are a few\nversions per provider. Empty when nothing matches, including an unknown `provider`.\n","items":{"$ref":"#/components/schemas/PriceVersion"}}}};const schema770 = {"type":"object","required":["provider","version","effective_from","effective_to","last_confirmed_at","document"],"properties":{"provider":{"type":"string","pattern":"^[a-z][a-z0-9-]*$","description":"Provider ID, for example `e2b`."},"version":{"type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(-[0-9]{6}Z)?$","description":"The ID every cost names, for example `e2b@2026-10-01`, or `modal@2026-10-03-130908Z` when a provider has several versions in one day."},"effective_from":{"type":"string","format":"date-time","description":"When this version's prices start applying."},"effective_to":{"type":["string","null"],"format":"date-time","description":"When a later version took over; null for the version in effect now."},"last_confirmed_at":{"type":"string","format":"date-time","description":"When BoxRouter last read the provider's pricing page and found these prices unchanged."},"document":{"$ref":"#/components/schemas/PriceVersionDocument","description":"The price version itself: unit rates, meter rules, the pages they were read from, with\nverbatim quotes, exclusions and open questions. Its structure follows the\nprice-version schema included in this API contract.\nNever changes once the version is live; a correction is a new version.\n"}}};const pattern42 = new RegExp("^[a-z][a-z0-9-]*$", "u");const pattern376 = new RegExp("^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(-[0-9]{6}Z)?$", "u");const formats0 = require("ajv-formats/dist/formats").fullFormats["date-time"];const schema771 = {"title":"Price version","description":"What one provider charged from one date: unit rates, how each is metered, the pages they were read from, what the list leaves out and what is still unknown. Rates are decimal strings, never JSON numbers. A rate that is absent was not published, which is not the same as free: a published free rate is `\"0\"`. Stored status, effective_to, first_seen_at, last_confirmed_at and content_hash belong to the database, not to this document.","type":"object","required":["provider","version","effective_from","retrieved_at","sources","classes","exclusions","open_questions"],"properties":{"provider":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"version":{"description":"The id every cost names: the provider, an @, and the UTC date the version was read, for example e2b@2026-10-20-061802Z. If a provider gets more than one version on one day, append the UTC time as HHMMSSZ, for example modal@2026-10-20-061900Z. The provider part equals `provider`.","type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"},"effective_from":{"description":"When this price starts applying: the provider's announced date if it gave one, else when it was first seen.","$ref":"#/components/schemas/PricingTimestamp"},"retrieved_at":{"description":"When the pages below were read.","$ref":"#/components/schemas/PricingTimestamp"},"boundary":{"description":"Legacy: where billing starts and ends, kept so documents published before 0.2 stay byte-identical. Code ignores it; the provider's billing.yaml is the source.","$ref":"#/components/schemas/PriceVersionDocumentBoundary"},"supersedes":{"description":"Earlier price version ids corrected by this document. Selectors ignore these versions when the bundled price files include this document.","type":"array","uniqueItems":true,"items":{"$ref":"#/components/schemas/PriceVersionDocumentVersion"}},"month_hours":{"description":"The price version's hours per calendar month for monthly rates, such as 730 for 365/12 days.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"snapshot_storage":{"description":"Independent retained snapshot storage price; absent means unpriced. A disk rate proxy must say so explicitly.","type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"per":{"enum":["gb-month","gib-month","gib-hour"]},"rate_source":{"enum":["published_snapshot_rate","published_disk_rate_proxy"]},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$ref":"#/components/schemas/PricingTimestamp"},"note":{"type":"string","minLength":1}}},"image_storage":{"description":"Independent price of storing a deployment image the provider keeps for fast, repeatable creation; absent means unpriced. Not a sandbox's own cost: no usage record carries image size.","type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"per":{"enum":["gb-month","gib-month"]},"rate_source":{"const":"published_image_rate"},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$ref":"#/components/schemas/PricingTimestamp"},"note":{"type":"string","minLength":1}}},"volume_storage":{"description":"Independent price of a provider volume, billed on its provisioned size for as long as it exists; absent means unpriced. Not a sandbox's own cost: no usage record carries volume size.","type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"per":{"enum":["gb-month","gib-month"]},"rate_source":{"const":"published_volume_rate"},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$ref":"#/components/schemas/PricingTimestamp"},"included_gb":{"description":"Volume storage the provider includes before the rate applies, in included_unit (Modal: 1 TiB a month, written 1024 GiB).","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"included_unit":{"const":"GiB"},"note":{"type":"string","minLength":1}},"dependentRequired":{"included_gb":["included_unit"],"included_unit":["included_gb"]}},"sources":{"description":"The pages the rates and rules were read from, each with a verbatim quote.","type":"array","minItems":1,"items":{"type":"object","required":["url","quote"],"properties":{"url":{"type":"string","pattern":"^https?://[^\\s]+$"},"quote":{"type":"string","minLength":1}}}},"classes":{"description":"One rate set per class or runtime the provider prices differently (Modal's gVisor and VM, a Daytona class). Exactly one is the default, which applies when a usage record names no class. Class names are unique.","type":"array","minItems":1,"items":{"$ref":"#/components/schemas/PriceVersionDocumentClass"},"contains":{"type":"object","required":["default"]},"minContains":1,"maxContains":1},"exclusions":{"description":"Charges outside a sandbox's own cost that the rates do not cover: plan fees, concurrency add-ons, credits, storage that is not priced from a sandbox's size.","type":"array","items":{"type":"string","minLength":1}},"coverage":{"description":"Every billable charge of a managed sandbox, one entry per kind, each stated as `in_quote`, `not_billed` or `unbounded`. `reservation_quote` returns `bounded` only when every kind is stated and none of cpu, memory or disk is `unbounded`; a missing kind makes the quote `unknown`, and so does a version without this block. Kinds: cpu, memory, disk, creation, egress, snapshot_storage, image_storage, volume_storage, requests (per-request or per-use charges such as starts, proxies and drive reads).","type":"object","properties":{"cpu":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"memory":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"disk":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"creation":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"egress":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"snapshot_storage":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"image_storage":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"volume_storage":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"},"requests":{"$ref":"#/components/schemas/PriceVersionDocumentCoverageEntry"}}},"open_questions":{"description":"What the pages leave unclear, so a reader knows which rule is an assumption.","type":"array","items":{"type":"string","minLength":1}}}};const schema129 = {"description":"A UTC time, ending in Z.","type":"string","format":"date-time","pattern":"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"};const schema775 = {"description":"The id every cost names: the provider, an @, and the UTC date the version was read, for example e2b@2026-10-20-061802Z. If a provider gets more than one version on one day, append the UTC time as HHMMSSZ, for example modal@2026-10-20-061900Z. The provider part equals `provider`.","type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"};const schema776 = {"description":"A decimal string greater than zero.","type":"string","pattern":"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"};const schema816 = {"type":"object","required":["treatment","source","note"],"properties":{"treatment":{"description":"`in_quote`: priced into a reservation quote (time-bounded, or the creation fee). `not_billed`: the provider does not bill it on managed sandboxes. `unbounded`: billable or possibly billable, but no ceiling follows from a size and a duration (egress, retained storage, request- or use-based); it is outside the quote and settled from the provider's own cost.","enum":["in_quote","not_billed","unbounded"]},"source":{"description":"Where the treatment was read: a URL listed in `sources`, or a repo-relative path to committed evidence under `providers/`.","type":"string","minLength":1},"note":{"description":"The reason, in one sentence. For a charge the provider does not publish, say so: unpublished is never free.","type":"string","minLength":1}}};const pattern77 = new RegExp("^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$", "u");const pattern78 = new RegExp("^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$", "u");const pattern382 = new RegExp("^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$", "u");const pattern384 = new RegExp("^https?://[^\\s]+$", "u");const schema774 = {"type":"object","required":["start","end","checked"],"properties":{"start":{"enum":["create_sent","create_returned","destroy_sent","destroy_returned","provider","unknown"]},"end":{"enum":["create_sent","create_returned","destroy_sent","destroy_returned","provider","unknown"]},"checked":{"type":"boolean"},"evidence":{"type":["string","null"],"minLength":1}},"allOf":[{"if":{"properties":{"checked":{"const":true}},"required":["checked"]},"then":{"required":["evidence"],"properties":{"evidence":{"type":"string","minLength":1}}}}]};const func1 = require("ajv/dist/runtime/ucs2length").default;function validate552(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate552.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs2 = errors;let valid1 = true;const _errs3 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.checked === undefined) && (missing0 = "checked")){const err0 = {};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(data.checked !== undefined){if(true !== data.checked){const err1 = {};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}}}var _valid0 = _errs3 === errors;errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}if(_valid0){const _errs5 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if((data.evidence === undefined) && (missing1 = "evidence")){validate552.errors = [{instancePath,schemaPath:"#/allOf/0/then/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data.evidence !== undefined){let data1 = data.evidence;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(func1(data1) < 1){validate552.errors = [{instancePath:instancePath+"/evidence",schemaPath:"#/allOf/0/then/properties/evidence/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate552.errors = [{instancePath:instancePath+"/evidence",schemaPath:"#/allOf/0/then/properties/evidence/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}var _valid0 = _errs5 === errors;valid1 = _valid0;if(valid1){var props0 = {};props0.evidence = true;props0.checked = true;}}if(!valid1){const err2 = {instancePath,schemaPath:"#/allOf/0/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate552.errors = vErrors;return false;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((((data.start === undefined) && (missing2 = "start")) || ((data.end === undefined) && (missing2 = "end"))) || ((data.checked === undefined) && (missing2 = "checked"))){validate552.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(props0 !== true){props0 = props0 || {};props0.start = true;props0.end = true;props0.checked = true;props0.evidence = true;}if(data.start !== undefined){let data2 = data.start;const _errs8 = errors;if(!((((((data2 === "create_sent") || (data2 === "create_returned")) || (data2 === "destroy_sent")) || (data2 === "destroy_returned")) || (data2 === "provider")) || (data2 === "unknown"))){validate552.errors = [{instancePath:instancePath+"/start",schemaPath:"#/properties/start/enum",keyword:"enum",params:{allowedValues: schema774.properties.start.enum},message:"must be equal to one of the allowed values"}];return false;}var valid4 = _errs8 === errors;}else {var valid4 = true;}if(valid4){if(data.end !== undefined){let data3 = data.end;const _errs9 = errors;if(!((((((data3 === "create_sent") || (data3 === "create_returned")) || (data3 === "destroy_sent")) || (data3 === "destroy_returned")) || (data3 === "provider")) || (data3 === "unknown"))){validate552.errors = [{instancePath:instancePath+"/end",schemaPath:"#/properties/end/enum",keyword:"enum",params:{allowedValues: schema774.properties.end.enum},message:"must be equal to one of the allowed values"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data.checked !== undefined){const _errs10 = errors;if(typeof data.checked !== "boolean"){validate552.errors = [{instancePath:instancePath+"/checked",schemaPath:"#/properties/checked/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid4 = _errs10 === errors;}else {var valid4 = true;}if(valid4){if(data.evidence !== undefined){let data5 = data.evidence;const _errs12 = errors;if((typeof data5 !== "string") && (data5 !== null)){validate552.errors = [{instancePath:instancePath+"/evidence",schemaPath:"#/properties/evidence/type",keyword:"type",params:{type: schema774.properties.evidence.type},message:"must be string,null"}];return false;}if(errors === _errs12){if(typeof data5 === "string"){if(func1(data5) < 1){validate552.errors = [{instancePath:instancePath+"/evidence",schemaPath:"#/properties/evidence/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}var valid4 = _errs12 === errors;}else {var valid4 = true;}}}}}}else {validate552.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate552.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate552.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema784 = {"type":"object","required":["name","rates","meter"],"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$"},"default":{"description":"Present, and true, on the default class only.","const":true},"covers":{"description":"The spec classes this rate set prices (Modal's default covers default and vm; Daytona's on-demand covers container and vm). A usage record's class names a spec class. Absent, the class covers only the spec class of its own name. No spec class is covered by two classes of one version.","type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$"}},"rates":{"$ref":"#/components/schemas/PriceVersionDocumentRates"},"meter":{"$ref":"#/components/schemas/PriceVersionDocumentMeter"},"region_multipliers":{"description":"A multiplier on every rate of this class for sandboxes in the named region (Modal's 1.15 for a broad region). A region that is not listed is charged at the base rate.","type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z0-9][a-z0-9._-]*$"},"additionalProperties":{"$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"}}}};const pattern394 = new RegExp("^[a-z0-9][a-z0-9._-]*$", "u");const schema785 = {"description":"Unit rates, each optional. A rate is a price and the unit it is a price per, as the provider publishes it.","type":"object","minProperties":1,"properties":{"cpu":{"$ref":"#/components/schemas/PriceVersionDocumentCpuRate"},"memory":{"$ref":"#/components/schemas/PriceVersionDocumentGibRate"},"disk":{"$ref":"#/components/schemas/PriceVersionDocumentGibRate"},"gpu":{"description":"Rates by GPU model, keyed by gpu-registry identifiers.","$ref":"#/components/schemas/PriceVersionDocumentGpuRates"},"machine":{"$ref":"#/components/schemas/PriceVersionDocumentMachineRates"},"creation":{"$ref":"#/components/schemas/PriceVersionDocumentCreationRate"},"egress":{"$ref":"#/components/schemas/PriceVersionDocumentEgressRate"},"snapshot_storage":{"$ref":"#/components/schemas/PriceVersionDocumentStorageRate"}}};const schema786 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"enum":["vcpu-second","vcpu-hour","core-second","core-hour"]},"size_per_unit":{"description":"vCPUs one core covers. Required for a core unit, which is not a vCPU (Modal's physical core), and absent for a vCPU unit.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"}},"if":{"properties":{"per":{"enum":["core-second","core-hour"]}},"required":["per"]},"then":{"required":["size_per_unit"]},"else":{"not":{"required":["size_per_unit"]}}};const schema122 = {"description":"A non-negative decimal number as a string, in plain notation without an exponent.","type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"};const pattern50 = new RegExp("^(0|[1-9][0-9]*)(\\.[0-9]+)?$", "u");function validate556(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate556.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = true;const _errs2 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.per === undefined) && (missing0 = "per")){const err0 = {};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(data.per !== undefined){let data0 = data.per;if(!((data0 === "core-second") || (data0 === "core-hour"))){const err1 = {};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}}}var _valid0 = _errs2 === errors;errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}let ifClause0;if(_valid0){const _errs4 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if((data.size_per_unit === undefined) && (missing1 = "size_per_unit")){validate556.errors = [{instancePath,schemaPath:"#/then/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}}var _valid0 = _errs4 === errors;valid0 = _valid0;ifClause0 = "then";}else {const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((data.size_per_unit === undefined) && (missing2 = "size_per_unit")){const err2 = {};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}var valid2 = _errs7 === errors;if(valid2){validate556.errors = [{instancePath,schemaPath:"#/else/not",keyword:"not",params:{},message:"must NOT be valid"}];return false;}else {errors = _errs6;if(vErrors !== null){if(_errs6){vErrors.length = _errs6;}else {vErrors = null;}}}var _valid0 = _errs5 === errors;valid0 = _valid0;ifClause0 = "else";}if(!valid0){const err3 = {instancePath,schemaPath:"#/if",keyword:"if",params:{failingKeyword: ifClause0},message:"must match \""+ifClause0+"\" schema"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;validate556.errors = vErrors;return false;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing3;if(((data.usd === undefined) && (missing3 = "usd")) || ((data.per === undefined) && (missing3 = "per"))){validate556.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data.usd !== undefined){let data1 = data.usd;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data1 === "string"){if(!pattern50.test(data1)){validate556.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate556.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs8 === errors;}else {var valid3 = true;}if(valid3){if(data.per !== undefined){let data2 = data.per;const _errs11 = errors;if(!((((data2 === "vcpu-second") || (data2 === "vcpu-hour")) || (data2 === "core-second")) || (data2 === "core-hour"))){validate556.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema786.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs11 === errors;}else {var valid3 = true;}if(valid3){if(data.size_per_unit !== undefined){let data3 = data.size_per_unit;const _errs12 = errors;const _errs13 = errors;if(errors === _errs13){if(typeof data3 === "string"){if(!pattern382.test(data3)){validate556.errors = [{instancePath:instancePath+"/size_per_unit",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate556.errors = [{instancePath:instancePath+"/size_per_unit",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}}}}}else {validate556.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate556.errors = vErrors;return errors === 0;}validate556.evaluated = {"props":{"usd":true,"per":true,"size_per_unit":true},"dynamicProps":false,"dynamicItems":false};const schema789 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"enum":["gib-second","gib-hour","gb-second","gb-hour"]},"size_per_unit":{"description":"GiB one GB covers: 1 where the provider's GB is read as a GiB, as Vercel's and Blaxel's examples do. Required for a GB unit and absent for a GiB unit.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"}},"if":{"properties":{"per":{"enum":["gb-second","gb-hour"]}},"required":["per"]},"then":{"required":["size_per_unit"]},"else":{"not":{"required":["size_per_unit"]}}};function validate558(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate558.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = true;const _errs2 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.per === undefined) && (missing0 = "per")){const err0 = {};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(data.per !== undefined){let data0 = data.per;if(!((data0 === "gb-second") || (data0 === "gb-hour"))){const err1 = {};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}}}var _valid0 = _errs2 === errors;errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}let ifClause0;if(_valid0){const _errs4 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if((data.size_per_unit === undefined) && (missing1 = "size_per_unit")){validate558.errors = [{instancePath,schemaPath:"#/then/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}}var _valid0 = _errs4 === errors;valid0 = _valid0;ifClause0 = "then";}else {const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((data.size_per_unit === undefined) && (missing2 = "size_per_unit")){const err2 = {};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}var valid2 = _errs7 === errors;if(valid2){validate558.errors = [{instancePath,schemaPath:"#/else/not",keyword:"not",params:{},message:"must NOT be valid"}];return false;}else {errors = _errs6;if(vErrors !== null){if(_errs6){vErrors.length = _errs6;}else {vErrors = null;}}}var _valid0 = _errs5 === errors;valid0 = _valid0;ifClause0 = "else";}if(!valid0){const err3 = {instancePath,schemaPath:"#/if",keyword:"if",params:{failingKeyword: ifClause0},message:"must match \""+ifClause0+"\" schema"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;validate558.errors = vErrors;return false;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing3;if(((data.usd === undefined) && (missing3 = "usd")) || ((data.per === undefined) && (missing3 = "per"))){validate558.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data.usd !== undefined){let data1 = data.usd;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data1 === "string"){if(!pattern50.test(data1)){validate558.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate558.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs8 === errors;}else {var valid3 = true;}if(valid3){if(data.per !== undefined){let data2 = data.per;const _errs11 = errors;if(!((((data2 === "gib-second") || (data2 === "gib-hour")) || (data2 === "gb-second")) || (data2 === "gb-hour"))){validate558.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema789.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs11 === errors;}else {var valid3 = true;}if(valid3){if(data.size_per_unit !== undefined){let data3 = data.size_per_unit;const _errs12 = errors;const _errs13 = errors;if(errors === _errs13){if(typeof data3 === "string"){if(!pattern382.test(data3)){validate558.errors = [{instancePath:instancePath+"/size_per_unit",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate558.errors = [{instancePath:instancePath+"/size_per_unit",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}}}}}else {validate558.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate558.errors = vErrors;return errors === 0;}validate558.evaluated = {"props":{"usd":true,"per":true,"size_per_unit":true},"dynamicProps":false,"dynamicItems":false};const schema792 = {"type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9-]*$"},"additionalProperties":{"$ref":"#/components/schemas/PriceVersionDocumentGpuRate"}};const pattern219 = new RegExp("^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9-]*$", "u");const schema793 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"enum":["gpu-second","gpu-hour"]}}};function validate562(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate562.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.usd === undefined) && (missing0 = "usd")) || ((data.per === undefined) && (missing0 = "per"))){validate562.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.usd !== undefined){let data0 = data.usd;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(typeof data0 === "string"){if(!pattern50.test(data0)){validate562.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate562.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.per !== undefined){let data1 = data.per;const _errs4 = errors;if(!((data1 === "gpu-second") || (data1 === "gpu-hour"))){validate562.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema793.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}}}}else {validate562.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate562.errors = vErrors;return errors === 0;}validate562.evaluated = {"props":{"usd":true,"per":true},"dynamicProps":false,"dynamicItems":false};function validate561(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate561.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(Object.keys(data).length < 1){validate561.errors = [{instancePath,schemaPath:"#/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"}];return false;}else {for(const key0 in data){const _errs1 = errors;if(typeof key0 === "string"){if(!pattern219.test(key0)){const err0 = {instancePath,schemaPath:"#/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9-]*$"+"\"",propertyName:key0};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var valid0 = _errs1 === errors;if(!valid0){const err1 = {instancePath,schemaPath:"#/propertyNames",keyword:"propertyNames",params:{propertyName: key0},message:"property name must be valid"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;validate561.errors = vErrors;return false;break;}}if(valid0){for(const key1 in data){const _errs3 = errors;if(!(validate562(data[key1], {instancePath:instancePath+"/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),parentData:data,parentDataProperty:key1,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate562.errors : vErrors.concat(validate562.errors);errors = vErrors.length;}var valid1 = _errs3 === errors;if(!valid1){break;}}}}}else {validate561.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate561.errors = vErrors;return errors === 0;}validate561.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema795 = {"description":"Flat per-size machine rates, keyed by the provider's own size name. Each entry prices one published bundle: a sandbox whose size matches the entry's cpu and memory_gib is billed the flat rate while the meter runs it. A sandbox size that matches no entry has no machine price. Used where the provider sells a bundle with no published per-unit split.","type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z0-9][a-z0-9._-]*$"},"additionalProperties":{"$ref":"#/components/schemas/PriceVersionDocumentMachineRate"}};const schema796 = {"type":"object","required":["usd","per","cpu","memory_gib"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"enum":["machine-second","machine-hour"]},"cpu":{"description":"vCPUs the published size gives.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"memory_gib":{"description":"GiB of memory the published size gives; where the provider quotes GB it is read as a GiB.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"},"note":{"type":"string","minLength":1}}};function validate566(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate566.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.usd === undefined) && (missing0 = "usd")) || ((data.per === undefined) && (missing0 = "per"))) || ((data.cpu === undefined) && (missing0 = "cpu"))) || ((data.memory_gib === undefined) && (missing0 = "memory_gib"))){validate566.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.usd !== undefined){let data0 = data.usd;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(typeof data0 === "string"){if(!pattern50.test(data0)){validate566.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate566.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.per !== undefined){let data1 = data.per;const _errs4 = errors;if(!((data1 === "machine-second") || (data1 === "machine-hour"))){validate566.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema796.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.cpu !== undefined){let data2 = data.cpu;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data2 === "string"){if(!pattern382.test(data2)){validate566.errors = [{instancePath:instancePath+"/cpu",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate566.errors = [{instancePath:instancePath+"/cpu",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.memory_gib !== undefined){let data3 = data.memory_gib;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data3 === "string"){if(!pattern382.test(data3)){validate566.errors = [{instancePath:instancePath+"/memory_gib",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate566.errors = [{instancePath:instancePath+"/memory_gib",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.note !== undefined){let data4 = data.note;const _errs11 = errors;if(errors === _errs11){if(typeof data4 === "string"){if(func1(data4) < 1){validate566.errors = [{instancePath:instancePath+"/note",schemaPath:"#/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate566.errors = [{instancePath:instancePath+"/note",schemaPath:"#/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs11 === errors;}else {var valid0 = true;}}}}}}}else {validate566.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate566.errors = vErrors;return errors === 0;}validate566.evaluated = {"props":{"usd":true,"per":true,"cpu":true,"memory_gib":true,"note":true},"dynamicProps":false,"dynamicItems":false};function validate565(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate565.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(Object.keys(data).length < 1){validate565.errors = [{instancePath,schemaPath:"#/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"}];return false;}else {for(const key0 in data){const _errs1 = errors;if(typeof key0 === "string"){if(!pattern394.test(key0)){const err0 = {instancePath,schemaPath:"#/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*$"+"\"",propertyName:key0};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var valid0 = _errs1 === errors;if(!valid0){const err1 = {instancePath,schemaPath:"#/propertyNames",keyword:"propertyNames",params:{propertyName: key0},message:"property name must be valid"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;validate565.errors = vErrors;return false;break;}}if(valid0){for(const key1 in data){const _errs3 = errors;if(!(validate566(data[key1], {instancePath:instancePath+"/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),parentData:data,parentDataProperty:key1,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate566.errors : vErrors.concat(validate566.errors);errors = vErrors.length;}var valid1 = _errs3 === errors;if(!valid1){break;}}}}}else {validate565.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate565.errors = vErrors;return errors === 0;}validate565.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema800 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"enum":["creation","million-creations"]}}};function validate569(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate569.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.usd === undefined) && (missing0 = "usd")) || ((data.per === undefined) && (missing0 = "per"))){validate569.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.usd !== undefined){let data0 = data.usd;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(typeof data0 === "string"){if(!pattern50.test(data0)){validate569.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate569.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.per !== undefined){let data1 = data.per;const _errs4 = errors;if(!((data1 === "creation") || (data1 === "million-creations"))){validate569.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema800.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}}}}else {validate569.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate569.errors = vErrors;return errors === 0;}validate569.evaluated = {"props":{"usd":true,"per":true},"dynamicProps":false,"dynamicItems":false};const schema802 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"description":"gib is 2^30 bytes; gb is 10^9 bytes.","enum":["gib","gb"]}}};function validate571(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate571.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.usd === undefined) && (missing0 = "usd")) || ((data.per === undefined) && (missing0 = "per"))){validate571.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.usd !== undefined){let data0 = data.usd;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(typeof data0 === "string"){if(!pattern50.test(data0)){validate571.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate571.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.per !== undefined){let data1 = data.per;const _errs4 = errors;if(!((data1 === "gib") || (data1 === "gb"))){validate571.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/enum",keyword:"enum",params:{allowedValues: schema802.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}}}}else {validate571.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate571.errors = vErrors;return errors === 0;}validate571.evaluated = {"props":{"usd":true,"per":true},"dynamicProps":false,"dynamicItems":false};const schema804 = {"type":"object","required":["usd","per"],"properties":{"usd":{"$ref":"#/components/schemas/PricingDecimal"},"per":{"const":"gb-month"}}};function validate573(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate573.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.usd === undefined) && (missing0 = "usd")) || ((data.per === undefined) && (missing0 = "per"))){validate573.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.usd !== undefined){let data0 = data.usd;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(typeof data0 === "string"){if(!pattern50.test(data0)){validate573.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate573.errors = [{instancePath:instancePath+"/usd",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.per !== undefined){const _errs4 = errors;if("gb-month" !== data.per){validate573.errors = [{instancePath:instancePath+"/per",schemaPath:"#/properties/per/const",keyword:"const",params:{allowedValue: "gb-month"},message:"must be equal to constant"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}}}}else {validate573.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate573.errors = vErrors;return errors === 0;}validate573.evaluated = {"props":{"usd":true,"per":true},"dynamicProps":false,"dynamicItems":false};function validate555(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate555.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(Object.keys(data).length < 1){validate555.errors = [{instancePath,schemaPath:"#/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"}];return false;}else {if(data.cpu !== undefined){const _errs1 = errors;if(!(validate556(data.cpu, {instancePath:instancePath+"/cpu",parentData:data,parentDataProperty:"cpu",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate556.errors : vErrors.concat(validate556.errors);errors = vErrors.length;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.memory !== undefined){const _errs2 = errors;if(!(validate558(data.memory, {instancePath:instancePath+"/memory",parentData:data,parentDataProperty:"memory",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate558.errors : vErrors.concat(validate558.errors);errors = vErrors.length;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.disk !== undefined){const _errs3 = errors;if(!(validate558(data.disk, {instancePath:instancePath+"/disk",parentData:data,parentDataProperty:"disk",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate558.errors : vErrors.concat(validate558.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.gpu !== undefined){const _errs4 = errors;if(!(validate561(data.gpu, {instancePath:instancePath+"/gpu",parentData:data,parentDataProperty:"gpu",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate561.errors : vErrors.concat(validate561.errors);errors = vErrors.length;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.machine !== undefined){const _errs5 = errors;if(!(validate565(data.machine, {instancePath:instancePath+"/machine",parentData:data,parentDataProperty:"machine",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate565.errors : vErrors.concat(validate565.errors);errors = vErrors.length;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.creation !== undefined){const _errs6 = errors;if(!(validate569(data.creation, {instancePath:instancePath+"/creation",parentData:data,parentDataProperty:"creation",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate569.errors : vErrors.concat(validate569.errors);errors = vErrors.length;}var valid0 = _errs6 === errors;}else {var valid0 = true;}if(valid0){if(data.egress !== undefined){const _errs7 = errors;if(!(validate571(data.egress, {instancePath:instancePath+"/egress",parentData:data,parentDataProperty:"egress",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate571.errors : vErrors.concat(validate571.errors);errors = vErrors.length;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.snapshot_storage !== undefined){const _errs8 = errors;if(!(validate573(data.snapshot_storage, {instancePath:instancePath+"/snapshot_storage",parentData:data,parentDataProperty:"snapshot_storage",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate573.errors : vErrors.concat(validate573.errors);errors = vErrors.length;}var valid0 = _errs8 === errors;}else {var valid0 = true;}}}}}}}}}}else {validate555.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate555.errors = vErrors;return errors === 0;}validate555.evaluated = {"props":{"cpu":true,"memory":true,"disk":true,"gpu":true,"machine":true,"creation":true,"egress":true,"snapshot_storage":true},"dynamicProps":false,"dynamicItems":false};const schema806 = {"description":"How each time-billed resource is metered. A resource with a rate and no meter rule cannot be priced.","type":"object","patternProperties":{"^(cpu|gpu|machine)$":{"$ref":"#/components/schemas/PriceVersionDocumentTimeMeter"},"^memory$":{"$ref":"#/components/schemas/PriceVersionDocumentMemoryMeter"},"^disk$":{"$ref":"#/components/schemas/PriceVersionDocumentDiskMeter"},"^snapshot_storage$":{"$ref":"#/components/schemas/PriceVersionDocumentStorageMeter"}}};const schema814 = {"type":"object","required":["billed_states"],"properties":{"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}}}};const pattern409 = new RegExp("^(cpu|gpu|machine)$", "u");const pattern411 = new RegExp("^memory$", "u");const pattern413 = new RegExp("^disk$", "u");const pattern416 = new RegExp("^snapshot_storage$", "u");const schema807 = {"type":"object","required":["basis","billed_states"],"properties":{"basis":{"description":"allocated: the size the sandbox has. active: only while the resource is in use (Vercel's CPU). larger_of_request_and_use: whichever is greater (Modal).","enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"description":"The sandbox states in which this resource is charged.","type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"description":"The least that is charged for each period in a billed state.","minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"description":"Each period in a billed state is rounded up to a multiple of this.","minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"description":"An allowance that is free for every sandbox, in the resource's size unit (vCPUs, GiB, GPUs). An allowance shared across an account is an exclusion, not a meter rule.","$ref":"#/components/schemas/PricingDecimal"}}};const func0 = require("ajv/dist/runtime/equal").default;function validate577(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate577.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.basis === undefined) && (missing0 = "basis")) || ((data.billed_states === undefined) && (missing0 = "billed_states"))){validate577.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.basis !== undefined){let data0 = data.basis;const _errs1 = errors;if(!(((data0 === "allocated") || (data0 === "active")) || (data0 === "larger_of_request_and_use"))){validate577.errors = [{instancePath:instancePath+"/basis",schemaPath:"#/properties/basis/enum",keyword:"enum",params:{allowedValues: schema807.properties.basis.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.billed_states !== undefined){let data1 = data.billed_states;const _errs2 = errors;if(errors === _errs2){if(Array.isArray(data1)){if(data1.length < 1){validate577.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs4 = errors;if(!(((data2 === "running") || (data2 === "paused")) || (data2 === "stopped"))){validate577.errors = [{instancePath:instancePath+"/billed_states/" + i0,schemaPath:"#/properties/billed_states/items/enum",keyword:"enum",params:{allowedValues: schema807.properties.billed_states.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs4 === errors;if(!valid1){break;}}if(valid1){let i1 = data1.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data1[i1], data1[j0])){validate577.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate577.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.minimum_seconds !== undefined){let data3 = data.minimum_seconds;const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;let valid4 = false;const _errs8 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err0 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs8 === errors;valid4 = valid4 || _valid0;const _errs10 = errors;if(typeof data3 !== "bigint"){const err1 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}var _valid0 = _errs10 === errors;valid4 = valid4 || _valid0;if(!valid4){const err2 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate577.errors = vErrors;return false;}else {errors = _errs7;if(vErrors !== null){if(_errs7){vErrors.length = _errs7;}else {vErrors = null;}}}var valid3 = _errs6 === errors;if(valid3){if(typeof data3 === "bigint"){if(data3 < 1){validate577.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs5){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 1 || isNaN(data3)){validate577.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.increment_seconds !== undefined){let data4 = data.increment_seconds;const _errs11 = errors;const _errs12 = errors;const _errs13 = errors;let valid6 = false;const _errs14 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err3 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid1 = _errs14 === errors;valid6 = valid6 || _valid1;const _errs16 = errors;if(typeof data4 !== "bigint"){const err4 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var _valid1 = _errs16 === errors;valid6 = valid6 || _valid1;if(!valid6){const err5 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate577.errors = vErrors;return false;}else {errors = _errs13;if(vErrors !== null){if(_errs13){vErrors.length = _errs13;}else {vErrors = null;}}}var valid5 = _errs12 === errors;if(valid5){if(typeof data4 === "bigint"){if(data4 < 1){validate577.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs11){if((typeof data4 == "number") && (isFinite(data4))){if(data4 < 1 || isNaN(data4)){validate577.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.free_quantity !== undefined){let data5 = data.free_quantity;const _errs17 = errors;const _errs18 = errors;if(errors === _errs18){if(typeof data5 === "string"){if(!pattern50.test(data5)){validate577.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate577.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs17 === errors;}else {var valid0 = true;}}}}}}}else {validate577.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate577.errors = vErrors;return errors === 0;}validate577.evaluated = {"props":{"basis":true,"billed_states":true,"minimum_seconds":true,"increment_seconds":true,"free_quantity":true},"dynamicProps":false,"dynamicItems":false};const schema809 = {"type":"object","required":["basis","billed_states"],"properties":{"basis":{"description":"allocated: the size the sandbox has; active: only while the resource is in use; larger_of_request_and_use: whichever is greater.","enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"$ref":"#/components/schemas/PricingDecimal"},"memory_steps_mib":{"description":"Discrete billed memory sizes in MiB. A request rounds up to the next listed size; a request above every tier has no price.","type":"array","minItems":1,"uniqueItems":true,"items":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}}}}};function validate579(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate579.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.basis === undefined) && (missing0 = "basis")) || ((data.billed_states === undefined) && (missing0 = "billed_states"))){validate579.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.basis !== undefined){let data0 = data.basis;const _errs1 = errors;if(!(((data0 === "allocated") || (data0 === "active")) || (data0 === "larger_of_request_and_use"))){validate579.errors = [{instancePath:instancePath+"/basis",schemaPath:"#/properties/basis/enum",keyword:"enum",params:{allowedValues: schema809.properties.basis.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.billed_states !== undefined){let data1 = data.billed_states;const _errs2 = errors;if(errors === _errs2){if(Array.isArray(data1)){if(data1.length < 1){validate579.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs4 = errors;if(!(((data2 === "running") || (data2 === "paused")) || (data2 === "stopped"))){validate579.errors = [{instancePath:instancePath+"/billed_states/" + i0,schemaPath:"#/properties/billed_states/items/enum",keyword:"enum",params:{allowedValues: schema809.properties.billed_states.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs4 === errors;if(!valid1){break;}}if(valid1){let i1 = data1.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data1[i1], data1[j0])){validate579.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate579.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.minimum_seconds !== undefined){let data3 = data.minimum_seconds;const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;let valid4 = false;const _errs8 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err0 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs8 === errors;valid4 = valid4 || _valid0;const _errs10 = errors;if(typeof data3 !== "bigint"){const err1 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}var _valid0 = _errs10 === errors;valid4 = valid4 || _valid0;if(!valid4){const err2 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate579.errors = vErrors;return false;}else {errors = _errs7;if(vErrors !== null){if(_errs7){vErrors.length = _errs7;}else {vErrors = null;}}}var valid3 = _errs6 === errors;if(valid3){if(typeof data3 === "bigint"){if(data3 < 1){validate579.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs5){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 1 || isNaN(data3)){validate579.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.increment_seconds !== undefined){let data4 = data.increment_seconds;const _errs11 = errors;const _errs12 = errors;const _errs13 = errors;let valid6 = false;const _errs14 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err3 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid1 = _errs14 === errors;valid6 = valid6 || _valid1;const _errs16 = errors;if(typeof data4 !== "bigint"){const err4 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var _valid1 = _errs16 === errors;valid6 = valid6 || _valid1;if(!valid6){const err5 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate579.errors = vErrors;return false;}else {errors = _errs13;if(vErrors !== null){if(_errs13){vErrors.length = _errs13;}else {vErrors = null;}}}var valid5 = _errs12 === errors;if(valid5){if(typeof data4 === "bigint"){if(data4 < 1){validate579.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs11){if((typeof data4 == "number") && (isFinite(data4))){if(data4 < 1 || isNaN(data4)){validate579.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.free_quantity !== undefined){let data5 = data.free_quantity;const _errs17 = errors;const _errs18 = errors;if(errors === _errs18){if(typeof data5 === "string"){if(!pattern50.test(data5)){validate579.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate579.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.memory_steps_mib !== undefined){let data6 = data.memory_steps_mib;const _errs20 = errors;if(errors === _errs20){if(Array.isArray(data6)){if(data6.length < 1){validate579.errors = [{instancePath:instancePath+"/memory_steps_mib",schemaPath:"#/properties/memory_steps_mib/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid8 = true;const len1 = data6.length;for(let i2=0; i2<len1; i2++){let data7 = data6[i2];const _errs22 = errors;const _errs23 = errors;const _errs24 = errors;let valid10 = false;const _errs25 = errors;if(!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))){const err6 = {instancePath:instancePath+"/memory_steps_mib/" + i2,schemaPath:"#/properties/memory_steps_mib/items/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}var _valid2 = _errs25 === errors;valid10 = valid10 || _valid2;const _errs27 = errors;if(typeof data7 !== "bigint"){const err7 = {instancePath:instancePath+"/memory_steps_mib/" + i2,schemaPath:"#/properties/memory_steps_mib/items/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var _valid2 = _errs27 === errors;valid10 = valid10 || _valid2;if(!valid10){const err8 = {instancePath:instancePath+"/memory_steps_mib/" + i2,schemaPath:"#/properties/memory_steps_mib/items/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;validate579.errors = vErrors;return false;}else {errors = _errs24;if(vErrors !== null){if(_errs24){vErrors.length = _errs24;}else {vErrors = null;}}}var valid9 = _errs23 === errors;if(valid9){if(typeof data7 === "bigint"){if(data7 < 1){validate579.errors = [{instancePath:instancePath+"/memory_steps_mib/" + i2,schemaPath:"#/properties/memory_steps_mib/items/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs22){if((typeof data7 == "number") && (isFinite(data7))){if(data7 < 1 || isNaN(data7)){validate579.errors = [{instancePath:instancePath+"/memory_steps_mib/" + i2,schemaPath:"#/properties/memory_steps_mib/items/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid8 = _errs22 === errors;if(!valid8){break;}}if(valid8){let i3 = data6.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data6[i3], data6[j1])){validate579.errors = [{instancePath:instancePath+"/memory_steps_mib",schemaPath:"#/properties/memory_steps_mib/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate579.errors = [{instancePath:instancePath+"/memory_steps_mib",schemaPath:"#/properties/memory_steps_mib/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs20 === errors;}else {var valid0 = true;}}}}}}}}else {validate579.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate579.errors = vErrors;return errors === 0;}validate579.evaluated = {"props":{"basis":true,"billed_states":true,"minimum_seconds":true,"increment_seconds":true,"free_quantity":true,"memory_steps_mib":true},"dynamicProps":false,"dynamicItems":false};const schema811 = {"type":"object","required":["basis","billed_states"],"properties":{"basis":{"enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"$ref":"#/components/schemas/PricingDecimal"},"disk_gib_per_memory_gib":{"description":"Set where the provider charges disk by raising the memory it bills: how many GiB of disk count as one GiB of memory (Modal's 20). The class then has no disk rate.","$ref":"#/components/schemas/PriceVersionDocumentPositiveDecimal"}}};function validate581(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate581.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.basis === undefined) && (missing0 = "basis")) || ((data.billed_states === undefined) && (missing0 = "billed_states"))){validate581.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.basis !== undefined){let data0 = data.basis;const _errs1 = errors;if(!(((data0 === "allocated") || (data0 === "active")) || (data0 === "larger_of_request_and_use"))){validate581.errors = [{instancePath:instancePath+"/basis",schemaPath:"#/properties/basis/enum",keyword:"enum",params:{allowedValues: schema811.properties.basis.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.billed_states !== undefined){let data1 = data.billed_states;const _errs2 = errors;if(errors === _errs2){if(Array.isArray(data1)){if(data1.length < 1){validate581.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs4 = errors;if(!(((data2 === "running") || (data2 === "paused")) || (data2 === "stopped"))){validate581.errors = [{instancePath:instancePath+"/billed_states/" + i0,schemaPath:"#/properties/billed_states/items/enum",keyword:"enum",params:{allowedValues: schema811.properties.billed_states.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs4 === errors;if(!valid1){break;}}if(valid1){let i1 = data1.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data1[i1], data1[j0])){validate581.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate581.errors = [{instancePath:instancePath+"/billed_states",schemaPath:"#/properties/billed_states/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.minimum_seconds !== undefined){let data3 = data.minimum_seconds;const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;let valid4 = false;const _errs8 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err0 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs8 === errors;valid4 = valid4 || _valid0;const _errs10 = errors;if(typeof data3 !== "bigint"){const err1 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}var _valid0 = _errs10 === errors;valid4 = valid4 || _valid0;if(!valid4){const err2 = {instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate581.errors = vErrors;return false;}else {errors = _errs7;if(vErrors !== null){if(_errs7){vErrors.length = _errs7;}else {vErrors = null;}}}var valid3 = _errs6 === errors;if(valid3){if(typeof data3 === "bigint"){if(data3 < 1){validate581.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs5){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 1 || isNaN(data3)){validate581.errors = [{instancePath:instancePath+"/minimum_seconds",schemaPath:"#/properties/minimum_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.increment_seconds !== undefined){let data4 = data.increment_seconds;const _errs11 = errors;const _errs12 = errors;const _errs13 = errors;let valid6 = false;const _errs14 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err3 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid1 = _errs14 === errors;valid6 = valid6 || _valid1;const _errs16 = errors;if(typeof data4 !== "bigint"){const err4 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var _valid1 = _errs16 === errors;valid6 = valid6 || _valid1;if(!valid6){const err5 = {instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate581.errors = vErrors;return false;}else {errors = _errs13;if(vErrors !== null){if(_errs13){vErrors.length = _errs13;}else {vErrors = null;}}}var valid5 = _errs12 === errors;if(valid5){if(typeof data4 === "bigint"){if(data4 < 1){validate581.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs11){if((typeof data4 == "number") && (isFinite(data4))){if(data4 < 1 || isNaN(data4)){validate581.errors = [{instancePath:instancePath+"/increment_seconds",schemaPath:"#/properties/increment_seconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.free_quantity !== undefined){let data5 = data.free_quantity;const _errs17 = errors;const _errs18 = errors;if(errors === _errs18){if(typeof data5 === "string"){if(!pattern50.test(data5)){validate581.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/pattern",keyword:"pattern",params:{pattern: "^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},message:"must match pattern \""+"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"+"\""}];return false;}}else {validate581.errors = [{instancePath:instancePath+"/free_quantity",schemaPath:"#/components/schemas/PricingDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.disk_gib_per_memory_gib !== undefined){let data6 = data.disk_gib_per_memory_gib;const _errs20 = errors;const _errs21 = errors;if(errors === _errs21){if(typeof data6 === "string"){if(!pattern382.test(data6)){validate581.errors = [{instancePath:instancePath+"/disk_gib_per_memory_gib",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate581.errors = [{instancePath:instancePath+"/disk_gib_per_memory_gib",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs20 === errors;}else {var valid0 = true;}}}}}}}}else {validate581.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate581.errors = vErrors;return errors === 0;}validate581.evaluated = {"props":{"basis":true,"billed_states":true,"minimum_seconds":true,"increment_seconds":true,"free_quantity":true,"disk_gib_per_memory_gib":true},"dynamicProps":false,"dynamicItems":false};function validate576(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate576.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};var valid0 = true;for(const key0 in data){if(pattern409.test(key0)){const _errs1 = errors;if(!(validate577(data[key0], {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),parentData:data,parentDataProperty:key0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate577.errors : vErrors.concat(validate577.errors);errors = vErrors.length;}var valid0 = _errs1 === errors;props0[key0] = true;}}if(valid0){var valid0 = true;for(const key1 in data){if(pattern411.test(key1)){const _errs2 = errors;if(!(validate579(data[key1], {instancePath:instancePath+"/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),parentData:data,parentDataProperty:key1,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate579.errors : vErrors.concat(validate579.errors);errors = vErrors.length;}var valid0 = _errs2 === errors;props0[key1] = true;}}if(valid0){var valid0 = true;for(const key2 in data){if(pattern413.test(key2)){const _errs3 = errors;if(!(validate581(data[key2], {instancePath:instancePath+"/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"),parentData:data,parentDataProperty:key2,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate581.errors : vErrors.concat(validate581.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;props0[key2] = true;}}if(valid0){var valid0 = true;for(const key3 in data){if(pattern416.test(key3)){let data3 = data[key3];const _errs4 = errors;const _errs5 = errors;if(errors === _errs5){if(data3 && typeof data3 == "object" && !Array.isArray(data3)){let missing0;if((data3.billed_states === undefined) && (missing0 = "billed_states")){validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data3.billed_states !== undefined){let data4 = data3.billed_states;const _errs7 = errors;if(errors === _errs7){if(Array.isArray(data4)){if(data4.length < 1){validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1")+"/billed_states",schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/properties/billed_states/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid3 = true;const len0 = data4.length;for(let i0=0; i0<len0; i0++){let data5 = data4[i0];const _errs9 = errors;if(!(((data5 === "running") || (data5 === "paused")) || (data5 === "stopped"))){validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1")+"/billed_states/" + i0,schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/properties/billed_states/items/enum",keyword:"enum",params:{allowedValues: schema814.properties.billed_states.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs9 === errors;if(!valid3){break;}}if(valid3){let i1 = data4.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data4[i1], data4[j0])){validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1")+"/billed_states",schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/properties/billed_states/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1")+"/billed_states",schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/properties/billed_states/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}else {validate576.errors = [{instancePath:instancePath+"/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/components/schemas/PriceVersionDocumentStorageMeter/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs4 === errors;props0[key3] = true;}}}}}}else {validate576.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate576.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate576.evaluated = {"dynamicProps":true,"dynamicItems":false};function validate554(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate554.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.name === undefined) && (missing0 = "name")) || ((data.rates === undefined) && (missing0 = "rates"))) || ((data.meter === undefined) && (missing0 = "meter"))){validate554.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.name !== undefined){let data0 = data.name;const _errs1 = errors;if(errors === _errs1){if(typeof data0 === "string"){if(!pattern394.test(data0)){validate554.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*$"+"\""}];return false;}}else {validate554.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.default !== undefined){const _errs3 = errors;if(true !== data.default){validate554.errors = [{instancePath:instancePath+"/default",schemaPath:"#/properties/default/const",keyword:"const",params:{allowedValue: true},message:"must be equal to constant"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.covers !== undefined){let data2 = data.covers;const _errs4 = errors;if(errors === _errs4){if(Array.isArray(data2)){if(data2.length < 1){validate554.errors = [{instancePath:instancePath+"/covers",schemaPath:"#/properties/covers/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data2.length;for(let i0=0; i0<len0; i0++){let data3 = data2[i0];const _errs6 = errors;if(errors === _errs6){if(typeof data3 === "string"){if(!pattern394.test(data3)){validate554.errors = [{instancePath:instancePath+"/covers/" + i0,schemaPath:"#/properties/covers/items/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*$"+"\""}];return false;}}else {validate554.errors = [{instancePath:instancePath+"/covers/" + i0,schemaPath:"#/properties/covers/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs6 === errors;if(!valid1){break;}}if(valid1){let i1 = data2.length;let j0;if(i1 > 1){const indices0 = {};for(;i1--;){let item0 = data2[i1];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];validate554.errors = [{instancePath:instancePath+"/covers",schemaPath:"#/properties/covers/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break;}indices0[item0] = i1;}}}}}else {validate554.errors = [{instancePath:instancePath+"/covers",schemaPath:"#/properties/covers/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.rates !== undefined){const _errs8 = errors;if(!(validate555(data.rates, {instancePath:instancePath+"/rates",parentData:data,parentDataProperty:"rates",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate555.errors : vErrors.concat(validate555.errors);errors = vErrors.length;}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.meter !== undefined){const _errs9 = errors;if(!(validate576(data.meter, {instancePath:instancePath+"/meter",parentData:data,parentDataProperty:"meter",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate576.errors : vErrors.concat(validate576.errors);errors = vErrors.length;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.region_multipliers !== undefined){let data6 = data.region_multipliers;const _errs10 = errors;if(errors === _errs10){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(Object.keys(data6).length < 1){validate554.errors = [{instancePath:instancePath+"/region_multipliers",schemaPath:"#/properties/region_multipliers/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"}];return false;}else {for(const key0 in data6){const _errs12 = errors;if(typeof key0 === "string"){if(!pattern394.test(key0)){const err0 = {instancePath:instancePath+"/region_multipliers",schemaPath:"#/properties/region_multipliers/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*$"+"\"",propertyName:key0};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var valid3 = _errs12 === errors;if(!valid3){const err1 = {instancePath:instancePath+"/region_multipliers",schemaPath:"#/properties/region_multipliers/propertyNames",keyword:"propertyNames",params:{propertyName: key0},message:"property name must be valid"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;validate554.errors = vErrors;return false;break;}}if(valid3){for(const key1 in data6){let data7 = data6[key1];const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(typeof data7 === "string"){if(!pattern382.test(data7)){validate554.errors = [{instancePath:instancePath+"/region_multipliers/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate554.errors = [{instancePath:instancePath+"/region_multipliers/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid4 = _errs14 === errors;if(!valid4){break;}}}}}else {validate554.errors = [{instancePath:instancePath+"/region_multipliers",schemaPath:"#/properties/region_multipliers/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs10 === errors;}else {var valid0 = true;}}}}}}}}else {validate554.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate554.errors = vErrors;return errors === 0;}validate554.evaluated = {"props":{"name":true,"default":true,"covers":true,"rates":true,"meter":true,"region_multipliers":true},"dynamicProps":false,"dynamicItems":false};function validate551(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate551.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((((((data.provider === undefined) && (missing0 = "provider")) || ((data.version === undefined) && (missing0 = "version"))) || ((data.effective_from === undefined) && (missing0 = "effective_from"))) || ((data.retrieved_at === undefined) && (missing0 = "retrieved_at"))) || ((data.sources === undefined) && (missing0 = "sources"))) || ((data.classes === undefined) && (missing0 = "classes"))) || ((data.exclusions === undefined) && (missing0 = "exclusions"))) || ((data.open_questions === undefined) && (missing0 = "open_questions"))){validate551.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.provider !== undefined){let data0 = data.provider;const _errs1 = errors;if(errors === _errs1){if(typeof data0 === "string"){if(!pattern42.test(data0)){validate551.errors = [{instancePath:instancePath+"/provider",schemaPath:"#/properties/provider/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/provider",schemaPath:"#/properties/provider/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.version !== undefined){let data1 = data.version;const _errs3 = errors;if(errors === _errs3){if(typeof data1 === "string"){if(!pattern77.test(data1)){validate551.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.effective_from !== undefined){let data2 = data.effective_from;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(errors === _errs6){if(typeof data2 === "string"){if(!pattern78.test(data2)){validate551.errors = [{instancePath:instancePath+"/effective_from",schemaPath:"#/components/schemas/PricingTimestamp/pattern",keyword:"pattern",params:{pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},message:"must match pattern \""+"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"+"\""}];return false;}else {if(!(formats0.validate(data2))){validate551.errors = [{instancePath:instancePath+"/effective_from",schemaPath:"#/components/schemas/PricingTimestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate551.errors = [{instancePath:instancePath+"/effective_from",schemaPath:"#/components/schemas/PricingTimestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.retrieved_at !== undefined){let data3 = data.retrieved_at;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(errors === _errs9){if(typeof data3 === "string"){if(!pattern78.test(data3)){validate551.errors = [{instancePath:instancePath+"/retrieved_at",schemaPath:"#/components/schemas/PricingTimestamp/pattern",keyword:"pattern",params:{pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},message:"must match pattern \""+"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"+"\""}];return false;}else {if(!(formats0.validate(data3))){validate551.errors = [{instancePath:instancePath+"/retrieved_at",schemaPath:"#/components/schemas/PricingTimestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate551.errors = [{instancePath:instancePath+"/retrieved_at",schemaPath:"#/components/schemas/PricingTimestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.boundary !== undefined){const _errs11 = errors;if(!(validate552(data.boundary, {instancePath:instancePath+"/boundary",parentData:data,parentDataProperty:"boundary",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate552.errors : vErrors.concat(validate552.errors);errors = vErrors.length;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.supersedes !== undefined){let data5 = data.supersedes;const _errs12 = errors;if(errors === _errs12){if(Array.isArray(data5)){var valid3 = true;const len0 = data5.length;for(let i0=0; i0<len0; i0++){let data6 = data5[i0];const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(typeof data6 === "string"){if(!pattern77.test(data6)){validate551.errors = [{instancePath:instancePath+"/supersedes/" + i0,schemaPath:"#/components/schemas/PriceVersionDocumentVersion/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/supersedes/" + i0,schemaPath:"#/components/schemas/PriceVersionDocumentVersion/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs14 === errors;if(!valid3){break;}}if(valid3){let i1 = data5.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data5[i1], data5[j0])){validate551.errors = [{instancePath:instancePath+"/supersedes",schemaPath:"#/properties/supersedes/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}else {validate551.errors = [{instancePath:instancePath+"/supersedes",schemaPath:"#/properties/supersedes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs12 === errors;}else {var valid0 = true;}if(valid0){if(data.month_hours !== undefined){let data7 = data.month_hours;const _errs17 = errors;const _errs18 = errors;if(errors === _errs18){if(typeof data7 === "string"){if(!pattern382.test(data7)){validate551.errors = [{instancePath:instancePath+"/month_hours",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/month_hours",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.snapshot_storage !== undefined){let data8 = data.snapshot_storage;const _errs20 = errors;if(errors === _errs20){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing1;if((((((data8.usd === undefined) && (missing1 = "usd")) || ((data8.per === undefined) && (missing1 = "per"))) || ((data8.rate_source === undefined) && (missing1 = "rate_source"))) || ((data8.source_url === undefined) && (missing1 = "source_url"))) || ((data8.checked_at === undefined) && (missing1 = "checked_at"))){validate551.errors = [{instancePath:instancePath+"/snapshot_storage",schemaPath:"#/properties/snapshot_storage/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data8.usd !== undefined){let data9 = data8.usd;const _errs22 = errors;const _errs23 = errors;if(errors === _errs23){if(typeof data9 === "string"){if(!pattern382.test(data9)){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/snapshot_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs22 === errors;}else {var valid7 = true;}if(valid7){if(data8.per !== undefined){let data10 = data8.per;const _errs25 = errors;if(!(((data10 === "gb-month") || (data10 === "gib-month")) || (data10 === "gib-hour"))){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/per",schemaPath:"#/properties/snapshot_storage/properties/per/enum",keyword:"enum",params:{allowedValues: schema771.properties.snapshot_storage.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid7 = _errs25 === errors;}else {var valid7 = true;}if(valid7){if(data8.rate_source !== undefined){let data11 = data8.rate_source;const _errs26 = errors;if(!((data11 === "published_snapshot_rate") || (data11 === "published_disk_rate_proxy"))){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/rate_source",schemaPath:"#/properties/snapshot_storage/properties/rate_source/enum",keyword:"enum",params:{allowedValues: schema771.properties.snapshot_storage.properties.rate_source.enum},message:"must be equal to one of the allowed values"}];return false;}var valid7 = _errs26 === errors;}else {var valid7 = true;}if(valid7){if(data8.source_url !== undefined){let data12 = data8.source_url;const _errs27 = errors;if(errors === _errs27){if(typeof data12 === "string"){if(!pattern384.test(data12)){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/source_url",schemaPath:"#/properties/snapshot_storage/properties/source_url/pattern",keyword:"pattern",params:{pattern: "^https?://[^\\s]+$"},message:"must match pattern \""+"^https?://[^\\s]+$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/snapshot_storage/source_url",schemaPath:"#/properties/snapshot_storage/properties/source_url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs27 === errors;}else {var valid7 = true;}if(valid7){if(data8.checked_at !== undefined){let data13 = data8.checked_at;const _errs29 = errors;const _errs30 = errors;if(errors === _errs30){if(errors === _errs30){if(typeof data13 === "string"){if(!pattern78.test(data13)){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/pattern",keyword:"pattern",params:{pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},message:"must match pattern \""+"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"+"\""}];return false;}else {if(!(formats0.validate(data13))){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate551.errors = [{instancePath:instancePath+"/snapshot_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid7 = _errs29 === errors;}else {var valid7 = true;}if(valid7){if(data8.note !== undefined){let data14 = data8.note;const _errs32 = errors;if(errors === _errs32){if(typeof data14 === "string"){if(func1(data14) < 1){validate551.errors = [{instancePath:instancePath+"/snapshot_storage/note",schemaPath:"#/properties/snapshot_storage/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/snapshot_storage/note",schemaPath:"#/properties/snapshot_storage/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs32 === errors;}else {var valid7 = true;}}}}}}}}else {validate551.errors = [{instancePath:instancePath+"/snapshot_storage",schemaPath:"#/properties/snapshot_storage/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.image_storage !== undefined){let data15 = data.image_storage;const _errs34 = errors;if(errors === _errs34){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){let missing2;if((((((data15.usd === undefined) && (missing2 = "usd")) || ((data15.per === undefined) && (missing2 = "per"))) || ((data15.rate_source === undefined) && (missing2 = "rate_source"))) || ((data15.source_url === undefined) && (missing2 = "source_url"))) || ((data15.checked_at === undefined) && (missing2 = "checked_at"))){validate551.errors = [{instancePath:instancePath+"/image_storage",schemaPath:"#/properties/image_storage/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(data15.usd !== undefined){let data16 = data15.usd;const _errs36 = errors;const _errs37 = errors;if(errors === _errs37){if(typeof data16 === "string"){if(!pattern382.test(data16)){validate551.errors = [{instancePath:instancePath+"/image_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/image_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid10 = _errs36 === errors;}else {var valid10 = true;}if(valid10){if(data15.per !== undefined){let data17 = data15.per;const _errs39 = errors;if(!((data17 === "gb-month") || (data17 === "gib-month"))){validate551.errors = [{instancePath:instancePath+"/image_storage/per",schemaPath:"#/properties/image_storage/properties/per/enum",keyword:"enum",params:{allowedValues: schema771.properties.image_storage.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid10 = _errs39 === errors;}else {var valid10 = true;}if(valid10){if(data15.rate_source !== undefined){const _errs40 = errors;if("published_image_rate" !== data15.rate_source){validate551.errors = [{instancePath:instancePath+"/image_storage/rate_source",schemaPath:"#/properties/image_storage/properties/rate_source/const",keyword:"const",params:{allowedValue: "published_image_rate"},message:"must be equal to constant"}];return false;}var valid10 = _errs40 === errors;}else {var valid10 = true;}if(valid10){if(data15.source_url !== undefined){let data19 = data15.source_url;const _errs41 = errors;if(errors === _errs41){if(typeof data19 === "string"){if(!pattern384.test(data19)){validate551.errors = [{instancePath:instancePath+"/image_storage/source_url",schemaPath:"#/properties/image_storage/properties/source_url/pattern",keyword:"pattern",params:{pattern: "^https?://[^\\s]+$"},message:"must match pattern \""+"^https?://[^\\s]+$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/image_storage/source_url",schemaPath:"#/properties/image_storage/properties/source_url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid10 = _errs41 === errors;}else {var valid10 = true;}if(valid10){if(data15.checked_at !== undefined){let data20 = data15.checked_at;const _errs43 = errors;const _errs44 = errors;if(errors === _errs44){if(errors === _errs44){if(typeof data20 === "string"){if(!pattern78.test(data20)){validate551.errors = [{instancePath:instancePath+"/image_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/pattern",keyword:"pattern",params:{pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},message:"must match pattern \""+"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"+"\""}];return false;}else {if(!(formats0.validate(data20))){validate551.errors = [{instancePath:instancePath+"/image_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate551.errors = [{instancePath:instancePath+"/image_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid10 = _errs43 === errors;}else {var valid10 = true;}if(valid10){if(data15.note !== undefined){let data21 = data15.note;const _errs46 = errors;if(errors === _errs46){if(typeof data21 === "string"){if(func1(data21) < 1){validate551.errors = [{instancePath:instancePath+"/image_storage/note",schemaPath:"#/properties/image_storage/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/image_storage/note",schemaPath:"#/properties/image_storage/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid10 = _errs46 === errors;}else {var valid10 = true;}}}}}}}}else {validate551.errors = [{instancePath:instancePath+"/image_storage",schemaPath:"#/properties/image_storage/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs34 === errors;}else {var valid0 = true;}if(valid0){if(data.volume_storage !== undefined){let data22 = data.volume_storage;const _errs48 = errors;if(errors === _errs48){if(data22 && typeof data22 == "object" && !Array.isArray(data22)){let missing3;if((((((data22.usd === undefined) && (missing3 = "usd")) || ((data22.per === undefined) && (missing3 = "per"))) || ((data22.rate_source === undefined) && (missing3 = "rate_source"))) || ((data22.source_url === undefined) && (missing3 = "source_url"))) || ((data22.checked_at === undefined) && (missing3 = "checked_at"))){validate551.errors = [{instancePath:instancePath+"/volume_storage",schemaPath:"#/properties/volume_storage/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data22.usd !== undefined){let data23 = data22.usd;const _errs50 = errors;const _errs51 = errors;if(errors === _errs51){if(typeof data23 === "string"){if(!pattern382.test(data23)){validate551.errors = [{instancePath:instancePath+"/volume_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage/usd",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid13 = _errs50 === errors;}else {var valid13 = true;}if(valid13){if(data22.per !== undefined){let data24 = data22.per;const _errs53 = errors;if(!((data24 === "gb-month") || (data24 === "gib-month"))){validate551.errors = [{instancePath:instancePath+"/volume_storage/per",schemaPath:"#/properties/volume_storage/properties/per/enum",keyword:"enum",params:{allowedValues: schema771.properties.volume_storage.properties.per.enum},message:"must be equal to one of the allowed values"}];return false;}var valid13 = _errs53 === errors;}else {var valid13 = true;}if(valid13){if(data22.rate_source !== undefined){const _errs54 = errors;if("published_volume_rate" !== data22.rate_source){validate551.errors = [{instancePath:instancePath+"/volume_storage/rate_source",schemaPath:"#/properties/volume_storage/properties/rate_source/const",keyword:"const",params:{allowedValue: "published_volume_rate"},message:"must be equal to constant"}];return false;}var valid13 = _errs54 === errors;}else {var valid13 = true;}if(valid13){if(data22.source_url !== undefined){let data26 = data22.source_url;const _errs55 = errors;if(errors === _errs55){if(typeof data26 === "string"){if(!pattern384.test(data26)){validate551.errors = [{instancePath:instancePath+"/volume_storage/source_url",schemaPath:"#/properties/volume_storage/properties/source_url/pattern",keyword:"pattern",params:{pattern: "^https?://[^\\s]+$"},message:"must match pattern \""+"^https?://[^\\s]+$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage/source_url",schemaPath:"#/properties/volume_storage/properties/source_url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid13 = _errs55 === errors;}else {var valid13 = true;}if(valid13){if(data22.checked_at !== undefined){let data27 = data22.checked_at;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(errors === _errs58){if(typeof data27 === "string"){if(!pattern78.test(data27)){validate551.errors = [{instancePath:instancePath+"/volume_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/pattern",keyword:"pattern",params:{pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},message:"must match pattern \""+"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"+"\""}];return false;}else {if(!(formats0.validate(data27))){validate551.errors = [{instancePath:instancePath+"/volume_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage/checked_at",schemaPath:"#/components/schemas/PricingTimestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid13 = _errs57 === errors;}else {var valid13 = true;}if(valid13){if(data22.included_gb !== undefined){let data28 = data22.included_gb;const _errs60 = errors;const _errs61 = errors;if(errors === _errs61){if(typeof data28 === "string"){if(!pattern382.test(data28)){validate551.errors = [{instancePath:instancePath+"/volume_storage/included_gb",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/pattern",keyword:"pattern",params:{pattern: "^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},message:"must match pattern \""+"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage/included_gb",schemaPath:"#/components/schemas/PriceVersionDocumentPositiveDecimal/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid13 = _errs60 === errors;}else {var valid13 = true;}if(valid13){if(data22.included_unit !== undefined){const _errs63 = errors;if("GiB" !== data22.included_unit){validate551.errors = [{instancePath:instancePath+"/volume_storage/included_unit",schemaPath:"#/properties/volume_storage/properties/included_unit/const",keyword:"const",params:{allowedValue: "GiB"},message:"must be equal to constant"}];return false;}var valid13 = _errs63 === errors;}else {var valid13 = true;}if(valid13){if(data22.note !== undefined){let data30 = data22.note;const _errs64 = errors;if(errors === _errs64){if(typeof data30 === "string"){if(func1(data30) < 1){validate551.errors = [{instancePath:instancePath+"/volume_storage/note",schemaPath:"#/properties/volume_storage/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage/note",schemaPath:"#/properties/volume_storage/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid13 = _errs64 === errors;}else {var valid13 = true;}if(valid13){let missing4;if(data22.included_gb !== undefined && ((data22.included_unit === undefined) && (missing4 = "included_unit"))){validate551.errors = [{instancePath:instancePath+"/volume_storage",schemaPath:"#/properties/volume_storage/dependentRequired",keyword:"dependentRequired",params:{property: "included_gb",
2
+ missingProperty: missing4,
3
+ depsCount: 1,
4
+ deps: "included_unit"},message:"must have property included_unit when property included_gb is present"}];return false;}else {if(data22.included_unit !== undefined && ((data22.included_gb === undefined) && (missing4 = "included_gb"))){validate551.errors = [{instancePath:instancePath+"/volume_storage",schemaPath:"#/properties/volume_storage/dependentRequired",keyword:"dependentRequired",params:{property: "included_unit",
5
+ missingProperty: missing4,
6
+ depsCount: 1,
7
+ deps: "included_gb"},message:"must have property included_gb when property included_unit is present"}];return false;}}}}}}}}}}}}else {validate551.errors = [{instancePath:instancePath+"/volume_storage",schemaPath:"#/properties/volume_storage/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data.sources !== undefined){let data31 = data.sources;const _errs66 = errors;if(errors === _errs66){if(Array.isArray(data31)){if(data31.length < 1){validate551.errors = [{instancePath:instancePath+"/sources",schemaPath:"#/properties/sources/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid17 = true;const len1 = data31.length;for(let i2=0; i2<len1; i2++){let data32 = data31[i2];const _errs68 = errors;if(errors === _errs68){if(data32 && typeof data32 == "object" && !Array.isArray(data32)){let missing5;if(((data32.url === undefined) && (missing5 = "url")) || ((data32.quote === undefined) && (missing5 = "quote"))){validate551.errors = [{instancePath:instancePath+"/sources/" + i2,schemaPath:"#/properties/sources/items/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"}];return false;}else {if(data32.url !== undefined){let data33 = data32.url;const _errs70 = errors;if(errors === _errs70){if(typeof data33 === "string"){if(!pattern384.test(data33)){validate551.errors = [{instancePath:instancePath+"/sources/" + i2+"/url",schemaPath:"#/properties/sources/items/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://[^\\s]+$"},message:"must match pattern \""+"^https?://[^\\s]+$"+"\""}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/sources/" + i2+"/url",schemaPath:"#/properties/sources/items/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid18 = _errs70 === errors;}else {var valid18 = true;}if(valid18){if(data32.quote !== undefined){let data34 = data32.quote;const _errs72 = errors;if(errors === _errs72){if(typeof data34 === "string"){if(func1(data34) < 1){validate551.errors = [{instancePath:instancePath+"/sources/" + i2+"/quote",schemaPath:"#/properties/sources/items/properties/quote/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/sources/" + i2+"/quote",schemaPath:"#/properties/sources/items/properties/quote/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid18 = _errs72 === errors;}else {var valid18 = true;}}}}else {validate551.errors = [{instancePath:instancePath+"/sources/" + i2,schemaPath:"#/properties/sources/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid17 = _errs68 === errors;if(!valid17){break;}}}}else {validate551.errors = [{instancePath:instancePath+"/sources",schemaPath:"#/properties/sources/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs66 === errors;}else {var valid0 = true;}if(valid0){if(data.classes !== undefined){let data35 = data.classes;const _errs74 = errors;if(errors === _errs74){if(Array.isArray(data35)){if(data35.length < 1){validate551.errors = [{instancePath:instancePath+"/classes",schemaPath:"#/properties/classes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid19 = true;const len2 = data35.length;for(let i3=0; i3<len2; i3++){const _errs76 = errors;if(!(validate554(data35[i3], {instancePath:instancePath+"/classes/" + i3,parentData:data35,parentDataProperty:i3,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate554.errors : vErrors.concat(validate554.errors);errors = vErrors.length;}var valid19 = _errs76 === errors;if(!valid19){break;}}if(valid19){const _errs77 = errors;const len3 = data35.length;let valid20 = false;let count0 = 0;for(let i4=0; i4<len3; i4++){let data37 = data35[i4];const _errs78 = errors;if(errors === _errs78){if(data37 && typeof data37 == "object" && !Array.isArray(data37)){let missing6;if((data37.default === undefined) && (missing6 = "default")){const err0 = {instancePath:instancePath+"/classes/" + i4,schemaPath:"#/properties/classes/contains/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}else {const err1 = {instancePath:instancePath+"/classes/" + i4,schemaPath:"#/properties/classes/contains/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}var _valid0 = _errs78 === errors;if(_valid0){count0++;if(count0 > 1){valid20 = false;break;}valid20 = true;}}if(!valid20){validate551.errors = [{instancePath:instancePath+"/classes",schemaPath:"#/properties/classes/contains",keyword:"contains",params:{minContains: 1, maxContains: 1},message:"must contain at least 1 and no more than 1 valid item(s)"}];return false;}else {errors = _errs77;if(vErrors !== null){if(_errs77){vErrors.length = _errs77;}else {vErrors = null;}}}}}}else {validate551.errors = [{instancePath:instancePath+"/classes",schemaPath:"#/properties/classes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs74 === errors;}else {var valid0 = true;}if(valid0){if(data.exclusions !== undefined){let data38 = data.exclusions;const _errs80 = errors;if(errors === _errs80){if(Array.isArray(data38)){var valid21 = true;const len4 = data38.length;for(let i5=0; i5<len4; i5++){let data39 = data38[i5];const _errs82 = errors;if(errors === _errs82){if(typeof data39 === "string"){if(func1(data39) < 1){validate551.errors = [{instancePath:instancePath+"/exclusions/" + i5,schemaPath:"#/properties/exclusions/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/exclusions/" + i5,schemaPath:"#/properties/exclusions/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid21 = _errs82 === errors;if(!valid21){break;}}}else {validate551.errors = [{instancePath:instancePath+"/exclusions",schemaPath:"#/properties/exclusions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs80 === errors;}else {var valid0 = true;}if(valid0){if(data.coverage !== undefined){let data40 = data.coverage;const _errs84 = errors;if(errors === _errs84){if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.cpu !== undefined){let data41 = data40.cpu;const _errs86 = errors;const _errs87 = errors;if(errors === _errs87){if(data41 && typeof data41 == "object" && !Array.isArray(data41)){let missing7;if((((data41.treatment === undefined) && (missing7 = "treatment")) || ((data41.source === undefined) && (missing7 = "source"))) || ((data41.note === undefined) && (missing7 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/cpu",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"}];return false;}else {if(data41.treatment !== undefined){let data42 = data41.treatment;const _errs89 = errors;if(!(((data42 === "in_quote") || (data42 === "not_billed")) || (data42 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/cpu/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid24 = _errs89 === errors;}else {var valid24 = true;}if(valid24){if(data41.source !== undefined){let data43 = data41.source;const _errs90 = errors;if(errors === _errs90){if(typeof data43 === "string"){if(func1(data43) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/cpu/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/cpu/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid24 = _errs90 === errors;}else {var valid24 = true;}if(valid24){if(data41.note !== undefined){let data44 = data41.note;const _errs92 = errors;if(errors === _errs92){if(typeof data44 === "string"){if(func1(data44) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/cpu/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/cpu/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid24 = _errs92 === errors;}else {var valid24 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/cpu",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs86 === errors;}else {var valid22 = true;}if(valid22){if(data40.memory !== undefined){let data45 = data40.memory;const _errs94 = errors;const _errs95 = errors;if(errors === _errs95){if(data45 && typeof data45 == "object" && !Array.isArray(data45)){let missing8;if((((data45.treatment === undefined) && (missing8 = "treatment")) || ((data45.source === undefined) && (missing8 = "source"))) || ((data45.note === undefined) && (missing8 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/memory",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"}];return false;}else {if(data45.treatment !== undefined){let data46 = data45.treatment;const _errs97 = errors;if(!(((data46 === "in_quote") || (data46 === "not_billed")) || (data46 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/memory/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid26 = _errs97 === errors;}else {var valid26 = true;}if(valid26){if(data45.source !== undefined){let data47 = data45.source;const _errs98 = errors;if(errors === _errs98){if(typeof data47 === "string"){if(func1(data47) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/memory/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/memory/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid26 = _errs98 === errors;}else {var valid26 = true;}if(valid26){if(data45.note !== undefined){let data48 = data45.note;const _errs100 = errors;if(errors === _errs100){if(typeof data48 === "string"){if(func1(data48) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/memory/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/memory/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid26 = _errs100 === errors;}else {var valid26 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/memory",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs94 === errors;}else {var valid22 = true;}if(valid22){if(data40.disk !== undefined){let data49 = data40.disk;const _errs102 = errors;const _errs103 = errors;if(errors === _errs103){if(data49 && typeof data49 == "object" && !Array.isArray(data49)){let missing9;if((((data49.treatment === undefined) && (missing9 = "treatment")) || ((data49.source === undefined) && (missing9 = "source"))) || ((data49.note === undefined) && (missing9 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/disk",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing9},message:"must have required property '"+missing9+"'"}];return false;}else {if(data49.treatment !== undefined){let data50 = data49.treatment;const _errs105 = errors;if(!(((data50 === "in_quote") || (data50 === "not_billed")) || (data50 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/disk/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid28 = _errs105 === errors;}else {var valid28 = true;}if(valid28){if(data49.source !== undefined){let data51 = data49.source;const _errs106 = errors;if(errors === _errs106){if(typeof data51 === "string"){if(func1(data51) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/disk/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/disk/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid28 = _errs106 === errors;}else {var valid28 = true;}if(valid28){if(data49.note !== undefined){let data52 = data49.note;const _errs108 = errors;if(errors === _errs108){if(typeof data52 === "string"){if(func1(data52) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/disk/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/disk/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid28 = _errs108 === errors;}else {var valid28 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/disk",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs102 === errors;}else {var valid22 = true;}if(valid22){if(data40.creation !== undefined){let data53 = data40.creation;const _errs110 = errors;const _errs111 = errors;if(errors === _errs111){if(data53 && typeof data53 == "object" && !Array.isArray(data53)){let missing10;if((((data53.treatment === undefined) && (missing10 = "treatment")) || ((data53.source === undefined) && (missing10 = "source"))) || ((data53.note === undefined) && (missing10 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/creation",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing10},message:"must have required property '"+missing10+"'"}];return false;}else {if(data53.treatment !== undefined){let data54 = data53.treatment;const _errs113 = errors;if(!(((data54 === "in_quote") || (data54 === "not_billed")) || (data54 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/creation/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid30 = _errs113 === errors;}else {var valid30 = true;}if(valid30){if(data53.source !== undefined){let data55 = data53.source;const _errs114 = errors;if(errors === _errs114){if(typeof data55 === "string"){if(func1(data55) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/creation/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/creation/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid30 = _errs114 === errors;}else {var valid30 = true;}if(valid30){if(data53.note !== undefined){let data56 = data53.note;const _errs116 = errors;if(errors === _errs116){if(typeof data56 === "string"){if(func1(data56) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/creation/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/creation/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid30 = _errs116 === errors;}else {var valid30 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/creation",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs110 === errors;}else {var valid22 = true;}if(valid22){if(data40.egress !== undefined){let data57 = data40.egress;const _errs118 = errors;const _errs119 = errors;if(errors === _errs119){if(data57 && typeof data57 == "object" && !Array.isArray(data57)){let missing11;if((((data57.treatment === undefined) && (missing11 = "treatment")) || ((data57.source === undefined) && (missing11 = "source"))) || ((data57.note === undefined) && (missing11 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/egress",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing11},message:"must have required property '"+missing11+"'"}];return false;}else {if(data57.treatment !== undefined){let data58 = data57.treatment;const _errs121 = errors;if(!(((data58 === "in_quote") || (data58 === "not_billed")) || (data58 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/egress/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid32 = _errs121 === errors;}else {var valid32 = true;}if(valid32){if(data57.source !== undefined){let data59 = data57.source;const _errs122 = errors;if(errors === _errs122){if(typeof data59 === "string"){if(func1(data59) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/egress/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/egress/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid32 = _errs122 === errors;}else {var valid32 = true;}if(valid32){if(data57.note !== undefined){let data60 = data57.note;const _errs124 = errors;if(errors === _errs124){if(typeof data60 === "string"){if(func1(data60) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/egress/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/egress/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid32 = _errs124 === errors;}else {var valid32 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/egress",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs118 === errors;}else {var valid22 = true;}if(valid22){if(data40.snapshot_storage !== undefined){let data61 = data40.snapshot_storage;const _errs126 = errors;const _errs127 = errors;if(errors === _errs127){if(data61 && typeof data61 == "object" && !Array.isArray(data61)){let missing12;if((((data61.treatment === undefined) && (missing12 = "treatment")) || ((data61.source === undefined) && (missing12 = "source"))) || ((data61.note === undefined) && (missing12 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing12},message:"must have required property '"+missing12+"'"}];return false;}else {if(data61.treatment !== undefined){let data62 = data61.treatment;const _errs129 = errors;if(!(((data62 === "in_quote") || (data62 === "not_billed")) || (data62 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid34 = _errs129 === errors;}else {var valid34 = true;}if(valid34){if(data61.source !== undefined){let data63 = data61.source;const _errs130 = errors;if(errors === _errs130){if(typeof data63 === "string"){if(func1(data63) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid34 = _errs130 === errors;}else {var valid34 = true;}if(valid34){if(data61.note !== undefined){let data64 = data61.note;const _errs132 = errors;if(errors === _errs132){if(typeof data64 === "string"){if(func1(data64) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid34 = _errs132 === errors;}else {var valid34 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/snapshot_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs126 === errors;}else {var valid22 = true;}if(valid22){if(data40.image_storage !== undefined){let data65 = data40.image_storage;const _errs134 = errors;const _errs135 = errors;if(errors === _errs135){if(data65 && typeof data65 == "object" && !Array.isArray(data65)){let missing13;if((((data65.treatment === undefined) && (missing13 = "treatment")) || ((data65.source === undefined) && (missing13 = "source"))) || ((data65.note === undefined) && (missing13 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/image_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing13},message:"must have required property '"+missing13+"'"}];return false;}else {if(data65.treatment !== undefined){let data66 = data65.treatment;const _errs137 = errors;if(!(((data66 === "in_quote") || (data66 === "not_billed")) || (data66 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/image_storage/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid36 = _errs137 === errors;}else {var valid36 = true;}if(valid36){if(data65.source !== undefined){let data67 = data65.source;const _errs138 = errors;if(errors === _errs138){if(typeof data67 === "string"){if(func1(data67) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/image_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/image_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid36 = _errs138 === errors;}else {var valid36 = true;}if(valid36){if(data65.note !== undefined){let data68 = data65.note;const _errs140 = errors;if(errors === _errs140){if(typeof data68 === "string"){if(func1(data68) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/image_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/image_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid36 = _errs140 === errors;}else {var valid36 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/image_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs134 === errors;}else {var valid22 = true;}if(valid22){if(data40.volume_storage !== undefined){let data69 = data40.volume_storage;const _errs142 = errors;const _errs143 = errors;if(errors === _errs143){if(data69 && typeof data69 == "object" && !Array.isArray(data69)){let missing14;if((((data69.treatment === undefined) && (missing14 = "treatment")) || ((data69.source === undefined) && (missing14 = "source"))) || ((data69.note === undefined) && (missing14 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing14},message:"must have required property '"+missing14+"'"}];return false;}else {if(data69.treatment !== undefined){let data70 = data69.treatment;const _errs145 = errors;if(!(((data70 === "in_quote") || (data70 === "not_billed")) || (data70 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid38 = _errs145 === errors;}else {var valid38 = true;}if(valid38){if(data69.source !== undefined){let data71 = data69.source;const _errs146 = errors;if(errors === _errs146){if(typeof data71 === "string"){if(func1(data71) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid38 = _errs146 === errors;}else {var valid38 = true;}if(valid38){if(data69.note !== undefined){let data72 = data69.note;const _errs148 = errors;if(errors === _errs148){if(typeof data72 === "string"){if(func1(data72) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid38 = _errs148 === errors;}else {var valid38 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/volume_storage",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs142 === errors;}else {var valid22 = true;}if(valid22){if(data40.requests !== undefined){let data73 = data40.requests;const _errs150 = errors;const _errs151 = errors;if(errors === _errs151){if(data73 && typeof data73 == "object" && !Array.isArray(data73)){let missing15;if((((data73.treatment === undefined) && (missing15 = "treatment")) || ((data73.source === undefined) && (missing15 = "source"))) || ((data73.note === undefined) && (missing15 = "note"))){validate551.errors = [{instancePath:instancePath+"/coverage/requests",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/required",keyword:"required",params:{missingProperty: missing15},message:"must have required property '"+missing15+"'"}];return false;}else {if(data73.treatment !== undefined){let data74 = data73.treatment;const _errs153 = errors;if(!(((data74 === "in_quote") || (data74 === "not_billed")) || (data74 === "unbounded"))){validate551.errors = [{instancePath:instancePath+"/coverage/requests/treatment",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/treatment/enum",keyword:"enum",params:{allowedValues: schema816.properties.treatment.enum},message:"must be equal to one of the allowed values"}];return false;}var valid40 = _errs153 === errors;}else {var valid40 = true;}if(valid40){if(data73.source !== undefined){let data75 = data73.source;const _errs154 = errors;if(errors === _errs154){if(typeof data75 === "string"){if(func1(data75) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/requests/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/requests/source",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/source/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid40 = _errs154 === errors;}else {var valid40 = true;}if(valid40){if(data73.note !== undefined){let data76 = data73.note;const _errs156 = errors;if(errors === _errs156){if(typeof data76 === "string"){if(func1(data76) < 1){validate551.errors = [{instancePath:instancePath+"/coverage/requests/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/coverage/requests/note",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid40 = _errs156 === errors;}else {var valid40 = true;}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage/requests",schemaPath:"#/components/schemas/PriceVersionDocumentCoverageEntry/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs150 === errors;}else {var valid22 = true;}}}}}}}}}}else {validate551.errors = [{instancePath:instancePath+"/coverage",schemaPath:"#/properties/coverage/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs84 === errors;}else {var valid0 = true;}if(valid0){if(data.open_questions !== undefined){let data77 = data.open_questions;const _errs158 = errors;if(errors === _errs158){if(Array.isArray(data77)){var valid41 = true;const len5 = data77.length;for(let i6=0; i6<len5; i6++){let data78 = data77[i6];const _errs160 = errors;if(errors === _errs160){if(typeof data78 === "string"){if(func1(data78) < 1){validate551.errors = [{instancePath:instancePath+"/open_questions/" + i6,schemaPath:"#/properties/open_questions/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate551.errors = [{instancePath:instancePath+"/open_questions/" + i6,schemaPath:"#/properties/open_questions/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid41 = _errs160 === errors;if(!valid41){break;}}}else {validate551.errors = [{instancePath:instancePath+"/open_questions",schemaPath:"#/properties/open_questions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs158 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}else {validate551.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate551.errors = vErrors;return errors === 0;}validate551.evaluated = {"props":{"provider":true,"version":true,"effective_from":true,"retrieved_at":true,"boundary":true,"supersedes":true,"month_hours":true,"snapshot_storage":true,"image_storage":true,"volume_storage":true,"sources":true,"classes":true,"exclusions":true,"coverage":true,"open_questions":true},"dynamicProps":false,"dynamicItems":false};function validate550(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate550.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((((data.provider === undefined) && (missing0 = "provider")) || ((data.version === undefined) && (missing0 = "version"))) || ((data.effective_from === undefined) && (missing0 = "effective_from"))) || ((data.effective_to === undefined) && (missing0 = "effective_to"))) || ((data.last_confirmed_at === undefined) && (missing0 = "last_confirmed_at"))) || ((data.document === undefined) && (missing0 = "document"))){validate550.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.provider !== undefined){let data0 = data.provider;const _errs1 = errors;if(errors === _errs1){if(typeof data0 === "string"){if(!pattern42.test(data0)){validate550.errors = [{instancePath:instancePath+"/provider",schemaPath:"#/properties/provider/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*$"+"\""}];return false;}}else {validate550.errors = [{instancePath:instancePath+"/provider",schemaPath:"#/properties/provider/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.version !== undefined){let data1 = data.version;const _errs3 = errors;if(errors === _errs3){if(typeof data1 === "string"){if(!pattern376.test(data1)){validate550.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(-[0-9]{6}Z)?$"},message:"must match pattern \""+"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(-[0-9]{6}Z)?$"+"\""}];return false;}}else {validate550.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.effective_from !== undefined){let data2 = data.effective_from;const _errs5 = errors;if(errors === _errs5){if(errors === _errs5){if(typeof data2 === "string"){if(!(formats0.validate(data2))){validate550.errors = [{instancePath:instancePath+"/effective_from",schemaPath:"#/properties/effective_from/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}else {validate550.errors = [{instancePath:instancePath+"/effective_from",schemaPath:"#/properties/effective_from/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.effective_to !== undefined){let data3 = data.effective_to;const _errs7 = errors;if((typeof data3 !== "string") && (data3 !== null)){validate550.errors = [{instancePath:instancePath+"/effective_to",schemaPath:"#/properties/effective_to/type",keyword:"type",params:{type: schema770.properties.effective_to.type},message:"must be string,null"}];return false;}if(errors === _errs7){if(errors === _errs7){if(typeof data3 === "string"){if(!(formats0.validate(data3))){validate550.errors = [{instancePath:instancePath+"/effective_to",schemaPath:"#/properties/effective_to/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.last_confirmed_at !== undefined){let data4 = data.last_confirmed_at;const _errs9 = errors;if(errors === _errs9){if(errors === _errs9){if(typeof data4 === "string"){if(!(formats0.validate(data4))){validate550.errors = [{instancePath:instancePath+"/last_confirmed_at",schemaPath:"#/properties/last_confirmed_at/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}else {validate550.errors = [{instancePath:instancePath+"/last_confirmed_at",schemaPath:"#/properties/last_confirmed_at/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.document !== undefined){const _errs11 = errors;if(!(validate551(data.document, {instancePath:instancePath+"/document",parentData:data,parentDataProperty:"document",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate551.errors : vErrors.concat(validate551.errors);errors = vErrors.length;}var valid0 = _errs11 === errors;}else {var valid0 = true;}}}}}}}}else {validate550.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate550.errors = vErrors;return errors === 0;}validate550.evaluated = {"props":{"provider":true,"version":true,"effective_from":true,"effective_to":true,"last_confirmed_at":true,"document":true},"dynamicProps":false,"dynamicItems":false};function validate549(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate549.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.data === undefined) && (missing0 = "data")){validate549.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.data !== undefined){let data0 = data.data;const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){var valid1 = true;const len0 = data0.length;for(let i0=0; i0<len0; i0++){const _errs3 = errors;if(!(validate550(data0[i0], {instancePath:instancePath+"/data/" + i0,parentData:data0,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate550.errors : vErrors.concat(validate550.errors);errors = vErrors.length;}var valid1 = _errs3 === errors;if(!valid1){break;}}}else {validate549.errors = [{instancePath:instancePath+"/data",schemaPath:"#/properties/data/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}else {validate549.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate549.errors = vErrors;return errors === 0;}validate549.evaluated = {"props":{"data":true},"dynamicProps":false,"dynamicItems":false};
@@ -0,0 +1 @@
1
+ export declare const validate0: (value: unknown) => boolean;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ module.exports = require("./compact.cjs")({"roots":{"validate0":{"$":0}},"definitions":[{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$":1}}}},{"type":"object","required":["provider","version","effective_from","effective_to","last_confirmed_at","document"],"properties":{"provider":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"version":{"type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(-[0-9]{6}Z)?$"},"effective_from":{"type":"string","format":"date-time"},"effective_to":{"type":["string","null"],"format":"date-time"},"last_confirmed_at":{"type":"string","format":"date-time"},"document":{"$":2}}},{"type":"object","required":["provider","version","effective_from","retrieved_at","sources","classes","exclusions","open_questions"],"properties":{"provider":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"version":{"type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"},"effective_from":{"$":3},"retrieved_at":{"$":3},"boundary":{"$":4},"supersedes":{"type":"array","uniqueItems":true,"items":{"$":5}},"month_hours":{"$":6},"snapshot_storage":{"type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$":6},"per":{"enum":["gb-month","gib-month","gib-hour"]},"rate_source":{"enum":["published_snapshot_rate","published_disk_rate_proxy"]},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$":3},"note":{"type":"string","minLength":1}}},"image_storage":{"type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$":6},"per":{"enum":["gb-month","gib-month"]},"rate_source":{"const":"published_image_rate"},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$":3},"note":{"type":"string","minLength":1}}},"volume_storage":{"type":"object","required":["usd","per","rate_source","source_url","checked_at"],"properties":{"usd":{"$":6},"per":{"enum":["gb-month","gib-month"]},"rate_source":{"const":"published_volume_rate"},"source_url":{"type":"string","pattern":"^https?://[^\\s]+$"},"checked_at":{"$":3},"included_gb":{"$":6},"included_unit":{"const":"GiB"},"note":{"type":"string","minLength":1}},"dependentRequired":{"included_gb":["included_unit"],"included_unit":["included_gb"]}},"sources":{"type":"array","minItems":1,"items":{"type":"object","required":["url","quote"],"properties":{"url":{"type":"string","pattern":"^https?://[^\\s]+$"},"quote":{"type":"string","minLength":1}}}},"classes":{"type":"array","minItems":1,"items":{"$":7},"contains":{"type":"object","required":["default"]},"minContains":1,"maxContains":1},"exclusions":{"type":"array","items":{"type":"string","minLength":1}},"coverage":{"type":"object","properties":{"cpu":{"$":24},"memory":{"$":24},"disk":{"$":24},"creation":{"$":24},"egress":{"$":24},"snapshot_storage":{"$":24},"image_storage":{"$":24},"volume_storage":{"$":24},"requests":{"$":24}}},"open_questions":{"type":"array","items":{"type":"string","minLength":1}}}},{"type":"string","format":"date-time","pattern":"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"},{"type":"object","required":["start","end","checked"],"properties":{"start":{"enum":["create_sent","create_returned","destroy_sent","destroy_returned","provider","unknown"]},"end":{"enum":["create_sent","create_returned","destroy_sent","destroy_returned","provider","unknown"]},"checked":{"type":"boolean"},"evidence":{"type":["string","null"],"minLength":1}},"allOf":[{"if":{"properties":{"checked":{"const":true}},"required":["checked"]},"then":{"required":["evidence"],"properties":{"evidence":{"type":"string","minLength":1}}}}]},{"type":"string","pattern":"^[a-z][a-z0-9-]*@[0-9]{4}-[0-9]{2}-[0-9]{2}(?:-([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z)?$"},{"type":"string","pattern":"^(0\\.[0-9]*[1-9][0-9]*|[1-9][0-9]*(\\.[0-9]+)?)$"},{"type":"object","required":["name","rates","meter"],"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$"},"default":{"const":true},"covers":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$"}},"rates":{"$":8},"meter":{"$":19},"region_multipliers":{"type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z0-9][a-z0-9._-]*$"},"additionalProperties":{"$":6}}}},{"type":"object","minProperties":1,"properties":{"cpu":{"$":9},"memory":{"$":11},"disk":{"$":11},"gpu":{"$":12},"machine":{"$":14},"creation":{"$":16},"egress":{"$":17},"snapshot_storage":{"$":18}}},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"enum":["vcpu-second","vcpu-hour","core-second","core-hour"]},"size_per_unit":{"$":6}},"if":{"properties":{"per":{"enum":["core-second","core-hour"]}},"required":["per"]},"then":{"required":["size_per_unit"]},"else":{"not":{"required":["size_per_unit"]}}},{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$"},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"enum":["gib-second","gib-hour","gb-second","gb-hour"]},"size_per_unit":{"$":6}},"if":{"properties":{"per":{"enum":["gb-second","gb-hour"]}},"required":["per"]},"then":{"required":["size_per_unit"]},"else":{"not":{"required":["size_per_unit"]}}},{"type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9-]*$"},"additionalProperties":{"$":13}},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"enum":["gpu-second","gpu-hour"]}}},{"type":"object","minProperties":1,"propertyNames":{"pattern":"^[a-z0-9][a-z0-9._-]*$"},"additionalProperties":{"$":15}},{"type":"object","required":["usd","per","cpu","memory_gib"],"properties":{"usd":{"$":10},"per":{"enum":["machine-second","machine-hour"]},"cpu":{"$":6},"memory_gib":{"$":6},"note":{"type":"string","minLength":1}}},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"enum":["creation","million-creations"]}}},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"enum":["gib","gb"]}}},{"type":"object","required":["usd","per"],"properties":{"usd":{"$":10},"per":{"const":"gb-month"}}},{"type":"object","patternProperties":{"^(cpu|gpu|machine)$":{"$":20},"^memory$":{"$":21},"^disk$":{"$":22},"^snapshot_storage$":{"$":23}}},{"type":"object","required":["basis","billed_states"],"properties":{"basis":{"enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"$":10}}},{"type":"object","required":["basis","billed_states"],"properties":{"basis":{"enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"$":10},"memory_steps_mib":{"type":"array","minItems":1,"uniqueItems":true,"items":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}}}}},{"type":"object","required":["basis","billed_states"],"properties":{"basis":{"enum":["allocated","active","larger_of_request_and_use"]},"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}},"minimum_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"increment_seconds":{"minimum":1,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":1}},"free_quantity":{"$":10},"disk_gib_per_memory_gib":{"$":6}}},{"type":"object","required":["billed_states"],"properties":{"billed_states":{"type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["running","paused","stopped"]}}}},{"type":"object","required":["treatment","source","note"],"properties":{"treatment":{"enum":["in_quote","not_billed","unbounded"]},"source":{"type":"string","minLength":1},"note":{"type":"string","minLength":1}}}]});
@@ -0,0 +1 @@
1
+ export declare const validate0: (value: unknown) => boolean;
@@ -0,0 +1 @@
1
+ "use strict";exports.validate0 = validate244;const schema248 = {"type":"object","required":["id"],"properties":{"id":{"type":"string","minLength":1}}};const func1 = require("ajv/dist/runtime/ucs2length").default;function validate244(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate244.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.id === undefined) && (missing0 = "id")){validate244.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.id !== undefined){let data0 = data.id;const _errs1 = errors;if(errors === _errs1){if(typeof data0 === "string"){if(func1(data0) < 1){validate244.errors = [{instancePath:instancePath+"/id",schemaPath:"#/properties/id/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate244.errors = [{instancePath:instancePath+"/id",schemaPath:"#/properties/id/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}else {validate244.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate244.errors = vErrors;return errors === 0;}validate244.evaluated = {"props":{"id":true},"dynamicProps":false,"dynamicItems":false};exports.validate1 = validate245;const schema249 = {"type":"object","required":["stdout_base64","stderr_base64","next_stdout","next_stderr","exit_code"],"properties":{"stdout_base64":{"type":"string","contentEncoding":"base64"},"stderr_base64":{"type":"string","contentEncoding":"base64"},"next_stdout":{"minimum":0,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":0}},"next_stderr":{"minimum":0,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":0}},"exit_code":{"description":"Set only after the process ended and both output streams were read to their ends.","allOf":[{"anyOf":[{"type":["integer","null"]},{"x-boxrouter-bigint":true}]}]}}};function validate245(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate245.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((((data.stdout_base64 === undefined) && (missing0 = "stdout_base64")) || ((data.stderr_base64 === undefined) && (missing0 = "stderr_base64"))) || ((data.next_stdout === undefined) && (missing0 = "next_stdout"))) || ((data.next_stderr === undefined) && (missing0 = "next_stderr"))) || ((data.exit_code === undefined) && (missing0 = "exit_code"))){validate245.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.stdout_base64 !== undefined){const _errs1 = errors;if(typeof data.stdout_base64 !== "string"){validate245.errors = [{instancePath:instancePath+"/stdout_base64",schemaPath:"#/properties/stdout_base64/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.stderr_base64 !== undefined){const _errs3 = errors;if(typeof data.stderr_base64 !== "string"){validate245.errors = [{instancePath:instancePath+"/stderr_base64",schemaPath:"#/properties/stderr_base64/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.next_stdout !== undefined){let data2 = data.next_stdout;const _errs5 = errors;const _errs6 = errors;const _errs7 = errors;let valid2 = false;const _errs8 = errors;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err0 = {instancePath:instancePath+"/next_stdout",schemaPath:"#/properties/next_stdout/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs8 === errors;valid2 = valid2 || _valid0;const _errs10 = errors;if(typeof data2 !== "bigint"){const err1 = {instancePath:instancePath+"/next_stdout",schemaPath:"#/properties/next_stdout/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}var _valid0 = _errs10 === errors;valid2 = valid2 || _valid0;if(!valid2){const err2 = {instancePath:instancePath+"/next_stdout",schemaPath:"#/properties/next_stdout/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate245.errors = vErrors;return false;}else {errors = _errs7;if(vErrors !== null){if(_errs7){vErrors.length = _errs7;}else {vErrors = null;}}}var valid1 = _errs6 === errors;if(valid1){if(typeof data2 === "bigint"){if(data2 < 0){validate245.errors = [{instancePath:instancePath+"/next_stdout",schemaPath:"#/properties/next_stdout/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs5){if((typeof data2 == "number") && (isFinite(data2))){if(data2 < 0 || isNaN(data2)){validate245.errors = [{instancePath:instancePath+"/next_stdout",schemaPath:"#/properties/next_stdout/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.next_stderr !== undefined){let data3 = data.next_stderr;const _errs11 = errors;const _errs12 = errors;const _errs13 = errors;let valid4 = false;const _errs14 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err3 = {instancePath:instancePath+"/next_stderr",schemaPath:"#/properties/next_stderr/allOf/0/anyOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid1 = _errs14 === errors;valid4 = valid4 || _valid1;const _errs16 = errors;if(typeof data3 !== "bigint"){const err4 = {instancePath:instancePath+"/next_stderr",schemaPath:"#/properties/next_stderr/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var _valid1 = _errs16 === errors;valid4 = valid4 || _valid1;if(!valid4){const err5 = {instancePath:instancePath+"/next_stderr",schemaPath:"#/properties/next_stderr/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate245.errors = vErrors;return false;}else {errors = _errs13;if(vErrors !== null){if(_errs13){vErrors.length = _errs13;}else {vErrors = null;}}}var valid3 = _errs12 === errors;if(valid3){if(typeof data3 === "bigint"){if(data3 < 0){validate245.errors = [{instancePath:instancePath+"/next_stderr",schemaPath:"#/properties/next_stderr/x-boxrouter-bigint-range",keyword:"x-boxrouter-bigint-range",params:{},message:"must pass \"x-boxrouter-bigint-range\" keyword validation"}];return false;}}}if(errors === _errs11){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 0 || isNaN(data3)){validate245.errors = [{instancePath:instancePath+"/next_stderr",schemaPath:"#/properties/next_stderr/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.exit_code !== undefined){let data4 = data.exit_code;const _errs17 = errors;const _errs19 = errors;let valid6 = false;const _errs20 = errors;if((!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) && (data4 !== null)){const err6 = {instancePath:instancePath+"/exit_code",schemaPath:"#/properties/exit_code/allOf/0/anyOf/0/type",keyword:"type",params:{type: schema249.properties.exit_code.allOf[0].anyOf[0].type},message:"must be integer,null"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}var _valid2 = _errs20 === errors;valid6 = valid6 || _valid2;const _errs22 = errors;if(typeof data4 !== "bigint"){const err7 = {instancePath:instancePath+"/exit_code",schemaPath:"#/properties/exit_code/allOf/0/anyOf/1/x-boxrouter-bigint",keyword:"x-boxrouter-bigint",params:{},message:"must pass \"x-boxrouter-bigint\" keyword validation"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var _valid2 = _errs22 === errors;valid6 = valid6 || _valid2;if(!valid6){const err8 = {instancePath:instancePath+"/exit_code",schemaPath:"#/properties/exit_code/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;validate245.errors = vErrors;return false;}else {errors = _errs19;if(vErrors !== null){if(_errs19){vErrors.length = _errs19;}else {vErrors = null;}}}var valid0 = _errs17 === errors;}else {var valid0 = true;}}}}}}}else {validate245.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate245.errors = vErrors;return errors === 0;}validate245.evaluated = {"props":{"stdout_base64":true,"stderr_base64":true,"next_stdout":true,"next_stderr":true,"exit_code":true},"dynamicProps":false,"dynamicItems":false};
@@ -0,0 +1,2 @@
1
+ export declare const validate0: (value: unknown) => boolean;
2
+ export declare const validate1: (value: unknown) => boolean;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ module.exports = require("./compact.cjs")({"roots":{"validate0":{"$":0},"validate1":{"$":1}},"definitions":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","minLength":1}}},{"type":"object","required":["stdout_base64","stderr_base64","next_stdout","next_stderr","exit_code"],"properties":{"stdout_base64":{"type":"string"},"stderr_base64":{"type":"string"},"next_stdout":{"minimum":0,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":0}},"next_stderr":{"minimum":0,"allOf":[{"anyOf":[{"type":"integer"},{"x-boxrouter-bigint":true}]}],"x-boxrouter-bigint-range":{"minimum":0}},"exit_code":{"allOf":[{"anyOf":[{"type":["integer","null"]},{"x-boxrouter-bigint":true}]}]}}}]});
@@ -0,0 +1,2 @@
1
+ export declare const validate0: (value: unknown) => boolean;
2
+ export declare const validate1: (value: unknown) => boolean;