@akashnetwork/chain-sdk 1.0.0-alpha.43 → 1.0.0-alpha.44
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.
- package/dist/cjs/generated/createNodeSDK.cjs +5 -328
- package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
- package/dist/cjs/generated/createProviderSDK.cjs +19 -36
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +0 -6
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +2 -18
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs +17 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs +0 -6
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +1 -139
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +0 -9
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +0 -266
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +2 -71
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +0 -321
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +1 -88
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +1 -462
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +0 -36
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +0 -25
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.akash.v1.cjs +25 -166
- package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +0 -25
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +0 -2
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +0 -9
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +1 -20
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +18 -1
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +741 -798
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/{chunk-AKNHD3CM.js → chunk-2IHQEHWT.js} +19 -4
- package/dist/esm/chunk-2IHQEHWT.js.map +7 -0
- package/dist/esm/{chunk-MIJCN6AD.js → chunk-3K7Q5MUF.js} +2 -2
- package/dist/esm/{chunk-GRGSTKN3.js → chunk-3QS3CMF4.js} +2 -2
- package/dist/esm/{chunk-3U5XKNEU.js → chunk-4SZHF6SE.js} +3 -3
- package/dist/esm/{chunk-W3TLZPTC.js → chunk-4TSICBUM.js} +3 -3
- package/dist/esm/{chunk-P64VHYRM.js → chunk-5ODS4QTF.js} +2 -2
- package/dist/esm/{chunk-5VWXQLXG.js → chunk-6MIQPNOR.js} +787 -1170
- package/dist/esm/chunk-6MIQPNOR.js.map +7 -0
- package/dist/esm/{chunk-OJ54L3XZ.js → chunk-7XXZVOOW.js} +4 -4
- package/dist/esm/{chunk-F4IQOYFH.js → chunk-AR26HCRY.js} +2 -2
- package/dist/esm/chunk-C3WV6GJ6.js +234 -0
- package/dist/esm/chunk-C3WV6GJ6.js.map +7 -0
- package/dist/esm/{chunk-PYD5MY63.js → chunk-CZGHFBAO.js} +9 -131
- package/dist/esm/chunk-CZGHFBAO.js.map +7 -0
- package/dist/esm/{chunk-IEWLP7PR.js → chunk-E7KECYS7.js} +1 -7
- package/dist/esm/chunk-E7KECYS7.js.map +7 -0
- package/dist/esm/{chunk-DCLXPAMC.js → chunk-EJQUNX4L.js} +3 -3
- package/dist/esm/{chunk-F7KT5EX5.js → chunk-ENZ3OBCL.js} +2 -2
- package/dist/esm/{chunk-54RECHZZ.js → chunk-IKTMMFJ5.js} +2 -2
- package/dist/esm/chunk-IVLF3VVZ.js +364 -0
- package/dist/esm/chunk-IVLF3VVZ.js.map +7 -0
- package/dist/esm/{chunk-7F3NJG67.js → chunk-LLM2VXJM.js} +3 -3
- package/dist/esm/{chunk-WNFIFYG2.js → chunk-M2RS2IFR.js} +2 -2
- package/dist/esm/{chunk-PAOVIX5L.js → chunk-MFZVOFPX.js} +3 -3
- package/dist/esm/chunk-MV27RM25.js +368 -0
- package/dist/esm/chunk-MV27RM25.js.map +7 -0
- package/dist/esm/{chunk-M5P5LAJJ.js → chunk-N42ATJOO.js} +2 -2
- package/dist/esm/{chunk-RJZ46VHV.js → chunk-NP4QQMME.js} +2 -2
- package/dist/esm/{chunk-XP2XNYEA.js → chunk-OWB6ZEHB.js} +2 -2
- package/dist/esm/{chunk-NNB5QBR2.js → chunk-OYI3IQIV.js} +2 -2
- package/dist/esm/chunk-S2CZQ6AM.js +211 -0
- package/dist/esm/chunk-S2CZQ6AM.js.map +7 -0
- package/dist/esm/{chunk-Y7BVCD32.js → chunk-SGDEIQ7L.js} +3 -3
- package/dist/esm/chunk-SXGU4O34.js +258 -0
- package/dist/esm/chunk-SXGU4O34.js.map +7 -0
- package/dist/esm/{chunk-HRN6NSO2.js → chunk-TTQ36NQ5.js} +2 -2
- package/dist/esm/chunk-V42TLXWK.js +177 -0
- package/dist/esm/chunk-V42TLXWK.js.map +7 -0
- package/dist/esm/{chunk-57534UAR.js → chunk-WCUR732W.js} +2 -2
- package/dist/esm/{chunk-CFEWW2ER.js → chunk-YBRE4XNB.js} +2 -2
- package/dist/esm/{chunk-BQNJHJXY.js → chunk-ZGK4PJCD.js} +3 -3
- package/dist/esm/{chunk-TN4W5NLC.js → chunk-ZRZ6LUI2.js} +1 -7
- package/dist/esm/chunk-ZRZ6LUI2.js.map +7 -0
- package/dist/esm/{chunk-PWXFQ5FI.js → chunk-ZXN75Q55.js} +3 -3
- package/dist/esm/generated/protos/index.akash.v1.js +75 -2986
- package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
- package/dist/esm/generated/protos/index.akash.v1beta4.js +13 -58
- package/dist/esm/generated/protos/index.akash.v1beta5.js +12 -17
- package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
- package/dist/esm/generated/protos/index.akash.v2.js +4 -4
- package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -29
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -5
- package/dist/esm/index.js +36 -54
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +13 -14
- package/dist/esm/index.web.js.map +1 -1
- package/dist/esm/{query_akash-HCIMNA7T.js → query_akash-44SHG3FL.js} +3 -4
- package/dist/esm/{query_akash-HCIMNA7T.js.map → query_akash-44SHG3FL.js.map} +1 -1
- package/dist/esm/{query_akash-SOJJMCBH.js → query_akash-54EYS6GQ.js} +7 -8
- package/dist/esm/{query_akash-SOJJMCBH.js.map → query_akash-54EYS6GQ.js.map} +1 -1
- package/dist/esm/{query_akash-HN4NCENR.js → query_akash-72TFPQBZ.js} +4 -4
- package/dist/esm/{query_akash-SVNQ4S67.js → query_akash-EGFDDA4L.js} +4 -4
- package/dist/esm/{query_akash-BTYAA6UN.js → query_akash-I3RPHLVA.js} +5 -5
- package/dist/esm/query_akash-N3FPIXVQ.js +39 -0
- package/dist/esm/query_akash-N3FPIXVQ.js.map +7 -0
- package/dist/esm/{query_akash-EG43V2QH.js → query_akash-QF2LHJQN.js} +4 -4
- package/dist/esm/{query_akash-LSGWB5MI.js → query_akash-TZ6F7OO4.js} +12 -24
- package/dist/esm/query_akash-TZ6F7OO4.js.map +7 -0
- package/dist/esm/service_akash-5AUMDLU5.js +46 -0
- package/dist/esm/service_akash-5AUMDLU5.js.map +7 -0
- package/dist/esm/{service_akash-43EJ5RKY.js → service_akash-EPHAYZEJ.js} +7 -8
- package/dist/esm/{service_akash-43EJ5RKY.js.map → service_akash-EPHAYZEJ.js.map} +1 -1
- package/dist/esm/{service_akash-T36Y5DCD.js → service_akash-FX24P5VG.js} +3 -4
- package/dist/esm/{service_akash-T36Y5DCD.js.map → service_akash-FX24P5VG.js.map} +1 -1
- package/dist/esm/{service_akash-HFGWADC2.js → service_akash-JQKI2SJP.js} +4 -4
- package/dist/esm/{service_akash-3R3TC3PH.js → service_akash-KRCYHNCN.js} +3 -4
- package/dist/esm/{service_akash-3R3TC3PH.js.map → service_akash-KRCYHNCN.js.map} +1 -1
- package/dist/esm/{service_akash-QTGRTXLG.js → service_akash-PFTEVUGK.js} +4 -4
- package/dist/esm/{service_akash-X4HCN3EG.js → service_akash-S73VJW6Q.js} +8 -9
- package/dist/esm/{service_akash-X4HCN3EG.js.map → service_akash-S73VJW6Q.js.map} +1 -1
- package/dist/esm/{service_akash-KAJJV7LX.js → service_akash-SXXXZL6K.js} +4 -4
- package/dist/esm/{service_akash-AXWB3IDG.js → service_akash-YXSRY4G3.js} +6 -7
- package/dist/esm/{service_akash-AXWB3IDG.js.map → service_akash-YXSRY4G3.js.map} +1 -1
- package/dist/esm/{service_akash-BZTUHKJO.js → service_akash-Z4CR3DWY.js} +7 -8
- package/dist/esm/{service_akash-BZTUHKJO.js.map → service_akash-Z4CR3DWY.js.map} +1 -1
- package/dist/sdl-schema.yaml +41 -73
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +0 -473
- package/dist/types/generated/createProviderSDK.d.ts +0 -31
- package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +0 -8
- package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +0 -3
- package/dist/types/generated/protos/akash/inventory/v1/cpu.d.ts +1 -0
- package/dist/types/generated/protos/akash/market/v1/types.d.ts +3 -5
- package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +0 -29
- package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +1 -8
- package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +0 -40
- package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +1 -11
- package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +0 -57
- package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +0 -13
- package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +1 -93
- package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +1 -29
- package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +1 -20
- package/dist/types/generated/protos/index.akash.v1.d.ts +0 -9
- package/dist/types/generated/protos/index.akash.v1beta4.d.ts +4 -7
- package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +0 -1
- package/dist/types/sdk/chain/createChainNodeSDK.d.ts +0 -45
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +0 -45
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +74 -109
- package/package.json +1 -1
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +0 -943
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +0 -50
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +0 -248
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +0 -417
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +0 -96
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +0 -132
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +0 -2525
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +0 -253
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +0 -2774
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +0 -1044
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +0 -1559
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +0 -147
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs +0 -17
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +0 -190
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +0 -2018
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +0 -1071
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +0 -148
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +0 -7
- package/dist/esm/chunk-2NPYA3YV.js +0 -1563
- package/dist/esm/chunk-2NPYA3YV.js.map +0 -7
- package/dist/esm/chunk-474YCD2T.js +0 -356
- package/dist/esm/chunk-474YCD2T.js.map +0 -7
- package/dist/esm/chunk-4CTTYO4O.js +0 -890
- package/dist/esm/chunk-4CTTYO4O.js.map +0 -7
- package/dist/esm/chunk-5VWXQLXG.js.map +0 -7
- package/dist/esm/chunk-AIWCRXMP.js +0 -672
- package/dist/esm/chunk-AIWCRXMP.js.map +0 -7
- package/dist/esm/chunk-AKNHD3CM.js.map +0 -7
- package/dist/esm/chunk-BI4YL5KH.js +0 -2742
- package/dist/esm/chunk-BI4YL5KH.js.map +0 -7
- package/dist/esm/chunk-IEWLP7PR.js.map +0 -7
- package/dist/esm/chunk-IFKY7FXY.js +0 -484
- package/dist/esm/chunk-IFKY7FXY.js.map +0 -7
- package/dist/esm/chunk-J4CJEGEM.js +0 -3016
- package/dist/esm/chunk-J4CJEGEM.js.map +0 -7
- package/dist/esm/chunk-PEHPXXTS.js +0 -1053
- package/dist/esm/chunk-PEHPXXTS.js.map +0 -7
- package/dist/esm/chunk-PTMMQODC.js +0 -760
- package/dist/esm/chunk-PTMMQODC.js.map +0 -7
- package/dist/esm/chunk-PYD5MY63.js.map +0 -7
- package/dist/esm/chunk-SK7LOVVI.js +0 -660
- package/dist/esm/chunk-SK7LOVVI.js.map +0 -7
- package/dist/esm/chunk-TN4W5NLC.js.map +0 -7
- package/dist/esm/chunk-VYCICKFV.js +0 -698
- package/dist/esm/chunk-VYCICKFV.js.map +0 -7
- package/dist/esm/query_akash-KU4YCMUU.js +0 -85
- package/dist/esm/query_akash-KU4YCMUU.js.map +0 -7
- package/dist/esm/query_akash-LSGWB5MI.js.map +0 -7
- package/dist/esm/query_akash-XYSUQTZC.js +0 -164
- package/dist/esm/query_akash-XYSUQTZC.js.map +0 -7
- package/dist/esm/service_akash-KYLB3OP3.js +0 -78
- package/dist/esm/service_akash-KYLB3OP3.js.map +0 -7
- package/dist/esm/service_akash-LJBOWZZG.js +0 -221
- package/dist/esm/service_akash-LJBOWZZG.js.map +0 -7
- package/dist/esm/snapshot_akash-KH5X5W3B.js +0 -41
- package/dist/esm/snapshot_akash-KH5X5W3B.js.map +0 -7
- package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +0 -112
- package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +0 -22
- package/dist/types/generated/protos/akash/market/v1/stats.d.ts +0 -35
- package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +0 -87
- package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +0 -17
- package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +0 -22
- package/dist/types/generated/protos/akash/verification/v1/event.d.ts +0 -339
- package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +0 -45
- package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +0 -614
- package/dist/types/generated/protos/akash/verification/v1/params.d.ts +0 -147
- package/dist/types/generated/protos/akash/verification/v1/query.d.ts +0 -290
- package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +0 -97
- package/dist/types/generated/protos/akash/verification/v1/service.d.ts +0 -1
- package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +0 -126
- package/dist/types/generated/protos/akash/verification/v1/state.d.ts +0 -320
- package/dist/types/generated/protos/akash/verification/v1/types.d.ts +0 -348
- package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +0 -36
- /package/dist/esm/{chunk-MIJCN6AD.js.map → chunk-3K7Q5MUF.js.map} +0 -0
- /package/dist/esm/{chunk-GRGSTKN3.js.map → chunk-3QS3CMF4.js.map} +0 -0
- /package/dist/esm/{chunk-3U5XKNEU.js.map → chunk-4SZHF6SE.js.map} +0 -0
- /package/dist/esm/{chunk-W3TLZPTC.js.map → chunk-4TSICBUM.js.map} +0 -0
- /package/dist/esm/{chunk-P64VHYRM.js.map → chunk-5ODS4QTF.js.map} +0 -0
- /package/dist/esm/{chunk-OJ54L3XZ.js.map → chunk-7XXZVOOW.js.map} +0 -0
- /package/dist/esm/{chunk-F4IQOYFH.js.map → chunk-AR26HCRY.js.map} +0 -0
- /package/dist/esm/{chunk-DCLXPAMC.js.map → chunk-EJQUNX4L.js.map} +0 -0
- /package/dist/esm/{chunk-F7KT5EX5.js.map → chunk-ENZ3OBCL.js.map} +0 -0
- /package/dist/esm/{chunk-54RECHZZ.js.map → chunk-IKTMMFJ5.js.map} +0 -0
- /package/dist/esm/{chunk-7F3NJG67.js.map → chunk-LLM2VXJM.js.map} +0 -0
- /package/dist/esm/{chunk-WNFIFYG2.js.map → chunk-M2RS2IFR.js.map} +0 -0
- /package/dist/esm/{chunk-PAOVIX5L.js.map → chunk-MFZVOFPX.js.map} +0 -0
- /package/dist/esm/{chunk-M5P5LAJJ.js.map → chunk-N42ATJOO.js.map} +0 -0
- /package/dist/esm/{chunk-RJZ46VHV.js.map → chunk-NP4QQMME.js.map} +0 -0
- /package/dist/esm/{chunk-XP2XNYEA.js.map → chunk-OWB6ZEHB.js.map} +0 -0
- /package/dist/esm/{chunk-NNB5QBR2.js.map → chunk-OYI3IQIV.js.map} +0 -0
- /package/dist/esm/{chunk-Y7BVCD32.js.map → chunk-SGDEIQ7L.js.map} +0 -0
- /package/dist/esm/{chunk-HRN6NSO2.js.map → chunk-TTQ36NQ5.js.map} +0 -0
- /package/dist/esm/{chunk-57534UAR.js.map → chunk-WCUR732W.js.map} +0 -0
- /package/dist/esm/{chunk-CFEWW2ER.js.map → chunk-YBRE4XNB.js.map} +0 -0
- /package/dist/esm/{chunk-BQNJHJXY.js.map → chunk-ZGK4PJCD.js.map} +0 -0
- /package/dist/esm/{chunk-PWXFQ5FI.js.map → chunk-ZXN75Q55.js.map} +0 -0
- /package/dist/esm/{query_akash-HN4NCENR.js.map → query_akash-72TFPQBZ.js.map} +0 -0
- /package/dist/esm/{query_akash-SVNQ4S67.js.map → query_akash-EGFDDA4L.js.map} +0 -0
- /package/dist/esm/{query_akash-BTYAA6UN.js.map → query_akash-I3RPHLVA.js.map} +0 -0
- /package/dist/esm/{query_akash-EG43V2QH.js.map → query_akash-QF2LHJQN.js.map} +0 -0
- /package/dist/esm/{service_akash-HFGWADC2.js.map → service_akash-JQKI2SJP.js.map} +0 -0
- /package/dist/esm/{service_akash-QTGRTXLG.js.map → service_akash-PFTEVUGK.js.map} +0 -0
- /package/dist/esm/{service_akash-KAJJV7LX.js.map → service_akash-SXXXZL6K.js.map} +0 -0
|
@@ -53,9 +53,9 @@ 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" }, "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" };
|
|
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"] } } }, "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 }, "proxy": { "additionalProperties": false, "description": "Optional proxy tuning for this route. All fields are optional and buffers_number and buffers_size must be set together (both present and >= 1); an empty block is unset.", "dependencies": { "buffers_number": ["buffers_size"], "buffers_size": ["buffers_number"] }, "properties": { "buffer_size": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy buffer size in bytes" }, "buffering_disable": { "type": "boolean", "description": "Disable proxy response buffering when true" }, "buffers_number": { "type": "integer", "minimum": 1, "maximum": 4294967295, "description": "Number of proxy buffers" }, "buffers_size": { "type": "integer", "minimum": 1, "maximum": 4294967295, "description": "Size of each proxy buffer in bytes" }, "busy_buffers_size": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy busy buffers size in bytes" }, "connect_timeout": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy connect timeout in milliseconds" } }, "type": "object" }, "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
|
|
58
|
+
var schema40 = { "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");
|
|
@@ -479,284 +479,6 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
479
479
|
validate28.errors = vErrors;
|
|
480
480
|
return errors === 0;
|
|
481
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
|
-
}
|
|
760
482
|
function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
761
483
|
let vErrors = null;
|
|
762
484
|
let errors = 0;
|
|
@@ -2105,7 +1827,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2105
1827
|
errors++;
|
|
2106
1828
|
}
|
|
2107
1829
|
for (const key19 in data35) {
|
|
2108
|
-
if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy"
|
|
1830
|
+
if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy")) {
|
|
2109
1831
|
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" };
|
|
2110
1832
|
if (vErrors === null) {
|
|
2111
1833
|
vErrors = [err98];
|
|
@@ -2356,12 +2078,6 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2356
2078
|
errors++;
|
|
2357
2079
|
}
|
|
2358
2080
|
}
|
|
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
|
-
}
|
|
2365
2081
|
} else {
|
|
2366
2082
|
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" };
|
|
2367
2083
|
if (vErrors === null) {
|
|
@@ -2393,12 +2109,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2393
2109
|
}
|
|
2394
2110
|
}
|
|
2395
2111
|
if (data.services !== void 0) {
|
|
2396
|
-
let
|
|
2397
|
-
if (
|
|
2398
|
-
for (const key23 in
|
|
2399
|
-
let
|
|
2400
|
-
if (
|
|
2401
|
-
if (
|
|
2112
|
+
let data46 = data.services;
|
|
2113
|
+
if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
|
|
2114
|
+
for (const key23 in data46) {
|
|
2115
|
+
let data47 = data46[key23];
|
|
2116
|
+
if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
|
|
2117
|
+
if (data47.image === void 0) {
|
|
2402
2118
|
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'" };
|
|
2403
2119
|
if (vErrors === null) {
|
|
2404
2120
|
vErrors = [err121];
|
|
@@ -2407,7 +2123,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2407
2123
|
}
|
|
2408
2124
|
errors++;
|
|
2409
2125
|
}
|
|
2410
|
-
for (const key24 in
|
|
2126
|
+
for (const key24 in data47) {
|
|
2411
2127
|
if (!(key24 === "args" || key24 === "command" || key24 === "credentials" || key24 === "dependencies" || key24 === "env" || key24 === "expose" || key24 === "image" || key24 === "params")) {
|
|
2412
2128
|
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" };
|
|
2413
2129
|
if (vErrors === null) {
|
|
@@ -2418,16 +2134,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2418
2134
|
errors++;
|
|
2419
2135
|
}
|
|
2420
2136
|
}
|
|
2421
|
-
if (
|
|
2422
|
-
let
|
|
2423
|
-
const
|
|
2137
|
+
if (data47.args !== void 0) {
|
|
2138
|
+
let data48 = data47.args;
|
|
2139
|
+
const _errs170 = errors;
|
|
2424
2140
|
let valid54 = false;
|
|
2425
2141
|
let passing8 = null;
|
|
2426
|
-
const
|
|
2427
|
-
if (Array.isArray(
|
|
2428
|
-
const len5 =
|
|
2142
|
+
const _errs171 = errors;
|
|
2143
|
+
if (Array.isArray(data48)) {
|
|
2144
|
+
const len5 = data48.length;
|
|
2429
2145
|
for (let i5 = 0; i5 < len5; i5++) {
|
|
2430
|
-
if (typeof
|
|
2146
|
+
if (typeof data48[i5] !== "string") {
|
|
2431
2147
|
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" };
|
|
2432
2148
|
if (vErrors === null) {
|
|
2433
2149
|
vErrors = [err123];
|
|
@@ -2446,13 +2162,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2446
2162
|
}
|
|
2447
2163
|
errors++;
|
|
2448
2164
|
}
|
|
2449
|
-
var _valid10 =
|
|
2165
|
+
var _valid10 = _errs171 === errors;
|
|
2450
2166
|
if (_valid10) {
|
|
2451
2167
|
valid54 = true;
|
|
2452
2168
|
passing8 = 0;
|
|
2453
2169
|
}
|
|
2454
|
-
const
|
|
2455
|
-
if (
|
|
2170
|
+
const _errs175 = errors;
|
|
2171
|
+
if (data48 !== null) {
|
|
2456
2172
|
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" };
|
|
2457
2173
|
if (vErrors === null) {
|
|
2458
2174
|
vErrors = [err125];
|
|
@@ -2461,7 +2177,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2461
2177
|
}
|
|
2462
2178
|
errors++;
|
|
2463
2179
|
}
|
|
2464
|
-
var _valid10 =
|
|
2180
|
+
var _valid10 = _errs175 === errors;
|
|
2465
2181
|
if (_valid10 && valid54) {
|
|
2466
2182
|
valid54 = false;
|
|
2467
2183
|
passing8 = [passing8, 1];
|
|
@@ -2480,26 +2196,26 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2480
2196
|
}
|
|
2481
2197
|
errors++;
|
|
2482
2198
|
} else {
|
|
2483
|
-
errors =
|
|
2199
|
+
errors = _errs170;
|
|
2484
2200
|
if (vErrors !== null) {
|
|
2485
|
-
if (
|
|
2486
|
-
vErrors.length =
|
|
2201
|
+
if (_errs170) {
|
|
2202
|
+
vErrors.length = _errs170;
|
|
2487
2203
|
} else {
|
|
2488
2204
|
vErrors = null;
|
|
2489
2205
|
}
|
|
2490
2206
|
}
|
|
2491
2207
|
}
|
|
2492
2208
|
}
|
|
2493
|
-
if (
|
|
2494
|
-
let
|
|
2495
|
-
const
|
|
2209
|
+
if (data47.command !== void 0) {
|
|
2210
|
+
let data50 = data47.command;
|
|
2211
|
+
const _errs179 = errors;
|
|
2496
2212
|
let valid58 = false;
|
|
2497
2213
|
let passing9 = null;
|
|
2498
|
-
const
|
|
2499
|
-
if (Array.isArray(
|
|
2500
|
-
const len6 =
|
|
2214
|
+
const _errs180 = errors;
|
|
2215
|
+
if (Array.isArray(data50)) {
|
|
2216
|
+
const len6 = data50.length;
|
|
2501
2217
|
for (let i6 = 0; i6 < len6; i6++) {
|
|
2502
|
-
if (typeof
|
|
2218
|
+
if (typeof data50[i6] !== "string") {
|
|
2503
2219
|
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" };
|
|
2504
2220
|
if (vErrors === null) {
|
|
2505
2221
|
vErrors = [err127];
|
|
@@ -2518,13 +2234,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2518
2234
|
}
|
|
2519
2235
|
errors++;
|
|
2520
2236
|
}
|
|
2521
|
-
var _valid11 =
|
|
2237
|
+
var _valid11 = _errs180 === errors;
|
|
2522
2238
|
if (_valid11) {
|
|
2523
2239
|
valid58 = true;
|
|
2524
2240
|
passing9 = 0;
|
|
2525
2241
|
}
|
|
2526
|
-
const
|
|
2527
|
-
if (
|
|
2242
|
+
const _errs184 = errors;
|
|
2243
|
+
if (data50 !== null) {
|
|
2528
2244
|
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" };
|
|
2529
2245
|
if (vErrors === null) {
|
|
2530
2246
|
vErrors = [err129];
|
|
@@ -2533,7 +2249,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2533
2249
|
}
|
|
2534
2250
|
errors++;
|
|
2535
2251
|
}
|
|
2536
|
-
var _valid11 =
|
|
2252
|
+
var _valid11 = _errs184 === errors;
|
|
2537
2253
|
if (_valid11 && valid58) {
|
|
2538
2254
|
valid58 = false;
|
|
2539
2255
|
passing9 = [passing9, 1];
|
|
@@ -2552,20 +2268,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2552
2268
|
}
|
|
2553
2269
|
errors++;
|
|
2554
2270
|
} else {
|
|
2555
|
-
errors =
|
|
2271
|
+
errors = _errs179;
|
|
2556
2272
|
if (vErrors !== null) {
|
|
2557
|
-
if (
|
|
2558
|
-
vErrors.length =
|
|
2273
|
+
if (_errs179) {
|
|
2274
|
+
vErrors.length = _errs179;
|
|
2559
2275
|
} else {
|
|
2560
2276
|
vErrors = null;
|
|
2561
2277
|
}
|
|
2562
2278
|
}
|
|
2563
2279
|
}
|
|
2564
2280
|
}
|
|
2565
|
-
if (
|
|
2566
|
-
let
|
|
2567
|
-
if (
|
|
2568
|
-
if (
|
|
2281
|
+
if (data47.credentials !== void 0) {
|
|
2282
|
+
let data52 = data47.credentials;
|
|
2283
|
+
if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
|
|
2284
|
+
if (data52.host === void 0) {
|
|
2569
2285
|
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'" };
|
|
2570
2286
|
if (vErrors === null) {
|
|
2571
2287
|
vErrors = [err131];
|
|
@@ -2574,7 +2290,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2574
2290
|
}
|
|
2575
2291
|
errors++;
|
|
2576
2292
|
}
|
|
2577
|
-
if (
|
|
2293
|
+
if (data52.username === void 0) {
|
|
2578
2294
|
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'" };
|
|
2579
2295
|
if (vErrors === null) {
|
|
2580
2296
|
vErrors = [err132];
|
|
@@ -2583,7 +2299,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2583
2299
|
}
|
|
2584
2300
|
errors++;
|
|
2585
2301
|
}
|
|
2586
|
-
if (
|
|
2302
|
+
if (data52.password === void 0) {
|
|
2587
2303
|
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'" };
|
|
2588
2304
|
if (vErrors === null) {
|
|
2589
2305
|
vErrors = [err133];
|
|
@@ -2592,7 +2308,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2592
2308
|
}
|
|
2593
2309
|
errors++;
|
|
2594
2310
|
}
|
|
2595
|
-
for (const key25 in
|
|
2311
|
+
for (const key25 in data52) {
|
|
2596
2312
|
if (!(key25 === "email" || key25 === "host" || key25 === "password" || key25 === "username")) {
|
|
2597
2313
|
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" };
|
|
2598
2314
|
if (vErrors === null) {
|
|
@@ -2603,10 +2319,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2603
2319
|
errors++;
|
|
2604
2320
|
}
|
|
2605
2321
|
}
|
|
2606
|
-
if (
|
|
2607
|
-
let
|
|
2608
|
-
if (typeof
|
|
2609
|
-
if (func2(
|
|
2322
|
+
if (data52.email !== void 0) {
|
|
2323
|
+
let data53 = data52.email;
|
|
2324
|
+
if (typeof data53 === "string") {
|
|
2325
|
+
if (func2(data53) < 5) {
|
|
2610
2326
|
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" };
|
|
2611
2327
|
if (vErrors === null) {
|
|
2612
2328
|
vErrors = [err135];
|
|
@@ -2625,10 +2341,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2625
2341
|
errors++;
|
|
2626
2342
|
}
|
|
2627
2343
|
}
|
|
2628
|
-
if (
|
|
2629
|
-
let
|
|
2630
|
-
if (typeof
|
|
2631
|
-
if (func2(
|
|
2344
|
+
if (data52.host !== void 0) {
|
|
2345
|
+
let data54 = data52.host;
|
|
2346
|
+
if (typeof data54 === "string") {
|
|
2347
|
+
if (func2(data54) < 1) {
|
|
2632
2348
|
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" };
|
|
2633
2349
|
if (vErrors === null) {
|
|
2634
2350
|
vErrors = [err137];
|
|
@@ -2647,10 +2363,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2647
2363
|
errors++;
|
|
2648
2364
|
}
|
|
2649
2365
|
}
|
|
2650
|
-
if (
|
|
2651
|
-
let
|
|
2652
|
-
if (typeof
|
|
2653
|
-
if (func2(
|
|
2366
|
+
if (data52.password !== void 0) {
|
|
2367
|
+
let data55 = data52.password;
|
|
2368
|
+
if (typeof data55 === "string") {
|
|
2369
|
+
if (func2(data55) < 6) {
|
|
2654
2370
|
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" };
|
|
2655
2371
|
if (vErrors === null) {
|
|
2656
2372
|
vErrors = [err139];
|
|
@@ -2669,10 +2385,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2669
2385
|
errors++;
|
|
2670
2386
|
}
|
|
2671
2387
|
}
|
|
2672
|
-
if (
|
|
2673
|
-
let
|
|
2674
|
-
if (typeof
|
|
2675
|
-
if (func2(
|
|
2388
|
+
if (data52.username !== void 0) {
|
|
2389
|
+
let data56 = data52.username;
|
|
2390
|
+
if (typeof data56 === "string") {
|
|
2391
|
+
if (func2(data56) < 1) {
|
|
2676
2392
|
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" };
|
|
2677
2393
|
if (vErrors === null) {
|
|
2678
2394
|
vErrors = [err141];
|
|
@@ -2701,14 +2417,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2701
2417
|
errors++;
|
|
2702
2418
|
}
|
|
2703
2419
|
}
|
|
2704
|
-
if (
|
|
2705
|
-
let
|
|
2706
|
-
if (Array.isArray(
|
|
2707
|
-
const len7 =
|
|
2420
|
+
if (data47.dependencies !== void 0) {
|
|
2421
|
+
let data57 = data47.dependencies;
|
|
2422
|
+
if (Array.isArray(data57)) {
|
|
2423
|
+
const len7 = data57.length;
|
|
2708
2424
|
for (let i7 = 0; i7 < len7; i7++) {
|
|
2709
|
-
let
|
|
2710
|
-
if (
|
|
2711
|
-
for (const key26 in
|
|
2425
|
+
let data58 = data57[i7];
|
|
2426
|
+
if (data58 && typeof data58 == "object" && !Array.isArray(data58)) {
|
|
2427
|
+
for (const key26 in data58) {
|
|
2712
2428
|
if (!(key26 === "service")) {
|
|
2713
2429
|
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" };
|
|
2714
2430
|
if (vErrors === null) {
|
|
@@ -2719,8 +2435,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2719
2435
|
errors++;
|
|
2720
2436
|
}
|
|
2721
2437
|
}
|
|
2722
|
-
if (
|
|
2723
|
-
if (typeof
|
|
2438
|
+
if (data58.service !== void 0) {
|
|
2439
|
+
if (typeof data58.service !== "string") {
|
|
2724
2440
|
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" };
|
|
2725
2441
|
if (vErrors === null) {
|
|
2726
2442
|
vErrors = [err145];
|
|
@@ -2750,16 +2466,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2750
2466
|
errors++;
|
|
2751
2467
|
}
|
|
2752
2468
|
}
|
|
2753
|
-
if (
|
|
2754
|
-
let
|
|
2755
|
-
const
|
|
2469
|
+
if (data47.env !== void 0) {
|
|
2470
|
+
let data60 = data47.env;
|
|
2471
|
+
const _errs206 = errors;
|
|
2756
2472
|
let valid66 = false;
|
|
2757
2473
|
let passing10 = null;
|
|
2758
|
-
const
|
|
2759
|
-
if (Array.isArray(
|
|
2760
|
-
const len8 =
|
|
2474
|
+
const _errs207 = errors;
|
|
2475
|
+
if (Array.isArray(data60)) {
|
|
2476
|
+
const len8 = data60.length;
|
|
2761
2477
|
for (let i8 = 0; i8 < len8; i8++) {
|
|
2762
|
-
if (typeof
|
|
2478
|
+
if (typeof data60[i8] !== "string") {
|
|
2763
2479
|
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" };
|
|
2764
2480
|
if (vErrors === null) {
|
|
2765
2481
|
vErrors = [err148];
|
|
@@ -2778,13 +2494,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2778
2494
|
}
|
|
2779
2495
|
errors++;
|
|
2780
2496
|
}
|
|
2781
|
-
var _valid12 =
|
|
2497
|
+
var _valid12 = _errs207 === errors;
|
|
2782
2498
|
if (_valid12) {
|
|
2783
2499
|
valid66 = true;
|
|
2784
2500
|
passing10 = 0;
|
|
2785
2501
|
}
|
|
2786
|
-
const
|
|
2787
|
-
if (
|
|
2502
|
+
const _errs211 = errors;
|
|
2503
|
+
if (data60 !== null) {
|
|
2788
2504
|
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" };
|
|
2789
2505
|
if (vErrors === null) {
|
|
2790
2506
|
vErrors = [err150];
|
|
@@ -2793,7 +2509,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2793
2509
|
}
|
|
2794
2510
|
errors++;
|
|
2795
2511
|
}
|
|
2796
|
-
var _valid12 =
|
|
2512
|
+
var _valid12 = _errs211 === errors;
|
|
2797
2513
|
if (_valid12 && valid66) {
|
|
2798
2514
|
valid66 = false;
|
|
2799
2515
|
passing10 = [passing10, 1];
|
|
@@ -2812,28 +2528,28 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2812
2528
|
}
|
|
2813
2529
|
errors++;
|
|
2814
2530
|
} else {
|
|
2815
|
-
errors =
|
|
2531
|
+
errors = _errs206;
|
|
2816
2532
|
if (vErrors !== null) {
|
|
2817
|
-
if (
|
|
2818
|
-
vErrors.length =
|
|
2533
|
+
if (_errs206) {
|
|
2534
|
+
vErrors.length = _errs206;
|
|
2819
2535
|
} else {
|
|
2820
2536
|
vErrors = null;
|
|
2821
2537
|
}
|
|
2822
2538
|
}
|
|
2823
2539
|
}
|
|
2824
2540
|
}
|
|
2825
|
-
if (
|
|
2826
|
-
let
|
|
2827
|
-
const
|
|
2541
|
+
if (data47.expose !== void 0) {
|
|
2542
|
+
let data62 = data47.expose;
|
|
2543
|
+
const _errs214 = errors;
|
|
2828
2544
|
let valid69 = false;
|
|
2829
2545
|
let passing11 = null;
|
|
2830
|
-
const
|
|
2831
|
-
if (Array.isArray(
|
|
2832
|
-
const len9 =
|
|
2546
|
+
const _errs215 = errors;
|
|
2547
|
+
if (Array.isArray(data62)) {
|
|
2548
|
+
const len9 = data62.length;
|
|
2833
2549
|
for (let i9 = 0; i9 < len9; i9++) {
|
|
2834
|
-
let
|
|
2835
|
-
if (
|
|
2836
|
-
if (
|
|
2550
|
+
let data63 = data62[i9];
|
|
2551
|
+
if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
|
|
2552
|
+
if (data63.port === void 0) {
|
|
2837
2553
|
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'" };
|
|
2838
2554
|
if (vErrors === null) {
|
|
2839
2555
|
vErrors = [err152];
|
|
@@ -2842,7 +2558,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2842
2558
|
}
|
|
2843
2559
|
errors++;
|
|
2844
2560
|
}
|
|
2845
|
-
for (const key27 in
|
|
2561
|
+
for (const key27 in data63) {
|
|
2846
2562
|
if (!(key27 === "accept" || key27 === "as" || key27 === "http_options" || key27 === "port" || key27 === "proto" || key27 === "to")) {
|
|
2847
2563
|
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" };
|
|
2848
2564
|
if (vErrors === null) {
|
|
@@ -2853,12 +2569,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2853
2569
|
errors++;
|
|
2854
2570
|
}
|
|
2855
2571
|
}
|
|
2856
|
-
if (
|
|
2857
|
-
let
|
|
2858
|
-
if (Array.isArray(
|
|
2859
|
-
const len10 =
|
|
2572
|
+
if (data63.accept !== void 0) {
|
|
2573
|
+
let data64 = data63.accept;
|
|
2574
|
+
if (Array.isArray(data64)) {
|
|
2575
|
+
const len10 = data64.length;
|
|
2860
2576
|
for (let i10 = 0; i10 < len10; i10++) {
|
|
2861
|
-
if (typeof
|
|
2577
|
+
if (typeof data64[i10] !== "string") {
|
|
2862
2578
|
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" };
|
|
2863
2579
|
if (vErrors === null) {
|
|
2864
2580
|
vErrors = [err154];
|
|
@@ -2878,9 +2594,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2878
2594
|
errors++;
|
|
2879
2595
|
}
|
|
2880
2596
|
}
|
|
2881
|
-
if (
|
|
2882
|
-
let
|
|
2883
|
-
if (!(typeof
|
|
2597
|
+
if (data63.as !== void 0) {
|
|
2598
|
+
let data66 = data63.as;
|
|
2599
|
+
if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
|
|
2884
2600
|
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" };
|
|
2885
2601
|
if (vErrors === null) {
|
|
2886
2602
|
vErrors = [err156];
|
|
@@ -2889,8 +2605,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2889
2605
|
}
|
|
2890
2606
|
errors++;
|
|
2891
2607
|
}
|
|
2892
|
-
if (typeof
|
|
2893
|
-
if (
|
|
2608
|
+
if (typeof data66 == "number") {
|
|
2609
|
+
if (data66 > 65535 || isNaN(data66)) {
|
|
2894
2610
|
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" };
|
|
2895
2611
|
if (vErrors === null) {
|
|
2896
2612
|
vErrors = [err157];
|
|
@@ -2899,7 +2615,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2899
2615
|
}
|
|
2900
2616
|
errors++;
|
|
2901
2617
|
}
|
|
2902
|
-
if (
|
|
2618
|
+
if (data66 < 1 || isNaN(data66)) {
|
|
2903
2619
|
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" };
|
|
2904
2620
|
if (vErrors === null) {
|
|
2905
2621
|
vErrors = [err158];
|
|
@@ -2910,11 +2626,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2910
2626
|
}
|
|
2911
2627
|
}
|
|
2912
2628
|
}
|
|
2913
|
-
if (
|
|
2914
|
-
let
|
|
2915
|
-
if (
|
|
2916
|
-
for (const key28 in
|
|
2917
|
-
if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "read_timeout" || key28 === "send_timeout")) {
|
|
2629
|
+
if (data63.http_options !== void 0) {
|
|
2630
|
+
let data67 = data63.http_options;
|
|
2631
|
+
if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
|
|
2632
|
+
for (const key28 in data67) {
|
|
2633
|
+
if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "proxy" || key28 === "read_timeout" || key28 === "send_timeout")) {
|
|
2918
2634
|
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" };
|
|
2919
2635
|
if (vErrors === null) {
|
|
2920
2636
|
vErrors = [err159];
|
|
@@ -2924,9 +2640,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2924
2640
|
errors++;
|
|
2925
2641
|
}
|
|
2926
2642
|
}
|
|
2927
|
-
if (
|
|
2928
|
-
let
|
|
2929
|
-
if (!(typeof
|
|
2643
|
+
if (data67.max_body_size !== void 0) {
|
|
2644
|
+
let data68 = data67.max_body_size;
|
|
2645
|
+
if (!(typeof data68 == "number" && (!(data68 % 1) && !isNaN(data68)))) {
|
|
2930
2646
|
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" };
|
|
2931
2647
|
if (vErrors === null) {
|
|
2932
2648
|
vErrors = [err160];
|
|
@@ -2935,8 +2651,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2935
2651
|
}
|
|
2936
2652
|
errors++;
|
|
2937
2653
|
}
|
|
2938
|
-
if (typeof
|
|
2939
|
-
if (
|
|
2654
|
+
if (typeof data68 == "number") {
|
|
2655
|
+
if (data68 > 104857600 || isNaN(data68)) {
|
|
2940
2656
|
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" };
|
|
2941
2657
|
if (vErrors === null) {
|
|
2942
2658
|
vErrors = [err161];
|
|
@@ -2945,7 +2661,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2945
2661
|
}
|
|
2946
2662
|
errors++;
|
|
2947
2663
|
}
|
|
2948
|
-
if (
|
|
2664
|
+
if (data68 < 0 || isNaN(data68)) {
|
|
2949
2665
|
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" };
|
|
2950
2666
|
if (vErrors === null) {
|
|
2951
2667
|
vErrors = [err162];
|
|
@@ -2956,14 +2672,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2956
2672
|
}
|
|
2957
2673
|
}
|
|
2958
2674
|
}
|
|
2959
|
-
if (
|
|
2960
|
-
let
|
|
2961
|
-
const
|
|
2675
|
+
if (data67.next_cases !== void 0) {
|
|
2676
|
+
let data69 = data67.next_cases;
|
|
2677
|
+
const _errs233 = errors;
|
|
2962
2678
|
let valid77 = false;
|
|
2963
2679
|
let passing12 = null;
|
|
2964
|
-
const
|
|
2965
|
-
if (Array.isArray(
|
|
2966
|
-
if (
|
|
2680
|
+
const _errs234 = errors;
|
|
2681
|
+
if (Array.isArray(data69)) {
|
|
2682
|
+
if (data69.length > 1) {
|
|
2967
2683
|
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" };
|
|
2968
2684
|
if (vErrors === null) {
|
|
2969
2685
|
vErrors = [err163];
|
|
@@ -2972,7 +2688,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2972
2688
|
}
|
|
2973
2689
|
errors++;
|
|
2974
2690
|
}
|
|
2975
|
-
if (
|
|
2691
|
+
if (data69.length < 1) {
|
|
2976
2692
|
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" };
|
|
2977
2693
|
if (vErrors === null) {
|
|
2978
2694
|
vErrors = [err164];
|
|
@@ -2981,10 +2697,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2981
2697
|
}
|
|
2982
2698
|
errors++;
|
|
2983
2699
|
}
|
|
2984
|
-
const len11 =
|
|
2700
|
+
const len11 = data69.length;
|
|
2985
2701
|
for (let i11 = 0; i11 < len11; i11++) {
|
|
2986
|
-
let
|
|
2987
|
-
if (typeof
|
|
2702
|
+
let data70 = data69[i11];
|
|
2703
|
+
if (typeof data70 !== "string") {
|
|
2988
2704
|
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" };
|
|
2989
2705
|
if (vErrors === null) {
|
|
2990
2706
|
vErrors = [err165];
|
|
@@ -2993,8 +2709,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2993
2709
|
}
|
|
2994
2710
|
errors++;
|
|
2995
2711
|
}
|
|
2996
|
-
if (!(
|
|
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:
|
|
2712
|
+
if (!(data70 === "error" || data70 === "timeout" || data70 === "500" || data70 === "502" || data70 === "503" || data70 === "504" || data70 === "403" || data70 === "404" || data70 === "429" || data70 === "off")) {
|
|
2713
|
+
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" };
|
|
2998
2714
|
if (vErrors === null) {
|
|
2999
2715
|
vErrors = [err166];
|
|
3000
2716
|
} else {
|
|
@@ -3003,11 +2719,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3003
2719
|
errors++;
|
|
3004
2720
|
}
|
|
3005
2721
|
}
|
|
3006
|
-
const
|
|
3007
|
-
const len12 =
|
|
2722
|
+
const _errs239 = errors;
|
|
2723
|
+
const len12 = data69.length;
|
|
3008
2724
|
for (let i12 = 0; i12 < len12; i12++) {
|
|
3009
|
-
const
|
|
3010
|
-
if ("off" !==
|
|
2725
|
+
const _errs240 = errors;
|
|
2726
|
+
if ("off" !== data69[i12]) {
|
|
3011
2727
|
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" };
|
|
3012
2728
|
if (vErrors === null) {
|
|
3013
2729
|
vErrors = [err167];
|
|
@@ -3016,7 +2732,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3016
2732
|
}
|
|
3017
2733
|
errors++;
|
|
3018
2734
|
}
|
|
3019
|
-
var valid81 =
|
|
2735
|
+
var valid81 = _errs240 === errors;
|
|
3020
2736
|
if (valid81) {
|
|
3021
2737
|
break;
|
|
3022
2738
|
}
|
|
@@ -3030,10 +2746,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3030
2746
|
}
|
|
3031
2747
|
errors++;
|
|
3032
2748
|
} else {
|
|
3033
|
-
errors =
|
|
2749
|
+
errors = _errs239;
|
|
3034
2750
|
if (vErrors !== null) {
|
|
3035
|
-
if (
|
|
3036
|
-
vErrors.length =
|
|
2751
|
+
if (_errs239) {
|
|
2752
|
+
vErrors.length = _errs239;
|
|
3037
2753
|
} else {
|
|
3038
2754
|
vErrors = null;
|
|
3039
2755
|
}
|
|
@@ -3048,20 +2764,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3048
2764
|
}
|
|
3049
2765
|
errors++;
|
|
3050
2766
|
}
|
|
3051
|
-
var _valid14 =
|
|
2767
|
+
var _valid14 = _errs234 === errors;
|
|
3052
2768
|
if (_valid14) {
|
|
3053
2769
|
valid77 = true;
|
|
3054
2770
|
passing12 = 0;
|
|
3055
2771
|
}
|
|
3056
|
-
const
|
|
2772
|
+
const _errs241 = errors;
|
|
2773
|
+
const _errs243 = errors;
|
|
3057
2774
|
const _errs244 = errors;
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
const
|
|
3061
|
-
const len13 = data70.length;
|
|
2775
|
+
if (Array.isArray(data69)) {
|
|
2776
|
+
const _errs245 = errors;
|
|
2777
|
+
const len13 = data69.length;
|
|
3062
2778
|
for (let i13 = 0; i13 < len13; i13++) {
|
|
3063
|
-
const
|
|
3064
|
-
if ("off" !==
|
|
2779
|
+
const _errs246 = errors;
|
|
2780
|
+
if ("off" !== data69[i13]) {
|
|
3065
2781
|
const err170 = {};
|
|
3066
2782
|
if (vErrors === null) {
|
|
3067
2783
|
vErrors = [err170];
|
|
@@ -3070,7 +2786,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3070
2786
|
}
|
|
3071
2787
|
errors++;
|
|
3072
2788
|
}
|
|
3073
|
-
var valid83 =
|
|
2789
|
+
var valid83 = _errs246 === errors;
|
|
3074
2790
|
if (valid83) {
|
|
3075
2791
|
break;
|
|
3076
2792
|
}
|
|
@@ -3084,17 +2800,17 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3084
2800
|
}
|
|
3085
2801
|
errors++;
|
|
3086
2802
|
} else {
|
|
3087
|
-
errors =
|
|
2803
|
+
errors = _errs245;
|
|
3088
2804
|
if (vErrors !== null) {
|
|
3089
|
-
if (
|
|
3090
|
-
vErrors.length =
|
|
2805
|
+
if (_errs245) {
|
|
2806
|
+
vErrors.length = _errs245;
|
|
3091
2807
|
} else {
|
|
3092
2808
|
vErrors = null;
|
|
3093
2809
|
}
|
|
3094
2810
|
}
|
|
3095
2811
|
}
|
|
3096
2812
|
}
|
|
3097
|
-
var valid82 =
|
|
2813
|
+
var valid82 = _errs244 === errors;
|
|
3098
2814
|
if (valid82) {
|
|
3099
2815
|
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" };
|
|
3100
2816
|
if (vErrors === null) {
|
|
@@ -3104,20 +2820,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3104
2820
|
}
|
|
3105
2821
|
errors++;
|
|
3106
2822
|
} else {
|
|
3107
|
-
errors =
|
|
2823
|
+
errors = _errs243;
|
|
3108
2824
|
if (vErrors !== null) {
|
|
3109
|
-
if (
|
|
3110
|
-
vErrors.length =
|
|
2825
|
+
if (_errs243) {
|
|
2826
|
+
vErrors.length = _errs243;
|
|
3111
2827
|
} else {
|
|
3112
2828
|
vErrors = null;
|
|
3113
2829
|
}
|
|
3114
2830
|
}
|
|
3115
2831
|
}
|
|
3116
|
-
if (Array.isArray(
|
|
3117
|
-
const len14 =
|
|
2832
|
+
if (Array.isArray(data69)) {
|
|
2833
|
+
const len14 = data69.length;
|
|
3118
2834
|
for (let i14 = 0; i14 < len14; i14++) {
|
|
3119
|
-
let
|
|
3120
|
-
if (typeof
|
|
2835
|
+
let data73 = data69[i14];
|
|
2836
|
+
if (typeof data73 !== "string") {
|
|
3121
2837
|
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" };
|
|
3122
2838
|
if (vErrors === null) {
|
|
3123
2839
|
vErrors = [err173];
|
|
@@ -3126,8 +2842,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3126
2842
|
}
|
|
3127
2843
|
errors++;
|
|
3128
2844
|
}
|
|
3129
|
-
if (!(
|
|
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:
|
|
2845
|
+
if (!(data73 === "error" || data73 === "timeout" || data73 === "500" || data73 === "502" || data73 === "503" || data73 === "504" || data73 === "403" || data73 === "404" || data73 === "429" || data73 === "off")) {
|
|
2846
|
+
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" };
|
|
3131
2847
|
if (vErrors === null) {
|
|
3132
2848
|
vErrors = [err174];
|
|
3133
2849
|
} else {
|
|
@@ -3145,7 +2861,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3145
2861
|
}
|
|
3146
2862
|
errors++;
|
|
3147
2863
|
}
|
|
3148
|
-
var _valid14 =
|
|
2864
|
+
var _valid14 = _errs241 === errors;
|
|
3149
2865
|
if (_valid14 && valid77) {
|
|
3150
2866
|
valid77 = false;
|
|
3151
2867
|
passing12 = [passing12, 1];
|
|
@@ -3164,19 +2880,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3164
2880
|
}
|
|
3165
2881
|
errors++;
|
|
3166
2882
|
} else {
|
|
3167
|
-
errors =
|
|
2883
|
+
errors = _errs233;
|
|
3168
2884
|
if (vErrors !== null) {
|
|
3169
|
-
if (
|
|
3170
|
-
vErrors.length =
|
|
2885
|
+
if (_errs233) {
|
|
2886
|
+
vErrors.length = _errs233;
|
|
3171
2887
|
} else {
|
|
3172
2888
|
vErrors = null;
|
|
3173
2889
|
}
|
|
3174
2890
|
}
|
|
3175
2891
|
}
|
|
3176
2892
|
}
|
|
3177
|
-
if (
|
|
3178
|
-
let
|
|
3179
|
-
if (!(typeof
|
|
2893
|
+
if (data67.next_timeout !== void 0) {
|
|
2894
|
+
let data74 = data67.next_timeout;
|
|
2895
|
+
if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
|
|
3180
2896
|
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" };
|
|
3181
2897
|
if (vErrors === null) {
|
|
3182
2898
|
vErrors = [err177];
|
|
@@ -3185,8 +2901,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3185
2901
|
}
|
|
3186
2902
|
errors++;
|
|
3187
2903
|
}
|
|
3188
|
-
if (typeof
|
|
3189
|
-
if (
|
|
2904
|
+
if (typeof data74 == "number") {
|
|
2905
|
+
if (data74 < 0 || isNaN(data74)) {
|
|
3190
2906
|
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" };
|
|
3191
2907
|
if (vErrors === null) {
|
|
3192
2908
|
vErrors = [err178];
|
|
@@ -3197,9 +2913,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3197
2913
|
}
|
|
3198
2914
|
}
|
|
3199
2915
|
}
|
|
3200
|
-
if (
|
|
3201
|
-
let
|
|
3202
|
-
if (!(typeof
|
|
2916
|
+
if (data67.next_tries !== void 0) {
|
|
2917
|
+
let data75 = data67.next_tries;
|
|
2918
|
+
if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
|
|
3203
2919
|
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" };
|
|
3204
2920
|
if (vErrors === null) {
|
|
3205
2921
|
vErrors = [err179];
|
|
@@ -3208,8 +2924,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3208
2924
|
}
|
|
3209
2925
|
errors++;
|
|
3210
2926
|
}
|
|
3211
|
-
if (typeof
|
|
3212
|
-
if (
|
|
2927
|
+
if (typeof data75 == "number") {
|
|
2928
|
+
if (data75 < 0 || isNaN(data75)) {
|
|
3213
2929
|
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" };
|
|
3214
2930
|
if (vErrors === null) {
|
|
3215
2931
|
vErrors = [err180];
|
|
@@ -3220,178 +2936,405 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3220
2936
|
}
|
|
3221
2937
|
}
|
|
3222
2938
|
}
|
|
3223
|
-
if (
|
|
3224
|
-
let
|
|
3225
|
-
|
|
3226
|
-
|
|
2939
|
+
if (data67.proxy !== void 0) {
|
|
2940
|
+
let data76 = data67.proxy;
|
|
2941
|
+
if (data76 && typeof data76 == "object" && !Array.isArray(data76)) {
|
|
2942
|
+
for (const key29 in data76) {
|
|
2943
|
+
if (!(key29 === "buffer_size" || key29 === "buffering_disable" || key29 === "buffers_number" || key29 === "buffers_size" || key29 === "busy_buffers_size" || key29 === "connect_timeout")) {
|
|
2944
|
+
const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
|
|
2945
|
+
if (vErrors === null) {
|
|
2946
|
+
vErrors = [err181];
|
|
2947
|
+
} else {
|
|
2948
|
+
vErrors.push(err181);
|
|
2949
|
+
}
|
|
2950
|
+
errors++;
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
if (data76.buffers_number !== void 0) {
|
|
2954
|
+
if (data76.buffers_size === void 0) {
|
|
2955
|
+
const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/dependencies", keyword: "dependencies", params: {
|
|
2956
|
+
property: "buffers_number",
|
|
2957
|
+
missingProperty: "buffers_size",
|
|
2958
|
+
depsCount: 1,
|
|
2959
|
+
deps: "buffers_size"
|
|
2960
|
+
}, message: "must have property buffers_size when property buffers_number is present" };
|
|
2961
|
+
if (vErrors === null) {
|
|
2962
|
+
vErrors = [err182];
|
|
2963
|
+
} else {
|
|
2964
|
+
vErrors.push(err182);
|
|
2965
|
+
}
|
|
2966
|
+
errors++;
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
if (data76.buffers_size !== void 0) {
|
|
2970
|
+
if (data76.buffers_number === void 0) {
|
|
2971
|
+
const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/dependencies", keyword: "dependencies", params: {
|
|
2972
|
+
property: "buffers_size",
|
|
2973
|
+
missingProperty: "buffers_number",
|
|
2974
|
+
depsCount: 1,
|
|
2975
|
+
deps: "buffers_number"
|
|
2976
|
+
}, message: "must have property buffers_number when property buffers_size is present" };
|
|
2977
|
+
if (vErrors === null) {
|
|
2978
|
+
vErrors = [err183];
|
|
2979
|
+
} else {
|
|
2980
|
+
vErrors.push(err183);
|
|
2981
|
+
}
|
|
2982
|
+
errors++;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
if (data76.buffer_size !== void 0) {
|
|
2986
|
+
let data77 = data76.buffer_size;
|
|
2987
|
+
if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
|
|
2988
|
+
const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
|
|
2989
|
+
if (vErrors === null) {
|
|
2990
|
+
vErrors = [err184];
|
|
2991
|
+
} else {
|
|
2992
|
+
vErrors.push(err184);
|
|
2993
|
+
}
|
|
2994
|
+
errors++;
|
|
2995
|
+
}
|
|
2996
|
+
if (typeof data77 == "number") {
|
|
2997
|
+
if (data77 > 4294967295 || isNaN(data77)) {
|
|
2998
|
+
const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
|
|
2999
|
+
if (vErrors === null) {
|
|
3000
|
+
vErrors = [err185];
|
|
3001
|
+
} else {
|
|
3002
|
+
vErrors.push(err185);
|
|
3003
|
+
}
|
|
3004
|
+
errors++;
|
|
3005
|
+
}
|
|
3006
|
+
if (data77 < 0 || isNaN(data77)) {
|
|
3007
|
+
const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
|
|
3008
|
+
if (vErrors === null) {
|
|
3009
|
+
vErrors = [err186];
|
|
3010
|
+
} else {
|
|
3011
|
+
vErrors.push(err186);
|
|
3012
|
+
}
|
|
3013
|
+
errors++;
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
if (data76.buffering_disable !== void 0) {
|
|
3018
|
+
if (typeof data76.buffering_disable !== "boolean") {
|
|
3019
|
+
const err187 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffering_disable", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffering_disable/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
3020
|
+
if (vErrors === null) {
|
|
3021
|
+
vErrors = [err187];
|
|
3022
|
+
} else {
|
|
3023
|
+
vErrors.push(err187);
|
|
3024
|
+
}
|
|
3025
|
+
errors++;
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
if (data76.buffers_number !== void 0) {
|
|
3029
|
+
let data79 = data76.buffers_number;
|
|
3030
|
+
if (!(typeof data79 == "number" && (!(data79 % 1) && !isNaN(data79)))) {
|
|
3031
|
+
const err188 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
|
|
3032
|
+
if (vErrors === null) {
|
|
3033
|
+
vErrors = [err188];
|
|
3034
|
+
} else {
|
|
3035
|
+
vErrors.push(err188);
|
|
3036
|
+
}
|
|
3037
|
+
errors++;
|
|
3038
|
+
}
|
|
3039
|
+
if (typeof data79 == "number") {
|
|
3040
|
+
if (data79 > 4294967295 || isNaN(data79)) {
|
|
3041
|
+
const err189 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
|
|
3042
|
+
if (vErrors === null) {
|
|
3043
|
+
vErrors = [err189];
|
|
3044
|
+
} else {
|
|
3045
|
+
vErrors.push(err189);
|
|
3046
|
+
}
|
|
3047
|
+
errors++;
|
|
3048
|
+
}
|
|
3049
|
+
if (data79 < 1 || isNaN(data79)) {
|
|
3050
|
+
const err190 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
|
|
3051
|
+
if (vErrors === null) {
|
|
3052
|
+
vErrors = [err190];
|
|
3053
|
+
} else {
|
|
3054
|
+
vErrors.push(err190);
|
|
3055
|
+
}
|
|
3056
|
+
errors++;
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
if (data76.buffers_size !== void 0) {
|
|
3061
|
+
let data80 = data76.buffers_size;
|
|
3062
|
+
if (!(typeof data80 == "number" && (!(data80 % 1) && !isNaN(data80)))) {
|
|
3063
|
+
const err191 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
|
|
3064
|
+
if (vErrors === null) {
|
|
3065
|
+
vErrors = [err191];
|
|
3066
|
+
} else {
|
|
3067
|
+
vErrors.push(err191);
|
|
3068
|
+
}
|
|
3069
|
+
errors++;
|
|
3070
|
+
}
|
|
3071
|
+
if (typeof data80 == "number") {
|
|
3072
|
+
if (data80 > 4294967295 || isNaN(data80)) {
|
|
3073
|
+
const err192 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
|
|
3074
|
+
if (vErrors === null) {
|
|
3075
|
+
vErrors = [err192];
|
|
3076
|
+
} else {
|
|
3077
|
+
vErrors.push(err192);
|
|
3078
|
+
}
|
|
3079
|
+
errors++;
|
|
3080
|
+
}
|
|
3081
|
+
if (data80 < 1 || isNaN(data80)) {
|
|
3082
|
+
const err193 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
|
|
3083
|
+
if (vErrors === null) {
|
|
3084
|
+
vErrors = [err193];
|
|
3085
|
+
} else {
|
|
3086
|
+
vErrors.push(err193);
|
|
3087
|
+
}
|
|
3088
|
+
errors++;
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
if (data76.busy_buffers_size !== void 0) {
|
|
3093
|
+
let data81 = data76.busy_buffers_size;
|
|
3094
|
+
if (!(typeof data81 == "number" && (!(data81 % 1) && !isNaN(data81)))) {
|
|
3095
|
+
const err194 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
|
|
3096
|
+
if (vErrors === null) {
|
|
3097
|
+
vErrors = [err194];
|
|
3098
|
+
} else {
|
|
3099
|
+
vErrors.push(err194);
|
|
3100
|
+
}
|
|
3101
|
+
errors++;
|
|
3102
|
+
}
|
|
3103
|
+
if (typeof data81 == "number") {
|
|
3104
|
+
if (data81 > 4294967295 || isNaN(data81)) {
|
|
3105
|
+
const err195 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
|
|
3106
|
+
if (vErrors === null) {
|
|
3107
|
+
vErrors = [err195];
|
|
3108
|
+
} else {
|
|
3109
|
+
vErrors.push(err195);
|
|
3110
|
+
}
|
|
3111
|
+
errors++;
|
|
3112
|
+
}
|
|
3113
|
+
if (data81 < 0 || isNaN(data81)) {
|
|
3114
|
+
const err196 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
|
|
3115
|
+
if (vErrors === null) {
|
|
3116
|
+
vErrors = [err196];
|
|
3117
|
+
} else {
|
|
3118
|
+
vErrors.push(err196);
|
|
3119
|
+
}
|
|
3120
|
+
errors++;
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
if (data76.connect_timeout !== void 0) {
|
|
3125
|
+
let data82 = data76.connect_timeout;
|
|
3126
|
+
if (!(typeof data82 == "number" && (!(data82 % 1) && !isNaN(data82)))) {
|
|
3127
|
+
const err197 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
|
|
3128
|
+
if (vErrors === null) {
|
|
3129
|
+
vErrors = [err197];
|
|
3130
|
+
} else {
|
|
3131
|
+
vErrors.push(err197);
|
|
3132
|
+
}
|
|
3133
|
+
errors++;
|
|
3134
|
+
}
|
|
3135
|
+
if (typeof data82 == "number") {
|
|
3136
|
+
if (data82 > 4294967295 || isNaN(data82)) {
|
|
3137
|
+
const err198 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
|
|
3138
|
+
if (vErrors === null) {
|
|
3139
|
+
vErrors = [err198];
|
|
3140
|
+
} else {
|
|
3141
|
+
vErrors.push(err198);
|
|
3142
|
+
}
|
|
3143
|
+
errors++;
|
|
3144
|
+
}
|
|
3145
|
+
if (data82 < 0 || isNaN(data82)) {
|
|
3146
|
+
const err199 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
|
|
3147
|
+
if (vErrors === null) {
|
|
3148
|
+
vErrors = [err199];
|
|
3149
|
+
} else {
|
|
3150
|
+
vErrors.push(err199);
|
|
3151
|
+
}
|
|
3152
|
+
errors++;
|
|
3153
|
+
}
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
} else {
|
|
3157
|
+
const err200 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
3158
|
+
if (vErrors === null) {
|
|
3159
|
+
vErrors = [err200];
|
|
3160
|
+
} else {
|
|
3161
|
+
vErrors.push(err200);
|
|
3162
|
+
}
|
|
3163
|
+
errors++;
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
if (data67.read_timeout !== void 0) {
|
|
3167
|
+
let data83 = data67.read_timeout;
|
|
3168
|
+
const _errs271 = errors;
|
|
3169
|
+
let valid90 = false;
|
|
3227
3170
|
let passing13 = null;
|
|
3228
|
-
const
|
|
3229
|
-
if (!(typeof
|
|
3230
|
-
const
|
|
3171
|
+
const _errs272 = errors;
|
|
3172
|
+
if (!(typeof data83 == "number" && (!(data83 % 1) && !isNaN(data83)))) {
|
|
3173
|
+
const err201 = { 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" };
|
|
3231
3174
|
if (vErrors === null) {
|
|
3232
|
-
vErrors = [
|
|
3175
|
+
vErrors = [err201];
|
|
3233
3176
|
} else {
|
|
3234
|
-
vErrors.push(
|
|
3177
|
+
vErrors.push(err201);
|
|
3235
3178
|
}
|
|
3236
3179
|
errors++;
|
|
3237
3180
|
}
|
|
3238
|
-
if (typeof
|
|
3239
|
-
if (
|
|
3240
|
-
const
|
|
3181
|
+
if (typeof data83 == "number") {
|
|
3182
|
+
if (data83 > 4294967295 || isNaN(data83)) {
|
|
3183
|
+
const err202 = { 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" };
|
|
3241
3184
|
if (vErrors === null) {
|
|
3242
|
-
vErrors = [
|
|
3185
|
+
vErrors = [err202];
|
|
3243
3186
|
} else {
|
|
3244
|
-
vErrors.push(
|
|
3187
|
+
vErrors.push(err202);
|
|
3245
3188
|
}
|
|
3246
3189
|
errors++;
|
|
3247
3190
|
}
|
|
3248
|
-
if (
|
|
3249
|
-
const
|
|
3191
|
+
if (data83 < 0 || isNaN(data83)) {
|
|
3192
|
+
const err203 = { 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" };
|
|
3250
3193
|
if (vErrors === null) {
|
|
3251
|
-
vErrors = [
|
|
3194
|
+
vErrors = [err203];
|
|
3252
3195
|
} else {
|
|
3253
|
-
vErrors.push(
|
|
3196
|
+
vErrors.push(err203);
|
|
3254
3197
|
}
|
|
3255
3198
|
errors++;
|
|
3256
3199
|
}
|
|
3257
3200
|
}
|
|
3258
|
-
var _valid15 =
|
|
3201
|
+
var _valid15 = _errs272 === errors;
|
|
3259
3202
|
if (_valid15) {
|
|
3260
|
-
|
|
3203
|
+
valid90 = true;
|
|
3261
3204
|
passing13 = 0;
|
|
3262
3205
|
}
|
|
3263
|
-
const
|
|
3264
|
-
if (typeof
|
|
3265
|
-
if (!pattern11.test(
|
|
3266
|
-
const
|
|
3206
|
+
const _errs274 = errors;
|
|
3207
|
+
if (typeof data83 === "string") {
|
|
3208
|
+
if (!pattern11.test(data83)) {
|
|
3209
|
+
const err204 = { 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
3210
|
if (vErrors === null) {
|
|
3268
|
-
vErrors = [
|
|
3211
|
+
vErrors = [err204];
|
|
3269
3212
|
} else {
|
|
3270
|
-
vErrors.push(
|
|
3213
|
+
vErrors.push(err204);
|
|
3271
3214
|
}
|
|
3272
3215
|
errors++;
|
|
3273
3216
|
}
|
|
3274
3217
|
} else {
|
|
3275
|
-
const
|
|
3218
|
+
const err205 = { 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
3219
|
if (vErrors === null) {
|
|
3277
|
-
vErrors = [
|
|
3220
|
+
vErrors = [err205];
|
|
3278
3221
|
} else {
|
|
3279
|
-
vErrors.push(
|
|
3222
|
+
vErrors.push(err205);
|
|
3280
3223
|
}
|
|
3281
3224
|
errors++;
|
|
3282
3225
|
}
|
|
3283
|
-
var _valid15 =
|
|
3284
|
-
if (_valid15 &&
|
|
3285
|
-
|
|
3226
|
+
var _valid15 = _errs274 === errors;
|
|
3227
|
+
if (_valid15 && valid90) {
|
|
3228
|
+
valid90 = false;
|
|
3286
3229
|
passing13 = [passing13, 1];
|
|
3287
3230
|
} else {
|
|
3288
3231
|
if (_valid15) {
|
|
3289
|
-
|
|
3232
|
+
valid90 = true;
|
|
3290
3233
|
passing13 = 1;
|
|
3291
3234
|
}
|
|
3292
3235
|
}
|
|
3293
|
-
if (!
|
|
3294
|
-
const
|
|
3236
|
+
if (!valid90) {
|
|
3237
|
+
const err206 = { 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
3238
|
if (vErrors === null) {
|
|
3296
|
-
vErrors = [
|
|
3239
|
+
vErrors = [err206];
|
|
3297
3240
|
} else {
|
|
3298
|
-
vErrors.push(
|
|
3241
|
+
vErrors.push(err206);
|
|
3299
3242
|
}
|
|
3300
3243
|
errors++;
|
|
3301
3244
|
} else {
|
|
3302
|
-
errors =
|
|
3245
|
+
errors = _errs271;
|
|
3303
3246
|
if (vErrors !== null) {
|
|
3304
|
-
if (
|
|
3305
|
-
vErrors.length =
|
|
3247
|
+
if (_errs271) {
|
|
3248
|
+
vErrors.length = _errs271;
|
|
3306
3249
|
} else {
|
|
3307
3250
|
vErrors = null;
|
|
3308
3251
|
}
|
|
3309
3252
|
}
|
|
3310
3253
|
}
|
|
3311
3254
|
}
|
|
3312
|
-
if (
|
|
3313
|
-
let
|
|
3314
|
-
const
|
|
3315
|
-
let
|
|
3255
|
+
if (data67.send_timeout !== void 0) {
|
|
3256
|
+
let data84 = data67.send_timeout;
|
|
3257
|
+
const _errs278 = errors;
|
|
3258
|
+
let valid92 = false;
|
|
3316
3259
|
let passing14 = null;
|
|
3317
|
-
const
|
|
3318
|
-
if (!(typeof
|
|
3319
|
-
const
|
|
3260
|
+
const _errs279 = errors;
|
|
3261
|
+
if (!(typeof data84 == "number" && (!(data84 % 1) && !isNaN(data84)))) {
|
|
3262
|
+
const err207 = { 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" };
|
|
3320
3263
|
if (vErrors === null) {
|
|
3321
|
-
vErrors = [
|
|
3264
|
+
vErrors = [err207];
|
|
3322
3265
|
} else {
|
|
3323
|
-
vErrors.push(
|
|
3266
|
+
vErrors.push(err207);
|
|
3324
3267
|
}
|
|
3325
3268
|
errors++;
|
|
3326
3269
|
}
|
|
3327
|
-
if (typeof
|
|
3328
|
-
if (
|
|
3329
|
-
const
|
|
3270
|
+
if (typeof data84 == "number") {
|
|
3271
|
+
if (data84 > 4294967295 || isNaN(data84)) {
|
|
3272
|
+
const err208 = { 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" };
|
|
3330
3273
|
if (vErrors === null) {
|
|
3331
|
-
vErrors = [
|
|
3274
|
+
vErrors = [err208];
|
|
3332
3275
|
} else {
|
|
3333
|
-
vErrors.push(
|
|
3276
|
+
vErrors.push(err208);
|
|
3334
3277
|
}
|
|
3335
3278
|
errors++;
|
|
3336
3279
|
}
|
|
3337
|
-
if (
|
|
3338
|
-
const
|
|
3280
|
+
if (data84 < 0 || isNaN(data84)) {
|
|
3281
|
+
const err209 = { 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" };
|
|
3339
3282
|
if (vErrors === null) {
|
|
3340
|
-
vErrors = [
|
|
3283
|
+
vErrors = [err209];
|
|
3341
3284
|
} else {
|
|
3342
|
-
vErrors.push(
|
|
3285
|
+
vErrors.push(err209);
|
|
3343
3286
|
}
|
|
3344
3287
|
errors++;
|
|
3345
3288
|
}
|
|
3346
3289
|
}
|
|
3347
|
-
var _valid16 =
|
|
3290
|
+
var _valid16 = _errs279 === errors;
|
|
3348
3291
|
if (_valid16) {
|
|
3349
|
-
|
|
3292
|
+
valid92 = true;
|
|
3350
3293
|
passing14 = 0;
|
|
3351
3294
|
}
|
|
3352
|
-
const
|
|
3353
|
-
if (typeof
|
|
3354
|
-
if (!pattern11.test(
|
|
3355
|
-
const
|
|
3295
|
+
const _errs281 = errors;
|
|
3296
|
+
if (typeof data84 === "string") {
|
|
3297
|
+
if (!pattern11.test(data84)) {
|
|
3298
|
+
const err210 = { 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
3299
|
if (vErrors === null) {
|
|
3357
|
-
vErrors = [
|
|
3300
|
+
vErrors = [err210];
|
|
3358
3301
|
} else {
|
|
3359
|
-
vErrors.push(
|
|
3302
|
+
vErrors.push(err210);
|
|
3360
3303
|
}
|
|
3361
3304
|
errors++;
|
|
3362
3305
|
}
|
|
3363
3306
|
} else {
|
|
3364
|
-
const
|
|
3307
|
+
const err211 = { 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
3308
|
if (vErrors === null) {
|
|
3366
|
-
vErrors = [
|
|
3309
|
+
vErrors = [err211];
|
|
3367
3310
|
} else {
|
|
3368
|
-
vErrors.push(
|
|
3311
|
+
vErrors.push(err211);
|
|
3369
3312
|
}
|
|
3370
3313
|
errors++;
|
|
3371
3314
|
}
|
|
3372
|
-
var _valid16 =
|
|
3373
|
-
if (_valid16 &&
|
|
3374
|
-
|
|
3315
|
+
var _valid16 = _errs281 === errors;
|
|
3316
|
+
if (_valid16 && valid92) {
|
|
3317
|
+
valid92 = false;
|
|
3375
3318
|
passing14 = [passing14, 1];
|
|
3376
3319
|
} else {
|
|
3377
3320
|
if (_valid16) {
|
|
3378
|
-
|
|
3321
|
+
valid92 = true;
|
|
3379
3322
|
passing14 = 1;
|
|
3380
3323
|
}
|
|
3381
3324
|
}
|
|
3382
|
-
if (!
|
|
3383
|
-
const
|
|
3325
|
+
if (!valid92) {
|
|
3326
|
+
const err212 = { 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
3327
|
if (vErrors === null) {
|
|
3385
|
-
vErrors = [
|
|
3328
|
+
vErrors = [err212];
|
|
3386
3329
|
} else {
|
|
3387
|
-
vErrors.push(
|
|
3330
|
+
vErrors.push(err212);
|
|
3388
3331
|
}
|
|
3389
3332
|
errors++;
|
|
3390
3333
|
} else {
|
|
3391
|
-
errors =
|
|
3334
|
+
errors = _errs278;
|
|
3392
3335
|
if (vErrors !== null) {
|
|
3393
|
-
if (
|
|
3394
|
-
vErrors.length =
|
|
3336
|
+
if (_errs278) {
|
|
3337
|
+
vErrors.length = _errs278;
|
|
3395
3338
|
} else {
|
|
3396
3339
|
vErrors = null;
|
|
3397
3340
|
}
|
|
@@ -3399,108 +3342,108 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3399
3342
|
}
|
|
3400
3343
|
}
|
|
3401
3344
|
} else {
|
|
3402
|
-
const
|
|
3345
|
+
const err213 = { 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" };
|
|
3403
3346
|
if (vErrors === null) {
|
|
3404
|
-
vErrors = [
|
|
3347
|
+
vErrors = [err213];
|
|
3405
3348
|
} else {
|
|
3406
|
-
vErrors.push(
|
|
3349
|
+
vErrors.push(err213);
|
|
3407
3350
|
}
|
|
3408
3351
|
errors++;
|
|
3409
3352
|
}
|
|
3410
3353
|
}
|
|
3411
|
-
if (
|
|
3412
|
-
let
|
|
3413
|
-
if (!(typeof
|
|
3414
|
-
const
|
|
3354
|
+
if (data63.port !== void 0) {
|
|
3355
|
+
let data85 = data63.port;
|
|
3356
|
+
if (!(typeof data85 == "number" && (!(data85 % 1) && !isNaN(data85)))) {
|
|
3357
|
+
const err214 = { 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" };
|
|
3415
3358
|
if (vErrors === null) {
|
|
3416
|
-
vErrors = [
|
|
3359
|
+
vErrors = [err214];
|
|
3417
3360
|
} else {
|
|
3418
|
-
vErrors.push(
|
|
3361
|
+
vErrors.push(err214);
|
|
3419
3362
|
}
|
|
3420
3363
|
errors++;
|
|
3421
3364
|
}
|
|
3422
|
-
if (typeof
|
|
3423
|
-
if (
|
|
3424
|
-
const
|
|
3365
|
+
if (typeof data85 == "number") {
|
|
3366
|
+
if (data85 > 65535 || isNaN(data85)) {
|
|
3367
|
+
const err215 = { 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" };
|
|
3425
3368
|
if (vErrors === null) {
|
|
3426
|
-
vErrors = [
|
|
3369
|
+
vErrors = [err215];
|
|
3427
3370
|
} else {
|
|
3428
|
-
vErrors.push(
|
|
3371
|
+
vErrors.push(err215);
|
|
3429
3372
|
}
|
|
3430
3373
|
errors++;
|
|
3431
3374
|
}
|
|
3432
|
-
if (
|
|
3433
|
-
const
|
|
3375
|
+
if (data85 < 1 || isNaN(data85)) {
|
|
3376
|
+
const err216 = { 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" };
|
|
3434
3377
|
if (vErrors === null) {
|
|
3435
|
-
vErrors = [
|
|
3378
|
+
vErrors = [err216];
|
|
3436
3379
|
} else {
|
|
3437
|
-
vErrors.push(
|
|
3380
|
+
vErrors.push(err216);
|
|
3438
3381
|
}
|
|
3439
3382
|
errors++;
|
|
3440
3383
|
}
|
|
3441
3384
|
}
|
|
3442
3385
|
}
|
|
3443
|
-
if (
|
|
3444
|
-
let
|
|
3445
|
-
if (typeof
|
|
3446
|
-
const
|
|
3386
|
+
if (data63.proto !== void 0) {
|
|
3387
|
+
let data86 = data63.proto;
|
|
3388
|
+
if (typeof data86 !== "string") {
|
|
3389
|
+
const err217 = { 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" };
|
|
3447
3390
|
if (vErrors === null) {
|
|
3448
|
-
vErrors = [
|
|
3391
|
+
vErrors = [err217];
|
|
3449
3392
|
} else {
|
|
3450
|
-
vErrors.push(
|
|
3393
|
+
vErrors.push(err217);
|
|
3451
3394
|
}
|
|
3452
3395
|
errors++;
|
|
3453
3396
|
}
|
|
3454
|
-
if (!(
|
|
3455
|
-
const
|
|
3397
|
+
if (!(data86 === "TCP" || data86 === "UDP" || data86 === "tcp" || data86 === "udp")) {
|
|
3398
|
+
const err218 = { 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" };
|
|
3456
3399
|
if (vErrors === null) {
|
|
3457
|
-
vErrors = [
|
|
3400
|
+
vErrors = [err218];
|
|
3458
3401
|
} else {
|
|
3459
|
-
vErrors.push(
|
|
3402
|
+
vErrors.push(err218);
|
|
3460
3403
|
}
|
|
3461
3404
|
errors++;
|
|
3462
3405
|
}
|
|
3463
3406
|
}
|
|
3464
|
-
if (
|
|
3465
|
-
let
|
|
3466
|
-
if (Array.isArray(
|
|
3467
|
-
const len15 =
|
|
3407
|
+
if (data63.to !== void 0) {
|
|
3408
|
+
let data87 = data63.to;
|
|
3409
|
+
if (Array.isArray(data87)) {
|
|
3410
|
+
const len15 = data87.length;
|
|
3468
3411
|
for (let i15 = 0; i15 < len15; i15++) {
|
|
3469
|
-
let
|
|
3470
|
-
const
|
|
3471
|
-
let
|
|
3472
|
-
const
|
|
3473
|
-
if (
|
|
3474
|
-
let
|
|
3475
|
-
if (
|
|
3476
|
-
const
|
|
3412
|
+
let data88 = data87[i15];
|
|
3413
|
+
const _errs294 = errors;
|
|
3414
|
+
let valid98 = true;
|
|
3415
|
+
const _errs295 = errors;
|
|
3416
|
+
if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
|
|
3417
|
+
let missing3;
|
|
3418
|
+
if (data88.ip === void 0 && (missing3 = "ip")) {
|
|
3419
|
+
const err219 = {};
|
|
3477
3420
|
if (vErrors === null) {
|
|
3478
|
-
vErrors = [
|
|
3421
|
+
vErrors = [err219];
|
|
3479
3422
|
} else {
|
|
3480
|
-
vErrors.push(
|
|
3423
|
+
vErrors.push(err219);
|
|
3481
3424
|
}
|
|
3482
3425
|
errors++;
|
|
3483
3426
|
} else {
|
|
3484
|
-
if (
|
|
3485
|
-
let
|
|
3486
|
-
const
|
|
3487
|
-
if (errors ===
|
|
3488
|
-
if (typeof
|
|
3489
|
-
if (func2(
|
|
3490
|
-
const
|
|
3427
|
+
if (data88.ip !== void 0) {
|
|
3428
|
+
let data89 = data88.ip;
|
|
3429
|
+
const _errs296 = errors;
|
|
3430
|
+
if (errors === _errs296) {
|
|
3431
|
+
if (typeof data89 === "string") {
|
|
3432
|
+
if (func2(data89) < 1) {
|
|
3433
|
+
const err220 = {};
|
|
3491
3434
|
if (vErrors === null) {
|
|
3492
|
-
vErrors = [
|
|
3435
|
+
vErrors = [err220];
|
|
3493
3436
|
} else {
|
|
3494
|
-
vErrors.push(
|
|
3437
|
+
vErrors.push(err220);
|
|
3495
3438
|
}
|
|
3496
3439
|
errors++;
|
|
3497
3440
|
}
|
|
3498
3441
|
} else {
|
|
3499
|
-
const
|
|
3442
|
+
const err221 = {};
|
|
3500
3443
|
if (vErrors === null) {
|
|
3501
|
-
vErrors = [
|
|
3444
|
+
vErrors = [err221];
|
|
3502
3445
|
} else {
|
|
3503
|
-
vErrors.push(
|
|
3446
|
+
vErrors.push(err221);
|
|
3504
3447
|
}
|
|
3505
3448
|
errors++;
|
|
3506
3449
|
}
|
|
@@ -3508,162 +3451,162 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3508
3451
|
}
|
|
3509
3452
|
}
|
|
3510
3453
|
}
|
|
3511
|
-
var _valid17 =
|
|
3512
|
-
errors =
|
|
3454
|
+
var _valid17 = _errs295 === errors;
|
|
3455
|
+
errors = _errs294;
|
|
3513
3456
|
if (vErrors !== null) {
|
|
3514
|
-
if (
|
|
3515
|
-
vErrors.length =
|
|
3457
|
+
if (_errs294) {
|
|
3458
|
+
vErrors.length = _errs294;
|
|
3516
3459
|
} else {
|
|
3517
3460
|
vErrors = null;
|
|
3518
3461
|
}
|
|
3519
3462
|
}
|
|
3520
3463
|
if (_valid17) {
|
|
3521
|
-
const
|
|
3522
|
-
if (
|
|
3523
|
-
if (
|
|
3524
|
-
const
|
|
3464
|
+
const _errs298 = errors;
|
|
3465
|
+
if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
|
|
3466
|
+
if (data88.global === void 0) {
|
|
3467
|
+
const err222 = { 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'" };
|
|
3525
3468
|
if (vErrors === null) {
|
|
3526
|
-
vErrors = [
|
|
3469
|
+
vErrors = [err222];
|
|
3527
3470
|
} else {
|
|
3528
|
-
vErrors.push(
|
|
3471
|
+
vErrors.push(err222);
|
|
3529
3472
|
}
|
|
3530
3473
|
errors++;
|
|
3531
3474
|
}
|
|
3532
|
-
if (
|
|
3533
|
-
if (true !==
|
|
3534
|
-
const
|
|
3475
|
+
if (data88.global !== void 0) {
|
|
3476
|
+
if (true !== data88.global) {
|
|
3477
|
+
const err223 = { 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" };
|
|
3535
3478
|
if (vErrors === null) {
|
|
3536
|
-
vErrors = [
|
|
3479
|
+
vErrors = [err223];
|
|
3537
3480
|
} else {
|
|
3538
|
-
vErrors.push(
|
|
3481
|
+
vErrors.push(err223);
|
|
3539
3482
|
}
|
|
3540
3483
|
errors++;
|
|
3541
3484
|
}
|
|
3542
3485
|
}
|
|
3543
3486
|
}
|
|
3544
|
-
var _valid17 =
|
|
3545
|
-
|
|
3487
|
+
var _valid17 = _errs298 === errors;
|
|
3488
|
+
valid98 = _valid17;
|
|
3546
3489
|
}
|
|
3547
|
-
if (!
|
|
3548
|
-
const
|
|
3490
|
+
if (!valid98) {
|
|
3491
|
+
const err224 = { 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' };
|
|
3549
3492
|
if (vErrors === null) {
|
|
3550
|
-
vErrors = [
|
|
3493
|
+
vErrors = [err224];
|
|
3551
3494
|
} else {
|
|
3552
|
-
vErrors.push(
|
|
3495
|
+
vErrors.push(err224);
|
|
3553
3496
|
}
|
|
3554
3497
|
errors++;
|
|
3555
3498
|
}
|
|
3556
|
-
if (
|
|
3557
|
-
for (const
|
|
3558
|
-
if (!(
|
|
3559
|
-
const
|
|
3499
|
+
if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
|
|
3500
|
+
for (const key30 in data88) {
|
|
3501
|
+
if (!(key30 === "global" || key30 === "ip" || key30 === "service")) {
|
|
3502
|
+
const err225 = { 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: key30 }, message: "must NOT have additional properties" };
|
|
3560
3503
|
if (vErrors === null) {
|
|
3561
|
-
vErrors = [
|
|
3504
|
+
vErrors = [err225];
|
|
3562
3505
|
} else {
|
|
3563
|
-
vErrors.push(
|
|
3506
|
+
vErrors.push(err225);
|
|
3564
3507
|
}
|
|
3565
3508
|
errors++;
|
|
3566
3509
|
}
|
|
3567
3510
|
}
|
|
3568
|
-
if (
|
|
3569
|
-
if (typeof
|
|
3570
|
-
const
|
|
3511
|
+
if (data88.global !== void 0) {
|
|
3512
|
+
if (typeof data88.global !== "boolean") {
|
|
3513
|
+
const err226 = { 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" };
|
|
3571
3514
|
if (vErrors === null) {
|
|
3572
|
-
vErrors = [
|
|
3515
|
+
vErrors = [err226];
|
|
3573
3516
|
} else {
|
|
3574
|
-
vErrors.push(
|
|
3517
|
+
vErrors.push(err226);
|
|
3575
3518
|
}
|
|
3576
3519
|
errors++;
|
|
3577
3520
|
}
|
|
3578
3521
|
}
|
|
3579
|
-
if (
|
|
3580
|
-
let
|
|
3581
|
-
if (typeof
|
|
3582
|
-
if (func2(
|
|
3583
|
-
const
|
|
3522
|
+
if (data88.ip !== void 0) {
|
|
3523
|
+
let data92 = data88.ip;
|
|
3524
|
+
if (typeof data92 === "string") {
|
|
3525
|
+
if (func2(data92) < 1) {
|
|
3526
|
+
const err227 = { 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" };
|
|
3584
3527
|
if (vErrors === null) {
|
|
3585
|
-
vErrors = [
|
|
3528
|
+
vErrors = [err227];
|
|
3586
3529
|
} else {
|
|
3587
|
-
vErrors.push(
|
|
3530
|
+
vErrors.push(err227);
|
|
3588
3531
|
}
|
|
3589
3532
|
errors++;
|
|
3590
3533
|
}
|
|
3591
3534
|
} else {
|
|
3592
|
-
const
|
|
3535
|
+
const err228 = { 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" };
|
|
3593
3536
|
if (vErrors === null) {
|
|
3594
|
-
vErrors = [
|
|
3537
|
+
vErrors = [err228];
|
|
3595
3538
|
} else {
|
|
3596
|
-
vErrors.push(
|
|
3539
|
+
vErrors.push(err228);
|
|
3597
3540
|
}
|
|
3598
3541
|
errors++;
|
|
3599
3542
|
}
|
|
3600
3543
|
}
|
|
3601
|
-
if (
|
|
3602
|
-
if (typeof
|
|
3603
|
-
const
|
|
3544
|
+
if (data88.service !== void 0) {
|
|
3545
|
+
if (typeof data88.service !== "string") {
|
|
3546
|
+
const err229 = { 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" };
|
|
3604
3547
|
if (vErrors === null) {
|
|
3605
|
-
vErrors = [
|
|
3548
|
+
vErrors = [err229];
|
|
3606
3549
|
} else {
|
|
3607
|
-
vErrors.push(
|
|
3550
|
+
vErrors.push(err229);
|
|
3608
3551
|
}
|
|
3609
3552
|
errors++;
|
|
3610
3553
|
}
|
|
3611
3554
|
}
|
|
3612
3555
|
} else {
|
|
3613
|
-
const
|
|
3556
|
+
const err230 = { 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" };
|
|
3614
3557
|
if (vErrors === null) {
|
|
3615
|
-
vErrors = [
|
|
3558
|
+
vErrors = [err230];
|
|
3616
3559
|
} else {
|
|
3617
|
-
vErrors.push(
|
|
3560
|
+
vErrors.push(err230);
|
|
3618
3561
|
}
|
|
3619
3562
|
errors++;
|
|
3620
3563
|
}
|
|
3621
3564
|
}
|
|
3622
3565
|
} else {
|
|
3623
|
-
const
|
|
3566
|
+
const err231 = { 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" };
|
|
3624
3567
|
if (vErrors === null) {
|
|
3625
|
-
vErrors = [
|
|
3568
|
+
vErrors = [err231];
|
|
3626
3569
|
} else {
|
|
3627
|
-
vErrors.push(
|
|
3570
|
+
vErrors.push(err231);
|
|
3628
3571
|
}
|
|
3629
3572
|
errors++;
|
|
3630
3573
|
}
|
|
3631
3574
|
}
|
|
3632
3575
|
} else {
|
|
3633
|
-
const
|
|
3576
|
+
const err232 = { 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" };
|
|
3634
3577
|
if (vErrors === null) {
|
|
3635
|
-
vErrors = [
|
|
3578
|
+
vErrors = [err232];
|
|
3636
3579
|
} else {
|
|
3637
|
-
vErrors.push(
|
|
3580
|
+
vErrors.push(err232);
|
|
3638
3581
|
}
|
|
3639
3582
|
errors++;
|
|
3640
3583
|
}
|
|
3641
3584
|
}
|
|
3642
3585
|
} else {
|
|
3643
|
-
const
|
|
3586
|
+
const err233 = { 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" };
|
|
3644
3587
|
if (vErrors === null) {
|
|
3645
|
-
vErrors = [
|
|
3588
|
+
vErrors = [err233];
|
|
3646
3589
|
} else {
|
|
3647
|
-
vErrors.push(
|
|
3590
|
+
vErrors.push(err233);
|
|
3648
3591
|
}
|
|
3649
3592
|
errors++;
|
|
3650
3593
|
}
|
|
3651
|
-
var _valid13 =
|
|
3594
|
+
var _valid13 = _errs215 === errors;
|
|
3652
3595
|
if (_valid13) {
|
|
3653
3596
|
valid69 = true;
|
|
3654
3597
|
passing11 = 0;
|
|
3655
3598
|
}
|
|
3656
|
-
const
|
|
3657
|
-
if (
|
|
3658
|
-
const
|
|
3599
|
+
const _errs307 = errors;
|
|
3600
|
+
if (data62 !== null) {
|
|
3601
|
+
const err234 = { 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" };
|
|
3659
3602
|
if (vErrors === null) {
|
|
3660
|
-
vErrors = [
|
|
3603
|
+
vErrors = [err234];
|
|
3661
3604
|
} else {
|
|
3662
|
-
vErrors.push(
|
|
3605
|
+
vErrors.push(err234);
|
|
3663
3606
|
}
|
|
3664
3607
|
errors++;
|
|
3665
3608
|
}
|
|
3666
|
-
var _valid13 =
|
|
3609
|
+
var _valid13 = _errs307 === errors;
|
|
3667
3610
|
if (_valid13 && valid69) {
|
|
3668
3611
|
valid69 = false;
|
|
3669
3612
|
passing11 = [passing11, 1];
|
|
@@ -3674,331 +3617,331 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3674
3617
|
}
|
|
3675
3618
|
}
|
|
3676
3619
|
if (!valid69) {
|
|
3677
|
-
const
|
|
3620
|
+
const err235 = { 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" };
|
|
3678
3621
|
if (vErrors === null) {
|
|
3679
|
-
vErrors = [
|
|
3622
|
+
vErrors = [err235];
|
|
3680
3623
|
} else {
|
|
3681
|
-
vErrors.push(
|
|
3624
|
+
vErrors.push(err235);
|
|
3682
3625
|
}
|
|
3683
3626
|
errors++;
|
|
3684
3627
|
} else {
|
|
3685
|
-
errors =
|
|
3628
|
+
errors = _errs214;
|
|
3686
3629
|
if (vErrors !== null) {
|
|
3687
|
-
if (
|
|
3688
|
-
vErrors.length =
|
|
3630
|
+
if (_errs214) {
|
|
3631
|
+
vErrors.length = _errs214;
|
|
3689
3632
|
} else {
|
|
3690
3633
|
vErrors = null;
|
|
3691
3634
|
}
|
|
3692
3635
|
}
|
|
3693
3636
|
}
|
|
3694
3637
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
let
|
|
3697
|
-
if (typeof
|
|
3698
|
-
if (func2(
|
|
3699
|
-
const
|
|
3638
|
+
if (data47.image !== void 0) {
|
|
3639
|
+
let data94 = data47.image;
|
|
3640
|
+
if (typeof data94 === "string") {
|
|
3641
|
+
if (func2(data94) < 1) {
|
|
3642
|
+
const err236 = { 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" };
|
|
3700
3643
|
if (vErrors === null) {
|
|
3701
|
-
vErrors = [
|
|
3644
|
+
vErrors = [err236];
|
|
3702
3645
|
} else {
|
|
3703
|
-
vErrors.push(
|
|
3646
|
+
vErrors.push(err236);
|
|
3704
3647
|
}
|
|
3705
3648
|
errors++;
|
|
3706
3649
|
}
|
|
3707
3650
|
} else {
|
|
3708
|
-
const
|
|
3651
|
+
const err237 = { 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" };
|
|
3709
3652
|
if (vErrors === null) {
|
|
3710
|
-
vErrors = [
|
|
3653
|
+
vErrors = [err237];
|
|
3711
3654
|
} else {
|
|
3712
|
-
vErrors.push(
|
|
3655
|
+
vErrors.push(err237);
|
|
3713
3656
|
}
|
|
3714
3657
|
errors++;
|
|
3715
3658
|
}
|
|
3716
3659
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
let
|
|
3719
|
-
if (
|
|
3720
|
-
for (const
|
|
3721
|
-
if (!(
|
|
3722
|
-
const
|
|
3660
|
+
if (data47.params !== void 0) {
|
|
3661
|
+
let data95 = data47.params;
|
|
3662
|
+
if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
|
|
3663
|
+
for (const key31 in data95) {
|
|
3664
|
+
if (!(key31 === "storage" || key31 === "permissions" || key31 === "tee")) {
|
|
3665
|
+
const err238 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key31 }, message: "must NOT have additional properties" };
|
|
3723
3666
|
if (vErrors === null) {
|
|
3724
|
-
vErrors = [
|
|
3667
|
+
vErrors = [err238];
|
|
3725
3668
|
} else {
|
|
3726
|
-
vErrors.push(
|
|
3669
|
+
vErrors.push(err238);
|
|
3727
3670
|
}
|
|
3728
3671
|
errors++;
|
|
3729
3672
|
}
|
|
3730
3673
|
}
|
|
3731
|
-
if (
|
|
3732
|
-
let
|
|
3733
|
-
if (
|
|
3734
|
-
for (const
|
|
3735
|
-
let
|
|
3736
|
-
if (
|
|
3737
|
-
for (const
|
|
3738
|
-
if (!(
|
|
3739
|
-
const
|
|
3674
|
+
if (data95.storage !== void 0) {
|
|
3675
|
+
let data96 = data95.storage;
|
|
3676
|
+
if (data96 && typeof data96 == "object" && !Array.isArray(data96)) {
|
|
3677
|
+
for (const key32 in data96) {
|
|
3678
|
+
let data97 = data96[key32];
|
|
3679
|
+
if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
|
|
3680
|
+
for (const key33 in data97) {
|
|
3681
|
+
if (!(key33 === "mount" || key33 === "readOnly")) {
|
|
3682
|
+
const err239 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key33 }, message: "must NOT have additional properties" };
|
|
3740
3683
|
if (vErrors === null) {
|
|
3741
|
-
vErrors = [
|
|
3684
|
+
vErrors = [err239];
|
|
3742
3685
|
} else {
|
|
3743
|
-
vErrors.push(
|
|
3686
|
+
vErrors.push(err239);
|
|
3744
3687
|
}
|
|
3745
3688
|
errors++;
|
|
3746
3689
|
}
|
|
3747
3690
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
let
|
|
3750
|
-
if (typeof
|
|
3751
|
-
if (func2(
|
|
3752
|
-
const
|
|
3691
|
+
if (data97.mount !== void 0) {
|
|
3692
|
+
let data98 = data97.mount;
|
|
3693
|
+
if (typeof data98 === "string") {
|
|
3694
|
+
if (func2(data98) < 1) {
|
|
3695
|
+
const err240 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
|
|
3753
3696
|
if (vErrors === null) {
|
|
3754
|
-
vErrors = [
|
|
3697
|
+
vErrors = [err240];
|
|
3755
3698
|
} else {
|
|
3756
|
-
vErrors.push(
|
|
3699
|
+
vErrors.push(err240);
|
|
3757
3700
|
}
|
|
3758
3701
|
errors++;
|
|
3759
3702
|
}
|
|
3760
|
-
if (!pattern13.test(
|
|
3761
|
-
const
|
|
3703
|
+
if (!pattern13.test(data98)) {
|
|
3704
|
+
const err241 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
|
|
3762
3705
|
if (vErrors === null) {
|
|
3763
|
-
vErrors = [
|
|
3706
|
+
vErrors = [err241];
|
|
3764
3707
|
} else {
|
|
3765
|
-
vErrors.push(
|
|
3708
|
+
vErrors.push(err241);
|
|
3766
3709
|
}
|
|
3767
3710
|
errors++;
|
|
3768
3711
|
}
|
|
3769
3712
|
} else {
|
|
3770
|
-
const
|
|
3713
|
+
const err242 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
3771
3714
|
if (vErrors === null) {
|
|
3772
|
-
vErrors = [
|
|
3715
|
+
vErrors = [err242];
|
|
3773
3716
|
} else {
|
|
3774
|
-
vErrors.push(
|
|
3717
|
+
vErrors.push(err242);
|
|
3775
3718
|
}
|
|
3776
3719
|
errors++;
|
|
3777
3720
|
}
|
|
3778
3721
|
}
|
|
3779
|
-
if (
|
|
3780
|
-
if (typeof
|
|
3781
|
-
const
|
|
3722
|
+
if (data97.readOnly !== void 0) {
|
|
3723
|
+
if (typeof data97.readOnly !== "boolean") {
|
|
3724
|
+
const err243 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.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" };
|
|
3782
3725
|
if (vErrors === null) {
|
|
3783
|
-
vErrors = [
|
|
3726
|
+
vErrors = [err243];
|
|
3784
3727
|
} else {
|
|
3785
|
-
vErrors.push(
|
|
3728
|
+
vErrors.push(err243);
|
|
3786
3729
|
}
|
|
3787
3730
|
errors++;
|
|
3788
3731
|
}
|
|
3789
3732
|
}
|
|
3790
3733
|
} else {
|
|
3791
|
-
const
|
|
3734
|
+
const err244 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.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" };
|
|
3792
3735
|
if (vErrors === null) {
|
|
3793
|
-
vErrors = [
|
|
3736
|
+
vErrors = [err244];
|
|
3794
3737
|
} else {
|
|
3795
|
-
vErrors.push(
|
|
3738
|
+
vErrors.push(err244);
|
|
3796
3739
|
}
|
|
3797
3740
|
errors++;
|
|
3798
3741
|
}
|
|
3799
3742
|
}
|
|
3800
3743
|
} else {
|
|
3801
|
-
const
|
|
3744
|
+
const err245 = { 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" };
|
|
3802
3745
|
if (vErrors === null) {
|
|
3803
|
-
vErrors = [
|
|
3746
|
+
vErrors = [err245];
|
|
3804
3747
|
} else {
|
|
3805
|
-
vErrors.push(
|
|
3748
|
+
vErrors.push(err245);
|
|
3806
3749
|
}
|
|
3807
3750
|
errors++;
|
|
3808
3751
|
}
|
|
3809
3752
|
}
|
|
3810
|
-
if (
|
|
3811
|
-
let
|
|
3812
|
-
if (
|
|
3813
|
-
for (const
|
|
3814
|
-
if (!(
|
|
3815
|
-
const
|
|
3753
|
+
if (data95.permissions !== void 0) {
|
|
3754
|
+
let data100 = data95.permissions;
|
|
3755
|
+
if (data100 && typeof data100 == "object" && !Array.isArray(data100)) {
|
|
3756
|
+
for (const key34 in data100) {
|
|
3757
|
+
if (!(key34 === "read")) {
|
|
3758
|
+
const err246 = { 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: key34 }, message: "must NOT have additional properties" };
|
|
3816
3759
|
if (vErrors === null) {
|
|
3817
|
-
vErrors = [
|
|
3760
|
+
vErrors = [err246];
|
|
3818
3761
|
} else {
|
|
3819
|
-
vErrors.push(
|
|
3762
|
+
vErrors.push(err246);
|
|
3820
3763
|
}
|
|
3821
3764
|
errors++;
|
|
3822
3765
|
}
|
|
3823
3766
|
}
|
|
3824
|
-
if (
|
|
3825
|
-
let
|
|
3826
|
-
if (Array.isArray(
|
|
3827
|
-
const len16 =
|
|
3767
|
+
if (data100.read !== void 0) {
|
|
3768
|
+
let data101 = data100.read;
|
|
3769
|
+
if (Array.isArray(data101)) {
|
|
3770
|
+
const len16 = data101.length;
|
|
3828
3771
|
for (let i16 = 0; i16 < len16; i16++) {
|
|
3829
|
-
let
|
|
3830
|
-
if (typeof
|
|
3831
|
-
const
|
|
3772
|
+
let data102 = data101[i16];
|
|
3773
|
+
if (typeof data102 !== "string") {
|
|
3774
|
+
const err247 = { 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" };
|
|
3832
3775
|
if (vErrors === null) {
|
|
3833
|
-
vErrors = [
|
|
3776
|
+
vErrors = [err247];
|
|
3834
3777
|
} else {
|
|
3835
|
-
vErrors.push(
|
|
3778
|
+
vErrors.push(err247);
|
|
3836
3779
|
}
|
|
3837
3780
|
errors++;
|
|
3838
3781
|
}
|
|
3839
|
-
if (!(
|
|
3840
|
-
const
|
|
3782
|
+
if (!(data102 === "deployment" || data102 === "logs" || data102 === "events")) {
|
|
3783
|
+
const err248 = { 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" };
|
|
3841
3784
|
if (vErrors === null) {
|
|
3842
|
-
vErrors = [
|
|
3785
|
+
vErrors = [err248];
|
|
3843
3786
|
} else {
|
|
3844
|
-
vErrors.push(
|
|
3787
|
+
vErrors.push(err248);
|
|
3845
3788
|
}
|
|
3846
3789
|
errors++;
|
|
3847
3790
|
}
|
|
3848
3791
|
}
|
|
3849
3792
|
} else {
|
|
3850
|
-
const
|
|
3793
|
+
const err249 = { 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" };
|
|
3851
3794
|
if (vErrors === null) {
|
|
3852
|
-
vErrors = [
|
|
3795
|
+
vErrors = [err249];
|
|
3853
3796
|
} else {
|
|
3854
|
-
vErrors.push(
|
|
3797
|
+
vErrors.push(err249);
|
|
3855
3798
|
}
|
|
3856
3799
|
errors++;
|
|
3857
3800
|
}
|
|
3858
3801
|
}
|
|
3859
3802
|
} else {
|
|
3860
|
-
const
|
|
3803
|
+
const err250 = { 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" };
|
|
3861
3804
|
if (vErrors === null) {
|
|
3862
|
-
vErrors = [
|
|
3805
|
+
vErrors = [err250];
|
|
3863
3806
|
} else {
|
|
3864
|
-
vErrors.push(
|
|
3807
|
+
vErrors.push(err250);
|
|
3865
3808
|
}
|
|
3866
3809
|
errors++;
|
|
3867
3810
|
}
|
|
3868
3811
|
}
|
|
3869
|
-
if (
|
|
3870
|
-
let
|
|
3871
|
-
if (typeof
|
|
3872
|
-
const
|
|
3812
|
+
if (data95.tee !== void 0) {
|
|
3813
|
+
let data103 = data95.tee;
|
|
3814
|
+
if (typeof data103 !== "string") {
|
|
3815
|
+
const err251 = { 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" };
|
|
3873
3816
|
if (vErrors === null) {
|
|
3874
|
-
vErrors = [
|
|
3817
|
+
vErrors = [err251];
|
|
3875
3818
|
} else {
|
|
3876
|
-
vErrors.push(
|
|
3819
|
+
vErrors.push(err251);
|
|
3877
3820
|
}
|
|
3878
3821
|
errors++;
|
|
3879
3822
|
}
|
|
3880
|
-
if (!(
|
|
3881
|
-
const
|
|
3823
|
+
if (!(data103 === "cpu" || data103 === "cpu-gpu")) {
|
|
3824
|
+
const err252 = { 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" };
|
|
3882
3825
|
if (vErrors === null) {
|
|
3883
|
-
vErrors = [
|
|
3826
|
+
vErrors = [err252];
|
|
3884
3827
|
} else {
|
|
3885
|
-
vErrors.push(
|
|
3828
|
+
vErrors.push(err252);
|
|
3886
3829
|
}
|
|
3887
3830
|
errors++;
|
|
3888
3831
|
}
|
|
3889
3832
|
}
|
|
3890
3833
|
} else {
|
|
3891
|
-
const
|
|
3834
|
+
const err253 = { 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" };
|
|
3892
3835
|
if (vErrors === null) {
|
|
3893
|
-
vErrors = [
|
|
3836
|
+
vErrors = [err253];
|
|
3894
3837
|
} else {
|
|
3895
|
-
vErrors.push(
|
|
3838
|
+
vErrors.push(err253);
|
|
3896
3839
|
}
|
|
3897
3840
|
errors++;
|
|
3898
3841
|
}
|
|
3899
3842
|
}
|
|
3900
3843
|
} else {
|
|
3901
|
-
const
|
|
3844
|
+
const err254 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
3902
3845
|
if (vErrors === null) {
|
|
3903
|
-
vErrors = [
|
|
3846
|
+
vErrors = [err254];
|
|
3904
3847
|
} else {
|
|
3905
|
-
vErrors.push(
|
|
3848
|
+
vErrors.push(err254);
|
|
3906
3849
|
}
|
|
3907
3850
|
errors++;
|
|
3908
3851
|
}
|
|
3909
3852
|
}
|
|
3910
3853
|
} else {
|
|
3911
|
-
const
|
|
3854
|
+
const err255 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
3912
3855
|
if (vErrors === null) {
|
|
3913
|
-
vErrors = [
|
|
3856
|
+
vErrors = [err255];
|
|
3914
3857
|
} else {
|
|
3915
|
-
vErrors.push(
|
|
3858
|
+
vErrors.push(err255);
|
|
3916
3859
|
}
|
|
3917
3860
|
errors++;
|
|
3918
3861
|
}
|
|
3919
3862
|
}
|
|
3920
3863
|
if (data.reclamation !== void 0) {
|
|
3921
|
-
let
|
|
3922
|
-
if (
|
|
3923
|
-
if (
|
|
3924
|
-
const
|
|
3864
|
+
let data104 = data.reclamation;
|
|
3865
|
+
if (data104 && typeof data104 == "object" && !Array.isArray(data104)) {
|
|
3866
|
+
if (data104.min_window === void 0) {
|
|
3867
|
+
const err256 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
|
|
3925
3868
|
if (vErrors === null) {
|
|
3926
|
-
vErrors = [
|
|
3869
|
+
vErrors = [err256];
|
|
3927
3870
|
} else {
|
|
3928
|
-
vErrors.push(
|
|
3871
|
+
vErrors.push(err256);
|
|
3929
3872
|
}
|
|
3930
3873
|
errors++;
|
|
3931
3874
|
}
|
|
3932
|
-
for (const
|
|
3933
|
-
if (!(
|
|
3934
|
-
const
|
|
3875
|
+
for (const key35 in data104) {
|
|
3876
|
+
if (!(key35 === "min_window")) {
|
|
3877
|
+
const err257 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key35 }, message: "must NOT have additional properties" };
|
|
3935
3878
|
if (vErrors === null) {
|
|
3936
|
-
vErrors = [
|
|
3879
|
+
vErrors = [err257];
|
|
3937
3880
|
} else {
|
|
3938
|
-
vErrors.push(
|
|
3881
|
+
vErrors.push(err257);
|
|
3939
3882
|
}
|
|
3940
3883
|
errors++;
|
|
3941
3884
|
}
|
|
3942
3885
|
}
|
|
3943
|
-
if (
|
|
3944
|
-
let
|
|
3945
|
-
if (typeof
|
|
3946
|
-
if (!pattern14.test(
|
|
3947
|
-
const
|
|
3886
|
+
if (data104.min_window !== void 0) {
|
|
3887
|
+
let data105 = data104.min_window;
|
|
3888
|
+
if (typeof data105 === "string") {
|
|
3889
|
+
if (!pattern14.test(data105)) {
|
|
3890
|
+
const err258 = { 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)$"' };
|
|
3948
3891
|
if (vErrors === null) {
|
|
3949
|
-
vErrors = [
|
|
3892
|
+
vErrors = [err258];
|
|
3950
3893
|
} else {
|
|
3951
|
-
vErrors.push(
|
|
3894
|
+
vErrors.push(err258);
|
|
3952
3895
|
}
|
|
3953
3896
|
errors++;
|
|
3954
3897
|
}
|
|
3955
3898
|
} else {
|
|
3956
|
-
const
|
|
3899
|
+
const err259 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
3957
3900
|
if (vErrors === null) {
|
|
3958
|
-
vErrors = [
|
|
3901
|
+
vErrors = [err259];
|
|
3959
3902
|
} else {
|
|
3960
|
-
vErrors.push(
|
|
3903
|
+
vErrors.push(err259);
|
|
3961
3904
|
}
|
|
3962
3905
|
errors++;
|
|
3963
3906
|
}
|
|
3964
3907
|
}
|
|
3965
3908
|
} else {
|
|
3966
|
-
const
|
|
3909
|
+
const err260 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
3967
3910
|
if (vErrors === null) {
|
|
3968
|
-
vErrors = [
|
|
3911
|
+
vErrors = [err260];
|
|
3969
3912
|
} else {
|
|
3970
|
-
vErrors.push(
|
|
3913
|
+
vErrors.push(err260);
|
|
3971
3914
|
}
|
|
3972
3915
|
errors++;
|
|
3973
3916
|
}
|
|
3974
3917
|
}
|
|
3975
3918
|
if (data.version !== void 0) {
|
|
3976
|
-
let
|
|
3977
|
-
if (typeof
|
|
3978
|
-
const
|
|
3919
|
+
let data106 = data.version;
|
|
3920
|
+
if (typeof data106 !== "string") {
|
|
3921
|
+
const err261 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
3979
3922
|
if (vErrors === null) {
|
|
3980
|
-
vErrors = [
|
|
3923
|
+
vErrors = [err261];
|
|
3981
3924
|
} else {
|
|
3982
|
-
vErrors.push(
|
|
3925
|
+
vErrors.push(err261);
|
|
3983
3926
|
}
|
|
3984
3927
|
errors++;
|
|
3985
3928
|
}
|
|
3986
|
-
if (!(
|
|
3987
|
-
const
|
|
3929
|
+
if (!(data106 === "2.0" || data106 === "2.1")) {
|
|
3930
|
+
const err262 = { 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" };
|
|
3988
3931
|
if (vErrors === null) {
|
|
3989
|
-
vErrors = [
|
|
3932
|
+
vErrors = [err262];
|
|
3990
3933
|
} else {
|
|
3991
|
-
vErrors.push(
|
|
3934
|
+
vErrors.push(err262);
|
|
3992
3935
|
}
|
|
3993
3936
|
errors++;
|
|
3994
3937
|
}
|
|
3995
3938
|
}
|
|
3996
3939
|
} else {
|
|
3997
|
-
const
|
|
3940
|
+
const err263 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
3998
3941
|
if (vErrors === null) {
|
|
3999
|
-
vErrors = [
|
|
3942
|
+
vErrors = [err263];
|
|
4000
3943
|
} else {
|
|
4001
|
-
vErrors.push(
|
|
3944
|
+
vErrors.push(err263);
|
|
4002
3945
|
}
|
|
4003
3946
|
errors++;
|
|
4004
3947
|
}
|