@akashnetwork/chain-sdk 1.0.0-alpha.41 → 1.0.0-alpha.43

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 (295) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +328 -5
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +36 -19
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +6 -0
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +18 -2
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +943 -0
  10. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +7 -0
  11. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +50 -0
  12. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +7 -0
  13. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs +159 -2
  14. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +248 -0
  16. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +7 -0
  17. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +6 -0
  18. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +139 -1
  20. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +9 -0
  22. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +266 -0
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +71 -2
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +417 -0
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +7 -0
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +321 -0
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +96 -0
  32. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +7 -0
  33. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +132 -0
  34. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +7 -0
  35. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +88 -1
  36. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +462 -1
  38. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  39. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +36 -0
  40. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  41. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +25 -0
  42. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  43. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +2525 -0
  44. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +7 -0
  45. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +253 -0
  46. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +7 -0
  47. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +2774 -0
  48. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +7 -0
  49. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +1044 -0
  50. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +7 -0
  51. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +1559 -0
  52. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +7 -0
  53. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +147 -0
  54. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +7 -0
  55. package/dist/cjs/{sdl/types.cjs → generated/protos/akash/verification/v1/service.cjs} +3 -3
  56. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +7 -0
  57. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +190 -0
  58. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +7 -0
  59. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +2018 -0
  60. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +7 -0
  61. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +1071 -0
  62. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +7 -0
  63. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +148 -0
  64. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +7 -0
  65. package/dist/cjs/generated/protos/index.akash.v1.cjs +166 -25
  66. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  67. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +25 -0
  68. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  69. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
  70. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  71. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +9 -0
  72. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  73. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
  74. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
  75. package/dist/cjs/sdl/duration.cjs +44 -0
  76. package/dist/cjs/sdl/duration.cjs.map +7 -0
  77. package/dist/cjs/sdl/httpTimeout.cjs +59 -0
  78. package/dist/cjs/sdl/httpTimeout.cjs.map +7 -0
  79. package/dist/cjs/sdl/index.cjs +0 -2
  80. package/dist/cjs/sdl/index.cjs.map +2 -2
  81. package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -1
  82. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  83. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +11 -0
  84. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  85. package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
  86. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  87. package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
  88. package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
  89. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
  90. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  91. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
  92. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  93. package/dist/esm/chunk-2NPYA3YV.js +1563 -0
  94. package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
  95. package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
  96. package/dist/esm/chunk-474YCD2T.js +356 -0
  97. package/dist/esm/chunk-474YCD2T.js.map +7 -0
  98. package/dist/esm/chunk-4CTTYO4O.js +890 -0
  99. package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
  100. package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
  101. package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
  102. package/dist/esm/{chunk-UHI2V2WP.js → chunk-5VWXQLXG.js} +1331 -489
  103. package/dist/esm/chunk-5VWXQLXG.js.map +7 -0
  104. package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
  105. package/dist/esm/chunk-AIWCRXMP.js +672 -0
  106. package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
  107. package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
  108. package/dist/esm/chunk-BI4YL5KH.js +2742 -0
  109. package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
  110. package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
  111. package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
  112. package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
  113. package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
  114. package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
  115. package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
  116. package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
  117. package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
  118. package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
  119. package/dist/esm/chunk-IFKY7FXY.js +484 -0
  120. package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
  121. package/dist/esm/chunk-J4CJEGEM.js +3016 -0
  122. package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
  123. package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
  124. package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
  125. package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
  126. package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
  127. package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
  128. package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
  129. package/dist/esm/chunk-PEHPXXTS.js +1053 -0
  130. package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
  131. package/dist/esm/chunk-PTMMQODC.js +760 -0
  132. package/dist/esm/chunk-PTMMQODC.js.map +7 -0
  133. package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
  134. package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
  135. package/dist/esm/chunk-PYD5MY63.js.map +7 -0
  136. package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
  137. package/dist/esm/chunk-SK7LOVVI.js +660 -0
  138. package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
  139. package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
  140. package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
  141. package/dist/esm/chunk-VYCICKFV.js +698 -0
  142. package/dist/esm/chunk-VYCICKFV.js.map +7 -0
  143. package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
  144. package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
  145. package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
  146. package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
  147. package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
  148. package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
  149. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  150. package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
  151. package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
  152. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  153. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  154. package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
  155. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
  156. package/dist/esm/index.js +54 -36
  157. package/dist/esm/index.js.map +2 -2
  158. package/dist/esm/index.web.js +14 -13
  159. package/dist/esm/index.web.js.map +1 -1
  160. package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
  161. package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
  162. package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
  163. package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
  164. package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
  165. package/dist/esm/query_akash-KU4YCMUU.js +85 -0
  166. package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
  167. package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
  168. package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
  169. package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
  170. package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
  171. package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
  172. package/dist/esm/query_akash-XYSUQTZC.js +164 -0
  173. package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
  174. package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
  175. package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
  176. package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
  177. package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
  178. package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
  179. package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
  180. package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
  181. package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
  182. package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
  183. package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
  184. package/dist/esm/service_akash-KYLB3OP3.js +78 -0
  185. package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
  186. package/dist/esm/service_akash-LJBOWZZG.js +221 -0
  187. package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
  188. package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
  189. package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
  190. package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
  191. package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
  192. package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
  193. package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
  194. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
  195. package/dist/sdl-schema.yaml +84 -8
  196. package/dist/tsconfig.build.tsbuildinfo +1 -1
  197. package/dist/types/generated/createNodeSDK.d.ts +473 -0
  198. package/dist/types/generated/createProviderSDK.d.ts +31 -0
  199. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
  200. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
  201. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
  202. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
  203. package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
  204. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
  205. package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
  206. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
  207. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
  208. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
  209. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
  210. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
  211. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
  212. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
  213. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
  214. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
  215. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
  216. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
  217. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
  218. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
  219. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
  220. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
  221. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
  222. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
  223. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
  224. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
  225. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
  226. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
  227. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
  228. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
  229. package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
  230. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
  231. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  232. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  233. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  234. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
  235. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
  236. package/dist/types/sdl/duration.d.ts +13 -0
  237. package/dist/types/sdl/httpTimeout.d.ts +10 -0
  238. package/dist/types/sdl/index.d.ts +0 -1
  239. package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
  240. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
  241. package/package.json +1 -1
  242. package/dist/cjs/sdl/types.cjs.map +0 -7
  243. package/dist/esm/chunk-C3WV6GJ6.js +0 -234
  244. package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
  245. package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
  246. package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
  247. package/dist/esm/chunk-E7KECYS7.js.map +0 -7
  248. package/dist/esm/chunk-IVLF3VVZ.js +0 -364
  249. package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
  250. package/dist/esm/chunk-MV27RM25.js +0 -368
  251. package/dist/esm/chunk-MV27RM25.js.map +0 -7
  252. package/dist/esm/chunk-S2CZQ6AM.js +0 -211
  253. package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
  254. package/dist/esm/chunk-SXGU4O34.js +0 -258
  255. package/dist/esm/chunk-SXGU4O34.js.map +0 -7
  256. package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
  257. package/dist/esm/chunk-V42TLXWK.js +0 -177
  258. package/dist/esm/chunk-V42TLXWK.js.map +0 -7
  259. package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
  260. package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
  261. package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
  262. package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
  263. package/dist/esm/service_akash-5AUMDLU5.js +0 -46
  264. package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
  265. package/dist/types/sdl/types.d.ts +0 -305
  266. /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
  267. /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
  268. /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
  269. /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
  270. /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
  271. /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
  272. /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
  273. /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
  274. /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
  275. /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
  276. /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
  277. /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
  278. /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
  279. /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
  280. /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
  281. /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
  282. /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
  283. /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
  284. /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
  285. /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
  286. /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
  287. /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
  288. /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
  289. /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
  290. /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
  291. /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
  292. /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
  293. /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
  294. /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
  295. /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
@@ -7,14 +7,14 @@ import {
7
7
  ServiceParams,
8
8
  StorageParams,
9
9
  TEEParams
10
- } from "./chunk-CVX7ZJQR.js";
10
+ } from "./chunk-XP2XNYEA.js";
11
11
  import {
12
12
  TxRaw
13
13
  } from "./chunk-3M6OSHK2.js";
14
14
  import {
15
15
  GroupSpec,
16
16
  ResourceUnit
17
- } from "./chunk-SGDEIQ7L.js";
17
+ } from "./chunk-Y7BVCD32.js";
18
18
  import {
19
19
  CPU,
20
20
  Endpoint,
@@ -22,14 +22,18 @@ import {
22
22
  Memory,
23
23
  Resources,
24
24
  Storage
25
- } from "./chunk-ZGK4PJCD.js";
25
+ } from "./chunk-BQNJHJXY.js";
26
26
  import {
27
27
  DeploymentReclamation
28
28
  } from "./chunk-W4ACGFCN.js";
29
29
  import {
30
30
  PlacementRequirements,
31
- SignedBy
32
- } from "./chunk-S2CZQ6AM.js";
31
+ SignedBy,
32
+ VerificationRequirement
33
+ } from "./chunk-474YCD2T.js";
34
+ import {
35
+ verificationTierFromJSON
36
+ } from "./chunk-PEHPXXTS.js";
33
37
  import {
34
38
  Duration
35
39
  } from "./chunk-RAWXZV6K.js";
@@ -71,16 +75,17 @@ var require_ucs2length = __commonJS({
71
75
  }
72
76
  });
73
77
  var validate = validate27;
74
- var schema28 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageRamClassMustNotBePersistent": { "description": "RAM storage class must not have persistent=true", "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] } }, "storageNonRamClassRequiresPersistent": { "description": "Non-RAM storage classes (beta1, beta2, beta3, default) require persistent=true", "if": { "properties": { "class": { "enum": ["beta1", "beta2", "beta3", "default"] } }, "required": ["class"] }, "then": { "properties": { "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["persistent"] } }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "allOf": [{ "$ref": "#/definitions/storageRamClassMustNotBePersistent" }, { "$ref": "#/definitions/storageNonRamClassRequiresPersistent" }], "required": ["class", "persistent"], "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "gpuUnitsGt0RequiresAttributes": { "description": "GPU units > 0 requires attributes to be present", "if": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] }, "then": { "required": ["attributes"] } }, "gpuAttributesRequireUnitsGt0": { "description": "GPU attributes present requires units > 0", "if": { "required": ["attributes"] }, "then": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] } }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" }, "interconnect": { "description": "Opt this resource into GPU interconnect.\nAccepts two forms:\n - `[]` (empty sequence) \u2014 implicit group,\n the parser auto-names it `auto` within\n the placement. All services that opt in\n with `[]` under one placement land in\n the same `auto` group.\n - `{ group: <name> }` \u2014 explicit named\n group. The name `auto` is reserved.\nThe bare boolean `true` is no longer\naccepted. Fabric (InfiniBand vs RoCE) is\nchosen by the provider, not the SDL.\n", "oneOf": [{ "type": "array", "maxItems": 0 }, { "additionalProperties": false, "properties": { "group": { "type": "string", "minLength": 1 } }, "required": ["group"], "type": "object" }] } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "allOf": [{ "$ref": "#/definitions/gpuUnitsGt0RequiresAttributes" }, { "$ref": "#/definitions/gpuAttributesRequireUnitsGt0" }], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "read_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Read timeout in milliseconds (max 60 seconds)" }, "send_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Send timeout in milliseconds (max 60 seconds)" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" } }, { "type": "null" }] }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs", "events"] }, "type": "array" } }, "type": "object" }, "tee": { "type": "string", "enum": ["cpu", "cpu-gpu"] } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "reclamation": { "description": "Deployment-level reclamation requirements (optional). When set, providers must offer a reclamation window meeting or exceeding the specified minimum to bid on this deployment.", "additionalProperties": false, "properties": { "min_window": { "type": "string", "pattern": "^[1-9][0-9]*(s|m|h)$", "description": 'Minimum reclamation window the tenant requires, as a whole number followed by a unit (s, m, or h). E.g. "1h", "24h", "720h".' } }, "required": ["min_window"], "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
78
+ var schema28 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "httpTimeout": { "description": "HTTP timeout. Integers and unitless strings are milliseconds; duration strings use ms, s, m, or h. The normalized value must fit uint32 milliseconds.", "oneOf": [{ "type": "integer", "minimum": 0, "maximum": 4294967295 }, { "type": "string", "pattern": "^[0-9]+(ms|s|m|h)?$" }] }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageRamClassMustNotBePersistent": { "description": "RAM storage class must not have persistent=true", "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] } }, "storageNonRamClassRequiresPersistent": { "description": "Non-RAM storage classes (beta1, beta2, beta3, default) require persistent=true", "if": { "properties": { "class": { "enum": ["beta1", "beta2", "beta3", "default"] } }, "required": ["class"] }, "then": { "properties": { "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["persistent"] } }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "allOf": [{ "$ref": "#/definitions/storageRamClassMustNotBePersistent" }, { "$ref": "#/definitions/storageNonRamClassRequiresPersistent" }], "required": ["class", "persistent"], "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "gpuUnitsGt0RequiresAttributes": { "description": "GPU units > 0 requires attributes to be present", "if": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] }, "then": { "required": ["attributes"] } }, "gpuAttributesRequireUnitsGt0": { "description": "GPU attributes present requires units > 0", "if": { "required": ["attributes"] }, "then": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] } }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } }, "verificationTierZeroAllowsNoFilters": { "description": "Verification tier 0 cannot be combined with filters", "if": { "properties": { "min_tier": { "const": 0 } }, "required": ["min_tier"] }, "then": { "properties": { "capabilities": { "maxItems": 0 }, "auditors": { "maxItems": 0 }, "min_auditor_count": { "maximum": 0 } } } }, "verificationRequirement": { "description": "Optional verification requirements that providers must satisfy to bid\non this placement. Omitting the block disables verification filtering.\n", "additionalProperties": false, "allOf": [{ "$ref": "#/definitions/verificationTierZeroAllowsNoFilters" }], "properties": { "min_tier": { "description": "Minimum verification tier required of bidding providers. 0 = no\nrequirement (TierUnspecified) and cannot be combined with\ncapabilities, auditors, or min_auditor_count. Valid values are 0..4.\n", "type": "integer", "minimum": 0, "maximum": 4 }, "capabilities": { "description": "Optional capability flags the tenant requires bidders to assert. Each\nentry must be one of the recognized SDL capability names.\n", "type": "array", "items": { "enum": ["tee_hardware_attestation", "confidential_computing", "persistent_storage", "bare_metal"], "type": "string" } }, "auditors": { "description": "Optional list of specific auditor bech32 addresses; the list is\nevaluated according to auditor_mode.\n", "type": "array", "items": { "type": "string", "minLength": 1 } }, "auditor_mode": { "description": 'How the auditors list is evaluated. Omitting the field is equivalent\nto "any".\n', "enum": ["any", "all"], "type": "string" }, "min_auditor_count": { "description": "Minimum number of independent qualifying auditors that must have\nattested the provider, independent of the auditors list.\n", "type": "integer", "minimum": 0 } }, "required": ["min_tier"], "type": "object" } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" }, "interconnect": { "description": "Opt this resource into GPU interconnect.\nAccepts two forms:\n - `[]` (empty sequence) \u2014 implicit group,\n the parser auto-names it `auto` within\n the placement. All services that opt in\n with `[]` under one placement land in\n the same `auto` group.\n - `{ group: <name> }` \u2014 explicit named\n group. The name `auto` is reserved.\nThe bare boolean `true` is no longer\naccepted. Fabric (InfiniBand vs RoCE) is\nchosen by the provider, not the SDL.\n", "oneOf": [{ "type": "array", "maxItems": 0 }, { "additionalProperties": false, "properties": { "group": { "type": "string", "minLength": 1 } }, "required": ["group"], "type": "object" }] } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "allOf": [{ "$ref": "#/definitions/gpuUnitsGt0RequiresAttributes" }, { "$ref": "#/definitions/gpuAttributesRequireUnitsGt0" }], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "verification": { "$ref": "#/definitions/verificationRequirement" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "read_timeout": { "$ref": "#/definitions/httpTimeout" }, "send_timeout": { "$ref": "#/definitions/httpTimeout" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" } }, { "type": "null" }] }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs", "events"] }, "type": "array" } }, "type": "object" }, "tee": { "type": "string", "enum": ["cpu", "cpu-gpu"] } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "reclamation": { "description": "Deployment-level reclamation requirements (optional). When set, providers must offer a reclamation window meeting or exceeding the specified minimum to bid on this deployment.", "additionalProperties": false, "properties": { "min_window": { "type": "string", "pattern": "^[1-9][0-9]*(s|m|h)$", "description": 'Minimum reclamation window the tenant requires, as a whole number followed by a unit (s, m, or h). E.g. "1h", "24h", "720h".' } }, "required": ["min_window"], "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
75
79
  var schema35 = { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" };
76
- var schema40 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
80
+ var schema42 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
77
81
  var pattern4 = new RegExp("^[a-z]+[-_0-9a-z]+$", "u");
78
82
  var pattern6 = new RegExp("^0+(\\.0+)?m?$", "u");
79
83
  var pattern7 = new RegExp("^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "u");
80
84
  var pattern8 = new RegExp("^0+(\\.0+)?$", "u");
81
85
  var pattern10 = new RegExp("^[0-9]+(\\.[0-9]+)?$", "u");
82
- var pattern11 = new RegExp("^/", "u");
83
- var pattern12 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
86
+ var pattern11 = new RegExp("^[0-9]+(ms|s|m|h)?$", "u");
87
+ var pattern13 = new RegExp("^/", "u");
88
+ var pattern14 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
84
89
  var func2 = require_ucs2length().default;
85
90
  function validate29(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
86
91
  let vErrors = null;
@@ -496,6 +501,284 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
496
501
  validate28.errors = vErrors;
497
502
  return errors === 0;
498
503
  }
504
+ var schema36 = { "description": "Optional verification requirements that providers must satisfy to bid\non this placement. Omitting the block disables verification filtering.\n", "additionalProperties": false, "allOf": [{ "$ref": "#/definitions/verificationTierZeroAllowsNoFilters" }], "properties": { "min_tier": { "description": "Minimum verification tier required of bidding providers. 0 = no\nrequirement (TierUnspecified) and cannot be combined with\ncapabilities, auditors, or min_auditor_count. Valid values are 0..4.\n", "type": "integer", "minimum": 0, "maximum": 4 }, "capabilities": { "description": "Optional capability flags the tenant requires bidders to assert. Each\nentry must be one of the recognized SDL capability names.\n", "type": "array", "items": { "enum": ["tee_hardware_attestation", "confidential_computing", "persistent_storage", "bare_metal"], "type": "string" } }, "auditors": { "description": "Optional list of specific auditor bech32 addresses; the list is\nevaluated according to auditor_mode.\n", "type": "array", "items": { "type": "string", "minLength": 1 } }, "auditor_mode": { "description": 'How the auditors list is evaluated. Omitting the field is equivalent\nto "any".\n', "enum": ["any", "all"], "type": "string" }, "min_auditor_count": { "description": "Minimum number of independent qualifying auditors that must have\nattested the provider, independent of the auditors list.\n", "type": "integer", "minimum": 0 } }, "required": ["min_tier"], "type": "object" };
505
+ function validate33(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
506
+ let vErrors = null;
507
+ let errors = 0;
508
+ const _errs3 = errors;
509
+ let valid2 = true;
510
+ const _errs4 = errors;
511
+ if (data && typeof data == "object" && !Array.isArray(data)) {
512
+ let missing0;
513
+ if (data.min_tier === void 0 && (missing0 = "min_tier")) {
514
+ const err0 = {};
515
+ if (vErrors === null) {
516
+ vErrors = [err0];
517
+ } else {
518
+ vErrors.push(err0);
519
+ }
520
+ errors++;
521
+ } else {
522
+ if (data.min_tier !== void 0) {
523
+ if (0 !== data.min_tier) {
524
+ const err1 = {};
525
+ if (vErrors === null) {
526
+ vErrors = [err1];
527
+ } else {
528
+ vErrors.push(err1);
529
+ }
530
+ errors++;
531
+ }
532
+ }
533
+ }
534
+ }
535
+ var _valid0 = _errs4 === errors;
536
+ errors = _errs3;
537
+ if (vErrors !== null) {
538
+ if (_errs3) {
539
+ vErrors.length = _errs3;
540
+ } else {
541
+ vErrors = null;
542
+ }
543
+ }
544
+ if (_valid0) {
545
+ const _errs6 = errors;
546
+ if (data && typeof data == "object" && !Array.isArray(data)) {
547
+ if (data.capabilities !== void 0) {
548
+ let data1 = data.capabilities;
549
+ if (Array.isArray(data1)) {
550
+ if (data1.length > 0) {
551
+ const err2 = { instancePath: instancePath + "/capabilities", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/capabilities/maxItems", keyword: "maxItems", params: { limit: 0 }, message: "must NOT have more than 0 items" };
552
+ if (vErrors === null) {
553
+ vErrors = [err2];
554
+ } else {
555
+ vErrors.push(err2);
556
+ }
557
+ errors++;
558
+ }
559
+ }
560
+ }
561
+ if (data.auditors !== void 0) {
562
+ let data2 = data.auditors;
563
+ if (Array.isArray(data2)) {
564
+ if (data2.length > 0) {
565
+ const err3 = { instancePath: instancePath + "/auditors", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/auditors/maxItems", keyword: "maxItems", params: { limit: 0 }, message: "must NOT have more than 0 items" };
566
+ if (vErrors === null) {
567
+ vErrors = [err3];
568
+ } else {
569
+ vErrors.push(err3);
570
+ }
571
+ errors++;
572
+ }
573
+ }
574
+ }
575
+ if (data.min_auditor_count !== void 0) {
576
+ let data3 = data.min_auditor_count;
577
+ if (typeof data3 == "number") {
578
+ if (data3 > 0 || isNaN(data3)) {
579
+ const err4 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/min_auditor_count/maximum", keyword: "maximum", params: { comparison: "<=", limit: 0 }, message: "must be <= 0" };
580
+ if (vErrors === null) {
581
+ vErrors = [err4];
582
+ } else {
583
+ vErrors.push(err4);
584
+ }
585
+ errors++;
586
+ }
587
+ }
588
+ }
589
+ }
590
+ var _valid0 = _errs6 === errors;
591
+ valid2 = _valid0;
592
+ }
593
+ if (!valid2) {
594
+ const err5 = { instancePath, schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
595
+ if (vErrors === null) {
596
+ vErrors = [err5];
597
+ } else {
598
+ vErrors.push(err5);
599
+ }
600
+ errors++;
601
+ }
602
+ if (data && typeof data == "object" && !Array.isArray(data)) {
603
+ if (data.min_tier === void 0) {
604
+ const err6 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "min_tier" }, message: "must have required property 'min_tier'" };
605
+ if (vErrors === null) {
606
+ vErrors = [err6];
607
+ } else {
608
+ vErrors.push(err6);
609
+ }
610
+ errors++;
611
+ }
612
+ for (const key0 in data) {
613
+ if (!(key0 === "min_tier" || key0 === "capabilities" || key0 === "auditors" || key0 === "auditor_mode" || key0 === "min_auditor_count")) {
614
+ const err7 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
615
+ if (vErrors === null) {
616
+ vErrors = [err7];
617
+ } else {
618
+ vErrors.push(err7);
619
+ }
620
+ errors++;
621
+ }
622
+ }
623
+ if (data.min_tier !== void 0) {
624
+ let data4 = data.min_tier;
625
+ if (!(typeof data4 == "number" && (!(data4 % 1) && !isNaN(data4)))) {
626
+ const err8 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
627
+ if (vErrors === null) {
628
+ vErrors = [err8];
629
+ } else {
630
+ vErrors.push(err8);
631
+ }
632
+ errors++;
633
+ }
634
+ if (typeof data4 == "number") {
635
+ if (data4 > 4 || isNaN(data4)) {
636
+ const err9 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4 }, message: "must be <= 4" };
637
+ if (vErrors === null) {
638
+ vErrors = [err9];
639
+ } else {
640
+ vErrors.push(err9);
641
+ }
642
+ errors++;
643
+ }
644
+ if (data4 < 0 || isNaN(data4)) {
645
+ const err10 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
646
+ if (vErrors === null) {
647
+ vErrors = [err10];
648
+ } else {
649
+ vErrors.push(err10);
650
+ }
651
+ errors++;
652
+ }
653
+ }
654
+ }
655
+ if (data.capabilities !== void 0) {
656
+ let data5 = data.capabilities;
657
+ if (Array.isArray(data5)) {
658
+ const len0 = data5.length;
659
+ for (let i0 = 0; i0 < len0; i0++) {
660
+ let data6 = data5[i0];
661
+ if (typeof data6 !== "string") {
662
+ const err11 = { instancePath: instancePath + "/capabilities/" + i0, schemaPath: "#/properties/capabilities/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
663
+ if (vErrors === null) {
664
+ vErrors = [err11];
665
+ } else {
666
+ vErrors.push(err11);
667
+ }
668
+ errors++;
669
+ }
670
+ if (!(data6 === "tee_hardware_attestation" || data6 === "confidential_computing" || data6 === "persistent_storage" || data6 === "bare_metal")) {
671
+ const err12 = { instancePath: instancePath + "/capabilities/" + i0, schemaPath: "#/properties/capabilities/items/enum", keyword: "enum", params: { allowedValues: schema36.properties.capabilities.items.enum }, message: "must be equal to one of the allowed values" };
672
+ if (vErrors === null) {
673
+ vErrors = [err12];
674
+ } else {
675
+ vErrors.push(err12);
676
+ }
677
+ errors++;
678
+ }
679
+ }
680
+ } else {
681
+ const err13 = { instancePath: instancePath + "/capabilities", schemaPath: "#/properties/capabilities/type", keyword: "type", params: { type: "array" }, message: "must be array" };
682
+ if (vErrors === null) {
683
+ vErrors = [err13];
684
+ } else {
685
+ vErrors.push(err13);
686
+ }
687
+ errors++;
688
+ }
689
+ }
690
+ if (data.auditors !== void 0) {
691
+ let data7 = data.auditors;
692
+ if (Array.isArray(data7)) {
693
+ const len1 = data7.length;
694
+ for (let i1 = 0; i1 < len1; i1++) {
695
+ let data8 = data7[i1];
696
+ if (typeof data8 === "string") {
697
+ if (func2(data8) < 1) {
698
+ const err14 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
699
+ if (vErrors === null) {
700
+ vErrors = [err14];
701
+ } else {
702
+ vErrors.push(err14);
703
+ }
704
+ errors++;
705
+ }
706
+ } else {
707
+ const err15 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
708
+ if (vErrors === null) {
709
+ vErrors = [err15];
710
+ } else {
711
+ vErrors.push(err15);
712
+ }
713
+ errors++;
714
+ }
715
+ }
716
+ } else {
717
+ const err16 = { instancePath: instancePath + "/auditors", schemaPath: "#/properties/auditors/type", keyword: "type", params: { type: "array" }, message: "must be array" };
718
+ if (vErrors === null) {
719
+ vErrors = [err16];
720
+ } else {
721
+ vErrors.push(err16);
722
+ }
723
+ errors++;
724
+ }
725
+ }
726
+ if (data.auditor_mode !== void 0) {
727
+ let data9 = data.auditor_mode;
728
+ if (typeof data9 !== "string") {
729
+ const err17 = { instancePath: instancePath + "/auditor_mode", schemaPath: "#/properties/auditor_mode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
730
+ if (vErrors === null) {
731
+ vErrors = [err17];
732
+ } else {
733
+ vErrors.push(err17);
734
+ }
735
+ errors++;
736
+ }
737
+ if (!(data9 === "any" || data9 === "all")) {
738
+ const err18 = { instancePath: instancePath + "/auditor_mode", schemaPath: "#/properties/auditor_mode/enum", keyword: "enum", params: { allowedValues: schema36.properties.auditor_mode.enum }, message: "must be equal to one of the allowed values" };
739
+ if (vErrors === null) {
740
+ vErrors = [err18];
741
+ } else {
742
+ vErrors.push(err18);
743
+ }
744
+ errors++;
745
+ }
746
+ }
747
+ if (data.min_auditor_count !== void 0) {
748
+ let data10 = data.min_auditor_count;
749
+ if (!(typeof data10 == "number" && (!(data10 % 1) && !isNaN(data10)))) {
750
+ const err19 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
751
+ if (vErrors === null) {
752
+ vErrors = [err19];
753
+ } else {
754
+ vErrors.push(err19);
755
+ }
756
+ errors++;
757
+ }
758
+ if (typeof data10 == "number") {
759
+ if (data10 < 0 || isNaN(data10)) {
760
+ const err20 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
761
+ if (vErrors === null) {
762
+ vErrors = [err20];
763
+ } else {
764
+ vErrors.push(err20);
765
+ }
766
+ errors++;
767
+ }
768
+ }
769
+ }
770
+ } else {
771
+ const err21 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
772
+ if (vErrors === null) {
773
+ vErrors = [err21];
774
+ } else {
775
+ vErrors.push(err21);
776
+ }
777
+ errors++;
778
+ }
779
+ validate33.errors = vErrors;
780
+ return errors === 0;
781
+ }
499
782
  function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
500
783
  let vErrors = null;
501
784
  let errors = 0;
@@ -1844,7 +2127,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
1844
2127
  errors++;
1845
2128
  }
1846
2129
  for (const key19 in data35) {
1847
- if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy")) {
2130
+ if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy" || key19 === "verification")) {
1848
2131
  const err98 = { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key19 }, message: "must NOT have additional properties" };
1849
2132
  if (vErrors === null) {
1850
2133
  vErrors = [err98];
@@ -2095,6 +2378,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2095
2378
  errors++;
2096
2379
  }
2097
2380
  }
2381
+ if (data35.verification !== void 0) {
2382
+ if (!validate33(data35.verification, { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1") + "/verification", parentData: data35, parentDataProperty: "verification", rootData })) {
2383
+ vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);
2384
+ errors = vErrors.length;
2385
+ }
2386
+ }
2098
2387
  } else {
2099
2388
  const err118 = { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2100
2389
  if (vErrors === null) {
@@ -2126,12 +2415,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2126
2415
  }
2127
2416
  }
2128
2417
  if (data.services !== void 0) {
2129
- let data46 = data.services;
2130
- if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
2131
- for (const key23 in data46) {
2132
- let data47 = data46[key23];
2133
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2134
- if (data47.image === void 0) {
2418
+ let data47 = data.services;
2419
+ if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2420
+ for (const key23 in data47) {
2421
+ let data48 = data47[key23];
2422
+ if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
2423
+ if (data48.image === void 0) {
2135
2424
  const err121 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/required", keyword: "required", params: { missingProperty: "image" }, message: "must have required property 'image'" };
2136
2425
  if (vErrors === null) {
2137
2426
  vErrors = [err121];
@@ -2140,7 +2429,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2140
2429
  }
2141
2430
  errors++;
2142
2431
  }
2143
- for (const key24 in data47) {
2432
+ for (const key24 in data48) {
2144
2433
  if (!(key24 === "args" || key24 === "command" || key24 === "credentials" || key24 === "dependencies" || key24 === "env" || key24 === "expose" || key24 === "image" || key24 === "params")) {
2145
2434
  const err122 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key24 }, message: "must NOT have additional properties" };
2146
2435
  if (vErrors === null) {
@@ -2151,16 +2440,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2151
2440
  errors++;
2152
2441
  }
2153
2442
  }
2154
- if (data47.args !== void 0) {
2155
- let data48 = data47.args;
2156
- const _errs170 = errors;
2443
+ if (data48.args !== void 0) {
2444
+ let data49 = data48.args;
2445
+ const _errs171 = errors;
2157
2446
  let valid54 = false;
2158
2447
  let passing8 = null;
2159
- const _errs171 = errors;
2160
- if (Array.isArray(data48)) {
2161
- const len5 = data48.length;
2448
+ const _errs172 = errors;
2449
+ if (Array.isArray(data49)) {
2450
+ const len5 = data49.length;
2162
2451
  for (let i5 = 0; i5 < len5; i5++) {
2163
- if (typeof data48[i5] !== "string") {
2452
+ if (typeof data49[i5] !== "string") {
2164
2453
  const err123 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/args/" + i5, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2165
2454
  if (vErrors === null) {
2166
2455
  vErrors = [err123];
@@ -2179,13 +2468,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2179
2468
  }
2180
2469
  errors++;
2181
2470
  }
2182
- var _valid10 = _errs171 === errors;
2471
+ var _valid10 = _errs172 === errors;
2183
2472
  if (_valid10) {
2184
2473
  valid54 = true;
2185
2474
  passing8 = 0;
2186
2475
  }
2187
- const _errs175 = errors;
2188
- if (data48 !== null) {
2476
+ const _errs176 = errors;
2477
+ if (data49 !== null) {
2189
2478
  const err125 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2190
2479
  if (vErrors === null) {
2191
2480
  vErrors = [err125];
@@ -2194,7 +2483,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2194
2483
  }
2195
2484
  errors++;
2196
2485
  }
2197
- var _valid10 = _errs175 === errors;
2486
+ var _valid10 = _errs176 === errors;
2198
2487
  if (_valid10 && valid54) {
2199
2488
  valid54 = false;
2200
2489
  passing8 = [passing8, 1];
@@ -2213,26 +2502,26 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2213
2502
  }
2214
2503
  errors++;
2215
2504
  } else {
2216
- errors = _errs170;
2505
+ errors = _errs171;
2217
2506
  if (vErrors !== null) {
2218
- if (_errs170) {
2219
- vErrors.length = _errs170;
2507
+ if (_errs171) {
2508
+ vErrors.length = _errs171;
2220
2509
  } else {
2221
2510
  vErrors = null;
2222
2511
  }
2223
2512
  }
2224
2513
  }
2225
2514
  }
2226
- if (data47.command !== void 0) {
2227
- let data50 = data47.command;
2228
- const _errs179 = errors;
2515
+ if (data48.command !== void 0) {
2516
+ let data51 = data48.command;
2517
+ const _errs180 = errors;
2229
2518
  let valid58 = false;
2230
2519
  let passing9 = null;
2231
- const _errs180 = errors;
2232
- if (Array.isArray(data50)) {
2233
- const len6 = data50.length;
2520
+ const _errs181 = errors;
2521
+ if (Array.isArray(data51)) {
2522
+ const len6 = data51.length;
2234
2523
  for (let i6 = 0; i6 < len6; i6++) {
2235
- if (typeof data50[i6] !== "string") {
2524
+ if (typeof data51[i6] !== "string") {
2236
2525
  const err127 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/command/" + i6, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2237
2526
  if (vErrors === null) {
2238
2527
  vErrors = [err127];
@@ -2251,13 +2540,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2251
2540
  }
2252
2541
  errors++;
2253
2542
  }
2254
- var _valid11 = _errs180 === errors;
2543
+ var _valid11 = _errs181 === errors;
2255
2544
  if (_valid11) {
2256
2545
  valid58 = true;
2257
2546
  passing9 = 0;
2258
2547
  }
2259
- const _errs184 = errors;
2260
- if (data50 !== null) {
2548
+ const _errs185 = errors;
2549
+ if (data51 !== null) {
2261
2550
  const err129 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2262
2551
  if (vErrors === null) {
2263
2552
  vErrors = [err129];
@@ -2266,7 +2555,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2266
2555
  }
2267
2556
  errors++;
2268
2557
  }
2269
- var _valid11 = _errs184 === errors;
2558
+ var _valid11 = _errs185 === errors;
2270
2559
  if (_valid11 && valid58) {
2271
2560
  valid58 = false;
2272
2561
  passing9 = [passing9, 1];
@@ -2285,20 +2574,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2285
2574
  }
2286
2575
  errors++;
2287
2576
  } else {
2288
- errors = _errs179;
2577
+ errors = _errs180;
2289
2578
  if (vErrors !== null) {
2290
- if (_errs179) {
2291
- vErrors.length = _errs179;
2579
+ if (_errs180) {
2580
+ vErrors.length = _errs180;
2292
2581
  } else {
2293
2582
  vErrors = null;
2294
2583
  }
2295
2584
  }
2296
2585
  }
2297
2586
  }
2298
- if (data47.credentials !== void 0) {
2299
- let data52 = data47.credentials;
2300
- if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
2301
- if (data52.host === void 0) {
2587
+ if (data48.credentials !== void 0) {
2588
+ let data53 = data48.credentials;
2589
+ if (data53 && typeof data53 == "object" && !Array.isArray(data53)) {
2590
+ if (data53.host === void 0) {
2302
2591
  const err131 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "host" }, message: "must have required property 'host'" };
2303
2592
  if (vErrors === null) {
2304
2593
  vErrors = [err131];
@@ -2307,7 +2596,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2307
2596
  }
2308
2597
  errors++;
2309
2598
  }
2310
- if (data52.username === void 0) {
2599
+ if (data53.username === void 0) {
2311
2600
  const err132 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "username" }, message: "must have required property 'username'" };
2312
2601
  if (vErrors === null) {
2313
2602
  vErrors = [err132];
@@ -2316,7 +2605,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2316
2605
  }
2317
2606
  errors++;
2318
2607
  }
2319
- if (data52.password === void 0) {
2608
+ if (data53.password === void 0) {
2320
2609
  const err133 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "password" }, message: "must have required property 'password'" };
2321
2610
  if (vErrors === null) {
2322
2611
  vErrors = [err133];
@@ -2325,7 +2614,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2325
2614
  }
2326
2615
  errors++;
2327
2616
  }
2328
- for (const key25 in data52) {
2617
+ for (const key25 in data53) {
2329
2618
  if (!(key25 === "email" || key25 === "host" || key25 === "password" || key25 === "username")) {
2330
2619
  const err134 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key25 }, message: "must NOT have additional properties" };
2331
2620
  if (vErrors === null) {
@@ -2336,10 +2625,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2336
2625
  errors++;
2337
2626
  }
2338
2627
  }
2339
- if (data52.email !== void 0) {
2340
- let data53 = data52.email;
2341
- if (typeof data53 === "string") {
2342
- if (func2(data53) < 5) {
2628
+ if (data53.email !== void 0) {
2629
+ let data54 = data53.email;
2630
+ if (typeof data54 === "string") {
2631
+ if (func2(data54) < 5) {
2343
2632
  const err135 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/minLength", keyword: "minLength", params: { limit: 5 }, message: "must NOT have fewer than 5 characters" };
2344
2633
  if (vErrors === null) {
2345
2634
  vErrors = [err135];
@@ -2358,10 +2647,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2358
2647
  errors++;
2359
2648
  }
2360
2649
  }
2361
- if (data52.host !== void 0) {
2362
- let data54 = data52.host;
2363
- if (typeof data54 === "string") {
2364
- if (func2(data54) < 1) {
2650
+ if (data53.host !== void 0) {
2651
+ let data55 = data53.host;
2652
+ if (typeof data55 === "string") {
2653
+ if (func2(data55) < 1) {
2365
2654
  const err137 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2366
2655
  if (vErrors === null) {
2367
2656
  vErrors = [err137];
@@ -2380,10 +2669,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2380
2669
  errors++;
2381
2670
  }
2382
2671
  }
2383
- if (data52.password !== void 0) {
2384
- let data55 = data52.password;
2385
- if (typeof data55 === "string") {
2386
- if (func2(data55) < 6) {
2672
+ if (data53.password !== void 0) {
2673
+ let data56 = data53.password;
2674
+ if (typeof data56 === "string") {
2675
+ if (func2(data56) < 6) {
2387
2676
  const err139 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/minLength", keyword: "minLength", params: { limit: 6 }, message: "must NOT have fewer than 6 characters" };
2388
2677
  if (vErrors === null) {
2389
2678
  vErrors = [err139];
@@ -2402,10 +2691,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2402
2691
  errors++;
2403
2692
  }
2404
2693
  }
2405
- if (data52.username !== void 0) {
2406
- let data56 = data52.username;
2407
- if (typeof data56 === "string") {
2408
- if (func2(data56) < 1) {
2694
+ if (data53.username !== void 0) {
2695
+ let data57 = data53.username;
2696
+ if (typeof data57 === "string") {
2697
+ if (func2(data57) < 1) {
2409
2698
  const err141 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2410
2699
  if (vErrors === null) {
2411
2700
  vErrors = [err141];
@@ -2434,14 +2723,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2434
2723
  errors++;
2435
2724
  }
2436
2725
  }
2437
- if (data47.dependencies !== void 0) {
2438
- let data57 = data47.dependencies;
2439
- if (Array.isArray(data57)) {
2440
- const len7 = data57.length;
2726
+ if (data48.dependencies !== void 0) {
2727
+ let data58 = data48.dependencies;
2728
+ if (Array.isArray(data58)) {
2729
+ const len7 = data58.length;
2441
2730
  for (let i7 = 0; i7 < len7; i7++) {
2442
- let data58 = data57[i7];
2443
- if (data58 && typeof data58 == "object" && !Array.isArray(data58)) {
2444
- for (const key26 in data58) {
2731
+ let data59 = data58[i7];
2732
+ if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
2733
+ for (const key26 in data59) {
2445
2734
  if (!(key26 === "service")) {
2446
2735
  const err144 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key26 }, message: "must NOT have additional properties" };
2447
2736
  if (vErrors === null) {
@@ -2452,8 +2741,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2452
2741
  errors++;
2453
2742
  }
2454
2743
  }
2455
- if (data58.service !== void 0) {
2456
- if (typeof data58.service !== "string") {
2744
+ if (data59.service !== void 0) {
2745
+ if (typeof data59.service !== "string") {
2457
2746
  const err145 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2458
2747
  if (vErrors === null) {
2459
2748
  vErrors = [err145];
@@ -2483,16 +2772,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2483
2772
  errors++;
2484
2773
  }
2485
2774
  }
2486
- if (data47.env !== void 0) {
2487
- let data60 = data47.env;
2488
- const _errs206 = errors;
2775
+ if (data48.env !== void 0) {
2776
+ let data61 = data48.env;
2777
+ const _errs207 = errors;
2489
2778
  let valid66 = false;
2490
2779
  let passing10 = null;
2491
- const _errs207 = errors;
2492
- if (Array.isArray(data60)) {
2493
- const len8 = data60.length;
2780
+ const _errs208 = errors;
2781
+ if (Array.isArray(data61)) {
2782
+ const len8 = data61.length;
2494
2783
  for (let i8 = 0; i8 < len8; i8++) {
2495
- if (typeof data60[i8] !== "string") {
2784
+ if (typeof data61[i8] !== "string") {
2496
2785
  const err148 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/env/" + i8, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2497
2786
  if (vErrors === null) {
2498
2787
  vErrors = [err148];
@@ -2511,13 +2800,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2511
2800
  }
2512
2801
  errors++;
2513
2802
  }
2514
- var _valid12 = _errs207 === errors;
2803
+ var _valid12 = _errs208 === errors;
2515
2804
  if (_valid12) {
2516
2805
  valid66 = true;
2517
2806
  passing10 = 0;
2518
2807
  }
2519
- const _errs211 = errors;
2520
- if (data60 !== null) {
2808
+ const _errs212 = errors;
2809
+ if (data61 !== null) {
2521
2810
  const err150 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2522
2811
  if (vErrors === null) {
2523
2812
  vErrors = [err150];
@@ -2526,7 +2815,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2526
2815
  }
2527
2816
  errors++;
2528
2817
  }
2529
- var _valid12 = _errs211 === errors;
2818
+ var _valid12 = _errs212 === errors;
2530
2819
  if (_valid12 && valid66) {
2531
2820
  valid66 = false;
2532
2821
  passing10 = [passing10, 1];
@@ -2545,28 +2834,28 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2545
2834
  }
2546
2835
  errors++;
2547
2836
  } else {
2548
- errors = _errs206;
2837
+ errors = _errs207;
2549
2838
  if (vErrors !== null) {
2550
- if (_errs206) {
2551
- vErrors.length = _errs206;
2839
+ if (_errs207) {
2840
+ vErrors.length = _errs207;
2552
2841
  } else {
2553
2842
  vErrors = null;
2554
2843
  }
2555
2844
  }
2556
2845
  }
2557
2846
  }
2558
- if (data47.expose !== void 0) {
2559
- let data62 = data47.expose;
2560
- const _errs214 = errors;
2847
+ if (data48.expose !== void 0) {
2848
+ let data63 = data48.expose;
2849
+ const _errs215 = errors;
2561
2850
  let valid69 = false;
2562
2851
  let passing11 = null;
2563
- const _errs215 = errors;
2564
- if (Array.isArray(data62)) {
2565
- const len9 = data62.length;
2852
+ const _errs216 = errors;
2853
+ if (Array.isArray(data63)) {
2854
+ const len9 = data63.length;
2566
2855
  for (let i9 = 0; i9 < len9; i9++) {
2567
- let data63 = data62[i9];
2568
- if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
2569
- if (data63.port === void 0) {
2856
+ let data64 = data63[i9];
2857
+ if (data64 && typeof data64 == "object" && !Array.isArray(data64)) {
2858
+ if (data64.port === void 0) {
2570
2859
  const err152 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/required", keyword: "required", params: { missingProperty: "port" }, message: "must have required property 'port'" };
2571
2860
  if (vErrors === null) {
2572
2861
  vErrors = [err152];
@@ -2575,7 +2864,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2575
2864
  }
2576
2865
  errors++;
2577
2866
  }
2578
- for (const key27 in data63) {
2867
+ for (const key27 in data64) {
2579
2868
  if (!(key27 === "accept" || key27 === "as" || key27 === "http_options" || key27 === "port" || key27 === "proto" || key27 === "to")) {
2580
2869
  const err153 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key27 }, message: "must NOT have additional properties" };
2581
2870
  if (vErrors === null) {
@@ -2586,12 +2875,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2586
2875
  errors++;
2587
2876
  }
2588
2877
  }
2589
- if (data63.accept !== void 0) {
2590
- let data64 = data63.accept;
2591
- if (Array.isArray(data64)) {
2592
- const len10 = data64.length;
2878
+ if (data64.accept !== void 0) {
2879
+ let data65 = data64.accept;
2880
+ if (Array.isArray(data65)) {
2881
+ const len10 = data65.length;
2593
2882
  for (let i10 = 0; i10 < len10; i10++) {
2594
- if (typeof data64[i10] !== "string") {
2883
+ if (typeof data65[i10] !== "string") {
2595
2884
  const err154 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept/" + i10, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/accept/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2596
2885
  if (vErrors === null) {
2597
2886
  vErrors = [err154];
@@ -2611,9 +2900,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2611
2900
  errors++;
2612
2901
  }
2613
2902
  }
2614
- if (data63.as !== void 0) {
2615
- let data66 = data63.as;
2616
- if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
2903
+ if (data64.as !== void 0) {
2904
+ let data67 = data64.as;
2905
+ if (!(typeof data67 == "number" && (!(data67 % 1) && !isNaN(data67)))) {
2617
2906
  const err156 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2618
2907
  if (vErrors === null) {
2619
2908
  vErrors = [err156];
@@ -2622,8 +2911,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2622
2911
  }
2623
2912
  errors++;
2624
2913
  }
2625
- if (typeof data66 == "number") {
2626
- if (data66 > 65535 || isNaN(data66)) {
2914
+ if (typeof data67 == "number") {
2915
+ if (data67 > 65535 || isNaN(data67)) {
2627
2916
  const err157 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2628
2917
  if (vErrors === null) {
2629
2918
  vErrors = [err157];
@@ -2632,7 +2921,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2632
2921
  }
2633
2922
  errors++;
2634
2923
  }
2635
- if (data66 < 1 || isNaN(data66)) {
2924
+ if (data67 < 1 || isNaN(data67)) {
2636
2925
  const err158 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2637
2926
  if (vErrors === null) {
2638
2927
  vErrors = [err158];
@@ -2643,10 +2932,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2643
2932
  }
2644
2933
  }
2645
2934
  }
2646
- if (data63.http_options !== void 0) {
2647
- let data67 = data63.http_options;
2648
- if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
2649
- for (const key28 in data67) {
2935
+ if (data64.http_options !== void 0) {
2936
+ let data68 = data64.http_options;
2937
+ if (data68 && typeof data68 == "object" && !Array.isArray(data68)) {
2938
+ for (const key28 in data68) {
2650
2939
  if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "read_timeout" || key28 === "send_timeout")) {
2651
2940
  const err159 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key28 }, message: "must NOT have additional properties" };
2652
2941
  if (vErrors === null) {
@@ -2657,9 +2946,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2657
2946
  errors++;
2658
2947
  }
2659
2948
  }
2660
- if (data67.max_body_size !== void 0) {
2661
- let data68 = data67.max_body_size;
2662
- if (!(typeof data68 == "number" && (!(data68 % 1) && !isNaN(data68)))) {
2949
+ if (data68.max_body_size !== void 0) {
2950
+ let data69 = data68.max_body_size;
2951
+ if (!(typeof data69 == "number" && (!(data69 % 1) && !isNaN(data69)))) {
2663
2952
  const err160 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2664
2953
  if (vErrors === null) {
2665
2954
  vErrors = [err160];
@@ -2668,8 +2957,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2668
2957
  }
2669
2958
  errors++;
2670
2959
  }
2671
- if (typeof data68 == "number") {
2672
- if (data68 > 104857600 || isNaN(data68)) {
2960
+ if (typeof data69 == "number") {
2961
+ if (data69 > 104857600 || isNaN(data69)) {
2673
2962
  const err161 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 104857600 }, message: "must be <= 104857600" };
2674
2963
  if (vErrors === null) {
2675
2964
  vErrors = [err161];
@@ -2678,7 +2967,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2678
2967
  }
2679
2968
  errors++;
2680
2969
  }
2681
- if (data68 < 0 || isNaN(data68)) {
2970
+ if (data69 < 0 || isNaN(data69)) {
2682
2971
  const err162 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2683
2972
  if (vErrors === null) {
2684
2973
  vErrors = [err162];
@@ -2689,14 +2978,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2689
2978
  }
2690
2979
  }
2691
2980
  }
2692
- if (data67.next_cases !== void 0) {
2693
- let data69 = data67.next_cases;
2694
- const _errs233 = errors;
2981
+ if (data68.next_cases !== void 0) {
2982
+ let data70 = data68.next_cases;
2983
+ const _errs234 = errors;
2695
2984
  let valid77 = false;
2696
2985
  let passing12 = null;
2697
- const _errs234 = errors;
2698
- if (Array.isArray(data69)) {
2699
- if (data69.length > 1) {
2986
+ const _errs235 = errors;
2987
+ if (Array.isArray(data70)) {
2988
+ if (data70.length > 1) {
2700
2989
  const err163 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/maxItems", keyword: "maxItems", params: { limit: 1 }, message: "must NOT have more than 1 items" };
2701
2990
  if (vErrors === null) {
2702
2991
  vErrors = [err163];
@@ -2705,7 +2994,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2705
2994
  }
2706
2995
  errors++;
2707
2996
  }
2708
- if (data69.length < 1) {
2997
+ if (data70.length < 1) {
2709
2998
  const err164 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
2710
2999
  if (vErrors === null) {
2711
3000
  vErrors = [err164];
@@ -2714,10 +3003,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2714
3003
  }
2715
3004
  errors++;
2716
3005
  }
2717
- const len11 = data69.length;
3006
+ const len11 = data70.length;
2718
3007
  for (let i11 = 0; i11 < len11; i11++) {
2719
- let data70 = data69[i11];
2720
- if (typeof data70 !== "string") {
3008
+ let data71 = data70[i11];
3009
+ if (typeof data71 !== "string") {
2721
3010
  const err165 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2722
3011
  if (vErrors === null) {
2723
3012
  vErrors = [err165];
@@ -2726,8 +3015,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2726
3015
  }
2727
3016
  errors++;
2728
3017
  }
2729
- if (!(data70 === "error" || data70 === "timeout" || data70 === "500" || data70 === "502" || data70 === "503" || data70 === "504" || data70 === "403" || data70 === "404" || data70 === "429" || data70 === "off")) {
2730
- const err166 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
3018
+ if (!(data71 === "error" || data71 === "timeout" || data71 === "500" || data71 === "502" || data71 === "503" || data71 === "504" || data71 === "403" || data71 === "404" || data71 === "429" || data71 === "off")) {
3019
+ const err166 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema42.enum }, message: "must be equal to one of the allowed values" };
2731
3020
  if (vErrors === null) {
2732
3021
  vErrors = [err166];
2733
3022
  } else {
@@ -2736,11 +3025,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2736
3025
  errors++;
2737
3026
  }
2738
3027
  }
2739
- const _errs239 = errors;
2740
- const len12 = data69.length;
3028
+ const _errs240 = errors;
3029
+ const len12 = data70.length;
2741
3030
  for (let i12 = 0; i12 < len12; i12++) {
2742
- const _errs240 = errors;
2743
- if ("off" !== data69[i12]) {
3031
+ const _errs241 = errors;
3032
+ if ("off" !== data70[i12]) {
2744
3033
  const err167 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i12, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/contains/const", keyword: "const", params: { allowedValue: "off" }, message: "must be equal to constant" };
2745
3034
  if (vErrors === null) {
2746
3035
  vErrors = [err167];
@@ -2749,7 +3038,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2749
3038
  }
2750
3039
  errors++;
2751
3040
  }
2752
- var valid81 = _errs240 === errors;
3041
+ var valid81 = _errs241 === errors;
2753
3042
  if (valid81) {
2754
3043
  break;
2755
3044
  }
@@ -2763,10 +3052,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2763
3052
  }
2764
3053
  errors++;
2765
3054
  } else {
2766
- errors = _errs239;
3055
+ errors = _errs240;
2767
3056
  if (vErrors !== null) {
2768
- if (_errs239) {
2769
- vErrors.length = _errs239;
3057
+ if (_errs240) {
3058
+ vErrors.length = _errs240;
2770
3059
  } else {
2771
3060
  vErrors = null;
2772
3061
  }
@@ -2781,20 +3070,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2781
3070
  }
2782
3071
  errors++;
2783
3072
  }
2784
- var _valid14 = _errs234 === errors;
3073
+ var _valid14 = _errs235 === errors;
2785
3074
  if (_valid14) {
2786
3075
  valid77 = true;
2787
3076
  passing12 = 0;
2788
3077
  }
2789
- const _errs241 = errors;
2790
- const _errs243 = errors;
3078
+ const _errs242 = errors;
2791
3079
  const _errs244 = errors;
2792
- if (Array.isArray(data69)) {
2793
- const _errs245 = errors;
2794
- const len13 = data69.length;
3080
+ const _errs245 = errors;
3081
+ if (Array.isArray(data70)) {
3082
+ const _errs246 = errors;
3083
+ const len13 = data70.length;
2795
3084
  for (let i13 = 0; i13 < len13; i13++) {
2796
- const _errs246 = errors;
2797
- if ("off" !== data69[i13]) {
3085
+ const _errs247 = errors;
3086
+ if ("off" !== data70[i13]) {
2798
3087
  const err170 = {};
2799
3088
  if (vErrors === null) {
2800
3089
  vErrors = [err170];
@@ -2803,7 +3092,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2803
3092
  }
2804
3093
  errors++;
2805
3094
  }
2806
- var valid83 = _errs246 === errors;
3095
+ var valid83 = _errs247 === errors;
2807
3096
  if (valid83) {
2808
3097
  break;
2809
3098
  }
@@ -2817,17 +3106,17 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2817
3106
  }
2818
3107
  errors++;
2819
3108
  } else {
2820
- errors = _errs245;
3109
+ errors = _errs246;
2821
3110
  if (vErrors !== null) {
2822
- if (_errs245) {
2823
- vErrors.length = _errs245;
3111
+ if (_errs246) {
3112
+ vErrors.length = _errs246;
2824
3113
  } else {
2825
3114
  vErrors = null;
2826
3115
  }
2827
3116
  }
2828
3117
  }
2829
3118
  }
2830
- var valid82 = _errs244 === errors;
3119
+ var valid82 = _errs245 === errors;
2831
3120
  if (valid82) {
2832
3121
  const err172 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/1/not", keyword: "not", params: {}, message: "must NOT be valid" };
2833
3122
  if (vErrors === null) {
@@ -2837,20 +3126,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2837
3126
  }
2838
3127
  errors++;
2839
3128
  } else {
2840
- errors = _errs243;
3129
+ errors = _errs244;
2841
3130
  if (vErrors !== null) {
2842
- if (_errs243) {
2843
- vErrors.length = _errs243;
3131
+ if (_errs244) {
3132
+ vErrors.length = _errs244;
2844
3133
  } else {
2845
3134
  vErrors = null;
2846
3135
  }
2847
3136
  }
2848
3137
  }
2849
- if (Array.isArray(data69)) {
2850
- const len14 = data69.length;
3138
+ if (Array.isArray(data70)) {
3139
+ const len14 = data70.length;
2851
3140
  for (let i14 = 0; i14 < len14; i14++) {
2852
- let data73 = data69[i14];
2853
- if (typeof data73 !== "string") {
3141
+ let data74 = data70[i14];
3142
+ if (typeof data74 !== "string") {
2854
3143
  const err173 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2855
3144
  if (vErrors === null) {
2856
3145
  vErrors = [err173];
@@ -2859,8 +3148,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2859
3148
  }
2860
3149
  errors++;
2861
3150
  }
2862
- if (!(data73 === "error" || data73 === "timeout" || data73 === "500" || data73 === "502" || data73 === "503" || data73 === "504" || data73 === "403" || data73 === "404" || data73 === "429" || data73 === "off")) {
2863
- const err174 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
3151
+ if (!(data74 === "error" || data74 === "timeout" || data74 === "500" || data74 === "502" || data74 === "503" || data74 === "504" || data74 === "403" || data74 === "404" || data74 === "429" || data74 === "off")) {
3152
+ const err174 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema42.enum }, message: "must be equal to one of the allowed values" };
2864
3153
  if (vErrors === null) {
2865
3154
  vErrors = [err174];
2866
3155
  } else {
@@ -2878,7 +3167,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2878
3167
  }
2879
3168
  errors++;
2880
3169
  }
2881
- var _valid14 = _errs241 === errors;
3170
+ var _valid14 = _errs242 === errors;
2882
3171
  if (_valid14 && valid77) {
2883
3172
  valid77 = false;
2884
3173
  passing12 = [passing12, 1];
@@ -2897,19 +3186,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2897
3186
  }
2898
3187
  errors++;
2899
3188
  } else {
2900
- errors = _errs233;
3189
+ errors = _errs234;
2901
3190
  if (vErrors !== null) {
2902
- if (_errs233) {
2903
- vErrors.length = _errs233;
3191
+ if (_errs234) {
3192
+ vErrors.length = _errs234;
2904
3193
  } else {
2905
3194
  vErrors = null;
2906
3195
  }
2907
3196
  }
2908
3197
  }
2909
3198
  }
2910
- if (data67.next_timeout !== void 0) {
2911
- let data74 = data67.next_timeout;
2912
- if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
3199
+ if (data68.next_timeout !== void 0) {
3200
+ let data75 = data68.next_timeout;
3201
+ if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
2913
3202
  const err177 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2914
3203
  if (vErrors === null) {
2915
3204
  vErrors = [err177];
@@ -2918,8 +3207,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2918
3207
  }
2919
3208
  errors++;
2920
3209
  }
2921
- if (typeof data74 == "number") {
2922
- if (data74 < 0 || isNaN(data74)) {
3210
+ if (typeof data75 == "number") {
3211
+ if (data75 < 0 || isNaN(data75)) {
2923
3212
  const err178 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2924
3213
  if (vErrors === null) {
2925
3214
  vErrors = [err178];
@@ -2930,9 +3219,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2930
3219
  }
2931
3220
  }
2932
3221
  }
2933
- if (data67.next_tries !== void 0) {
2934
- let data75 = data67.next_tries;
2935
- if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
3222
+ if (data68.next_tries !== void 0) {
3223
+ let data76 = data68.next_tries;
3224
+ if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2936
3225
  const err179 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2937
3226
  if (vErrors === null) {
2938
3227
  vErrors = [err179];
@@ -2941,8 +3230,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2941
3230
  }
2942
3231
  errors++;
2943
3232
  }
2944
- if (typeof data75 == "number") {
2945
- if (data75 < 0 || isNaN(data75)) {
3233
+ if (typeof data76 == "number") {
3234
+ if (data76 < 0 || isNaN(data76)) {
2946
3235
  const err180 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2947
3236
  if (vErrors === null) {
2948
3237
  vErrors = [err180];
@@ -2953,10 +3242,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2953
3242
  }
2954
3243
  }
2955
3244
  }
2956
- if (data67.read_timeout !== void 0) {
2957
- let data76 = data67.read_timeout;
2958
- if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2959
- const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3245
+ if (data68.read_timeout !== void 0) {
3246
+ let data77 = data68.read_timeout;
3247
+ const _errs257 = errors;
3248
+ let valid88 = false;
3249
+ let passing13 = null;
3250
+ const _errs258 = errors;
3251
+ if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
3252
+ const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2960
3253
  if (vErrors === null) {
2961
3254
  vErrors = [err181];
2962
3255
  } else {
@@ -2964,9 +3257,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2964
3257
  }
2965
3258
  errors++;
2966
3259
  }
2967
- if (typeof data76 == "number") {
2968
- if (data76 > 6e4 || isNaN(data76)) {
2969
- const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
3260
+ if (typeof data77 == "number") {
3261
+ if (data77 > 4294967295 || isNaN(data77)) {
3262
+ const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
2970
3263
  if (vErrors === null) {
2971
3264
  vErrors = [err182];
2972
3265
  } else {
@@ -2974,8 +3267,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2974
3267
  }
2975
3268
  errors++;
2976
3269
  }
2977
- if (data76 < 0 || isNaN(data76)) {
2978
- const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3270
+ if (data77 < 0 || isNaN(data77)) {
3271
+ const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2979
3272
  if (vErrors === null) {
2980
3273
  vErrors = [err183];
2981
3274
  } else {
@@ -2984,142 +3277,252 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2984
3277
  errors++;
2985
3278
  }
2986
3279
  }
3280
+ var _valid15 = _errs258 === errors;
3281
+ if (_valid15) {
3282
+ valid88 = true;
3283
+ passing13 = 0;
3284
+ }
3285
+ const _errs260 = errors;
3286
+ if (typeof data77 === "string") {
3287
+ if (!pattern11.test(data77)) {
3288
+ const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3289
+ if (vErrors === null) {
3290
+ vErrors = [err184];
3291
+ } else {
3292
+ vErrors.push(err184);
3293
+ }
3294
+ errors++;
3295
+ }
3296
+ } else {
3297
+ const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3298
+ if (vErrors === null) {
3299
+ vErrors = [err185];
3300
+ } else {
3301
+ vErrors.push(err185);
3302
+ }
3303
+ errors++;
3304
+ }
3305
+ var _valid15 = _errs260 === errors;
3306
+ if (_valid15 && valid88) {
3307
+ valid88 = false;
3308
+ passing13 = [passing13, 1];
3309
+ } else {
3310
+ if (_valid15) {
3311
+ valid88 = true;
3312
+ passing13 = 1;
3313
+ }
3314
+ }
3315
+ if (!valid88) {
3316
+ const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing13 }, message: "must match exactly one schema in oneOf" };
3317
+ if (vErrors === null) {
3318
+ vErrors = [err186];
3319
+ } else {
3320
+ vErrors.push(err186);
3321
+ }
3322
+ errors++;
3323
+ } else {
3324
+ errors = _errs257;
3325
+ if (vErrors !== null) {
3326
+ if (_errs257) {
3327
+ vErrors.length = _errs257;
3328
+ } else {
3329
+ vErrors = null;
3330
+ }
3331
+ }
3332
+ }
2987
3333
  }
2988
- if (data67.send_timeout !== void 0) {
2989
- let data77 = data67.send_timeout;
2990
- if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
2991
- const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3334
+ if (data68.send_timeout !== void 0) {
3335
+ let data78 = data68.send_timeout;
3336
+ const _errs264 = errors;
3337
+ let valid90 = false;
3338
+ let passing14 = null;
3339
+ const _errs265 = errors;
3340
+ if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3341
+ const err187 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2992
3342
  if (vErrors === null) {
2993
- vErrors = [err184];
3343
+ vErrors = [err187];
2994
3344
  } else {
2995
- vErrors.push(err184);
3345
+ vErrors.push(err187);
2996
3346
  }
2997
3347
  errors++;
2998
3348
  }
2999
- if (typeof data77 == "number") {
3000
- if (data77 > 6e4 || isNaN(data77)) {
3001
- const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
3349
+ if (typeof data78 == "number") {
3350
+ if (data78 > 4294967295 || isNaN(data78)) {
3351
+ const err188 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3002
3352
  if (vErrors === null) {
3003
- vErrors = [err185];
3353
+ vErrors = [err188];
3004
3354
  } else {
3005
- vErrors.push(err185);
3355
+ vErrors.push(err188);
3006
3356
  }
3007
3357
  errors++;
3008
3358
  }
3009
- if (data77 < 0 || isNaN(data77)) {
3010
- const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3359
+ if (data78 < 0 || isNaN(data78)) {
3360
+ const err189 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3011
3361
  if (vErrors === null) {
3012
- vErrors = [err186];
3362
+ vErrors = [err189];
3013
3363
  } else {
3014
- vErrors.push(err186);
3364
+ vErrors.push(err189);
3015
3365
  }
3016
3366
  errors++;
3017
3367
  }
3018
3368
  }
3369
+ var _valid16 = _errs265 === errors;
3370
+ if (_valid16) {
3371
+ valid90 = true;
3372
+ passing14 = 0;
3373
+ }
3374
+ const _errs267 = errors;
3375
+ if (typeof data78 === "string") {
3376
+ if (!pattern11.test(data78)) {
3377
+ const err190 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3378
+ if (vErrors === null) {
3379
+ vErrors = [err190];
3380
+ } else {
3381
+ vErrors.push(err190);
3382
+ }
3383
+ errors++;
3384
+ }
3385
+ } else {
3386
+ const err191 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3387
+ if (vErrors === null) {
3388
+ vErrors = [err191];
3389
+ } else {
3390
+ vErrors.push(err191);
3391
+ }
3392
+ errors++;
3393
+ }
3394
+ var _valid16 = _errs267 === errors;
3395
+ if (_valid16 && valid90) {
3396
+ valid90 = false;
3397
+ passing14 = [passing14, 1];
3398
+ } else {
3399
+ if (_valid16) {
3400
+ valid90 = true;
3401
+ passing14 = 1;
3402
+ }
3403
+ }
3404
+ if (!valid90) {
3405
+ const err192 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing14 }, message: "must match exactly one schema in oneOf" };
3406
+ if (vErrors === null) {
3407
+ vErrors = [err192];
3408
+ } else {
3409
+ vErrors.push(err192);
3410
+ }
3411
+ errors++;
3412
+ } else {
3413
+ errors = _errs264;
3414
+ if (vErrors !== null) {
3415
+ if (_errs264) {
3416
+ vErrors.length = _errs264;
3417
+ } else {
3418
+ vErrors = null;
3419
+ }
3420
+ }
3421
+ }
3019
3422
  }
3020
3423
  } else {
3021
- const err187 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3424
+ const err193 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3022
3425
  if (vErrors === null) {
3023
- vErrors = [err187];
3426
+ vErrors = [err193];
3024
3427
  } else {
3025
- vErrors.push(err187);
3428
+ vErrors.push(err193);
3026
3429
  }
3027
3430
  errors++;
3028
3431
  }
3029
3432
  }
3030
- if (data63.port !== void 0) {
3031
- let data78 = data63.port;
3032
- if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3033
- const err188 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3433
+ if (data64.port !== void 0) {
3434
+ let data79 = data64.port;
3435
+ if (!(typeof data79 == "number" && (!(data79 % 1) && !isNaN(data79)))) {
3436
+ const err194 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3034
3437
  if (vErrors === null) {
3035
- vErrors = [err188];
3438
+ vErrors = [err194];
3036
3439
  } else {
3037
- vErrors.push(err188);
3440
+ vErrors.push(err194);
3038
3441
  }
3039
3442
  errors++;
3040
3443
  }
3041
- if (typeof data78 == "number") {
3042
- if (data78 > 65535 || isNaN(data78)) {
3043
- const err189 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
3444
+ if (typeof data79 == "number") {
3445
+ if (data79 > 65535 || isNaN(data79)) {
3446
+ const err195 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
3044
3447
  if (vErrors === null) {
3045
- vErrors = [err189];
3448
+ vErrors = [err195];
3046
3449
  } else {
3047
- vErrors.push(err189);
3450
+ vErrors.push(err195);
3048
3451
  }
3049
3452
  errors++;
3050
3453
  }
3051
- if (data78 < 1 || isNaN(data78)) {
3052
- const err190 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3454
+ if (data79 < 1 || isNaN(data79)) {
3455
+ const err196 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3053
3456
  if (vErrors === null) {
3054
- vErrors = [err190];
3457
+ vErrors = [err196];
3055
3458
  } else {
3056
- vErrors.push(err190);
3459
+ vErrors.push(err196);
3057
3460
  }
3058
3461
  errors++;
3059
3462
  }
3060
3463
  }
3061
3464
  }
3062
- if (data63.proto !== void 0) {
3063
- let data79 = data63.proto;
3064
- if (typeof data79 !== "string") {
3065
- const err191 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3465
+ if (data64.proto !== void 0) {
3466
+ let data80 = data64.proto;
3467
+ if (typeof data80 !== "string") {
3468
+ const err197 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3066
3469
  if (vErrors === null) {
3067
- vErrors = [err191];
3470
+ vErrors = [err197];
3068
3471
  } else {
3069
- vErrors.push(err191);
3472
+ vErrors.push(err197);
3070
3473
  }
3071
3474
  errors++;
3072
3475
  }
3073
- if (!(data79 === "TCP" || data79 === "UDP" || data79 === "tcp" || data79 === "udp")) {
3074
- const err192 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.expose.oneOf[0].items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
3476
+ if (!(data80 === "TCP" || data80 === "UDP" || data80 === "tcp" || data80 === "udp")) {
3477
+ const err198 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.expose.oneOf[0].items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
3075
3478
  if (vErrors === null) {
3076
- vErrors = [err192];
3479
+ vErrors = [err198];
3077
3480
  } else {
3078
- vErrors.push(err192);
3481
+ vErrors.push(err198);
3079
3482
  }
3080
3483
  errors++;
3081
3484
  }
3082
3485
  }
3083
- if (data63.to !== void 0) {
3084
- let data80 = data63.to;
3085
- if (Array.isArray(data80)) {
3086
- const len15 = data80.length;
3486
+ if (data64.to !== void 0) {
3487
+ let data81 = data64.to;
3488
+ if (Array.isArray(data81)) {
3489
+ const len15 = data81.length;
3087
3490
  for (let i15 = 0; i15 < len15; i15++) {
3088
- let data81 = data80[i15];
3089
- const _errs269 = errors;
3090
- let valid92 = true;
3091
- const _errs270 = errors;
3092
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3491
+ let data82 = data81[i15];
3492
+ const _errs280 = errors;
3493
+ let valid96 = true;
3494
+ const _errs281 = errors;
3495
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3093
3496
  let missing2;
3094
- if (data81.ip === void 0 && (missing2 = "ip")) {
3095
- const err193 = {};
3497
+ if (data82.ip === void 0 && (missing2 = "ip")) {
3498
+ const err199 = {};
3096
3499
  if (vErrors === null) {
3097
- vErrors = [err193];
3500
+ vErrors = [err199];
3098
3501
  } else {
3099
- vErrors.push(err193);
3502
+ vErrors.push(err199);
3100
3503
  }
3101
3504
  errors++;
3102
3505
  } else {
3103
- if (data81.ip !== void 0) {
3104
- let data82 = data81.ip;
3105
- const _errs271 = errors;
3106
- if (errors === _errs271) {
3107
- if (typeof data82 === "string") {
3108
- if (func2(data82) < 1) {
3109
- const err194 = {};
3506
+ if (data82.ip !== void 0) {
3507
+ let data83 = data82.ip;
3508
+ const _errs282 = errors;
3509
+ if (errors === _errs282) {
3510
+ if (typeof data83 === "string") {
3511
+ if (func2(data83) < 1) {
3512
+ const err200 = {};
3110
3513
  if (vErrors === null) {
3111
- vErrors = [err194];
3514
+ vErrors = [err200];
3112
3515
  } else {
3113
- vErrors.push(err194);
3516
+ vErrors.push(err200);
3114
3517
  }
3115
3518
  errors++;
3116
3519
  }
3117
3520
  } else {
3118
- const err195 = {};
3521
+ const err201 = {};
3119
3522
  if (vErrors === null) {
3120
- vErrors = [err195];
3523
+ vErrors = [err201];
3121
3524
  } else {
3122
- vErrors.push(err195);
3525
+ vErrors.push(err201);
3123
3526
  }
3124
3527
  errors++;
3125
3528
  }
@@ -3127,162 +3530,162 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3127
3530
  }
3128
3531
  }
3129
3532
  }
3130
- var _valid15 = _errs270 === errors;
3131
- errors = _errs269;
3533
+ var _valid17 = _errs281 === errors;
3534
+ errors = _errs280;
3132
3535
  if (vErrors !== null) {
3133
- if (_errs269) {
3134
- vErrors.length = _errs269;
3536
+ if (_errs280) {
3537
+ vErrors.length = _errs280;
3135
3538
  } else {
3136
3539
  vErrors = null;
3137
3540
  }
3138
3541
  }
3139
- if (_valid15) {
3140
- const _errs273 = errors;
3141
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3142
- if (data81.global === void 0) {
3143
- const err196 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
3542
+ if (_valid17) {
3543
+ const _errs284 = errors;
3544
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3545
+ if (data82.global === void 0) {
3546
+ const err202 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
3144
3547
  if (vErrors === null) {
3145
- vErrors = [err196];
3548
+ vErrors = [err202];
3146
3549
  } else {
3147
- vErrors.push(err196);
3550
+ vErrors.push(err202);
3148
3551
  }
3149
3552
  errors++;
3150
3553
  }
3151
- if (data81.global !== void 0) {
3152
- if (true !== data81.global) {
3153
- const err197 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
3554
+ if (data82.global !== void 0) {
3555
+ if (true !== data82.global) {
3556
+ const err203 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
3154
3557
  if (vErrors === null) {
3155
- vErrors = [err197];
3558
+ vErrors = [err203];
3156
3559
  } else {
3157
- vErrors.push(err197);
3560
+ vErrors.push(err203);
3158
3561
  }
3159
3562
  errors++;
3160
3563
  }
3161
3564
  }
3162
3565
  }
3163
- var _valid15 = _errs273 === errors;
3164
- valid92 = _valid15;
3566
+ var _valid17 = _errs284 === errors;
3567
+ valid96 = _valid17;
3165
3568
  }
3166
- if (!valid92) {
3167
- const err198 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
3569
+ if (!valid96) {
3570
+ const err204 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
3168
3571
  if (vErrors === null) {
3169
- vErrors = [err198];
3572
+ vErrors = [err204];
3170
3573
  } else {
3171
- vErrors.push(err198);
3574
+ vErrors.push(err204);
3172
3575
  }
3173
3576
  errors++;
3174
3577
  }
3175
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3176
- for (const key29 in data81) {
3578
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3579
+ for (const key29 in data82) {
3177
3580
  if (!(key29 === "global" || key29 === "ip" || key29 === "service")) {
3178
- const err199 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
3581
+ const err205 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
3179
3582
  if (vErrors === null) {
3180
- vErrors = [err199];
3583
+ vErrors = [err205];
3181
3584
  } else {
3182
- vErrors.push(err199);
3585
+ vErrors.push(err205);
3183
3586
  }
3184
3587
  errors++;
3185
3588
  }
3186
3589
  }
3187
- if (data81.global !== void 0) {
3188
- if (typeof data81.global !== "boolean") {
3189
- const err200 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3590
+ if (data82.global !== void 0) {
3591
+ if (typeof data82.global !== "boolean") {
3592
+ const err206 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3190
3593
  if (vErrors === null) {
3191
- vErrors = [err200];
3594
+ vErrors = [err206];
3192
3595
  } else {
3193
- vErrors.push(err200);
3596
+ vErrors.push(err206);
3194
3597
  }
3195
3598
  errors++;
3196
3599
  }
3197
3600
  }
3198
- if (data81.ip !== void 0) {
3199
- let data85 = data81.ip;
3200
- if (typeof data85 === "string") {
3201
- if (func2(data85) < 1) {
3202
- const err201 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3601
+ if (data82.ip !== void 0) {
3602
+ let data86 = data82.ip;
3603
+ if (typeof data86 === "string") {
3604
+ if (func2(data86) < 1) {
3605
+ const err207 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3203
3606
  if (vErrors === null) {
3204
- vErrors = [err201];
3607
+ vErrors = [err207];
3205
3608
  } else {
3206
- vErrors.push(err201);
3609
+ vErrors.push(err207);
3207
3610
  }
3208
3611
  errors++;
3209
3612
  }
3210
3613
  } else {
3211
- const err202 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3614
+ const err208 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3212
3615
  if (vErrors === null) {
3213
- vErrors = [err202];
3616
+ vErrors = [err208];
3214
3617
  } else {
3215
- vErrors.push(err202);
3618
+ vErrors.push(err208);
3216
3619
  }
3217
3620
  errors++;
3218
3621
  }
3219
3622
  }
3220
- if (data81.service !== void 0) {
3221
- if (typeof data81.service !== "string") {
3222
- const err203 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3623
+ if (data82.service !== void 0) {
3624
+ if (typeof data82.service !== "string") {
3625
+ const err209 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3223
3626
  if (vErrors === null) {
3224
- vErrors = [err203];
3627
+ vErrors = [err209];
3225
3628
  } else {
3226
- vErrors.push(err203);
3629
+ vErrors.push(err209);
3227
3630
  }
3228
3631
  errors++;
3229
3632
  }
3230
3633
  }
3231
3634
  } else {
3232
- const err204 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3635
+ const err210 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3233
3636
  if (vErrors === null) {
3234
- vErrors = [err204];
3637
+ vErrors = [err210];
3235
3638
  } else {
3236
- vErrors.push(err204);
3639
+ vErrors.push(err210);
3237
3640
  }
3238
3641
  errors++;
3239
3642
  }
3240
3643
  }
3241
3644
  } else {
3242
- const err205 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3645
+ const err211 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3243
3646
  if (vErrors === null) {
3244
- vErrors = [err205];
3647
+ vErrors = [err211];
3245
3648
  } else {
3246
- vErrors.push(err205);
3649
+ vErrors.push(err211);
3247
3650
  }
3248
3651
  errors++;
3249
3652
  }
3250
3653
  }
3251
3654
  } else {
3252
- const err206 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3655
+ const err212 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3253
3656
  if (vErrors === null) {
3254
- vErrors = [err206];
3657
+ vErrors = [err212];
3255
3658
  } else {
3256
- vErrors.push(err206);
3659
+ vErrors.push(err212);
3257
3660
  }
3258
3661
  errors++;
3259
3662
  }
3260
3663
  }
3261
3664
  } else {
3262
- const err207 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3665
+ const err213 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3263
3666
  if (vErrors === null) {
3264
- vErrors = [err207];
3667
+ vErrors = [err213];
3265
3668
  } else {
3266
- vErrors.push(err207);
3669
+ vErrors.push(err213);
3267
3670
  }
3268
3671
  errors++;
3269
3672
  }
3270
- var _valid13 = _errs215 === errors;
3673
+ var _valid13 = _errs216 === errors;
3271
3674
  if (_valid13) {
3272
3675
  valid69 = true;
3273
3676
  passing11 = 0;
3274
3677
  }
3275
- const _errs282 = errors;
3276
- if (data62 !== null) {
3277
- const err208 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
3678
+ const _errs293 = errors;
3679
+ if (data63 !== null) {
3680
+ const err214 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
3278
3681
  if (vErrors === null) {
3279
- vErrors = [err208];
3682
+ vErrors = [err214];
3280
3683
  } else {
3281
- vErrors.push(err208);
3684
+ vErrors.push(err214);
3282
3685
  }
3283
3686
  errors++;
3284
3687
  }
3285
- var _valid13 = _errs282 === errors;
3688
+ var _valid13 = _errs293 === errors;
3286
3689
  if (_valid13 && valid69) {
3287
3690
  valid69 = false;
3288
3691
  passing11 = [passing11, 1];
@@ -3293,331 +3696,331 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3293
3696
  }
3294
3697
  }
3295
3698
  if (!valid69) {
3296
- const err209 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf", keyword: "oneOf", params: { passingSchemas: passing11 }, message: "must match exactly one schema in oneOf" };
3699
+ const err215 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf", keyword: "oneOf", params: { passingSchemas: passing11 }, message: "must match exactly one schema in oneOf" };
3297
3700
  if (vErrors === null) {
3298
- vErrors = [err209];
3701
+ vErrors = [err215];
3299
3702
  } else {
3300
- vErrors.push(err209);
3703
+ vErrors.push(err215);
3301
3704
  }
3302
3705
  errors++;
3303
3706
  } else {
3304
- errors = _errs214;
3707
+ errors = _errs215;
3305
3708
  if (vErrors !== null) {
3306
- if (_errs214) {
3307
- vErrors.length = _errs214;
3709
+ if (_errs215) {
3710
+ vErrors.length = _errs215;
3308
3711
  } else {
3309
3712
  vErrors = null;
3310
3713
  }
3311
3714
  }
3312
3715
  }
3313
3716
  }
3314
- if (data47.image !== void 0) {
3315
- let data87 = data47.image;
3316
- if (typeof data87 === "string") {
3317
- if (func2(data87) < 1) {
3318
- const err210 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3717
+ if (data48.image !== void 0) {
3718
+ let data88 = data48.image;
3719
+ if (typeof data88 === "string") {
3720
+ if (func2(data88) < 1) {
3721
+ const err216 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3319
3722
  if (vErrors === null) {
3320
- vErrors = [err210];
3723
+ vErrors = [err216];
3321
3724
  } else {
3322
- vErrors.push(err210);
3725
+ vErrors.push(err216);
3323
3726
  }
3324
3727
  errors++;
3325
3728
  }
3326
3729
  } else {
3327
- const err211 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3730
+ const err217 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3328
3731
  if (vErrors === null) {
3329
- vErrors = [err211];
3732
+ vErrors = [err217];
3330
3733
  } else {
3331
- vErrors.push(err211);
3734
+ vErrors.push(err217);
3332
3735
  }
3333
3736
  errors++;
3334
3737
  }
3335
3738
  }
3336
- if (data47.params !== void 0) {
3337
- let data88 = data47.params;
3338
- if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3339
- for (const key30 in data88) {
3739
+ if (data48.params !== void 0) {
3740
+ let data89 = data48.params;
3741
+ if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3742
+ for (const key30 in data89) {
3340
3743
  if (!(key30 === "storage" || key30 === "permissions" || key30 === "tee")) {
3341
- const err212 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key30 }, message: "must NOT have additional properties" };
3744
+ const err218 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key30 }, message: "must NOT have additional properties" };
3342
3745
  if (vErrors === null) {
3343
- vErrors = [err212];
3746
+ vErrors = [err218];
3344
3747
  } else {
3345
- vErrors.push(err212);
3748
+ vErrors.push(err218);
3346
3749
  }
3347
3750
  errors++;
3348
3751
  }
3349
3752
  }
3350
- if (data88.storage !== void 0) {
3351
- let data89 = data88.storage;
3352
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3353
- for (const key31 in data89) {
3354
- let data90 = data89[key31];
3355
- if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3356
- for (const key32 in data90) {
3753
+ if (data89.storage !== void 0) {
3754
+ let data90 = data89.storage;
3755
+ if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3756
+ for (const key31 in data90) {
3757
+ let data91 = data90[key31];
3758
+ if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
3759
+ for (const key32 in data91) {
3357
3760
  if (!(key32 === "mount" || key32 === "readOnly")) {
3358
- const err213 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key32 }, message: "must NOT have additional properties" };
3761
+ const err219 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key32 }, message: "must NOT have additional properties" };
3359
3762
  if (vErrors === null) {
3360
- vErrors = [err213];
3763
+ vErrors = [err219];
3361
3764
  } else {
3362
- vErrors.push(err213);
3765
+ vErrors.push(err219);
3363
3766
  }
3364
3767
  errors++;
3365
3768
  }
3366
3769
  }
3367
- if (data90.mount !== void 0) {
3368
- let data91 = data90.mount;
3369
- if (typeof data91 === "string") {
3370
- if (func2(data91) < 1) {
3371
- const err214 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3770
+ if (data91.mount !== void 0) {
3771
+ let data92 = data91.mount;
3772
+ if (typeof data92 === "string") {
3773
+ if (func2(data92) < 1) {
3774
+ const err220 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3372
3775
  if (vErrors === null) {
3373
- vErrors = [err214];
3776
+ vErrors = [err220];
3374
3777
  } else {
3375
- vErrors.push(err214);
3778
+ vErrors.push(err220);
3376
3779
  }
3377
3780
  errors++;
3378
3781
  }
3379
- if (!pattern11.test(data91)) {
3380
- const err215 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
3782
+ if (!pattern13.test(data92)) {
3783
+ const err221 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
3381
3784
  if (vErrors === null) {
3382
- vErrors = [err215];
3785
+ vErrors = [err221];
3383
3786
  } else {
3384
- vErrors.push(err215);
3787
+ vErrors.push(err221);
3385
3788
  }
3386
3789
  errors++;
3387
3790
  }
3388
3791
  } else {
3389
- const err216 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3792
+ const err222 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3390
3793
  if (vErrors === null) {
3391
- vErrors = [err216];
3794
+ vErrors = [err222];
3392
3795
  } else {
3393
- vErrors.push(err216);
3796
+ vErrors.push(err222);
3394
3797
  }
3395
3798
  errors++;
3396
3799
  }
3397
3800
  }
3398
- if (data90.readOnly !== void 0) {
3399
- if (typeof data90.readOnly !== "boolean") {
3400
- const err217 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3801
+ if (data91.readOnly !== void 0) {
3802
+ if (typeof data91.readOnly !== "boolean") {
3803
+ const err223 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3401
3804
  if (vErrors === null) {
3402
- vErrors = [err217];
3805
+ vErrors = [err223];
3403
3806
  } else {
3404
- vErrors.push(err217);
3807
+ vErrors.push(err223);
3405
3808
  }
3406
3809
  errors++;
3407
3810
  }
3408
3811
  }
3409
3812
  } else {
3410
- const err218 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3813
+ const err224 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3411
3814
  if (vErrors === null) {
3412
- vErrors = [err218];
3815
+ vErrors = [err224];
3413
3816
  } else {
3414
- vErrors.push(err218);
3817
+ vErrors.push(err224);
3415
3818
  }
3416
3819
  errors++;
3417
3820
  }
3418
3821
  }
3419
3822
  } else {
3420
- const err219 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3823
+ const err225 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3421
3824
  if (vErrors === null) {
3422
- vErrors = [err219];
3825
+ vErrors = [err225];
3423
3826
  } else {
3424
- vErrors.push(err219);
3827
+ vErrors.push(err225);
3425
3828
  }
3426
3829
  errors++;
3427
3830
  }
3428
3831
  }
3429
- if (data88.permissions !== void 0) {
3430
- let data93 = data88.permissions;
3431
- if (data93 && typeof data93 == "object" && !Array.isArray(data93)) {
3432
- for (const key33 in data93) {
3832
+ if (data89.permissions !== void 0) {
3833
+ let data94 = data89.permissions;
3834
+ if (data94 && typeof data94 == "object" && !Array.isArray(data94)) {
3835
+ for (const key33 in data94) {
3433
3836
  if (!(key33 === "read")) {
3434
- const err220 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key33 }, message: "must NOT have additional properties" };
3837
+ const err226 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key33 }, message: "must NOT have additional properties" };
3435
3838
  if (vErrors === null) {
3436
- vErrors = [err220];
3839
+ vErrors = [err226];
3437
3840
  } else {
3438
- vErrors.push(err220);
3841
+ vErrors.push(err226);
3439
3842
  }
3440
3843
  errors++;
3441
3844
  }
3442
3845
  }
3443
- if (data93.read !== void 0) {
3444
- let data94 = data93.read;
3445
- if (Array.isArray(data94)) {
3446
- const len16 = data94.length;
3846
+ if (data94.read !== void 0) {
3847
+ let data95 = data94.read;
3848
+ if (Array.isArray(data95)) {
3849
+ const len16 = data95.length;
3447
3850
  for (let i16 = 0; i16 < len16; i16++) {
3448
- let data95 = data94[i16];
3449
- if (typeof data95 !== "string") {
3450
- const err221 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3851
+ let data96 = data95[i16];
3852
+ if (typeof data96 !== "string") {
3853
+ const err227 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3451
3854
  if (vErrors === null) {
3452
- vErrors = [err221];
3855
+ vErrors = [err227];
3453
3856
  } else {
3454
- vErrors.push(err221);
3857
+ vErrors.push(err227);
3455
3858
  }
3456
3859
  errors++;
3457
3860
  }
3458
- if (!(data95 === "deployment" || data95 === "logs" || data95 === "events")) {
3459
- const err222 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
3861
+ if (!(data96 === "deployment" || data96 === "logs" || data96 === "events")) {
3862
+ const err228 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
3460
3863
  if (vErrors === null) {
3461
- vErrors = [err222];
3864
+ vErrors = [err228];
3462
3865
  } else {
3463
- vErrors.push(err222);
3866
+ vErrors.push(err228);
3464
3867
  }
3465
3868
  errors++;
3466
3869
  }
3467
3870
  }
3468
3871
  } else {
3469
- const err223 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3872
+ const err229 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3470
3873
  if (vErrors === null) {
3471
- vErrors = [err223];
3874
+ vErrors = [err229];
3472
3875
  } else {
3473
- vErrors.push(err223);
3876
+ vErrors.push(err229);
3474
3877
  }
3475
3878
  errors++;
3476
3879
  }
3477
3880
  }
3478
3881
  } else {
3479
- const err224 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3882
+ const err230 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3480
3883
  if (vErrors === null) {
3481
- vErrors = [err224];
3884
+ vErrors = [err230];
3482
3885
  } else {
3483
- vErrors.push(err224);
3886
+ vErrors.push(err230);
3484
3887
  }
3485
3888
  errors++;
3486
3889
  }
3487
3890
  }
3488
- if (data88.tee !== void 0) {
3489
- let data96 = data88.tee;
3490
- if (typeof data96 !== "string") {
3491
- const err225 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3891
+ if (data89.tee !== void 0) {
3892
+ let data97 = data89.tee;
3893
+ if (typeof data97 !== "string") {
3894
+ const err231 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3492
3895
  if (vErrors === null) {
3493
- vErrors = [err225];
3896
+ vErrors = [err231];
3494
3897
  } else {
3495
- vErrors.push(err225);
3898
+ vErrors.push(err231);
3496
3899
  }
3497
3900
  errors++;
3498
3901
  }
3499
- if (!(data96 === "cpu" || data96 === "cpu-gpu")) {
3500
- const err226 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.tee.enum }, message: "must be equal to one of the allowed values" };
3902
+ if (!(data97 === "cpu" || data97 === "cpu-gpu")) {
3903
+ const err232 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.tee.enum }, message: "must be equal to one of the allowed values" };
3501
3904
  if (vErrors === null) {
3502
- vErrors = [err226];
3905
+ vErrors = [err232];
3503
3906
  } else {
3504
- vErrors.push(err226);
3907
+ vErrors.push(err232);
3505
3908
  }
3506
3909
  errors++;
3507
3910
  }
3508
3911
  }
3509
3912
  } else {
3510
- const err227 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3913
+ const err233 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3511
3914
  if (vErrors === null) {
3512
- vErrors = [err227];
3915
+ vErrors = [err233];
3513
3916
  } else {
3514
- vErrors.push(err227);
3917
+ vErrors.push(err233);
3515
3918
  }
3516
3919
  errors++;
3517
3920
  }
3518
3921
  }
3519
3922
  } else {
3520
- const err228 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3923
+ const err234 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3521
3924
  if (vErrors === null) {
3522
- vErrors = [err228];
3925
+ vErrors = [err234];
3523
3926
  } else {
3524
- vErrors.push(err228);
3927
+ vErrors.push(err234);
3525
3928
  }
3526
3929
  errors++;
3527
3930
  }
3528
3931
  }
3529
3932
  } else {
3530
- const err229 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3933
+ const err235 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3531
3934
  if (vErrors === null) {
3532
- vErrors = [err229];
3935
+ vErrors = [err235];
3533
3936
  } else {
3534
- vErrors.push(err229);
3937
+ vErrors.push(err235);
3535
3938
  }
3536
3939
  errors++;
3537
3940
  }
3538
3941
  }
3539
3942
  if (data.reclamation !== void 0) {
3540
- let data97 = data.reclamation;
3541
- if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
3542
- if (data97.min_window === void 0) {
3543
- const err230 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3943
+ let data98 = data.reclamation;
3944
+ if (data98 && typeof data98 == "object" && !Array.isArray(data98)) {
3945
+ if (data98.min_window === void 0) {
3946
+ const err236 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3544
3947
  if (vErrors === null) {
3545
- vErrors = [err230];
3948
+ vErrors = [err236];
3546
3949
  } else {
3547
- vErrors.push(err230);
3950
+ vErrors.push(err236);
3548
3951
  }
3549
3952
  errors++;
3550
3953
  }
3551
- for (const key34 in data97) {
3954
+ for (const key34 in data98) {
3552
3955
  if (!(key34 === "min_window")) {
3553
- const err231 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3956
+ const err237 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3554
3957
  if (vErrors === null) {
3555
- vErrors = [err231];
3958
+ vErrors = [err237];
3556
3959
  } else {
3557
- vErrors.push(err231);
3960
+ vErrors.push(err237);
3558
3961
  }
3559
3962
  errors++;
3560
3963
  }
3561
3964
  }
3562
- if (data97.min_window !== void 0) {
3563
- let data98 = data97.min_window;
3564
- if (typeof data98 === "string") {
3565
- if (!pattern12.test(data98)) {
3566
- const err232 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/pattern", keyword: "pattern", params: { pattern: "^[1-9][0-9]*(s|m|h)$" }, message: 'must match pattern "^[1-9][0-9]*(s|m|h)$"' };
3965
+ if (data98.min_window !== void 0) {
3966
+ let data99 = data98.min_window;
3967
+ if (typeof data99 === "string") {
3968
+ if (!pattern14.test(data99)) {
3969
+ const err238 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/pattern", keyword: "pattern", params: { pattern: "^[1-9][0-9]*(s|m|h)$" }, message: 'must match pattern "^[1-9][0-9]*(s|m|h)$"' };
3567
3970
  if (vErrors === null) {
3568
- vErrors = [err232];
3971
+ vErrors = [err238];
3569
3972
  } else {
3570
- vErrors.push(err232);
3973
+ vErrors.push(err238);
3571
3974
  }
3572
3975
  errors++;
3573
3976
  }
3574
3977
  } else {
3575
- const err233 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3978
+ const err239 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3576
3979
  if (vErrors === null) {
3577
- vErrors = [err233];
3980
+ vErrors = [err239];
3578
3981
  } else {
3579
- vErrors.push(err233);
3982
+ vErrors.push(err239);
3580
3983
  }
3581
3984
  errors++;
3582
3985
  }
3583
3986
  }
3584
3987
  } else {
3585
- const err234 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3988
+ const err240 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3586
3989
  if (vErrors === null) {
3587
- vErrors = [err234];
3990
+ vErrors = [err240];
3588
3991
  } else {
3589
- vErrors.push(err234);
3992
+ vErrors.push(err240);
3590
3993
  }
3591
3994
  errors++;
3592
3995
  }
3593
3996
  }
3594
3997
  if (data.version !== void 0) {
3595
- let data99 = data.version;
3596
- if (typeof data99 !== "string") {
3597
- const err235 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3998
+ let data100 = data.version;
3999
+ if (typeof data100 !== "string") {
4000
+ const err241 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3598
4001
  if (vErrors === null) {
3599
- vErrors = [err235];
4002
+ vErrors = [err241];
3600
4003
  } else {
3601
- vErrors.push(err235);
4004
+ vErrors.push(err241);
3602
4005
  }
3603
4006
  errors++;
3604
4007
  }
3605
- if (!(data99 === "2.0" || data99 === "2.1")) {
3606
- const err236 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema28.properties.version.enum }, message: "must be equal to one of the allowed values" };
4008
+ if (!(data100 === "2.0" || data100 === "2.1")) {
4009
+ const err242 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema28.properties.version.enum }, message: "must be equal to one of the allowed values" };
3607
4010
  if (vErrors === null) {
3608
- vErrors = [err236];
4011
+ vErrors = [err242];
3609
4012
  } else {
3610
- vErrors.push(err236);
4013
+ vErrors.push(err242);
3611
4014
  }
3612
4015
  errors++;
3613
4016
  }
3614
4017
  }
3615
4018
  } else {
3616
- const err237 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4019
+ const err243 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3617
4020
  if (vErrors === null) {
3618
- vErrors = [err237];
4021
+ vErrors = [err243];
3619
4022
  } else {
3620
- vErrors.push(err237);
4023
+ vErrors.push(err243);
3621
4024
  }
3622
4025
  errors++;
3623
4026
  }
@@ -3726,6 +4129,63 @@ function getErrorLocation(path) {
3726
4129
  return path ? ` at "${path}"` : "";
3727
4130
  }
3728
4131
 
4132
+ // src/sdl/duration.ts
4133
+ var DURATION_PATTERN = /^([0-9]+)(ms|s|m|h)?$/;
4134
+ var UNIT_MILLISECONDS = {
4135
+ ms: 1n,
4136
+ s: 1000n,
4137
+ m: 60000n,
4138
+ h: 3600000n
4139
+ };
4140
+ function parseDuration(value) {
4141
+ const match = DURATION_PATTERN.exec(value);
4142
+ if (!match) return void 0;
4143
+ const unit = match[2];
4144
+ if (unit !== void 0 && !isDurationUnit(unit)) return void 0;
4145
+ return {
4146
+ milliseconds: BigInt(match[1]) * (unit === void 0 ? 1n : UNIT_MILLISECONDS[unit]),
4147
+ unit
4148
+ };
4149
+ }
4150
+ function isDurationUnit(value) {
4151
+ return Object.hasOwn(UNIT_MILLISECONDS, value);
4152
+ }
4153
+
4154
+ // src/sdl/httpTimeout.ts
4155
+ var MAX_HTTP_TIMEOUT_MILLISECONDS = 4294967295;
4156
+ var MAX_HTTP_TIMEOUT_MILLISECONDS_BIGINT = BigInt(MAX_HTTP_TIMEOUT_MILLISECONDS);
4157
+ function parseHTTPTimeout(value) {
4158
+ if (typeof value === "number") {
4159
+ return validateMilliseconds(value);
4160
+ }
4161
+ const duration = parseDuration(value);
4162
+ if (!duration) {
4163
+ return {
4164
+ message: "must be milliseconds or a whole-number duration using ms, s, m, or h",
4165
+ ok: false
4166
+ };
4167
+ }
4168
+ if (duration.milliseconds > MAX_HTTP_TIMEOUT_MILLISECONDS_BIGINT) {
4169
+ return {
4170
+ message: `cannot be greater than ${MAX_HTTP_TIMEOUT_MILLISECONDS} ms`,
4171
+ ok: false
4172
+ };
4173
+ }
4174
+ return { milliseconds: Number(duration.milliseconds), ok: true };
4175
+ }
4176
+ function validateMilliseconds(milliseconds) {
4177
+ if (!Number.isSafeInteger(milliseconds) || milliseconds < 0) {
4178
+ return { message: "must resolve to a non-negative whole number of milliseconds", ok: false };
4179
+ }
4180
+ if (milliseconds > MAX_HTTP_TIMEOUT_MILLISECONDS) {
4181
+ return {
4182
+ message: `cannot be greater than ${MAX_HTTP_TIMEOUT_MILLISECONDS} ms`,
4183
+ ok: false
4184
+ };
4185
+ }
4186
+ return { milliseconds, ok: true };
4187
+ }
4188
+
3729
4189
  // src/sdl/sizes.ts
3730
4190
  var prefixes = "kmgtpe".split("");
3731
4191
  function convertResourceString(resourceStr) {
@@ -3834,13 +4294,20 @@ function transformGpuAttributes(attributes) {
3834
4294
  function buildHttpOptions(httpOptions) {
3835
4295
  return ServiceExposeHTTPOptions.fromPartial({
3836
4296
  maxBodySize: httpOptions?.max_body_size ?? 1048576,
3837
- readTimeout: httpOptions?.read_timeout ?? 6e4,
3838
- sendTimeout: httpOptions?.send_timeout ?? 6e4,
4297
+ readTimeout: normalizedHTTPTimeout(httpOptions?.read_timeout),
4298
+ sendTimeout: normalizedHTTPTimeout(httpOptions?.send_timeout),
3839
4299
  nextTries: httpOptions?.next_tries ?? 3,
3840
4300
  nextTimeout: httpOptions?.next_timeout ?? 0,
3841
4301
  nextCases: httpOptions?.next_cases ?? ["error", "timeout"]
3842
4302
  });
3843
4303
  }
4304
+ function normalizedHTTPTimeout(value) {
4305
+ const result = parseHTTPTimeout(value ?? 6e4);
4306
+ if (!result.ok) {
4307
+ throw new Error(`Invalid HTTP timeout: ${result.message}`);
4308
+ }
4309
+ return result.milliseconds;
4310
+ }
3844
4311
  function buildStorageAttributes(attributes) {
3845
4312
  if (!attributes) return [];
3846
4313
  const pairs = Object.entries(attributes).map(([key, value]) => ({
@@ -3940,7 +4407,7 @@ function validateSDL(sdl) {
3940
4407
  const allErrors = schemaErrors.concat(errors);
3941
4408
  return allErrors.length ? allErrors : void 0;
3942
4409
  }
3943
- var _endpointsUsed, _portsUsed, _teeTypeByPlacement, _sdl, _errors, _SDLValidator_instances, validateDeploymentWithRelations_fn, validateDeploymentRelations_fn, validateServiceStorages_fn, validateStorages_fn, validateGPU_fn, validateInterconnect_fn, validateTEE_fn, validateLeaseIP_fn, validateEndpoints_fn;
4410
+ var _endpointsUsed, _portsUsed, _teeTypeByPlacement, _sdl, _errors, _SDLValidator_instances, validateHTTPTimeoutRanges_fn, validateDeploymentWithRelations_fn, validateDeploymentRelations_fn, validateServiceStorages_fn, validateStorages_fn, validateGPU_fn, validateInterconnect_fn, validateTEE_fn, validateLeaseIP_fn, validateEndpoints_fn;
3944
4411
  var SDLValidator = class {
3945
4412
  constructor(sdl) {
3946
4413
  __privateAdd(this, _SDLValidator_instances);
@@ -3956,6 +4423,7 @@ var SDLValidator = class {
3956
4423
  Object.keys(__privateGet(this, _sdl).services).forEach((serviceName) => {
3957
4424
  __privateMethod(this, _SDLValidator_instances, validateDeploymentWithRelations_fn).call(this, serviceName);
3958
4425
  __privateMethod(this, _SDLValidator_instances, validateLeaseIP_fn).call(this, serviceName);
4426
+ __privateMethod(this, _SDLValidator_instances, validateHTTPTimeoutRanges_fn).call(this, serviceName);
3959
4427
  });
3960
4428
  }
3961
4429
  __privateMethod(this, _SDLValidator_instances, validateInterconnect_fn).call(this);
@@ -3969,6 +4437,31 @@ _teeTypeByPlacement = new WeakMap();
3969
4437
  _sdl = new WeakMap();
3970
4438
  _errors = new WeakMap();
3971
4439
  _SDLValidator_instances = new WeakSet();
4440
+ // JSON Schema caps numeric values, but its string pattern cannot enforce the
4441
+ // maximum after unit conversion. For example, "1194h" matches the pattern.
4442
+ validateHTTPTimeoutRanges_fn = function(serviceName) {
4443
+ const exposes = __privateGet(this, _sdl).services[serviceName]?.expose ?? [];
4444
+ for (const [exposeIndex, expose] of exposes.entries()) {
4445
+ const options = expose.http_options;
4446
+ if (!options) continue;
4447
+ for (const field of ["read_timeout", "send_timeout"]) {
4448
+ const value = options[field];
4449
+ if (value === void 0) continue;
4450
+ const result = parseHTTPTimeout(value);
4451
+ if (result.ok) continue;
4452
+ __privateGet(this, _errors).push({
4453
+ message: `HTTP ${field.replace("_", " ")} ${result.message}.`,
4454
+ instancePath: `/services/${serviceName}/expose/${exposeIndex}/http_options/${field}`,
4455
+ schemaPath: "#/definitions/httpTimeout/maximum",
4456
+ keyword: "maximum",
4457
+ params: {
4458
+ comparison: "<=",
4459
+ limit: MAX_HTTP_TIMEOUT_MILLISECONDS
4460
+ }
4461
+ });
4462
+ }
4463
+ }
4464
+ };
3972
4465
  validateDeploymentWithRelations_fn = function(serviceName) {
3973
4466
  const deployment = __privateGet(this, _sdl).deployment[serviceName];
3974
4467
  if (!deployment) {
@@ -4357,14 +4850,12 @@ validateEndpoints_fn = function() {
4357
4850
  };
4358
4851
 
4359
4852
  // src/sdl/manifest/reclamationDuration.ts
4360
- var UNIT_SECONDS = { s: 1n, m: 60n, h: 3600n };
4361
4853
  function minWindowToDuration(value) {
4362
- const unitSeconds = UNIT_SECONDS[value.at(-1) ?? ""];
4363
- const amount = Number(value.slice(0, -1));
4364
- if (unitSeconds === void 0 || !Number.isInteger(amount) || amount <= 0) {
4854
+ const duration = parseDuration(value);
4855
+ if (!duration || duration.unit === void 0 || duration.unit === "ms" || duration.milliseconds === 0n) {
4365
4856
  throw new Error(`invalid reclamation min_window "${value}"`);
4366
4857
  }
4367
- return Duration.fromPartial({ seconds: (BigInt(amount) * unitSeconds).toString(), nanos: 0 });
4858
+ return Duration.fromPartial({ seconds: duration.milliseconds / 1000n, nanos: 0 });
4368
4859
  }
4369
4860
 
4370
4861
  // src/sdl/manifest/generateManifest.ts
@@ -4409,7 +4900,8 @@ function generateManifest(sdl) {
4409
4900
  signedBy: SignedBy.fromPartial({
4410
4901
  allOf: infra.signedBy?.allOf,
4411
4902
  anyOf: infra.signedBy?.anyOf
4412
- })
4903
+ }),
4904
+ verification: buildVerificationRequirement(infra.verification)
4413
4905
  })
4414
4906
  }),
4415
4907
  boundComputes: {},
@@ -4502,6 +4994,22 @@ function generateManifest(sdl) {
4502
4994
  };
4503
4995
  return { ok: true, value: manifest };
4504
4996
  }
4997
+ var CAPABILITY_FLAGS = {
4998
+ tee_hardware_attestation: 1 /* capability_tee_hardware_attestation */,
4999
+ confidential_computing: 2 /* capability_confidential_computing */,
5000
+ persistent_storage: 3 /* capability_persistent_storage */,
5001
+ bare_metal: 4 /* capability_bare_metal */
5002
+ };
5003
+ function buildVerificationRequirement(requirement) {
5004
+ if (!requirement || requirement.min_tier === 0) return void 0;
5005
+ return VerificationRequirement.fromPartial({
5006
+ minTier: verificationTierFromJSON(requirement.min_tier),
5007
+ requiredCapabilities: (requirement.capabilities ?? []).map((capability) => CAPABILITY_FLAGS[capability]),
5008
+ requiredAuditors: requirement.auditors,
5009
+ auditorMode: requirement.auditor_mode === "all" ? 2 /* auditor_selection_mode_all */ : 1 /* auditor_selection_mode_any */,
5010
+ minAuditorCount: requirement.min_auditor_count
5011
+ });
5012
+ }
4505
5013
  function buildResources(id, compute, service, endpointSequenceNumbers) {
4506
5014
  const res = compute.resources;
4507
5015
  const cpuAttributes = buildResourceAttributes(res.cpu.attributes);
@@ -4605,6 +5113,14 @@ var encoder = new TextEncoder();
4605
5113
  var NULLABLE_MANIFEST_KEYS = /* @__PURE__ */ new Set(["command", "args", "env", "hosts", "storage"]);
4606
5114
  var OMITTED_MANIFEST_KEYS = /* @__PURE__ */ new Set(["kind", "attributes"]);
4607
5115
  var OMITTED_WHEN_EMPTY_STRING_KEYS = /* @__PURE__ */ new Set(["interconnectGroup"]);
5116
+ var OMITTED_WHEN_ZERO_KEYS = /* @__PURE__ */ new Set([
5117
+ "bufferingDisable",
5118
+ "bufferSize",
5119
+ "buffersNumber",
5120
+ "buffersSize",
5121
+ "busyBuffersSize",
5122
+ "connectTimeout"
5123
+ ]);
4608
5124
  async function generateManifestVersion(manifest) {
4609
5125
  const jsonStr = manifestToSortedJSON(manifest);
4610
5126
  const sortedBytes = encoder.encode(jsonStr);
@@ -4634,6 +5150,9 @@ function manifestReplacer(key, value) {
4634
5150
  if (OMITTED_MANIFEST_KEYS.has(key) && (Array.isArray(value) && value.length === 0 || value === 0)) {
4635
5151
  return void 0;
4636
5152
  }
5153
+ if (OMITTED_WHEN_ZERO_KEYS.has(key) && (value === 0 || value === false)) {
5154
+ return void 0;
5155
+ }
4637
5156
  if (OMITTED_WHEN_EMPTY_STRING_KEYS.has(key) && value === "") {
4638
5157
  return void 0;
4639
5158
  }
@@ -8694,29 +9213,31 @@ function createSDK(queryTransport, txTransport) {
8694
9213
 
8695
9214
  // src/generated/createNodeSDK.ts
8696
9215
  var serviceLoader2 = createServiceLoader([
8697
- () => import("./query_akash-44SHG3FL.js").then((m) => m.Query),
8698
- () => import("./service_akash-KRCYHNCN.js").then((m) => m.Msg),
8699
- () => import("./query_akash-72TFPQBZ.js").then((m) => m.Query),
8700
- () => import("./service_akash-SXXXZL6K.js").then((m) => m.Msg),
9216
+ () => import("./query_akash-HCIMNA7T.js").then((m) => m.Query),
9217
+ () => import("./service_akash-3R3TC3PH.js").then((m) => m.Msg),
9218
+ () => import("./query_akash-HN4NCENR.js").then((m) => m.Query),
9219
+ () => import("./service_akash-KAJJV7LX.js").then((m) => m.Msg),
8701
9220
  () => import("./query_akash-253P4X3A.js").then((m) => m.Query),
8702
9221
  () => import("./service_akash-4H6WUSYG.js").then((m) => m.Msg),
8703
- () => import("./query_akash-54EYS6GQ.js").then((m) => m.Query),
8704
- () => import("./service_akash-YXSRY4G3.js").then((m) => m.Msg),
9222
+ () => import("./query_akash-SOJJMCBH.js").then((m) => m.Query),
9223
+ () => import("./service_akash-AXWB3IDG.js").then((m) => m.Msg),
8705
9224
  () => import("./service_akash-LS73FH6D.js").then((m) => m.Discovery),
8706
9225
  () => import("./query_akash-U2XM5NDH.js").then((m) => m.Query),
8707
9226
  () => import("./query_akash-3MIPQKOJ.js").then((m) => m.Query),
8708
- () => import("./query_akash-I3RPHLVA.js").then((m) => m.Query),
9227
+ () => import("./query_akash-BTYAA6UN.js").then((m) => m.Query),
8709
9228
  () => import("./service_akash-GYTWD2OK.js").then((m) => m.Msg),
8710
- () => import("./query_akash-TZ6F7OO4.js").then((m) => m.Query),
8711
- () => import("./service_akash-Z4CR3DWY.js").then((m) => m.Msg),
8712
- () => import("./query_akash-EGFDDA4L.js").then((m) => m.Query),
8713
- () => import("./service_akash-JQKI2SJP.js").then((m) => m.Msg),
8714
- () => import("./query_akash-QF2LHJQN.js").then((m) => m.Query),
8715
- () => import("./service_akash-PFTEVUGK.js").then((m) => m.Msg),
8716
- () => import("./query_akash-N3FPIXVQ.js").then((m) => m.Query),
8717
- () => import("./service_akash-5AUMDLU5.js").then((m) => m.Msg),
9229
+ () => import("./query_akash-LSGWB5MI.js").then((m) => m.Query),
9230
+ () => import("./service_akash-BZTUHKJO.js").then((m) => m.Msg),
9231
+ () => import("./query_akash-SVNQ4S67.js").then((m) => m.Query),
9232
+ () => import("./service_akash-HFGWADC2.js").then((m) => m.Msg),
9233
+ () => import("./query_akash-EG43V2QH.js").then((m) => m.Query),
9234
+ () => import("./service_akash-QTGRTXLG.js").then((m) => m.Msg),
9235
+ () => import("./query_akash-KU4YCMUU.js").then((m) => m.Query),
9236
+ () => import("./service_akash-KYLB3OP3.js").then((m) => m.Msg),
8718
9237
  () => import("./query_akash-2ZMDMM2D.js").then((m) => m.Query),
8719
9238
  () => import("./service_akash-FMRY564Q.js").then((m) => m.Msg),
9239
+ () => import("./query_akash-XYSUQTZC.js").then((m) => m.Query),
9240
+ () => import("./service_akash-LJBOWZZG.js").then((m) => m.Msg),
8720
9241
  () => import("./query_akash-SSXFWCZX.js").then((m) => m.Query),
8721
9242
  () => import("./service_akash-CCR2X2Q5.js").then((m) => m.Msg)
8722
9243
  ]);
@@ -9066,6 +9587,13 @@ function createSDK2(queryTransport, txTransport) {
9066
9587
  const service = await serviceLoader2.loadAt(13);
9067
9588
  return getClient(service).lease(input, options);
9068
9589
  }, { path: [13, "lease"], serviceLoader: serviceLoader2 }),
9590
+ /**
9591
+ * getProviderLeaseStats queries aggregate lease-completion stats for a provider.
9592
+ */
9593
+ getProviderLeaseStats: withMetadata(async function getProviderLeaseStats(input, options) {
9594
+ const service = await serviceLoader2.loadAt(13);
9595
+ return getClient(service).providerLeaseStats(input, options);
9596
+ }, { path: [13, "providerLeaseStats"], serviceLoader: serviceLoader2 }),
9069
9597
  /**
9070
9598
  * getParams returns the total set of market parameters.
9071
9599
  */
@@ -9225,6 +9753,34 @@ function createSDK2(queryTransport, txTransport) {
9225
9753
  const service = await serviceLoader2.loadAt(19);
9226
9754
  return getClient(service).provider(input, options);
9227
9755
  }, { path: [19, "provider"], serviceLoader: serviceLoader2 }),
9756
+ /**
9757
+ * getProviderMaintenance queries a provider maintenance record.
9758
+ */
9759
+ getProviderMaintenance: withMetadata(async function getProviderMaintenance(input, options) {
9760
+ const service = await serviceLoader2.loadAt(19);
9761
+ return getClient(service).providerMaintenance(input, options);
9762
+ }, { path: [19, "providerMaintenance"], serviceLoader: serviceLoader2 }),
9763
+ /**
9764
+ * getProviderMaintenances queries provider maintenance records.
9765
+ */
9766
+ getProviderMaintenances: withMetadata(async function getProviderMaintenances(input, options) {
9767
+ const service = await serviceLoader2.loadAt(19);
9768
+ return getClient(service).providerMaintenances(input, options);
9769
+ }, { path: [19, "providerMaintenances"], serviceLoader: serviceLoader2 }),
9770
+ /**
9771
+ * getParams returns the x/provider ProviderMaintenanceParams.
9772
+ */
9773
+ getParams: withMetadata(async function getParams(input = {}, options) {
9774
+ const service = await serviceLoader2.loadAt(19);
9775
+ return getClient(service).params(input, options);
9776
+ }, { path: [19, "params"], serviceLoader: serviceLoader2 }),
9777
+ /**
9778
+ * getRegistration queries provider registration details.
9779
+ */
9780
+ getRegistration: withMetadata(async function getRegistration(input, options) {
9781
+ const service = await serviceLoader2.loadAt(19);
9782
+ return getClient(service).registration(input, options);
9783
+ }, { path: [19, "registration"], serviceLoader: serviceLoader2 }),
9228
9784
  /**
9229
9785
  * createProvider defines a method that creates a provider given the proper inputs.
9230
9786
  */
@@ -9245,7 +9801,31 @@ function createSDK2(queryTransport, txTransport) {
9245
9801
  deleteProvider: withMetadata(async function deleteProvider(input, options) {
9246
9802
  const service = await serviceLoader2.loadAt(20);
9247
9803
  return getMsgClient(service).deleteProvider(input, options);
9248
- }, { path: [20, "deleteProvider"], serviceLoader: serviceLoader2 })
9804
+ }, { path: [20, "deleteProvider"], serviceLoader: serviceLoader2 }),
9805
+ /**
9806
+ * openProviderMaintenance opens a provider maintenance window.
9807
+ */
9808
+ openProviderMaintenance: withMetadata(async function openProviderMaintenance(input, options) {
9809
+ const service = await serviceLoader2.loadAt(20);
9810
+ return getMsgClient(service).openProviderMaintenance(input, options);
9811
+ }, { path: [20, "openProviderMaintenance"], serviceLoader: serviceLoader2 }),
9812
+ /**
9813
+ * closeProviderMaintenance closes an open maintenance window.
9814
+ */
9815
+ closeProviderMaintenance: withMetadata(async function closeProviderMaintenance(input, options) {
9816
+ const service = await serviceLoader2.loadAt(20);
9817
+ return getMsgClient(service).closeProviderMaintenance(input, options);
9818
+ }, { path: [20, "closeProviderMaintenance"], serviceLoader: serviceLoader2 }),
9819
+ /**
9820
+ * updateParams is a governance operation for updating the x/provider
9821
+ * parameters.
9822
+ *
9823
+ * Since: akash v1.0.0
9824
+ */
9825
+ updateParams: withMetadata(async function updateParams(input, options) {
9826
+ const service = await serviceLoader2.loadAt(20);
9827
+ return getMsgClient(service).updateParams(input, options);
9828
+ }, { path: [20, "updateParams"], serviceLoader: serviceLoader2 })
9249
9829
  }
9250
9830
  },
9251
9831
  take: {
@@ -9269,15 +9849,277 @@ function createSDK2(queryTransport, txTransport) {
9269
9849
  }, { path: [22, "updateParams"], serviceLoader: serviceLoader2 })
9270
9850
  }
9271
9851
  },
9272
- wasm: {
9852
+ verification: {
9273
9853
  v1: {
9274
9854
  /**
9275
- * getParams returns the total set of wasm parameters.
9855
+ * getAuditor returns the on-chain record for a single auditor identified by
9856
+ * its bech32 address.
9857
+ */
9858
+ getAuditor: withMetadata(async function getAuditor(input, options) {
9859
+ const service = await serviceLoader2.loadAt(23);
9860
+ return getClient(service).auditor(input, options);
9861
+ }, { path: [23, "auditor"], serviceLoader: serviceLoader2 }),
9862
+ /**
9863
+ * getAuditors returns a paginated list of auditor records, optionally filtered
9864
+ * by AuditorStatus.
9865
+ */
9866
+ getAuditors: withMetadata(async function getAuditors(input, options) {
9867
+ const service = await serviceLoader2.loadAt(23);
9868
+ return getClient(service).auditors(input, options);
9869
+ }, { path: [23, "auditors"], serviceLoader: serviceLoader2 }),
9870
+ /**
9871
+ * getAttestation returns the attestation record for a specific
9872
+ * (provider, auditor) pair.
9873
+ */
9874
+ getAttestation: withMetadata(async function getAttestation(input, options) {
9875
+ const service = await serviceLoader2.loadAt(23);
9876
+ return getClient(service).attestation(input, options);
9877
+ }, { path: [23, "attestation"], serviceLoader: serviceLoader2 }),
9878
+ /**
9879
+ * getProviderAttestations returns a paginated list of all attestation records
9880
+ * for the given provider, optionally filtered by AttestationStatus.
9881
+ */
9882
+ getProviderAttestations: withMetadata(async function getProviderAttestations(input, options) {
9883
+ const service = await serviceLoader2.loadAt(23);
9884
+ return getClient(service).providerAttestations(input, options);
9885
+ }, { path: [23, "providerAttestations"], serviceLoader: serviceLoader2 }),
9886
+ /**
9887
+ * getAuditorAttestations returns a paginated list of all attestation records
9888
+ * submitted by the given auditor. No status filter is applied; callers can
9889
+ * page through every attestation the auditor has emitted.
9890
+ */
9891
+ getAuditorAttestations: withMetadata(async function getAuditorAttestations(input, options) {
9892
+ const service = await serviceLoader2.loadAt(23);
9893
+ return getClient(service).auditorAttestations(input, options);
9894
+ }, { path: [23, "auditorAttestations"], serviceLoader: serviceLoader2 }),
9895
+ /**
9896
+ * getDiscrepancy returns a single discrepancy event by its numeric id.
9897
+ */
9898
+ getDiscrepancy: withMetadata(async function getDiscrepancy(input, options) {
9899
+ const service = await serviceLoader2.loadAt(23);
9900
+ return getClient(service).discrepancy(input, options);
9901
+ }, { path: [23, "discrepancy"], serviceLoader: serviceLoader2 }),
9902
+ /**
9903
+ * getDiscrepancies returns a paginated list of discrepancy events, optionally
9904
+ * filtered by DiscrepancyStatus.
9905
+ */
9906
+ getDiscrepancies: withMetadata(async function getDiscrepancies(input, options) {
9907
+ const service = await serviceLoader2.loadAt(23);
9908
+ return getClient(service).discrepancies(input, options);
9909
+ }, { path: [23, "discrepancies"], serviceLoader: serviceLoader2 }),
9910
+ /**
9911
+ * getAuditEscrow returns a single audit-escrow record by its numeric id.
9912
+ */
9913
+ getAuditEscrow: withMetadata(async function getAuditEscrow(input, options) {
9914
+ const service = await serviceLoader2.loadAt(23);
9915
+ return getClient(service).auditEscrow(input, options);
9916
+ }, { path: [23, "auditEscrow"], serviceLoader: serviceLoader2 }),
9917
+ /**
9918
+ * getProviderAuditEscrows returns a paginated list of audit-escrow records
9919
+ * opened by the given provider, optionally filtered by AuditEscrowStatus.
9920
+ */
9921
+ getProviderAuditEscrows: withMetadata(async function getProviderAuditEscrows(input, options) {
9922
+ const service = await serviceLoader2.loadAt(23);
9923
+ return getClient(service).providerAuditEscrows(input, options);
9924
+ }, { path: [23, "providerAuditEscrows"], serviceLoader: serviceLoader2 }),
9925
+ /**
9926
+ * getProviderVerificationGrace returns the verification-grace record for the
9927
+ * given provider, if one is currently tracked.
9928
+ */
9929
+ getProviderVerificationGrace: withMetadata(async function getProviderVerificationGrace(input, options) {
9930
+ const service = await serviceLoader2.loadAt(23);
9931
+ return getClient(service).providerVerificationGrace(input, options);
9932
+ }, { path: [23, "providerVerificationGrace"], serviceLoader: serviceLoader2 }),
9933
+ /**
9934
+ * getProviderBond returns the provider's bond record.
9935
+ */
9936
+ getProviderBond: withMetadata(async function getProviderBond(input, options) {
9937
+ const service = await serviceLoader2.loadAt(23);
9938
+ return getClient(service).providerBond(input, options);
9939
+ }, { path: [23, "providerBond"], serviceLoader: serviceLoader2 }),
9940
+ /**
9941
+ * getProviderSnapshot returns the most recent provider snapshot record posted
9942
+ * on-chain by the given provider.
9943
+ */
9944
+ getProviderSnapshot: withMetadata(async function getProviderSnapshot(input, options) {
9945
+ const service = await serviceLoader2.loadAt(23);
9946
+ return getClient(service).providerSnapshot(input, options);
9947
+ }, { path: [23, "providerSnapshot"], serviceLoader: serviceLoader2 }),
9948
+ /**
9949
+ * getParams returns the current parameter set for the verification module.
9276
9950
  */
9277
9951
  getParams: withMetadata(async function getParams(input = {}, options) {
9278
9952
  const service = await serviceLoader2.loadAt(23);
9279
9953
  return getClient(service).params(input, options);
9280
9954
  }, { path: [23, "params"], serviceLoader: serviceLoader2 }),
9955
+ /**
9956
+ * postAuditorBond posts (or tops up) an auditor's verification bond.
9957
+ */
9958
+ postAuditorBond: withMetadata(async function postAuditorBond(input, options) {
9959
+ const service = await serviceLoader2.loadAt(24);
9960
+ return getMsgClient(service).postAuditorBond(input, options);
9961
+ }, { path: [24, "postAuditorBond"], serviceLoader: serviceLoader2 }),
9962
+ /**
9963
+ * openAuditEscrow opens a new audit escrow funding a pending attestation.
9964
+ */
9965
+ openAuditEscrow: withMetadata(async function openAuditEscrow(input, options) {
9966
+ const service = await serviceLoader2.loadAt(24);
9967
+ return getMsgClient(service).openAuditEscrow(input, options);
9968
+ }, { path: [24, "openAuditEscrow"], serviceLoader: serviceLoader2 }),
9969
+ /**
9970
+ * cancelAuditEscrow cancels an open, unconsumed audit escrow before expiry
9971
+ * and returns the fee and provider deposit to the provider.
9972
+ */
9973
+ cancelAuditEscrow: withMetadata(async function cancelAuditEscrow(input, options) {
9974
+ const service = await serviceLoader2.loadAt(24);
9975
+ return getMsgClient(service).cancelAuditEscrow(input, options);
9976
+ }, { path: [24, "cancelAuditEscrow"], serviceLoader: serviceLoader2 }),
9977
+ /**
9978
+ * settleAuditEscrow settles an unconsumed audit escrow with an explicit
9979
+ * reason, fault attribution, and evidence reference.
9980
+ */
9981
+ settleAuditEscrow: withMetadata(async function settleAuditEscrow(input, options) {
9982
+ const service = await serviceLoader2.loadAt(24);
9983
+ return getMsgClient(service).settleAuditEscrow(input, options);
9984
+ }, { path: [24, "settleAuditEscrow"], serviceLoader: serviceLoader2 }),
9985
+ /**
9986
+ * submitAttestation submits an attestation about a provider; the first
9987
+ * valid submission against a matching open escrow consumes it.
9988
+ */
9989
+ submitAttestation: withMetadata(async function submitAttestation(input, options) {
9990
+ const service = await serviceLoader2.loadAt(24);
9991
+ return getMsgClient(service).submitAttestation(input, options);
9992
+ }, { path: [24, "submitAttestation"], serviceLoader: serviceLoader2 }),
9993
+ /**
9994
+ * revokeAttestation revokes a previously submitted attestation with a
9995
+ * typed reason and evidence reference.
9996
+ */
9997
+ revokeAttestation: withMetadata(async function revokeAttestation(input, options) {
9998
+ const service = await serviceLoader2.loadAt(24);
9999
+ return getMsgClient(service).revokeAttestation(input, options);
10000
+ }, { path: [24, "revokeAttestation"], serviceLoader: serviceLoader2 }),
10001
+ /**
10002
+ * removeAttestation voluntarily removes an attestation associated with the
10003
+ * signing provider.
10004
+ */
10005
+ removeAttestation: withMetadata(async function removeAttestation(input, options) {
10006
+ const service = await serviceLoader2.loadAt(24);
10007
+ return getMsgClient(service).removeAttestation(input, options);
10008
+ }, { path: [24, "removeAttestation"], serviceLoader: serviceLoader2 }),
10009
+ /**
10010
+ * resignAuditor voluntarily exits the auditor role and begins unbonding
10011
+ * of any posted auditor bond.
10012
+ */
10013
+ resignAuditor: withMetadata(async function resignAuditor(input, options) {
10014
+ const service = await serviceLoader2.loadAt(24);
10015
+ return getMsgClient(service).resignAuditor(input, options);
10016
+ }, { path: [24, "resignAuditor"], serviceLoader: serviceLoader2 }),
10017
+ /**
10018
+ * postProviderBond posts (or tops up) a provider's resource-scaled
10019
+ * verification bond.
10020
+ */
10021
+ postProviderBond: withMetadata(async function postProviderBond(input, options) {
10022
+ const service = await serviceLoader2.loadAt(24);
10023
+ return getMsgClient(service).postProviderBond(input, options);
10024
+ }, { path: [24, "postProviderBond"], serviceLoader: serviceLoader2 }),
10025
+ /**
10026
+ * withdrawProviderBond initiates withdrawal of part or all of a provider's
10027
+ * verification bond.
10028
+ */
10029
+ withdrawProviderBond: withMetadata(async function withdrawProviderBond(input, options) {
10030
+ const service = await serviceLoader2.loadAt(24);
10031
+ return getMsgClient(service).withdrawProviderBond(input, options);
10032
+ }, { path: [24, "withdrawProviderBond"], serviceLoader: serviceLoader2 }),
10033
+ /**
10034
+ * postSnapshotHash posts the provider's most recent resource snapshot hash
10035
+ * and inline resource summary.
10036
+ */
10037
+ postSnapshotHash: withMetadata(async function postSnapshotHash(input, options) {
10038
+ const service = await serviceLoader2.loadAt(24);
10039
+ return getMsgClient(service).postSnapshotHash(input, options);
10040
+ }, { path: [24, "postSnapshotHash"], serviceLoader: serviceLoader2 }),
10041
+ /**
10042
+ * registerAuditor registers a new auditor with a maximum attestation tier;
10043
+ * governance only.
10044
+ */
10045
+ registerAuditor: withMetadata(async function registerAuditor(input, options) {
10046
+ const service = await serviceLoader2.loadAt(24);
10047
+ return getMsgClient(service).registerAuditor(input, options);
10048
+ }, { path: [24, "registerAuditor"], serviceLoader: serviceLoader2 }),
10049
+ /**
10050
+ * renewAuditor renews an auditor's registration and resets the renewal
10051
+ * deadline; governance only.
10052
+ */
10053
+ renewAuditor: withMetadata(async function renewAuditor(input, options) {
10054
+ const service = await serviceLoader2.loadAt(24);
10055
+ return getMsgClient(service).renewAuditor(input, options);
10056
+ }, { path: [24, "renewAuditor"], serviceLoader: serviceLoader2 }),
10057
+ /**
10058
+ * removeAuditor removes an auditor from the active set; governance only.
10059
+ */
10060
+ removeAuditor: withMetadata(async function removeAuditor(input, options) {
10061
+ const service = await serviceLoader2.loadAt(24);
10062
+ return getMsgClient(service).removeAuditor(input, options);
10063
+ }, { path: [24, "removeAuditor"], serviceLoader: serviceLoader2 }),
10064
+ /**
10065
+ * revokeProviderAttestation revokes a single attestation for a specific
10066
+ * provider/auditor pair; governance only.
10067
+ */
10068
+ revokeProviderAttestation: withMetadata(async function revokeProviderAttestation(input, options) {
10069
+ const service = await serviceLoader2.loadAt(24);
10070
+ return getMsgClient(service).revokeProviderAttestation(input, options);
10071
+ }, { path: [24, "revokeProviderAttestation"], serviceLoader: serviceLoader2 }),
10072
+ /**
10073
+ * revokeAllProviderAttestations revokes every active attestation for a
10074
+ * single provider; governance only.
10075
+ */
10076
+ revokeAllProviderAttestations: withMetadata(async function revokeAllProviderAttestations(input, options) {
10077
+ const service = await serviceLoader2.loadAt(24);
10078
+ return getMsgClient(service).revokeAllProviderAttestations(input, options);
10079
+ }, { path: [24, "revokeAllProviderAttestations"], serviceLoader: serviceLoader2 }),
10080
+ /**
10081
+ * revokeAuditorAttestations revokes every active attestation issued by a
10082
+ * single auditor; governance only.
10083
+ */
10084
+ revokeAuditorAttestations: withMetadata(async function revokeAuditorAttestations(input, options) {
10085
+ const service = await serviceLoader2.loadAt(24);
10086
+ return getMsgClient(service).revokeAuditorAttestations(input, options);
10087
+ }, { path: [24, "revokeAuditorAttestations"], serviceLoader: serviceLoader2 }),
10088
+ /**
10089
+ * resolveDiscrepancy resolves a pending discrepancy between two auditors
10090
+ * over the same provider; governance only.
10091
+ */
10092
+ resolveDiscrepancy: withMetadata(async function resolveDiscrepancy(input, options) {
10093
+ const service = await serviceLoader2.loadAt(24);
10094
+ return getMsgClient(service).resolveDiscrepancy(input, options);
10095
+ }, { path: [24, "resolveDiscrepancy"], serviceLoader: serviceLoader2 }),
10096
+ /**
10097
+ * slashProviderBond slashes a fraction of a provider's verification bond;
10098
+ * governance only.
10099
+ */
10100
+ slashProviderBond: withMetadata(async function slashProviderBond(input, options) {
10101
+ const service = await serviceLoader2.loadAt(24);
10102
+ return getMsgClient(service).slashProviderBond(input, options);
10103
+ }, { path: [24, "slashProviderBond"], serviceLoader: serviceLoader2 }),
10104
+ /**
10105
+ * updateParams updates the x/verification module parameters; governance
10106
+ * only.
10107
+ */
10108
+ updateParams: withMetadata(async function updateParams(input, options) {
10109
+ const service = await serviceLoader2.loadAt(24);
10110
+ return getMsgClient(service).updateParams(input, options);
10111
+ }, { path: [24, "updateParams"], serviceLoader: serviceLoader2 })
10112
+ }
10113
+ },
10114
+ wasm: {
10115
+ v1: {
10116
+ /**
10117
+ * getParams returns the total set of wasm parameters.
10118
+ */
10119
+ getParams: withMetadata(async function getParams(input = {}, options) {
10120
+ const service = await serviceLoader2.loadAt(25);
10121
+ return getClient(service).params(input, options);
10122
+ }, { path: [25, "params"], serviceLoader: serviceLoader2 }),
9281
10123
  /**
9282
10124
  * updateParams defines a governance operation for updating the x/wasm module
9283
10125
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -9285,9 +10127,9 @@ function createSDK2(queryTransport, txTransport) {
9285
10127
  * Since: akash v2.0.0
9286
10128
  */
9287
10129
  updateParams: withMetadata(async function updateParams(input, options) {
9288
- const service = await serviceLoader2.loadAt(24);
10130
+ const service = await serviceLoader2.loadAt(26);
9289
10131
  return getMsgClient(service).updateParams(input, options);
9290
- }, { path: [24, "updateParams"], serviceLoader: serviceLoader2 })
10132
+ }, { path: [26, "updateParams"], serviceLoader: serviceLoader2 })
9291
10133
  }
9292
10134
  }
9293
10135
  }
@@ -9551,4 +10393,4 @@ export {
9551
10393
  isRetryEnabled,
9552
10394
  createTxTransport
9553
10395
  };
9554
- //# sourceMappingURL=chunk-UHI2V2WP.js.map
10396
+ //# sourceMappingURL=chunk-5VWXQLXG.js.map