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

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 (293) 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/generateManifestVersion.cjs +11 -0
  82. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  83. package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
  84. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  85. package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
  86. package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
  87. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
  88. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  89. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
  90. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  91. package/dist/esm/chunk-2NPYA3YV.js +1563 -0
  92. package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
  93. package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
  94. package/dist/esm/chunk-474YCD2T.js +356 -0
  95. package/dist/esm/chunk-474YCD2T.js.map +7 -0
  96. package/dist/esm/chunk-4CTTYO4O.js +890 -0
  97. package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
  98. package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
  99. package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
  100. package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
  101. package/dist/esm/chunk-AIWCRXMP.js +672 -0
  102. package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
  103. package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
  104. package/dist/esm/chunk-BI4YL5KH.js +2742 -0
  105. package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
  106. package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
  107. package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
  108. package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
  109. package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
  110. package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
  111. package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
  112. package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
  113. package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
  114. package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
  115. package/dist/esm/chunk-IFKY7FXY.js +484 -0
  116. package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
  117. package/dist/esm/chunk-J4CJEGEM.js +3016 -0
  118. package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
  119. package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
  120. package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
  121. package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
  122. package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
  123. package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
  124. package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
  125. package/dist/esm/chunk-PEHPXXTS.js +1053 -0
  126. package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
  127. package/dist/esm/chunk-PTMMQODC.js +760 -0
  128. package/dist/esm/chunk-PTMMQODC.js.map +7 -0
  129. package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
  130. package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
  131. package/dist/esm/chunk-PYD5MY63.js.map +7 -0
  132. package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
  133. package/dist/esm/chunk-SK7LOVVI.js +660 -0
  134. package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
  135. package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
  136. package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
  137. package/dist/esm/chunk-VYCICKFV.js +698 -0
  138. package/dist/esm/chunk-VYCICKFV.js.map +7 -0
  139. package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
  140. package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
  141. package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
  142. package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
  143. package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
  144. package/dist/esm/{chunk-UHI2V2WP.js → chunk-YFIDWQNM.js} +1308 -487
  145. package/dist/esm/chunk-YFIDWQNM.js.map +7 -0
  146. package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
  147. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  148. package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
  149. package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
  150. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  151. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  152. package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
  153. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
  154. package/dist/esm/index.js +54 -36
  155. package/dist/esm/index.js.map +2 -2
  156. package/dist/esm/index.web.js +14 -13
  157. package/dist/esm/index.web.js.map +1 -1
  158. package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
  159. package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
  160. package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
  161. package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
  162. package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
  163. package/dist/esm/query_akash-KU4YCMUU.js +85 -0
  164. package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
  165. package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
  166. package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
  167. package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
  168. package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
  169. package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
  170. package/dist/esm/query_akash-XYSUQTZC.js +164 -0
  171. package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
  172. package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
  173. package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
  174. package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
  175. package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
  176. package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
  177. package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
  178. package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
  179. package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
  180. package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
  181. package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
  182. package/dist/esm/service_akash-KYLB3OP3.js +78 -0
  183. package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
  184. package/dist/esm/service_akash-LJBOWZZG.js +221 -0
  185. package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
  186. package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
  187. package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
  188. package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
  189. package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
  190. package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
  191. package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
  192. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
  193. package/dist/sdl-schema.yaml +84 -8
  194. package/dist/tsconfig.build.tsbuildinfo +1 -1
  195. package/dist/types/generated/createNodeSDK.d.ts +473 -0
  196. package/dist/types/generated/createProviderSDK.d.ts +31 -0
  197. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
  198. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
  199. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
  200. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
  201. package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
  202. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
  203. package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
  204. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
  205. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
  206. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
  207. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
  208. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
  209. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
  210. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
  211. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
  212. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
  213. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
  214. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
  215. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
  216. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
  217. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
  218. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
  219. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
  220. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
  221. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
  222. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
  223. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
  224. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
  225. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
  226. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
  227. package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
  228. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
  229. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  230. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  231. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  232. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
  233. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
  234. package/dist/types/sdl/duration.d.ts +13 -0
  235. package/dist/types/sdl/httpTimeout.d.ts +10 -0
  236. package/dist/types/sdl/index.d.ts +0 -1
  237. package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
  238. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
  239. package/package.json +1 -1
  240. package/dist/cjs/sdl/types.cjs.map +0 -7
  241. package/dist/esm/chunk-C3WV6GJ6.js +0 -234
  242. package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
  243. package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
  244. package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
  245. package/dist/esm/chunk-E7KECYS7.js.map +0 -7
  246. package/dist/esm/chunk-IVLF3VVZ.js +0 -364
  247. package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
  248. package/dist/esm/chunk-MV27RM25.js +0 -368
  249. package/dist/esm/chunk-MV27RM25.js.map +0 -7
  250. package/dist/esm/chunk-S2CZQ6AM.js +0 -211
  251. package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
  252. package/dist/esm/chunk-SXGU4O34.js +0 -258
  253. package/dist/esm/chunk-SXGU4O34.js.map +0 -7
  254. package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
  255. package/dist/esm/chunk-V42TLXWK.js +0 -177
  256. package/dist/esm/chunk-V42TLXWK.js.map +0 -7
  257. package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
  258. package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
  259. package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
  260. package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
  261. package/dist/esm/service_akash-5AUMDLU5.js +0 -46
  262. package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
  263. package/dist/types/sdl/types.d.ts +0 -305
  264. /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
  265. /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
  266. /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
  267. /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
  268. /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
  269. /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
  270. /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
  271. /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
  272. /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
  273. /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
  274. /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
  275. /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
  276. /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
  277. /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
  278. /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
  279. /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
  280. /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
  281. /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
  282. /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
  283. /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
  284. /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
  285. /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
  286. /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
  287. /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
  288. /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
  289. /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
  290. /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
  291. /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
  292. /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
  293. /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
@@ -53,16 +53,17 @@ var require_ucs2length = __commonJS({
53
53
  });
54
54
  var validate = validate27;
55
55
  var stdin_default = validate27;
56
- 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" };
56
+ 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" };
57
57
  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" };
58
- var schema40 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
58
+ var schema42 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
59
59
  var pattern4 = new RegExp("^[a-z]+[-_0-9a-z]+$", "u");
60
60
  var pattern6 = new RegExp("^0+(\\.0+)?m?$", "u");
61
61
  var pattern7 = new RegExp("^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "u");
62
62
  var pattern8 = new RegExp("^0+(\\.0+)?$", "u");
63
63
  var pattern10 = new RegExp("^[0-9]+(\\.[0-9]+)?$", "u");
64
- var pattern11 = new RegExp("^/", "u");
65
- var pattern12 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
64
+ var pattern11 = new RegExp("^[0-9]+(ms|s|m|h)?$", "u");
65
+ var pattern13 = new RegExp("^/", "u");
66
+ var pattern14 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
66
67
  var func2 = require_ucs2length().default;
67
68
  function validate29(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
68
69
  let vErrors = null;
@@ -478,6 +479,284 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
478
479
  validate28.errors = vErrors;
479
480
  return errors === 0;
480
481
  }
482
+ 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" };
483
+ function validate33(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
484
+ let vErrors = null;
485
+ let errors = 0;
486
+ const _errs3 = errors;
487
+ let valid2 = true;
488
+ const _errs4 = errors;
489
+ if (data && typeof data == "object" && !Array.isArray(data)) {
490
+ let missing0;
491
+ if (data.min_tier === void 0 && (missing0 = "min_tier")) {
492
+ const err0 = {};
493
+ if (vErrors === null) {
494
+ vErrors = [err0];
495
+ } else {
496
+ vErrors.push(err0);
497
+ }
498
+ errors++;
499
+ } else {
500
+ if (data.min_tier !== void 0) {
501
+ if (0 !== data.min_tier) {
502
+ const err1 = {};
503
+ if (vErrors === null) {
504
+ vErrors = [err1];
505
+ } else {
506
+ vErrors.push(err1);
507
+ }
508
+ errors++;
509
+ }
510
+ }
511
+ }
512
+ }
513
+ var _valid0 = _errs4 === errors;
514
+ errors = _errs3;
515
+ if (vErrors !== null) {
516
+ if (_errs3) {
517
+ vErrors.length = _errs3;
518
+ } else {
519
+ vErrors = null;
520
+ }
521
+ }
522
+ if (_valid0) {
523
+ const _errs6 = errors;
524
+ if (data && typeof data == "object" && !Array.isArray(data)) {
525
+ if (data.capabilities !== void 0) {
526
+ let data1 = data.capabilities;
527
+ if (Array.isArray(data1)) {
528
+ if (data1.length > 0) {
529
+ 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" };
530
+ if (vErrors === null) {
531
+ vErrors = [err2];
532
+ } else {
533
+ vErrors.push(err2);
534
+ }
535
+ errors++;
536
+ }
537
+ }
538
+ }
539
+ if (data.auditors !== void 0) {
540
+ let data2 = data.auditors;
541
+ if (Array.isArray(data2)) {
542
+ if (data2.length > 0) {
543
+ 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" };
544
+ if (vErrors === null) {
545
+ vErrors = [err3];
546
+ } else {
547
+ vErrors.push(err3);
548
+ }
549
+ errors++;
550
+ }
551
+ }
552
+ }
553
+ if (data.min_auditor_count !== void 0) {
554
+ let data3 = data.min_auditor_count;
555
+ if (typeof data3 == "number") {
556
+ if (data3 > 0 || isNaN(data3)) {
557
+ 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" };
558
+ if (vErrors === null) {
559
+ vErrors = [err4];
560
+ } else {
561
+ vErrors.push(err4);
562
+ }
563
+ errors++;
564
+ }
565
+ }
566
+ }
567
+ }
568
+ var _valid0 = _errs6 === errors;
569
+ valid2 = _valid0;
570
+ }
571
+ if (!valid2) {
572
+ const err5 = { instancePath, schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
573
+ if (vErrors === null) {
574
+ vErrors = [err5];
575
+ } else {
576
+ vErrors.push(err5);
577
+ }
578
+ errors++;
579
+ }
580
+ if (data && typeof data == "object" && !Array.isArray(data)) {
581
+ if (data.min_tier === void 0) {
582
+ const err6 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "min_tier" }, message: "must have required property 'min_tier'" };
583
+ if (vErrors === null) {
584
+ vErrors = [err6];
585
+ } else {
586
+ vErrors.push(err6);
587
+ }
588
+ errors++;
589
+ }
590
+ for (const key0 in data) {
591
+ if (!(key0 === "min_tier" || key0 === "capabilities" || key0 === "auditors" || key0 === "auditor_mode" || key0 === "min_auditor_count")) {
592
+ const err7 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
593
+ if (vErrors === null) {
594
+ vErrors = [err7];
595
+ } else {
596
+ vErrors.push(err7);
597
+ }
598
+ errors++;
599
+ }
600
+ }
601
+ if (data.min_tier !== void 0) {
602
+ let data4 = data.min_tier;
603
+ if (!(typeof data4 == "number" && (!(data4 % 1) && !isNaN(data4)))) {
604
+ const err8 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
605
+ if (vErrors === null) {
606
+ vErrors = [err8];
607
+ } else {
608
+ vErrors.push(err8);
609
+ }
610
+ errors++;
611
+ }
612
+ if (typeof data4 == "number") {
613
+ if (data4 > 4 || isNaN(data4)) {
614
+ const err9 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4 }, message: "must be <= 4" };
615
+ if (vErrors === null) {
616
+ vErrors = [err9];
617
+ } else {
618
+ vErrors.push(err9);
619
+ }
620
+ errors++;
621
+ }
622
+ if (data4 < 0 || isNaN(data4)) {
623
+ const err10 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
624
+ if (vErrors === null) {
625
+ vErrors = [err10];
626
+ } else {
627
+ vErrors.push(err10);
628
+ }
629
+ errors++;
630
+ }
631
+ }
632
+ }
633
+ if (data.capabilities !== void 0) {
634
+ let data5 = data.capabilities;
635
+ if (Array.isArray(data5)) {
636
+ const len0 = data5.length;
637
+ for (let i0 = 0; i0 < len0; i0++) {
638
+ let data6 = data5[i0];
639
+ if (typeof data6 !== "string") {
640
+ const err11 = { instancePath: instancePath + "/capabilities/" + i0, schemaPath: "#/properties/capabilities/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
641
+ if (vErrors === null) {
642
+ vErrors = [err11];
643
+ } else {
644
+ vErrors.push(err11);
645
+ }
646
+ errors++;
647
+ }
648
+ if (!(data6 === "tee_hardware_attestation" || data6 === "confidential_computing" || data6 === "persistent_storage" || data6 === "bare_metal")) {
649
+ 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" };
650
+ if (vErrors === null) {
651
+ vErrors = [err12];
652
+ } else {
653
+ vErrors.push(err12);
654
+ }
655
+ errors++;
656
+ }
657
+ }
658
+ } else {
659
+ const err13 = { instancePath: instancePath + "/capabilities", schemaPath: "#/properties/capabilities/type", keyword: "type", params: { type: "array" }, message: "must be array" };
660
+ if (vErrors === null) {
661
+ vErrors = [err13];
662
+ } else {
663
+ vErrors.push(err13);
664
+ }
665
+ errors++;
666
+ }
667
+ }
668
+ if (data.auditors !== void 0) {
669
+ let data7 = data.auditors;
670
+ if (Array.isArray(data7)) {
671
+ const len1 = data7.length;
672
+ for (let i1 = 0; i1 < len1; i1++) {
673
+ let data8 = data7[i1];
674
+ if (typeof data8 === "string") {
675
+ if (func2(data8) < 1) {
676
+ const err14 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
677
+ if (vErrors === null) {
678
+ vErrors = [err14];
679
+ } else {
680
+ vErrors.push(err14);
681
+ }
682
+ errors++;
683
+ }
684
+ } else {
685
+ const err15 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
686
+ if (vErrors === null) {
687
+ vErrors = [err15];
688
+ } else {
689
+ vErrors.push(err15);
690
+ }
691
+ errors++;
692
+ }
693
+ }
694
+ } else {
695
+ const err16 = { instancePath: instancePath + "/auditors", schemaPath: "#/properties/auditors/type", keyword: "type", params: { type: "array" }, message: "must be array" };
696
+ if (vErrors === null) {
697
+ vErrors = [err16];
698
+ } else {
699
+ vErrors.push(err16);
700
+ }
701
+ errors++;
702
+ }
703
+ }
704
+ if (data.auditor_mode !== void 0) {
705
+ let data9 = data.auditor_mode;
706
+ if (typeof data9 !== "string") {
707
+ const err17 = { instancePath: instancePath + "/auditor_mode", schemaPath: "#/properties/auditor_mode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
708
+ if (vErrors === null) {
709
+ vErrors = [err17];
710
+ } else {
711
+ vErrors.push(err17);
712
+ }
713
+ errors++;
714
+ }
715
+ if (!(data9 === "any" || data9 === "all")) {
716
+ 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" };
717
+ if (vErrors === null) {
718
+ vErrors = [err18];
719
+ } else {
720
+ vErrors.push(err18);
721
+ }
722
+ errors++;
723
+ }
724
+ }
725
+ if (data.min_auditor_count !== void 0) {
726
+ let data10 = data.min_auditor_count;
727
+ if (!(typeof data10 == "number" && (!(data10 % 1) && !isNaN(data10)))) {
728
+ const err19 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
729
+ if (vErrors === null) {
730
+ vErrors = [err19];
731
+ } else {
732
+ vErrors.push(err19);
733
+ }
734
+ errors++;
735
+ }
736
+ if (typeof data10 == "number") {
737
+ if (data10 < 0 || isNaN(data10)) {
738
+ const err20 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
739
+ if (vErrors === null) {
740
+ vErrors = [err20];
741
+ } else {
742
+ vErrors.push(err20);
743
+ }
744
+ errors++;
745
+ }
746
+ }
747
+ }
748
+ } else {
749
+ const err21 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
750
+ if (vErrors === null) {
751
+ vErrors = [err21];
752
+ } else {
753
+ vErrors.push(err21);
754
+ }
755
+ errors++;
756
+ }
757
+ validate33.errors = vErrors;
758
+ return errors === 0;
759
+ }
481
760
  function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
482
761
  let vErrors = null;
483
762
  let errors = 0;
@@ -1826,7 +2105,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
1826
2105
  errors++;
1827
2106
  }
1828
2107
  for (const key19 in data35) {
1829
- if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy")) {
2108
+ if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy" || key19 === "verification")) {
1830
2109
  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" };
1831
2110
  if (vErrors === null) {
1832
2111
  vErrors = [err98];
@@ -2077,6 +2356,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2077
2356
  errors++;
2078
2357
  }
2079
2358
  }
2359
+ if (data35.verification !== void 0) {
2360
+ if (!validate33(data35.verification, { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1") + "/verification", parentData: data35, parentDataProperty: "verification", rootData })) {
2361
+ vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);
2362
+ errors = vErrors.length;
2363
+ }
2364
+ }
2080
2365
  } else {
2081
2366
  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" };
2082
2367
  if (vErrors === null) {
@@ -2108,12 +2393,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2108
2393
  }
2109
2394
  }
2110
2395
  if (data.services !== void 0) {
2111
- let data46 = data.services;
2112
- if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
2113
- for (const key23 in data46) {
2114
- let data47 = data46[key23];
2115
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2116
- if (data47.image === void 0) {
2396
+ let data47 = data.services;
2397
+ if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2398
+ for (const key23 in data47) {
2399
+ let data48 = data47[key23];
2400
+ if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
2401
+ if (data48.image === void 0) {
2117
2402
  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'" };
2118
2403
  if (vErrors === null) {
2119
2404
  vErrors = [err121];
@@ -2122,7 +2407,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2122
2407
  }
2123
2408
  errors++;
2124
2409
  }
2125
- for (const key24 in data47) {
2410
+ for (const key24 in data48) {
2126
2411
  if (!(key24 === "args" || key24 === "command" || key24 === "credentials" || key24 === "dependencies" || key24 === "env" || key24 === "expose" || key24 === "image" || key24 === "params")) {
2127
2412
  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" };
2128
2413
  if (vErrors === null) {
@@ -2133,16 +2418,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2133
2418
  errors++;
2134
2419
  }
2135
2420
  }
2136
- if (data47.args !== void 0) {
2137
- let data48 = data47.args;
2138
- const _errs170 = errors;
2421
+ if (data48.args !== void 0) {
2422
+ let data49 = data48.args;
2423
+ const _errs171 = errors;
2139
2424
  let valid54 = false;
2140
2425
  let passing8 = null;
2141
- const _errs171 = errors;
2142
- if (Array.isArray(data48)) {
2143
- const len5 = data48.length;
2426
+ const _errs172 = errors;
2427
+ if (Array.isArray(data49)) {
2428
+ const len5 = data49.length;
2144
2429
  for (let i5 = 0; i5 < len5; i5++) {
2145
- if (typeof data48[i5] !== "string") {
2430
+ if (typeof data49[i5] !== "string") {
2146
2431
  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" };
2147
2432
  if (vErrors === null) {
2148
2433
  vErrors = [err123];
@@ -2161,13 +2446,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2161
2446
  }
2162
2447
  errors++;
2163
2448
  }
2164
- var _valid10 = _errs171 === errors;
2449
+ var _valid10 = _errs172 === errors;
2165
2450
  if (_valid10) {
2166
2451
  valid54 = true;
2167
2452
  passing8 = 0;
2168
2453
  }
2169
- const _errs175 = errors;
2170
- if (data48 !== null) {
2454
+ const _errs176 = errors;
2455
+ if (data49 !== null) {
2171
2456
  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" };
2172
2457
  if (vErrors === null) {
2173
2458
  vErrors = [err125];
@@ -2176,7 +2461,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2176
2461
  }
2177
2462
  errors++;
2178
2463
  }
2179
- var _valid10 = _errs175 === errors;
2464
+ var _valid10 = _errs176 === errors;
2180
2465
  if (_valid10 && valid54) {
2181
2466
  valid54 = false;
2182
2467
  passing8 = [passing8, 1];
@@ -2195,26 +2480,26 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2195
2480
  }
2196
2481
  errors++;
2197
2482
  } else {
2198
- errors = _errs170;
2483
+ errors = _errs171;
2199
2484
  if (vErrors !== null) {
2200
- if (_errs170) {
2201
- vErrors.length = _errs170;
2485
+ if (_errs171) {
2486
+ vErrors.length = _errs171;
2202
2487
  } else {
2203
2488
  vErrors = null;
2204
2489
  }
2205
2490
  }
2206
2491
  }
2207
2492
  }
2208
- if (data47.command !== void 0) {
2209
- let data50 = data47.command;
2210
- const _errs179 = errors;
2493
+ if (data48.command !== void 0) {
2494
+ let data51 = data48.command;
2495
+ const _errs180 = errors;
2211
2496
  let valid58 = false;
2212
2497
  let passing9 = null;
2213
- const _errs180 = errors;
2214
- if (Array.isArray(data50)) {
2215
- const len6 = data50.length;
2498
+ const _errs181 = errors;
2499
+ if (Array.isArray(data51)) {
2500
+ const len6 = data51.length;
2216
2501
  for (let i6 = 0; i6 < len6; i6++) {
2217
- if (typeof data50[i6] !== "string") {
2502
+ if (typeof data51[i6] !== "string") {
2218
2503
  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" };
2219
2504
  if (vErrors === null) {
2220
2505
  vErrors = [err127];
@@ -2233,13 +2518,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2233
2518
  }
2234
2519
  errors++;
2235
2520
  }
2236
- var _valid11 = _errs180 === errors;
2521
+ var _valid11 = _errs181 === errors;
2237
2522
  if (_valid11) {
2238
2523
  valid58 = true;
2239
2524
  passing9 = 0;
2240
2525
  }
2241
- const _errs184 = errors;
2242
- if (data50 !== null) {
2526
+ const _errs185 = errors;
2527
+ if (data51 !== null) {
2243
2528
  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" };
2244
2529
  if (vErrors === null) {
2245
2530
  vErrors = [err129];
@@ -2248,7 +2533,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2248
2533
  }
2249
2534
  errors++;
2250
2535
  }
2251
- var _valid11 = _errs184 === errors;
2536
+ var _valid11 = _errs185 === errors;
2252
2537
  if (_valid11 && valid58) {
2253
2538
  valid58 = false;
2254
2539
  passing9 = [passing9, 1];
@@ -2267,20 +2552,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2267
2552
  }
2268
2553
  errors++;
2269
2554
  } else {
2270
- errors = _errs179;
2555
+ errors = _errs180;
2271
2556
  if (vErrors !== null) {
2272
- if (_errs179) {
2273
- vErrors.length = _errs179;
2557
+ if (_errs180) {
2558
+ vErrors.length = _errs180;
2274
2559
  } else {
2275
2560
  vErrors = null;
2276
2561
  }
2277
2562
  }
2278
2563
  }
2279
2564
  }
2280
- if (data47.credentials !== void 0) {
2281
- let data52 = data47.credentials;
2282
- if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
2283
- if (data52.host === void 0) {
2565
+ if (data48.credentials !== void 0) {
2566
+ let data53 = data48.credentials;
2567
+ if (data53 && typeof data53 == "object" && !Array.isArray(data53)) {
2568
+ if (data53.host === void 0) {
2284
2569
  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'" };
2285
2570
  if (vErrors === null) {
2286
2571
  vErrors = [err131];
@@ -2289,7 +2574,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2289
2574
  }
2290
2575
  errors++;
2291
2576
  }
2292
- if (data52.username === void 0) {
2577
+ if (data53.username === void 0) {
2293
2578
  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'" };
2294
2579
  if (vErrors === null) {
2295
2580
  vErrors = [err132];
@@ -2298,7 +2583,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2298
2583
  }
2299
2584
  errors++;
2300
2585
  }
2301
- if (data52.password === void 0) {
2586
+ if (data53.password === void 0) {
2302
2587
  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'" };
2303
2588
  if (vErrors === null) {
2304
2589
  vErrors = [err133];
@@ -2307,7 +2592,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2307
2592
  }
2308
2593
  errors++;
2309
2594
  }
2310
- for (const key25 in data52) {
2595
+ for (const key25 in data53) {
2311
2596
  if (!(key25 === "email" || key25 === "host" || key25 === "password" || key25 === "username")) {
2312
2597
  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" };
2313
2598
  if (vErrors === null) {
@@ -2318,10 +2603,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2318
2603
  errors++;
2319
2604
  }
2320
2605
  }
2321
- if (data52.email !== void 0) {
2322
- let data53 = data52.email;
2323
- if (typeof data53 === "string") {
2324
- if (func2(data53) < 5) {
2606
+ if (data53.email !== void 0) {
2607
+ let data54 = data53.email;
2608
+ if (typeof data54 === "string") {
2609
+ if (func2(data54) < 5) {
2325
2610
  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" };
2326
2611
  if (vErrors === null) {
2327
2612
  vErrors = [err135];
@@ -2340,10 +2625,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2340
2625
  errors++;
2341
2626
  }
2342
2627
  }
2343
- if (data52.host !== void 0) {
2344
- let data54 = data52.host;
2345
- if (typeof data54 === "string") {
2346
- if (func2(data54) < 1) {
2628
+ if (data53.host !== void 0) {
2629
+ let data55 = data53.host;
2630
+ if (typeof data55 === "string") {
2631
+ if (func2(data55) < 1) {
2347
2632
  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" };
2348
2633
  if (vErrors === null) {
2349
2634
  vErrors = [err137];
@@ -2362,10 +2647,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2362
2647
  errors++;
2363
2648
  }
2364
2649
  }
2365
- if (data52.password !== void 0) {
2366
- let data55 = data52.password;
2367
- if (typeof data55 === "string") {
2368
- if (func2(data55) < 6) {
2650
+ if (data53.password !== void 0) {
2651
+ let data56 = data53.password;
2652
+ if (typeof data56 === "string") {
2653
+ if (func2(data56) < 6) {
2369
2654
  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" };
2370
2655
  if (vErrors === null) {
2371
2656
  vErrors = [err139];
@@ -2384,10 +2669,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2384
2669
  errors++;
2385
2670
  }
2386
2671
  }
2387
- if (data52.username !== void 0) {
2388
- let data56 = data52.username;
2389
- if (typeof data56 === "string") {
2390
- if (func2(data56) < 1) {
2672
+ if (data53.username !== void 0) {
2673
+ let data57 = data53.username;
2674
+ if (typeof data57 === "string") {
2675
+ if (func2(data57) < 1) {
2391
2676
  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" };
2392
2677
  if (vErrors === null) {
2393
2678
  vErrors = [err141];
@@ -2416,14 +2701,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2416
2701
  errors++;
2417
2702
  }
2418
2703
  }
2419
- if (data47.dependencies !== void 0) {
2420
- let data57 = data47.dependencies;
2421
- if (Array.isArray(data57)) {
2422
- const len7 = data57.length;
2704
+ if (data48.dependencies !== void 0) {
2705
+ let data58 = data48.dependencies;
2706
+ if (Array.isArray(data58)) {
2707
+ const len7 = data58.length;
2423
2708
  for (let i7 = 0; i7 < len7; i7++) {
2424
- let data58 = data57[i7];
2425
- if (data58 && typeof data58 == "object" && !Array.isArray(data58)) {
2426
- for (const key26 in data58) {
2709
+ let data59 = data58[i7];
2710
+ if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
2711
+ for (const key26 in data59) {
2427
2712
  if (!(key26 === "service")) {
2428
2713
  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" };
2429
2714
  if (vErrors === null) {
@@ -2434,8 +2719,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2434
2719
  errors++;
2435
2720
  }
2436
2721
  }
2437
- if (data58.service !== void 0) {
2438
- if (typeof data58.service !== "string") {
2722
+ if (data59.service !== void 0) {
2723
+ if (typeof data59.service !== "string") {
2439
2724
  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" };
2440
2725
  if (vErrors === null) {
2441
2726
  vErrors = [err145];
@@ -2465,16 +2750,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2465
2750
  errors++;
2466
2751
  }
2467
2752
  }
2468
- if (data47.env !== void 0) {
2469
- let data60 = data47.env;
2470
- const _errs206 = errors;
2753
+ if (data48.env !== void 0) {
2754
+ let data61 = data48.env;
2755
+ const _errs207 = errors;
2471
2756
  let valid66 = false;
2472
2757
  let passing10 = null;
2473
- const _errs207 = errors;
2474
- if (Array.isArray(data60)) {
2475
- const len8 = data60.length;
2758
+ const _errs208 = errors;
2759
+ if (Array.isArray(data61)) {
2760
+ const len8 = data61.length;
2476
2761
  for (let i8 = 0; i8 < len8; i8++) {
2477
- if (typeof data60[i8] !== "string") {
2762
+ if (typeof data61[i8] !== "string") {
2478
2763
  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" };
2479
2764
  if (vErrors === null) {
2480
2765
  vErrors = [err148];
@@ -2493,13 +2778,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2493
2778
  }
2494
2779
  errors++;
2495
2780
  }
2496
- var _valid12 = _errs207 === errors;
2781
+ var _valid12 = _errs208 === errors;
2497
2782
  if (_valid12) {
2498
2783
  valid66 = true;
2499
2784
  passing10 = 0;
2500
2785
  }
2501
- const _errs211 = errors;
2502
- if (data60 !== null) {
2786
+ const _errs212 = errors;
2787
+ if (data61 !== null) {
2503
2788
  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" };
2504
2789
  if (vErrors === null) {
2505
2790
  vErrors = [err150];
@@ -2508,7 +2793,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2508
2793
  }
2509
2794
  errors++;
2510
2795
  }
2511
- var _valid12 = _errs211 === errors;
2796
+ var _valid12 = _errs212 === errors;
2512
2797
  if (_valid12 && valid66) {
2513
2798
  valid66 = false;
2514
2799
  passing10 = [passing10, 1];
@@ -2527,28 +2812,28 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2527
2812
  }
2528
2813
  errors++;
2529
2814
  } else {
2530
- errors = _errs206;
2815
+ errors = _errs207;
2531
2816
  if (vErrors !== null) {
2532
- if (_errs206) {
2533
- vErrors.length = _errs206;
2817
+ if (_errs207) {
2818
+ vErrors.length = _errs207;
2534
2819
  } else {
2535
2820
  vErrors = null;
2536
2821
  }
2537
2822
  }
2538
2823
  }
2539
2824
  }
2540
- if (data47.expose !== void 0) {
2541
- let data62 = data47.expose;
2542
- const _errs214 = errors;
2825
+ if (data48.expose !== void 0) {
2826
+ let data63 = data48.expose;
2827
+ const _errs215 = errors;
2543
2828
  let valid69 = false;
2544
2829
  let passing11 = null;
2545
- const _errs215 = errors;
2546
- if (Array.isArray(data62)) {
2547
- const len9 = data62.length;
2830
+ const _errs216 = errors;
2831
+ if (Array.isArray(data63)) {
2832
+ const len9 = data63.length;
2548
2833
  for (let i9 = 0; i9 < len9; i9++) {
2549
- let data63 = data62[i9];
2550
- if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
2551
- if (data63.port === void 0) {
2834
+ let data64 = data63[i9];
2835
+ if (data64 && typeof data64 == "object" && !Array.isArray(data64)) {
2836
+ if (data64.port === void 0) {
2552
2837
  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'" };
2553
2838
  if (vErrors === null) {
2554
2839
  vErrors = [err152];
@@ -2557,7 +2842,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2557
2842
  }
2558
2843
  errors++;
2559
2844
  }
2560
- for (const key27 in data63) {
2845
+ for (const key27 in data64) {
2561
2846
  if (!(key27 === "accept" || key27 === "as" || key27 === "http_options" || key27 === "port" || key27 === "proto" || key27 === "to")) {
2562
2847
  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" };
2563
2848
  if (vErrors === null) {
@@ -2568,12 +2853,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2568
2853
  errors++;
2569
2854
  }
2570
2855
  }
2571
- if (data63.accept !== void 0) {
2572
- let data64 = data63.accept;
2573
- if (Array.isArray(data64)) {
2574
- const len10 = data64.length;
2856
+ if (data64.accept !== void 0) {
2857
+ let data65 = data64.accept;
2858
+ if (Array.isArray(data65)) {
2859
+ const len10 = data65.length;
2575
2860
  for (let i10 = 0; i10 < len10; i10++) {
2576
- if (typeof data64[i10] !== "string") {
2861
+ if (typeof data65[i10] !== "string") {
2577
2862
  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" };
2578
2863
  if (vErrors === null) {
2579
2864
  vErrors = [err154];
@@ -2593,9 +2878,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2593
2878
  errors++;
2594
2879
  }
2595
2880
  }
2596
- if (data63.as !== void 0) {
2597
- let data66 = data63.as;
2598
- if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
2881
+ if (data64.as !== void 0) {
2882
+ let data67 = data64.as;
2883
+ if (!(typeof data67 == "number" && (!(data67 % 1) && !isNaN(data67)))) {
2599
2884
  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" };
2600
2885
  if (vErrors === null) {
2601
2886
  vErrors = [err156];
@@ -2604,8 +2889,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2604
2889
  }
2605
2890
  errors++;
2606
2891
  }
2607
- if (typeof data66 == "number") {
2608
- if (data66 > 65535 || isNaN(data66)) {
2892
+ if (typeof data67 == "number") {
2893
+ if (data67 > 65535 || isNaN(data67)) {
2609
2894
  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" };
2610
2895
  if (vErrors === null) {
2611
2896
  vErrors = [err157];
@@ -2614,7 +2899,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2614
2899
  }
2615
2900
  errors++;
2616
2901
  }
2617
- if (data66 < 1 || isNaN(data66)) {
2902
+ if (data67 < 1 || isNaN(data67)) {
2618
2903
  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" };
2619
2904
  if (vErrors === null) {
2620
2905
  vErrors = [err158];
@@ -2625,10 +2910,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2625
2910
  }
2626
2911
  }
2627
2912
  }
2628
- if (data63.http_options !== void 0) {
2629
- let data67 = data63.http_options;
2630
- if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
2631
- for (const key28 in data67) {
2913
+ if (data64.http_options !== void 0) {
2914
+ let data68 = data64.http_options;
2915
+ if (data68 && typeof data68 == "object" && !Array.isArray(data68)) {
2916
+ for (const key28 in data68) {
2632
2917
  if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "read_timeout" || key28 === "send_timeout")) {
2633
2918
  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" };
2634
2919
  if (vErrors === null) {
@@ -2639,9 +2924,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2639
2924
  errors++;
2640
2925
  }
2641
2926
  }
2642
- if (data67.max_body_size !== void 0) {
2643
- let data68 = data67.max_body_size;
2644
- if (!(typeof data68 == "number" && (!(data68 % 1) && !isNaN(data68)))) {
2927
+ if (data68.max_body_size !== void 0) {
2928
+ let data69 = data68.max_body_size;
2929
+ if (!(typeof data69 == "number" && (!(data69 % 1) && !isNaN(data69)))) {
2645
2930
  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" };
2646
2931
  if (vErrors === null) {
2647
2932
  vErrors = [err160];
@@ -2650,8 +2935,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2650
2935
  }
2651
2936
  errors++;
2652
2937
  }
2653
- if (typeof data68 == "number") {
2654
- if (data68 > 104857600 || isNaN(data68)) {
2938
+ if (typeof data69 == "number") {
2939
+ if (data69 > 104857600 || isNaN(data69)) {
2655
2940
  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" };
2656
2941
  if (vErrors === null) {
2657
2942
  vErrors = [err161];
@@ -2660,7 +2945,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2660
2945
  }
2661
2946
  errors++;
2662
2947
  }
2663
- if (data68 < 0 || isNaN(data68)) {
2948
+ if (data69 < 0 || isNaN(data69)) {
2664
2949
  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" };
2665
2950
  if (vErrors === null) {
2666
2951
  vErrors = [err162];
@@ -2671,14 +2956,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2671
2956
  }
2672
2957
  }
2673
2958
  }
2674
- if (data67.next_cases !== void 0) {
2675
- let data69 = data67.next_cases;
2676
- const _errs233 = errors;
2959
+ if (data68.next_cases !== void 0) {
2960
+ let data70 = data68.next_cases;
2961
+ const _errs234 = errors;
2677
2962
  let valid77 = false;
2678
2963
  let passing12 = null;
2679
- const _errs234 = errors;
2680
- if (Array.isArray(data69)) {
2681
- if (data69.length > 1) {
2964
+ const _errs235 = errors;
2965
+ if (Array.isArray(data70)) {
2966
+ if (data70.length > 1) {
2682
2967
  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" };
2683
2968
  if (vErrors === null) {
2684
2969
  vErrors = [err163];
@@ -2687,7 +2972,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2687
2972
  }
2688
2973
  errors++;
2689
2974
  }
2690
- if (data69.length < 1) {
2975
+ if (data70.length < 1) {
2691
2976
  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" };
2692
2977
  if (vErrors === null) {
2693
2978
  vErrors = [err164];
@@ -2696,10 +2981,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2696
2981
  }
2697
2982
  errors++;
2698
2983
  }
2699
- const len11 = data69.length;
2984
+ const len11 = data70.length;
2700
2985
  for (let i11 = 0; i11 < len11; i11++) {
2701
- let data70 = data69[i11];
2702
- if (typeof data70 !== "string") {
2986
+ let data71 = data70[i11];
2987
+ if (typeof data71 !== "string") {
2703
2988
  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" };
2704
2989
  if (vErrors === null) {
2705
2990
  vErrors = [err165];
@@ -2708,8 +2993,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2708
2993
  }
2709
2994
  errors++;
2710
2995
  }
2711
- if (!(data70 === "error" || data70 === "timeout" || data70 === "500" || data70 === "502" || data70 === "503" || data70 === "504" || data70 === "403" || data70 === "404" || data70 === "429" || data70 === "off")) {
2712
- 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" };
2996
+ if (!(data71 === "error" || data71 === "timeout" || data71 === "500" || data71 === "502" || data71 === "503" || data71 === "504" || data71 === "403" || data71 === "404" || data71 === "429" || data71 === "off")) {
2997
+ 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" };
2713
2998
  if (vErrors === null) {
2714
2999
  vErrors = [err166];
2715
3000
  } else {
@@ -2718,11 +3003,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2718
3003
  errors++;
2719
3004
  }
2720
3005
  }
2721
- const _errs239 = errors;
2722
- const len12 = data69.length;
3006
+ const _errs240 = errors;
3007
+ const len12 = data70.length;
2723
3008
  for (let i12 = 0; i12 < len12; i12++) {
2724
- const _errs240 = errors;
2725
- if ("off" !== data69[i12]) {
3009
+ const _errs241 = errors;
3010
+ if ("off" !== data70[i12]) {
2726
3011
  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" };
2727
3012
  if (vErrors === null) {
2728
3013
  vErrors = [err167];
@@ -2731,7 +3016,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2731
3016
  }
2732
3017
  errors++;
2733
3018
  }
2734
- var valid81 = _errs240 === errors;
3019
+ var valid81 = _errs241 === errors;
2735
3020
  if (valid81) {
2736
3021
  break;
2737
3022
  }
@@ -2745,10 +3030,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2745
3030
  }
2746
3031
  errors++;
2747
3032
  } else {
2748
- errors = _errs239;
3033
+ errors = _errs240;
2749
3034
  if (vErrors !== null) {
2750
- if (_errs239) {
2751
- vErrors.length = _errs239;
3035
+ if (_errs240) {
3036
+ vErrors.length = _errs240;
2752
3037
  } else {
2753
3038
  vErrors = null;
2754
3039
  }
@@ -2763,20 +3048,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2763
3048
  }
2764
3049
  errors++;
2765
3050
  }
2766
- var _valid14 = _errs234 === errors;
3051
+ var _valid14 = _errs235 === errors;
2767
3052
  if (_valid14) {
2768
3053
  valid77 = true;
2769
3054
  passing12 = 0;
2770
3055
  }
2771
- const _errs241 = errors;
2772
- const _errs243 = errors;
3056
+ const _errs242 = errors;
2773
3057
  const _errs244 = errors;
2774
- if (Array.isArray(data69)) {
2775
- const _errs245 = errors;
2776
- const len13 = data69.length;
3058
+ const _errs245 = errors;
3059
+ if (Array.isArray(data70)) {
3060
+ const _errs246 = errors;
3061
+ const len13 = data70.length;
2777
3062
  for (let i13 = 0; i13 < len13; i13++) {
2778
- const _errs246 = errors;
2779
- if ("off" !== data69[i13]) {
3063
+ const _errs247 = errors;
3064
+ if ("off" !== data70[i13]) {
2780
3065
  const err170 = {};
2781
3066
  if (vErrors === null) {
2782
3067
  vErrors = [err170];
@@ -2785,7 +3070,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2785
3070
  }
2786
3071
  errors++;
2787
3072
  }
2788
- var valid83 = _errs246 === errors;
3073
+ var valid83 = _errs247 === errors;
2789
3074
  if (valid83) {
2790
3075
  break;
2791
3076
  }
@@ -2799,17 +3084,17 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2799
3084
  }
2800
3085
  errors++;
2801
3086
  } else {
2802
- errors = _errs245;
3087
+ errors = _errs246;
2803
3088
  if (vErrors !== null) {
2804
- if (_errs245) {
2805
- vErrors.length = _errs245;
3089
+ if (_errs246) {
3090
+ vErrors.length = _errs246;
2806
3091
  } else {
2807
3092
  vErrors = null;
2808
3093
  }
2809
3094
  }
2810
3095
  }
2811
3096
  }
2812
- var valid82 = _errs244 === errors;
3097
+ var valid82 = _errs245 === errors;
2813
3098
  if (valid82) {
2814
3099
  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" };
2815
3100
  if (vErrors === null) {
@@ -2819,20 +3104,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2819
3104
  }
2820
3105
  errors++;
2821
3106
  } else {
2822
- errors = _errs243;
3107
+ errors = _errs244;
2823
3108
  if (vErrors !== null) {
2824
- if (_errs243) {
2825
- vErrors.length = _errs243;
3109
+ if (_errs244) {
3110
+ vErrors.length = _errs244;
2826
3111
  } else {
2827
3112
  vErrors = null;
2828
3113
  }
2829
3114
  }
2830
3115
  }
2831
- if (Array.isArray(data69)) {
2832
- const len14 = data69.length;
3116
+ if (Array.isArray(data70)) {
3117
+ const len14 = data70.length;
2833
3118
  for (let i14 = 0; i14 < len14; i14++) {
2834
- let data73 = data69[i14];
2835
- if (typeof data73 !== "string") {
3119
+ let data74 = data70[i14];
3120
+ if (typeof data74 !== "string") {
2836
3121
  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" };
2837
3122
  if (vErrors === null) {
2838
3123
  vErrors = [err173];
@@ -2841,8 +3126,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2841
3126
  }
2842
3127
  errors++;
2843
3128
  }
2844
- if (!(data73 === "error" || data73 === "timeout" || data73 === "500" || data73 === "502" || data73 === "503" || data73 === "504" || data73 === "403" || data73 === "404" || data73 === "429" || data73 === "off")) {
2845
- 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" };
3129
+ if (!(data74 === "error" || data74 === "timeout" || data74 === "500" || data74 === "502" || data74 === "503" || data74 === "504" || data74 === "403" || data74 === "404" || data74 === "429" || data74 === "off")) {
3130
+ 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" };
2846
3131
  if (vErrors === null) {
2847
3132
  vErrors = [err174];
2848
3133
  } else {
@@ -2860,7 +3145,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2860
3145
  }
2861
3146
  errors++;
2862
3147
  }
2863
- var _valid14 = _errs241 === errors;
3148
+ var _valid14 = _errs242 === errors;
2864
3149
  if (_valid14 && valid77) {
2865
3150
  valid77 = false;
2866
3151
  passing12 = [passing12, 1];
@@ -2879,19 +3164,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2879
3164
  }
2880
3165
  errors++;
2881
3166
  } else {
2882
- errors = _errs233;
3167
+ errors = _errs234;
2883
3168
  if (vErrors !== null) {
2884
- if (_errs233) {
2885
- vErrors.length = _errs233;
3169
+ if (_errs234) {
3170
+ vErrors.length = _errs234;
2886
3171
  } else {
2887
3172
  vErrors = null;
2888
3173
  }
2889
3174
  }
2890
3175
  }
2891
3176
  }
2892
- if (data67.next_timeout !== void 0) {
2893
- let data74 = data67.next_timeout;
2894
- if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
3177
+ if (data68.next_timeout !== void 0) {
3178
+ let data75 = data68.next_timeout;
3179
+ if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
2895
3180
  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" };
2896
3181
  if (vErrors === null) {
2897
3182
  vErrors = [err177];
@@ -2900,8 +3185,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2900
3185
  }
2901
3186
  errors++;
2902
3187
  }
2903
- if (typeof data74 == "number") {
2904
- if (data74 < 0 || isNaN(data74)) {
3188
+ if (typeof data75 == "number") {
3189
+ if (data75 < 0 || isNaN(data75)) {
2905
3190
  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" };
2906
3191
  if (vErrors === null) {
2907
3192
  vErrors = [err178];
@@ -2912,9 +3197,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2912
3197
  }
2913
3198
  }
2914
3199
  }
2915
- if (data67.next_tries !== void 0) {
2916
- let data75 = data67.next_tries;
2917
- if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
3200
+ if (data68.next_tries !== void 0) {
3201
+ let data76 = data68.next_tries;
3202
+ if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2918
3203
  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" };
2919
3204
  if (vErrors === null) {
2920
3205
  vErrors = [err179];
@@ -2923,8 +3208,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2923
3208
  }
2924
3209
  errors++;
2925
3210
  }
2926
- if (typeof data75 == "number") {
2927
- if (data75 < 0 || isNaN(data75)) {
3211
+ if (typeof data76 == "number") {
3212
+ if (data76 < 0 || isNaN(data76)) {
2928
3213
  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" };
2929
3214
  if (vErrors === null) {
2930
3215
  vErrors = [err180];
@@ -2935,10 +3220,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2935
3220
  }
2936
3221
  }
2937
3222
  }
2938
- if (data67.read_timeout !== void 0) {
2939
- let data76 = data67.read_timeout;
2940
- if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2941
- 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" };
3223
+ if (data68.read_timeout !== void 0) {
3224
+ let data77 = data68.read_timeout;
3225
+ const _errs257 = errors;
3226
+ let valid88 = false;
3227
+ let passing13 = null;
3228
+ const _errs258 = errors;
3229
+ if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
3230
+ 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" };
2942
3231
  if (vErrors === null) {
2943
3232
  vErrors = [err181];
2944
3233
  } else {
@@ -2946,9 +3235,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2946
3235
  }
2947
3236
  errors++;
2948
3237
  }
2949
- if (typeof data76 == "number") {
2950
- if (data76 > 6e4 || isNaN(data76)) {
2951
- 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" };
3238
+ if (typeof data77 == "number") {
3239
+ if (data77 > 4294967295 || isNaN(data77)) {
3240
+ 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" };
2952
3241
  if (vErrors === null) {
2953
3242
  vErrors = [err182];
2954
3243
  } else {
@@ -2956,8 +3245,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2956
3245
  }
2957
3246
  errors++;
2958
3247
  }
2959
- if (data76 < 0 || isNaN(data76)) {
2960
- 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" };
3248
+ if (data77 < 0 || isNaN(data77)) {
3249
+ 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" };
2961
3250
  if (vErrors === null) {
2962
3251
  vErrors = [err183];
2963
3252
  } else {
@@ -2966,142 +3255,252 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2966
3255
  errors++;
2967
3256
  }
2968
3257
  }
3258
+ var _valid15 = _errs258 === errors;
3259
+ if (_valid15) {
3260
+ valid88 = true;
3261
+ passing13 = 0;
3262
+ }
3263
+ const _errs260 = errors;
3264
+ if (typeof data77 === "string") {
3265
+ if (!pattern11.test(data77)) {
3266
+ 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)?$"' };
3267
+ if (vErrors === null) {
3268
+ vErrors = [err184];
3269
+ } else {
3270
+ vErrors.push(err184);
3271
+ }
3272
+ errors++;
3273
+ }
3274
+ } else {
3275
+ 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" };
3276
+ if (vErrors === null) {
3277
+ vErrors = [err185];
3278
+ } else {
3279
+ vErrors.push(err185);
3280
+ }
3281
+ errors++;
3282
+ }
3283
+ var _valid15 = _errs260 === errors;
3284
+ if (_valid15 && valid88) {
3285
+ valid88 = false;
3286
+ passing13 = [passing13, 1];
3287
+ } else {
3288
+ if (_valid15) {
3289
+ valid88 = true;
3290
+ passing13 = 1;
3291
+ }
3292
+ }
3293
+ if (!valid88) {
3294
+ 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" };
3295
+ if (vErrors === null) {
3296
+ vErrors = [err186];
3297
+ } else {
3298
+ vErrors.push(err186);
3299
+ }
3300
+ errors++;
3301
+ } else {
3302
+ errors = _errs257;
3303
+ if (vErrors !== null) {
3304
+ if (_errs257) {
3305
+ vErrors.length = _errs257;
3306
+ } else {
3307
+ vErrors = null;
3308
+ }
3309
+ }
3310
+ }
2969
3311
  }
2970
- if (data67.send_timeout !== void 0) {
2971
- let data77 = data67.send_timeout;
2972
- if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
2973
- 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" };
3312
+ if (data68.send_timeout !== void 0) {
3313
+ let data78 = data68.send_timeout;
3314
+ const _errs264 = errors;
3315
+ let valid90 = false;
3316
+ let passing14 = null;
3317
+ const _errs265 = errors;
3318
+ if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3319
+ 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" };
2974
3320
  if (vErrors === null) {
2975
- vErrors = [err184];
3321
+ vErrors = [err187];
2976
3322
  } else {
2977
- vErrors.push(err184);
3323
+ vErrors.push(err187);
2978
3324
  }
2979
3325
  errors++;
2980
3326
  }
2981
- if (typeof data77 == "number") {
2982
- if (data77 > 6e4 || isNaN(data77)) {
2983
- 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" };
3327
+ if (typeof data78 == "number") {
3328
+ if (data78 > 4294967295 || isNaN(data78)) {
3329
+ 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" };
2984
3330
  if (vErrors === null) {
2985
- vErrors = [err185];
3331
+ vErrors = [err188];
2986
3332
  } else {
2987
- vErrors.push(err185);
3333
+ vErrors.push(err188);
2988
3334
  }
2989
3335
  errors++;
2990
3336
  }
2991
- if (data77 < 0 || isNaN(data77)) {
2992
- 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" };
3337
+ if (data78 < 0 || isNaN(data78)) {
3338
+ 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" };
2993
3339
  if (vErrors === null) {
2994
- vErrors = [err186];
3340
+ vErrors = [err189];
2995
3341
  } else {
2996
- vErrors.push(err186);
3342
+ vErrors.push(err189);
2997
3343
  }
2998
3344
  errors++;
2999
3345
  }
3000
3346
  }
3347
+ var _valid16 = _errs265 === errors;
3348
+ if (_valid16) {
3349
+ valid90 = true;
3350
+ passing14 = 0;
3351
+ }
3352
+ const _errs267 = errors;
3353
+ if (typeof data78 === "string") {
3354
+ if (!pattern11.test(data78)) {
3355
+ 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)?$"' };
3356
+ if (vErrors === null) {
3357
+ vErrors = [err190];
3358
+ } else {
3359
+ vErrors.push(err190);
3360
+ }
3361
+ errors++;
3362
+ }
3363
+ } else {
3364
+ 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" };
3365
+ if (vErrors === null) {
3366
+ vErrors = [err191];
3367
+ } else {
3368
+ vErrors.push(err191);
3369
+ }
3370
+ errors++;
3371
+ }
3372
+ var _valid16 = _errs267 === errors;
3373
+ if (_valid16 && valid90) {
3374
+ valid90 = false;
3375
+ passing14 = [passing14, 1];
3376
+ } else {
3377
+ if (_valid16) {
3378
+ valid90 = true;
3379
+ passing14 = 1;
3380
+ }
3381
+ }
3382
+ if (!valid90) {
3383
+ 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" };
3384
+ if (vErrors === null) {
3385
+ vErrors = [err192];
3386
+ } else {
3387
+ vErrors.push(err192);
3388
+ }
3389
+ errors++;
3390
+ } else {
3391
+ errors = _errs264;
3392
+ if (vErrors !== null) {
3393
+ if (_errs264) {
3394
+ vErrors.length = _errs264;
3395
+ } else {
3396
+ vErrors = null;
3397
+ }
3398
+ }
3399
+ }
3001
3400
  }
3002
3401
  } else {
3003
- 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" };
3402
+ 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" };
3004
3403
  if (vErrors === null) {
3005
- vErrors = [err187];
3404
+ vErrors = [err193];
3006
3405
  } else {
3007
- vErrors.push(err187);
3406
+ vErrors.push(err193);
3008
3407
  }
3009
3408
  errors++;
3010
3409
  }
3011
3410
  }
3012
- if (data63.port !== void 0) {
3013
- let data78 = data63.port;
3014
- if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3015
- 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" };
3411
+ if (data64.port !== void 0) {
3412
+ let data79 = data64.port;
3413
+ if (!(typeof data79 == "number" && (!(data79 % 1) && !isNaN(data79)))) {
3414
+ 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" };
3016
3415
  if (vErrors === null) {
3017
- vErrors = [err188];
3416
+ vErrors = [err194];
3018
3417
  } else {
3019
- vErrors.push(err188);
3418
+ vErrors.push(err194);
3020
3419
  }
3021
3420
  errors++;
3022
3421
  }
3023
- if (typeof data78 == "number") {
3024
- if (data78 > 65535 || isNaN(data78)) {
3025
- 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" };
3422
+ if (typeof data79 == "number") {
3423
+ if (data79 > 65535 || isNaN(data79)) {
3424
+ 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" };
3026
3425
  if (vErrors === null) {
3027
- vErrors = [err189];
3426
+ vErrors = [err195];
3028
3427
  } else {
3029
- vErrors.push(err189);
3428
+ vErrors.push(err195);
3030
3429
  }
3031
3430
  errors++;
3032
3431
  }
3033
- if (data78 < 1 || isNaN(data78)) {
3034
- 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" };
3432
+ if (data79 < 1 || isNaN(data79)) {
3433
+ 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" };
3035
3434
  if (vErrors === null) {
3036
- vErrors = [err190];
3435
+ vErrors = [err196];
3037
3436
  } else {
3038
- vErrors.push(err190);
3437
+ vErrors.push(err196);
3039
3438
  }
3040
3439
  errors++;
3041
3440
  }
3042
3441
  }
3043
3442
  }
3044
- if (data63.proto !== void 0) {
3045
- let data79 = data63.proto;
3046
- if (typeof data79 !== "string") {
3047
- 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" };
3443
+ if (data64.proto !== void 0) {
3444
+ let data80 = data64.proto;
3445
+ if (typeof data80 !== "string") {
3446
+ 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" };
3048
3447
  if (vErrors === null) {
3049
- vErrors = [err191];
3448
+ vErrors = [err197];
3050
3449
  } else {
3051
- vErrors.push(err191);
3450
+ vErrors.push(err197);
3052
3451
  }
3053
3452
  errors++;
3054
3453
  }
3055
- if (!(data79 === "TCP" || data79 === "UDP" || data79 === "tcp" || data79 === "udp")) {
3056
- 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" };
3454
+ if (!(data80 === "TCP" || data80 === "UDP" || data80 === "tcp" || data80 === "udp")) {
3455
+ 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" };
3057
3456
  if (vErrors === null) {
3058
- vErrors = [err192];
3457
+ vErrors = [err198];
3059
3458
  } else {
3060
- vErrors.push(err192);
3459
+ vErrors.push(err198);
3061
3460
  }
3062
3461
  errors++;
3063
3462
  }
3064
3463
  }
3065
- if (data63.to !== void 0) {
3066
- let data80 = data63.to;
3067
- if (Array.isArray(data80)) {
3068
- const len15 = data80.length;
3464
+ if (data64.to !== void 0) {
3465
+ let data81 = data64.to;
3466
+ if (Array.isArray(data81)) {
3467
+ const len15 = data81.length;
3069
3468
  for (let i15 = 0; i15 < len15; i15++) {
3070
- let data81 = data80[i15];
3071
- const _errs269 = errors;
3072
- let valid92 = true;
3073
- const _errs270 = errors;
3074
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3469
+ let data82 = data81[i15];
3470
+ const _errs280 = errors;
3471
+ let valid96 = true;
3472
+ const _errs281 = errors;
3473
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3075
3474
  let missing2;
3076
- if (data81.ip === void 0 && (missing2 = "ip")) {
3077
- const err193 = {};
3475
+ if (data82.ip === void 0 && (missing2 = "ip")) {
3476
+ const err199 = {};
3078
3477
  if (vErrors === null) {
3079
- vErrors = [err193];
3478
+ vErrors = [err199];
3080
3479
  } else {
3081
- vErrors.push(err193);
3480
+ vErrors.push(err199);
3082
3481
  }
3083
3482
  errors++;
3084
3483
  } else {
3085
- if (data81.ip !== void 0) {
3086
- let data82 = data81.ip;
3087
- const _errs271 = errors;
3088
- if (errors === _errs271) {
3089
- if (typeof data82 === "string") {
3090
- if (func2(data82) < 1) {
3091
- const err194 = {};
3484
+ if (data82.ip !== void 0) {
3485
+ let data83 = data82.ip;
3486
+ const _errs282 = errors;
3487
+ if (errors === _errs282) {
3488
+ if (typeof data83 === "string") {
3489
+ if (func2(data83) < 1) {
3490
+ const err200 = {};
3092
3491
  if (vErrors === null) {
3093
- vErrors = [err194];
3492
+ vErrors = [err200];
3094
3493
  } else {
3095
- vErrors.push(err194);
3494
+ vErrors.push(err200);
3096
3495
  }
3097
3496
  errors++;
3098
3497
  }
3099
3498
  } else {
3100
- const err195 = {};
3499
+ const err201 = {};
3101
3500
  if (vErrors === null) {
3102
- vErrors = [err195];
3501
+ vErrors = [err201];
3103
3502
  } else {
3104
- vErrors.push(err195);
3503
+ vErrors.push(err201);
3105
3504
  }
3106
3505
  errors++;
3107
3506
  }
@@ -3109,162 +3508,162 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3109
3508
  }
3110
3509
  }
3111
3510
  }
3112
- var _valid15 = _errs270 === errors;
3113
- errors = _errs269;
3511
+ var _valid17 = _errs281 === errors;
3512
+ errors = _errs280;
3114
3513
  if (vErrors !== null) {
3115
- if (_errs269) {
3116
- vErrors.length = _errs269;
3514
+ if (_errs280) {
3515
+ vErrors.length = _errs280;
3117
3516
  } else {
3118
3517
  vErrors = null;
3119
3518
  }
3120
3519
  }
3121
- if (_valid15) {
3122
- const _errs273 = errors;
3123
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3124
- if (data81.global === void 0) {
3125
- 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'" };
3520
+ if (_valid17) {
3521
+ const _errs284 = errors;
3522
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3523
+ if (data82.global === void 0) {
3524
+ 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'" };
3126
3525
  if (vErrors === null) {
3127
- vErrors = [err196];
3526
+ vErrors = [err202];
3128
3527
  } else {
3129
- vErrors.push(err196);
3528
+ vErrors.push(err202);
3130
3529
  }
3131
3530
  errors++;
3132
3531
  }
3133
- if (data81.global !== void 0) {
3134
- if (true !== data81.global) {
3135
- 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" };
3532
+ if (data82.global !== void 0) {
3533
+ if (true !== data82.global) {
3534
+ 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" };
3136
3535
  if (vErrors === null) {
3137
- vErrors = [err197];
3536
+ vErrors = [err203];
3138
3537
  } else {
3139
- vErrors.push(err197);
3538
+ vErrors.push(err203);
3140
3539
  }
3141
3540
  errors++;
3142
3541
  }
3143
3542
  }
3144
3543
  }
3145
- var _valid15 = _errs273 === errors;
3146
- valid92 = _valid15;
3544
+ var _valid17 = _errs284 === errors;
3545
+ valid96 = _valid17;
3147
3546
  }
3148
- if (!valid92) {
3149
- 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' };
3547
+ if (!valid96) {
3548
+ 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' };
3150
3549
  if (vErrors === null) {
3151
- vErrors = [err198];
3550
+ vErrors = [err204];
3152
3551
  } else {
3153
- vErrors.push(err198);
3552
+ vErrors.push(err204);
3154
3553
  }
3155
3554
  errors++;
3156
3555
  }
3157
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3158
- for (const key29 in data81) {
3556
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3557
+ for (const key29 in data82) {
3159
3558
  if (!(key29 === "global" || key29 === "ip" || key29 === "service")) {
3160
- 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" };
3559
+ 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" };
3161
3560
  if (vErrors === null) {
3162
- vErrors = [err199];
3561
+ vErrors = [err205];
3163
3562
  } else {
3164
- vErrors.push(err199);
3563
+ vErrors.push(err205);
3165
3564
  }
3166
3565
  errors++;
3167
3566
  }
3168
3567
  }
3169
- if (data81.global !== void 0) {
3170
- if (typeof data81.global !== "boolean") {
3171
- 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" };
3568
+ if (data82.global !== void 0) {
3569
+ if (typeof data82.global !== "boolean") {
3570
+ 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" };
3172
3571
  if (vErrors === null) {
3173
- vErrors = [err200];
3572
+ vErrors = [err206];
3174
3573
  } else {
3175
- vErrors.push(err200);
3574
+ vErrors.push(err206);
3176
3575
  }
3177
3576
  errors++;
3178
3577
  }
3179
3578
  }
3180
- if (data81.ip !== void 0) {
3181
- let data85 = data81.ip;
3182
- if (typeof data85 === "string") {
3183
- if (func2(data85) < 1) {
3184
- 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" };
3579
+ if (data82.ip !== void 0) {
3580
+ let data86 = data82.ip;
3581
+ if (typeof data86 === "string") {
3582
+ if (func2(data86) < 1) {
3583
+ 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" };
3185
3584
  if (vErrors === null) {
3186
- vErrors = [err201];
3585
+ vErrors = [err207];
3187
3586
  } else {
3188
- vErrors.push(err201);
3587
+ vErrors.push(err207);
3189
3588
  }
3190
3589
  errors++;
3191
3590
  }
3192
3591
  } else {
3193
- 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" };
3592
+ 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" };
3194
3593
  if (vErrors === null) {
3195
- vErrors = [err202];
3594
+ vErrors = [err208];
3196
3595
  } else {
3197
- vErrors.push(err202);
3596
+ vErrors.push(err208);
3198
3597
  }
3199
3598
  errors++;
3200
3599
  }
3201
3600
  }
3202
- if (data81.service !== void 0) {
3203
- if (typeof data81.service !== "string") {
3204
- 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" };
3601
+ if (data82.service !== void 0) {
3602
+ if (typeof data82.service !== "string") {
3603
+ 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" };
3205
3604
  if (vErrors === null) {
3206
- vErrors = [err203];
3605
+ vErrors = [err209];
3207
3606
  } else {
3208
- vErrors.push(err203);
3607
+ vErrors.push(err209);
3209
3608
  }
3210
3609
  errors++;
3211
3610
  }
3212
3611
  }
3213
3612
  } else {
3214
- 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" };
3613
+ 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" };
3215
3614
  if (vErrors === null) {
3216
- vErrors = [err204];
3615
+ vErrors = [err210];
3217
3616
  } else {
3218
- vErrors.push(err204);
3617
+ vErrors.push(err210);
3219
3618
  }
3220
3619
  errors++;
3221
3620
  }
3222
3621
  }
3223
3622
  } else {
3224
- 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" };
3623
+ 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" };
3225
3624
  if (vErrors === null) {
3226
- vErrors = [err205];
3625
+ vErrors = [err211];
3227
3626
  } else {
3228
- vErrors.push(err205);
3627
+ vErrors.push(err211);
3229
3628
  }
3230
3629
  errors++;
3231
3630
  }
3232
3631
  }
3233
3632
  } else {
3234
- 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" };
3633
+ 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" };
3235
3634
  if (vErrors === null) {
3236
- vErrors = [err206];
3635
+ vErrors = [err212];
3237
3636
  } else {
3238
- vErrors.push(err206);
3637
+ vErrors.push(err212);
3239
3638
  }
3240
3639
  errors++;
3241
3640
  }
3242
3641
  }
3243
3642
  } else {
3244
- 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" };
3643
+ 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" };
3245
3644
  if (vErrors === null) {
3246
- vErrors = [err207];
3645
+ vErrors = [err213];
3247
3646
  } else {
3248
- vErrors.push(err207);
3647
+ vErrors.push(err213);
3249
3648
  }
3250
3649
  errors++;
3251
3650
  }
3252
- var _valid13 = _errs215 === errors;
3651
+ var _valid13 = _errs216 === errors;
3253
3652
  if (_valid13) {
3254
3653
  valid69 = true;
3255
3654
  passing11 = 0;
3256
3655
  }
3257
- const _errs282 = errors;
3258
- if (data62 !== null) {
3259
- 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" };
3656
+ const _errs293 = errors;
3657
+ if (data63 !== null) {
3658
+ 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" };
3260
3659
  if (vErrors === null) {
3261
- vErrors = [err208];
3660
+ vErrors = [err214];
3262
3661
  } else {
3263
- vErrors.push(err208);
3662
+ vErrors.push(err214);
3264
3663
  }
3265
3664
  errors++;
3266
3665
  }
3267
- var _valid13 = _errs282 === errors;
3666
+ var _valid13 = _errs293 === errors;
3268
3667
  if (_valid13 && valid69) {
3269
3668
  valid69 = false;
3270
3669
  passing11 = [passing11, 1];
@@ -3275,331 +3674,331 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3275
3674
  }
3276
3675
  }
3277
3676
  if (!valid69) {
3278
- 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" };
3677
+ 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" };
3279
3678
  if (vErrors === null) {
3280
- vErrors = [err209];
3679
+ vErrors = [err215];
3281
3680
  } else {
3282
- vErrors.push(err209);
3681
+ vErrors.push(err215);
3283
3682
  }
3284
3683
  errors++;
3285
3684
  } else {
3286
- errors = _errs214;
3685
+ errors = _errs215;
3287
3686
  if (vErrors !== null) {
3288
- if (_errs214) {
3289
- vErrors.length = _errs214;
3687
+ if (_errs215) {
3688
+ vErrors.length = _errs215;
3290
3689
  } else {
3291
3690
  vErrors = null;
3292
3691
  }
3293
3692
  }
3294
3693
  }
3295
3694
  }
3296
- if (data47.image !== void 0) {
3297
- let data87 = data47.image;
3298
- if (typeof data87 === "string") {
3299
- if (func2(data87) < 1) {
3300
- 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" };
3695
+ if (data48.image !== void 0) {
3696
+ let data88 = data48.image;
3697
+ if (typeof data88 === "string") {
3698
+ if (func2(data88) < 1) {
3699
+ 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" };
3301
3700
  if (vErrors === null) {
3302
- vErrors = [err210];
3701
+ vErrors = [err216];
3303
3702
  } else {
3304
- vErrors.push(err210);
3703
+ vErrors.push(err216);
3305
3704
  }
3306
3705
  errors++;
3307
3706
  }
3308
3707
  } else {
3309
- 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" };
3708
+ 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" };
3310
3709
  if (vErrors === null) {
3311
- vErrors = [err211];
3710
+ vErrors = [err217];
3312
3711
  } else {
3313
- vErrors.push(err211);
3712
+ vErrors.push(err217);
3314
3713
  }
3315
3714
  errors++;
3316
3715
  }
3317
3716
  }
3318
- if (data47.params !== void 0) {
3319
- let data88 = data47.params;
3320
- if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3321
- for (const key30 in data88) {
3717
+ if (data48.params !== void 0) {
3718
+ let data89 = data48.params;
3719
+ if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3720
+ for (const key30 in data89) {
3322
3721
  if (!(key30 === "storage" || key30 === "permissions" || key30 === "tee")) {
3323
- 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" };
3722
+ 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" };
3324
3723
  if (vErrors === null) {
3325
- vErrors = [err212];
3724
+ vErrors = [err218];
3326
3725
  } else {
3327
- vErrors.push(err212);
3726
+ vErrors.push(err218);
3328
3727
  }
3329
3728
  errors++;
3330
3729
  }
3331
3730
  }
3332
- if (data88.storage !== void 0) {
3333
- let data89 = data88.storage;
3334
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3335
- for (const key31 in data89) {
3336
- let data90 = data89[key31];
3337
- if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3338
- for (const key32 in data90) {
3731
+ if (data89.storage !== void 0) {
3732
+ let data90 = data89.storage;
3733
+ if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3734
+ for (const key31 in data90) {
3735
+ let data91 = data90[key31];
3736
+ if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
3737
+ for (const key32 in data91) {
3339
3738
  if (!(key32 === "mount" || key32 === "readOnly")) {
3340
- 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" };
3739
+ 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" };
3341
3740
  if (vErrors === null) {
3342
- vErrors = [err213];
3741
+ vErrors = [err219];
3343
3742
  } else {
3344
- vErrors.push(err213);
3743
+ vErrors.push(err219);
3345
3744
  }
3346
3745
  errors++;
3347
3746
  }
3348
3747
  }
3349
- if (data90.mount !== void 0) {
3350
- let data91 = data90.mount;
3351
- if (typeof data91 === "string") {
3352
- if (func2(data91) < 1) {
3353
- 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" };
3748
+ if (data91.mount !== void 0) {
3749
+ let data92 = data91.mount;
3750
+ if (typeof data92 === "string") {
3751
+ if (func2(data92) < 1) {
3752
+ 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" };
3354
3753
  if (vErrors === null) {
3355
- vErrors = [err214];
3754
+ vErrors = [err220];
3356
3755
  } else {
3357
- vErrors.push(err214);
3756
+ vErrors.push(err220);
3358
3757
  }
3359
3758
  errors++;
3360
3759
  }
3361
- if (!pattern11.test(data91)) {
3362
- 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 "^/"' };
3760
+ if (!pattern13.test(data92)) {
3761
+ 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 "^/"' };
3363
3762
  if (vErrors === null) {
3364
- vErrors = [err215];
3763
+ vErrors = [err221];
3365
3764
  } else {
3366
- vErrors.push(err215);
3765
+ vErrors.push(err221);
3367
3766
  }
3368
3767
  errors++;
3369
3768
  }
3370
3769
  } else {
3371
- 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" };
3770
+ 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" };
3372
3771
  if (vErrors === null) {
3373
- vErrors = [err216];
3772
+ vErrors = [err222];
3374
3773
  } else {
3375
- vErrors.push(err216);
3774
+ vErrors.push(err222);
3376
3775
  }
3377
3776
  errors++;
3378
3777
  }
3379
3778
  }
3380
- if (data90.readOnly !== void 0) {
3381
- if (typeof data90.readOnly !== "boolean") {
3382
- 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" };
3779
+ if (data91.readOnly !== void 0) {
3780
+ if (typeof data91.readOnly !== "boolean") {
3781
+ 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" };
3383
3782
  if (vErrors === null) {
3384
- vErrors = [err217];
3783
+ vErrors = [err223];
3385
3784
  } else {
3386
- vErrors.push(err217);
3785
+ vErrors.push(err223);
3387
3786
  }
3388
3787
  errors++;
3389
3788
  }
3390
3789
  }
3391
3790
  } else {
3392
- 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" };
3791
+ 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" };
3393
3792
  if (vErrors === null) {
3394
- vErrors = [err218];
3793
+ vErrors = [err224];
3395
3794
  } else {
3396
- vErrors.push(err218);
3795
+ vErrors.push(err224);
3397
3796
  }
3398
3797
  errors++;
3399
3798
  }
3400
3799
  }
3401
3800
  } else {
3402
- 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" };
3801
+ 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" };
3403
3802
  if (vErrors === null) {
3404
- vErrors = [err219];
3803
+ vErrors = [err225];
3405
3804
  } else {
3406
- vErrors.push(err219);
3805
+ vErrors.push(err225);
3407
3806
  }
3408
3807
  errors++;
3409
3808
  }
3410
3809
  }
3411
- if (data88.permissions !== void 0) {
3412
- let data93 = data88.permissions;
3413
- if (data93 && typeof data93 == "object" && !Array.isArray(data93)) {
3414
- for (const key33 in data93) {
3810
+ if (data89.permissions !== void 0) {
3811
+ let data94 = data89.permissions;
3812
+ if (data94 && typeof data94 == "object" && !Array.isArray(data94)) {
3813
+ for (const key33 in data94) {
3415
3814
  if (!(key33 === "read")) {
3416
- 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" };
3815
+ 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" };
3417
3816
  if (vErrors === null) {
3418
- vErrors = [err220];
3817
+ vErrors = [err226];
3419
3818
  } else {
3420
- vErrors.push(err220);
3819
+ vErrors.push(err226);
3421
3820
  }
3422
3821
  errors++;
3423
3822
  }
3424
3823
  }
3425
- if (data93.read !== void 0) {
3426
- let data94 = data93.read;
3427
- if (Array.isArray(data94)) {
3428
- const len16 = data94.length;
3824
+ if (data94.read !== void 0) {
3825
+ let data95 = data94.read;
3826
+ if (Array.isArray(data95)) {
3827
+ const len16 = data95.length;
3429
3828
  for (let i16 = 0; i16 < len16; i16++) {
3430
- let data95 = data94[i16];
3431
- if (typeof data95 !== "string") {
3432
- 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" };
3829
+ let data96 = data95[i16];
3830
+ if (typeof data96 !== "string") {
3831
+ 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" };
3433
3832
  if (vErrors === null) {
3434
- vErrors = [err221];
3833
+ vErrors = [err227];
3435
3834
  } else {
3436
- vErrors.push(err221);
3835
+ vErrors.push(err227);
3437
3836
  }
3438
3837
  errors++;
3439
3838
  }
3440
- if (!(data95 === "deployment" || data95 === "logs" || data95 === "events")) {
3441
- 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" };
3839
+ if (!(data96 === "deployment" || data96 === "logs" || data96 === "events")) {
3840
+ 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" };
3442
3841
  if (vErrors === null) {
3443
- vErrors = [err222];
3842
+ vErrors = [err228];
3444
3843
  } else {
3445
- vErrors.push(err222);
3844
+ vErrors.push(err228);
3446
3845
  }
3447
3846
  errors++;
3448
3847
  }
3449
3848
  }
3450
3849
  } else {
3451
- 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" };
3850
+ 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" };
3452
3851
  if (vErrors === null) {
3453
- vErrors = [err223];
3852
+ vErrors = [err229];
3454
3853
  } else {
3455
- vErrors.push(err223);
3854
+ vErrors.push(err229);
3456
3855
  }
3457
3856
  errors++;
3458
3857
  }
3459
3858
  }
3460
3859
  } else {
3461
- 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" };
3860
+ 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" };
3462
3861
  if (vErrors === null) {
3463
- vErrors = [err224];
3862
+ vErrors = [err230];
3464
3863
  } else {
3465
- vErrors.push(err224);
3864
+ vErrors.push(err230);
3466
3865
  }
3467
3866
  errors++;
3468
3867
  }
3469
3868
  }
3470
- if (data88.tee !== void 0) {
3471
- let data96 = data88.tee;
3472
- if (typeof data96 !== "string") {
3473
- 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" };
3869
+ if (data89.tee !== void 0) {
3870
+ let data97 = data89.tee;
3871
+ if (typeof data97 !== "string") {
3872
+ 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" };
3474
3873
  if (vErrors === null) {
3475
- vErrors = [err225];
3874
+ vErrors = [err231];
3476
3875
  } else {
3477
- vErrors.push(err225);
3876
+ vErrors.push(err231);
3478
3877
  }
3479
3878
  errors++;
3480
3879
  }
3481
- if (!(data96 === "cpu" || data96 === "cpu-gpu")) {
3482
- 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" };
3880
+ if (!(data97 === "cpu" || data97 === "cpu-gpu")) {
3881
+ 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" };
3483
3882
  if (vErrors === null) {
3484
- vErrors = [err226];
3883
+ vErrors = [err232];
3485
3884
  } else {
3486
- vErrors.push(err226);
3885
+ vErrors.push(err232);
3487
3886
  }
3488
3887
  errors++;
3489
3888
  }
3490
3889
  }
3491
3890
  } else {
3492
- 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" };
3891
+ 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" };
3493
3892
  if (vErrors === null) {
3494
- vErrors = [err227];
3893
+ vErrors = [err233];
3495
3894
  } else {
3496
- vErrors.push(err227);
3895
+ vErrors.push(err233);
3497
3896
  }
3498
3897
  errors++;
3499
3898
  }
3500
3899
  }
3501
3900
  } else {
3502
- 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" };
3901
+ 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" };
3503
3902
  if (vErrors === null) {
3504
- vErrors = [err228];
3903
+ vErrors = [err234];
3505
3904
  } else {
3506
- vErrors.push(err228);
3905
+ vErrors.push(err234);
3507
3906
  }
3508
3907
  errors++;
3509
3908
  }
3510
3909
  }
3511
3910
  } else {
3512
- const err229 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3911
+ const err235 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3513
3912
  if (vErrors === null) {
3514
- vErrors = [err229];
3913
+ vErrors = [err235];
3515
3914
  } else {
3516
- vErrors.push(err229);
3915
+ vErrors.push(err235);
3517
3916
  }
3518
3917
  errors++;
3519
3918
  }
3520
3919
  }
3521
3920
  if (data.reclamation !== void 0) {
3522
- let data97 = data.reclamation;
3523
- if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
3524
- if (data97.min_window === void 0) {
3525
- const err230 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3921
+ let data98 = data.reclamation;
3922
+ if (data98 && typeof data98 == "object" && !Array.isArray(data98)) {
3923
+ if (data98.min_window === void 0) {
3924
+ const err236 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3526
3925
  if (vErrors === null) {
3527
- vErrors = [err230];
3926
+ vErrors = [err236];
3528
3927
  } else {
3529
- vErrors.push(err230);
3928
+ vErrors.push(err236);
3530
3929
  }
3531
3930
  errors++;
3532
3931
  }
3533
- for (const key34 in data97) {
3932
+ for (const key34 in data98) {
3534
3933
  if (!(key34 === "min_window")) {
3535
- const err231 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3934
+ const err237 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3536
3935
  if (vErrors === null) {
3537
- vErrors = [err231];
3936
+ vErrors = [err237];
3538
3937
  } else {
3539
- vErrors.push(err231);
3938
+ vErrors.push(err237);
3540
3939
  }
3541
3940
  errors++;
3542
3941
  }
3543
3942
  }
3544
- if (data97.min_window !== void 0) {
3545
- let data98 = data97.min_window;
3546
- if (typeof data98 === "string") {
3547
- if (!pattern12.test(data98)) {
3548
- 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)$"' };
3943
+ if (data98.min_window !== void 0) {
3944
+ let data99 = data98.min_window;
3945
+ if (typeof data99 === "string") {
3946
+ if (!pattern14.test(data99)) {
3947
+ 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)$"' };
3549
3948
  if (vErrors === null) {
3550
- vErrors = [err232];
3949
+ vErrors = [err238];
3551
3950
  } else {
3552
- vErrors.push(err232);
3951
+ vErrors.push(err238);
3553
3952
  }
3554
3953
  errors++;
3555
3954
  }
3556
3955
  } else {
3557
- const err233 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3956
+ const err239 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3558
3957
  if (vErrors === null) {
3559
- vErrors = [err233];
3958
+ vErrors = [err239];
3560
3959
  } else {
3561
- vErrors.push(err233);
3960
+ vErrors.push(err239);
3562
3961
  }
3563
3962
  errors++;
3564
3963
  }
3565
3964
  }
3566
3965
  } else {
3567
- const err234 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3966
+ const err240 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3568
3967
  if (vErrors === null) {
3569
- vErrors = [err234];
3968
+ vErrors = [err240];
3570
3969
  } else {
3571
- vErrors.push(err234);
3970
+ vErrors.push(err240);
3572
3971
  }
3573
3972
  errors++;
3574
3973
  }
3575
3974
  }
3576
3975
  if (data.version !== void 0) {
3577
- let data99 = data.version;
3578
- if (typeof data99 !== "string") {
3579
- const err235 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3976
+ let data100 = data.version;
3977
+ if (typeof data100 !== "string") {
3978
+ const err241 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3580
3979
  if (vErrors === null) {
3581
- vErrors = [err235];
3980
+ vErrors = [err241];
3582
3981
  } else {
3583
- vErrors.push(err235);
3982
+ vErrors.push(err241);
3584
3983
  }
3585
3984
  errors++;
3586
3985
  }
3587
- if (!(data99 === "2.0" || data99 === "2.1")) {
3588
- 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" };
3986
+ if (!(data100 === "2.0" || data100 === "2.1")) {
3987
+ 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" };
3589
3988
  if (vErrors === null) {
3590
- vErrors = [err236];
3989
+ vErrors = [err242];
3591
3990
  } else {
3592
- vErrors.push(err236);
3991
+ vErrors.push(err242);
3593
3992
  }
3594
3993
  errors++;
3595
3994
  }
3596
3995
  }
3597
3996
  } else {
3598
- const err237 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3997
+ const err243 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3599
3998
  if (vErrors === null) {
3600
- vErrors = [err237];
3999
+ vErrors = [err243];
3601
4000
  } else {
3602
- vErrors.push(err237);
4001
+ vErrors.push(err243);
3603
4002
  }
3604
4003
  errors++;
3605
4004
  }