@europeum-ebsi/cli 0.0.0 → 1.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/LICENSE.txt +289 -289
  2. package/LICENSES.txt +538 -0
  3. package/README.md +1140 -98
  4. package/dist/api/client.d.ts +4 -0
  5. package/dist/api/client.d.ts.map +1 -0
  6. package/dist/api/client.js +14 -0
  7. package/dist/api/client.js.map +1 -0
  8. package/dist/api/fetch.d.ts +13 -0
  9. package/dist/api/fetch.d.ts.map +1 -0
  10. package/dist/api/fetch.js +30 -0
  11. package/dist/api/fetch.js.map +1 -0
  12. package/dist/api/params.d.ts +4 -0
  13. package/dist/api/params.d.ts.map +1 -0
  14. package/dist/api/params.js +9 -0
  15. package/dist/api/params.js.map +1 -0
  16. package/dist/auth/dcql.d.ts +5 -0
  17. package/dist/auth/dcql.d.ts.map +1 -0
  18. package/dist/auth/dcql.js +41 -0
  19. package/dist/auth/dcql.js.map +1 -0
  20. package/dist/auth/presentation.d.ts +30 -0
  21. package/dist/auth/presentation.d.ts.map +1 -0
  22. package/dist/auth/presentation.js +99 -0
  23. package/dist/auth/presentation.js.map +1 -0
  24. package/dist/auth/token.d.ts +11 -0
  25. package/dist/auth/token.d.ts.map +1 -0
  26. package/dist/auth/token.js +116 -0
  27. package/dist/auth/token.js.map +1 -0
  28. package/dist/cli.d.ts +3 -0
  29. package/dist/cli.d.ts.map +1 -0
  30. package/dist/cli.js +96 -10
  31. package/dist/cli.js.map +1 -1
  32. package/dist/commands/auth.d.ts +3 -0
  33. package/dist/commands/auth.d.ts.map +1 -0
  34. package/dist/commands/auth.js +99 -0
  35. package/dist/commands/auth.js.map +1 -0
  36. package/dist/commands/config-cmd.d.ts +3 -0
  37. package/dist/commands/config-cmd.d.ts.map +1 -0
  38. package/dist/commands/config-cmd.js +86 -0
  39. package/dist/commands/config-cmd.js.map +1 -0
  40. package/dist/commands/contracts-registry.d.ts +3 -0
  41. package/dist/commands/contracts-registry.d.ts.map +1 -0
  42. package/dist/commands/contracts-registry.js +132 -0
  43. package/dist/commands/contracts-registry.js.map +1 -0
  44. package/dist/commands/did-registry.d.ts +3 -0
  45. package/dist/commands/did-registry.d.ts.map +1 -0
  46. package/dist/commands/did-registry.js +110 -0
  47. package/dist/commands/did-registry.js.map +1 -0
  48. package/dist/commands/faucet.d.ts +3 -0
  49. package/dist/commands/faucet.d.ts.map +1 -0
  50. package/dist/commands/faucet.js +78 -0
  51. package/dist/commands/faucet.js.map +1 -0
  52. package/dist/commands/health.d.ts +3 -0
  53. package/dist/commands/health.d.ts.map +1 -0
  54. package/dist/commands/health.js +20 -0
  55. package/dist/commands/health.js.map +1 -0
  56. package/dist/commands/issuers-registry.d.ts +3 -0
  57. package/dist/commands/issuers-registry.d.ts.map +1 -0
  58. package/dist/commands/issuers-registry.js +340 -0
  59. package/dist/commands/issuers-registry.js.map +1 -0
  60. package/dist/commands/ledger.d.ts +3 -0
  61. package/dist/commands/ledger.d.ts.map +1 -0
  62. package/dist/commands/ledger.js +549 -372
  63. package/dist/commands/ledger.js.map +1 -1
  64. package/dist/commands/onboarding.d.ts +3 -0
  65. package/dist/commands/onboarding.d.ts.map +1 -0
  66. package/dist/commands/onboarding.js +301 -0
  67. package/dist/commands/onboarding.js.map +1 -0
  68. package/dist/commands/openapi.d.ts +3 -0
  69. package/dist/commands/openapi.d.ts.map +1 -0
  70. package/dist/commands/openapi.js +37 -0
  71. package/dist/commands/openapi.js.map +1 -0
  72. package/dist/commands/policies-registry.d.ts +3 -0
  73. package/dist/commands/policies-registry.d.ts.map +1 -0
  74. package/dist/commands/policies-registry.js +198 -0
  75. package/dist/commands/policies-registry.js.map +1 -0
  76. package/dist/commands/registry.d.ts +27 -0
  77. package/dist/commands/registry.d.ts.map +1 -0
  78. package/dist/commands/registry.js +62 -0
  79. package/dist/commands/registry.js.map +1 -0
  80. package/dist/commands/schemas-registry.d.ts +3 -0
  81. package/dist/commands/schemas-registry.d.ts.map +1 -0
  82. package/dist/commands/schemas-registry.js +231 -0
  83. package/dist/commands/schemas-registry.js.map +1 -0
  84. package/dist/commands/shared/args.d.ts +2 -0
  85. package/dist/commands/shared/args.d.ts.map +1 -0
  86. package/dist/commands/shared/args.js +4 -0
  87. package/dist/commands/shared/args.js.map +1 -0
  88. package/dist/commands/shared/wallet-opts.d.ts +9 -0
  89. package/dist/commands/shared/wallet-opts.d.ts.map +1 -0
  90. package/dist/commands/shared/wallet-opts.js +44 -0
  91. package/dist/commands/shared/wallet-opts.js.map +1 -0
  92. package/dist/commands/timestamp.d.ts +3 -0
  93. package/dist/commands/timestamp.d.ts.map +1 -0
  94. package/dist/commands/timestamp.js +250 -0
  95. package/dist/commands/timestamp.js.map +1 -0
  96. package/dist/commands/track-and-trace.d.ts +3 -0
  97. package/dist/commands/track-and-trace.d.ts.map +1 -0
  98. package/dist/commands/track-and-trace.js +235 -0
  99. package/dist/commands/track-and-trace.js.map +1 -0
  100. package/dist/commands/wallet.d.ts +3 -0
  101. package/dist/commands/wallet.d.ts.map +1 -0
  102. package/dist/commands/wallet.js +123 -0
  103. package/dist/commands/wallet.js.map +1 -0
  104. package/dist/config/config.d.ts +45 -0
  105. package/dist/config/config.d.ts.map +1 -0
  106. package/dist/config/config.js +111 -0
  107. package/dist/config/config.js.map +1 -0
  108. package/dist/config/ebsi-env.d.ts +4 -0
  109. package/dist/config/ebsi-env.d.ts.map +1 -0
  110. package/dist/config/ebsi-env.js +37 -0
  111. package/dist/config/ebsi-env.js.map +1 -0
  112. package/dist/crypto/wallet.d.ts +34 -0
  113. package/dist/crypto/wallet.d.ts.map +1 -0
  114. package/dist/crypto/wallet.js +100 -0
  115. package/dist/crypto/wallet.js.map +1 -0
  116. package/dist/index.d.ts +3 -0
  117. package/dist/index.d.ts.map +1 -0
  118. package/dist/index.js +15 -6
  119. package/dist/index.js.map +1 -1
  120. package/dist/ledger/read.d.ts +11 -0
  121. package/dist/ledger/read.d.ts.map +1 -0
  122. package/dist/ledger/read.js +24 -0
  123. package/dist/ledger/read.js.map +1 -0
  124. package/dist/ledger/registries.d.ts +25 -0
  125. package/dist/ledger/registries.d.ts.map +1 -0
  126. package/dist/ledger/registries.js +111 -0
  127. package/dist/ledger/registries.js.map +1 -0
  128. package/dist/ledger/write.d.ts +43 -0
  129. package/dist/ledger/write.d.ts.map +1 -0
  130. package/dist/ledger/write.js +119 -0
  131. package/dist/ledger/write.js.map +1 -0
  132. package/dist/onboarding/vc.d.ts +18 -0
  133. package/dist/onboarding/vc.d.ts.map +1 -0
  134. package/dist/onboarding/vc.js +72 -0
  135. package/dist/onboarding/vc.js.map +1 -0
  136. package/dist/output/format.d.ts +7 -0
  137. package/dist/output/format.d.ts.map +1 -0
  138. package/dist/output/format.js +94 -0
  139. package/dist/output/format.js.map +1 -0
  140. package/dist/tui/App.d.ts +3 -0
  141. package/dist/tui/App.d.ts.map +1 -0
  142. package/dist/tui/App.js +99 -0
  143. package/dist/tui/App.js.map +1 -0
  144. package/dist/tui/CommandPalette.d.ts +8 -0
  145. package/dist/tui/CommandPalette.d.ts.map +1 -0
  146. package/dist/tui/CommandPalette.js +105 -0
  147. package/dist/tui/CommandPalette.js.map +1 -0
  148. package/package.json +66 -108
  149. package/src/api/client.ts +26 -0
  150. package/src/api/fetch.ts +53 -0
  151. package/src/api/params.ts +17 -0
  152. package/src/auth/dcql.ts +84 -0
  153. package/src/auth/presentation.ts +255 -0
  154. package/src/auth/token.ts +244 -0
  155. package/src/cli.ts +164 -0
  156. package/src/commands/auth.ts +119 -0
  157. package/src/commands/config-cmd.ts +122 -0
  158. package/src/commands/contracts-registry.ts +156 -0
  159. package/src/commands/did-registry.ts +126 -0
  160. package/src/commands/faucet.ts +112 -0
  161. package/src/commands/health.ts +21 -0
  162. package/src/commands/issuers-registry.ts +385 -0
  163. package/src/commands/ledger.ts +777 -0
  164. package/src/commands/onboarding.ts +411 -0
  165. package/src/commands/openapi.ts +42 -0
  166. package/src/commands/policies-registry.ts +218 -0
  167. package/src/commands/registry.ts +152 -0
  168. package/src/commands/schemas-registry.ts +255 -0
  169. package/src/commands/shared/args.ts +14 -0
  170. package/src/commands/shared/wallet-opts.ts +85 -0
  171. package/src/commands/timestamp.ts +272 -0
  172. package/src/commands/track-and-trace.ts +263 -0
  173. package/src/commands/wallet.ts +175 -0
  174. package/src/config/config.ts +275 -0
  175. package/src/config/ebsi-env.ts +67 -0
  176. package/src/crypto/wallet.ts +291 -0
  177. package/src/index.ts +24 -0
  178. package/src/ledger/read.ts +70 -0
  179. package/src/ledger/registries.ts +285 -0
  180. package/src/ledger/write.ts +381 -0
  181. package/src/onboarding/vc.ts +205 -0
  182. package/src/output/format.ts +157 -0
  183. package/src/tui/App.tsx +282 -0
  184. package/src/tui/CommandPalette.tsx +223 -0
  185. package/bin/cli.js +0 -13
  186. package/dist/abi/pilot/DidRegistry.js +0 -568
  187. package/dist/abi/pilot/DidRegistry.js.map +0 -1
  188. package/dist/abi/pilot/Ptr.js +0 -666
  189. package/dist/abi/pilot/Ptr.js.map +0 -1
  190. package/dist/abi/pilot/SchemaSCRegistry.js +0 -264
  191. package/dist/abi/pilot/SchemaSCRegistry.js.map +0 -1
  192. package/dist/abi/pilot/Tcr.js +0 -715
  193. package/dist/abi/pilot/Tcr.js.map +0 -1
  194. package/dist/abi/pilot/Timestamp.js +0 -658
  195. package/dist/abi/pilot/Timestamp.js.map +0 -1
  196. package/dist/abi/pilot/Tir.js +0 -428
  197. package/dist/abi/pilot/Tir.js.map +0 -1
  198. package/dist/abi/pilot/TnT.js +0 -842
  199. package/dist/abi/pilot/TnT.js.map +0 -1
  200. package/dist/abi/pilot/Tpr.js +0 -492
  201. package/dist/abi/pilot/Tpr.js.map +0 -1
  202. package/dist/abi/test/DidRegistry.js +0 -568
  203. package/dist/abi/test/DidRegistry.js.map +0 -1
  204. package/dist/abi/test/Ptr.js +0 -666
  205. package/dist/abi/test/Ptr.js.map +0 -1
  206. package/dist/abi/test/SchemaSCRegistry.js +0 -300
  207. package/dist/abi/test/SchemaSCRegistry.js.map +0 -1
  208. package/dist/abi/test/Tcr.js +0 -715
  209. package/dist/abi/test/Tcr.js.map +0 -1
  210. package/dist/abi/test/Timestamp.js +0 -658
  211. package/dist/abi/test/Timestamp.js.map +0 -1
  212. package/dist/abi/test/Tir.js +0 -428
  213. package/dist/abi/test/Tir.js.map +0 -1
  214. package/dist/abi/test/TnT.js +0 -842
  215. package/dist/abi/test/TnT.js.map +0 -1
  216. package/dist/abi/test/Tpr.js +0 -492
  217. package/dist/abi/test/Tpr.js.map +0 -1
  218. package/dist/app.js +0 -659
  219. package/dist/app.js.map +0 -1
  220. package/dist/buildParam/didr.js +0 -374
  221. package/dist/buildParam/didr.js.map +0 -1
  222. package/dist/buildParam/index.js +0 -53
  223. package/dist/buildParam/index.js.map +0 -1
  224. package/dist/buildParam/ptr.js +0 -80
  225. package/dist/buildParam/ptr.js.map +0 -1
  226. package/dist/buildParam/tcr.js +0 -36
  227. package/dist/buildParam/tcr.js.map +0 -1
  228. package/dist/buildParam/timestamp.js +0 -350
  229. package/dist/buildParam/timestamp.js.map +0 -1
  230. package/dist/buildParam/tir.js +0 -110
  231. package/dist/buildParam/tir.js.map +0 -1
  232. package/dist/buildParam/tnt.js +0 -214
  233. package/dist/buildParam/tnt.js.map +0 -1
  234. package/dist/buildParam/tpr.js +0 -91
  235. package/dist/buildParam/tpr.js.map +0 -1
  236. package/dist/buildParam/tsr.js +0 -115
  237. package/dist/buildParam/tsr.js.map +0 -1
  238. package/dist/commands/authorisation.js +0 -144
  239. package/dist/commands/authorisation.js.map +0 -1
  240. package/dist/commands/compute.js +0 -680
  241. package/dist/commands/compute.js.map +0 -1
  242. package/dist/commands/conformance.js +0 -813
  243. package/dist/commands/conformance.js.map +0 -1
  244. package/dist/commands/hardwarewallet.js +0 -41
  245. package/dist/commands/hardwarewallet.js.map +0 -1
  246. package/dist/commands/index.js +0 -8
  247. package/dist/commands/index.js.map +0 -1
  248. package/dist/commands/ptr.js +0 -54
  249. package/dist/commands/ptr.js.map +0 -1
  250. package/dist/commands/tcr.js +0 -50
  251. package/dist/commands/tcr.js.map +0 -1
  252. package/dist/commands/tir.js +0 -64
  253. package/dist/commands/tir.js.map +0 -1
  254. package/dist/commands/tnl.js +0 -81
  255. package/dist/commands/tnl.js.map +0 -1
  256. package/dist/commands/tsr.js +0 -45
  257. package/dist/commands/tsr.js.map +0 -1
  258. package/dist/commands/view.js +0 -53
  259. package/dist/commands/view.js.map +0 -1
  260. package/dist/config.js +0 -497
  261. package/dist/config.js.map +0 -1
  262. package/dist/interfaces/context.js +0 -2
  263. package/dist/interfaces/context.js.map +0 -1
  264. package/dist/interfaces/contracts/ProxyFactory.js +0 -2
  265. package/dist/interfaces/contracts/ProxyFactory.js.map +0 -1
  266. package/dist/interfaces/contracts/ProxyTemplateRegistry.js +0 -2
  267. package/dist/interfaces/contracts/ProxyTemplateRegistry.js.map +0 -1
  268. package/dist/interfaces/contracts/SchemaSCRegistry.js +0 -2
  269. package/dist/interfaces/contracts/SchemaSCRegistry.js.map +0 -1
  270. package/dist/interfaces/contracts/common.js +0 -2
  271. package/dist/interfaces/contracts/common.js.map +0 -1
  272. package/dist/interfaces/index.js +0 -5
  273. package/dist/interfaces/index.js.map +0 -1
  274. package/dist/interfaces/jsonrpc.interface.js +0 -2
  275. package/dist/interfaces/jsonrpc.interface.js.map +0 -1
  276. package/dist/interfaces/paginated-list.interface.js +0 -2
  277. package/dist/interfaces/paginated-list.interface.js.map +0 -1
  278. package/dist/interfaces/unsigned-transaction.interface.js +0 -2
  279. package/dist/interfaces/unsigned-transaction.interface.js.map +0 -1
  280. package/dist/interfaces/utils.interface.js +0 -2
  281. package/dist/interfaces/utils.interface.js.map +0 -1
  282. package/dist/programs/migrateDid.js +0 -159
  283. package/dist/programs/migrateDid.js.map +0 -1
  284. package/dist/programs/migrateDids.js +0 -232
  285. package/dist/programs/migrateDids.js.map +0 -1
  286. package/dist/programs/migrateTsr.js +0 -201
  287. package/dist/programs/migrateTsr.js.map +0 -1
  288. package/dist/scripts/accreditAndAuthorize/conformance/step1 +0 -34
  289. package/dist/scripts/accreditAndAuthorize/conformance/step2 +0 -18
  290. package/dist/scripts/accreditAndAuthorize/conformance/step3 +0 -9
  291. package/dist/scripts/accreditAndAuthorize/conformance/step4 +0 -27
  292. package/dist/scripts/accreditAndAuthorize/conformance/step5 +0 -13
  293. package/dist/scripts/accreditAndAuthorize/conformance/step6 +0 -14
  294. package/dist/scripts/accreditAndAuthorize/conformance/step7 +0 -7
  295. package/dist/scripts/accreditAndAuthorize/test/step1 +0 -34
  296. package/dist/scripts/accreditAndAuthorize/test/step2 +0 -18
  297. package/dist/scripts/accreditAndAuthorize/test/step3 +0 -9
  298. package/dist/scripts/accreditAndAuthorize/test/step4 +0 -27
  299. package/dist/scripts/accreditAndAuthorize/test/step5 +0 -13
  300. package/dist/scripts/accreditAndAuthorize/test/step6 +0 -14
  301. package/dist/scripts/accreditAndAuthorize/test/step7 +0 -7
  302. package/dist/scripts/accreditTI +0 -21
  303. package/dist/scripts/assets/Nodes.json +0 -27
  304. package/dist/scripts/assets/vcdm1.1/CTRevocableCredential.json +0 -30
  305. package/dist/scripts/assets/vcdm1.1/CredentialToAttestVerifiableAuthorisationForTrustChain.json +0 -29
  306. package/dist/scripts/assets/vcdm1.1/Nodes.json +0 -27
  307. package/dist/scripts/assets/vcdm1.1/TrustedNodesList.json +0 -35
  308. package/dist/scripts/assets/vcdm1.1/VerifiableAccreditationToAccredit.json +0 -35
  309. package/dist/scripts/assets/vcdm1.1/VerifiableAccreditationToAttest.json +0 -33
  310. package/dist/scripts/assets/vcdm1.1/VerifiableAuthorisationForTrustChain.json +0 -22
  311. package/dist/scripts/assets/vcdm1.1/VerifiableAuthorisationToInvoke.json +0 -24
  312. package/dist/scripts/assets/vcdm1.1/VerifiableAuthorisationToOnboard.json +0 -24
  313. package/dist/scripts/assets/vcdm2.0/CredentialToAttestVerifiableAuthorisationForTrustChain.json +0 -29
  314. package/dist/scripts/assets/vcdm2.0/TrustedNodesList.json +0 -36
  315. package/dist/scripts/assets/vcdm2.0/VerifiableAccreditationToAccredit.json +0 -40
  316. package/dist/scripts/assets/vcdm2.0/VerifiableAccreditationToAttest.json +0 -38
  317. package/dist/scripts/assets/vcdm2.0/VerifiableAuthorisationForTrustChain.json +0 -30
  318. package/dist/scripts/assets/vcdm2.0/VerifiableAuthorisationToInvoke.json +0 -24
  319. package/dist/scripts/assets/vcdm2.0/VerifiableAuthorisationToOnboard.json +0 -23
  320. package/dist/scripts/bootstrap/0a-loadTPROperator +0 -5
  321. package/dist/scripts/bootstrap/0b-loadAdmin +0 -8
  322. package/dist/scripts/bootstrap/1-populateTPR +0 -92
  323. package/dist/scripts/bootstrap/2-populateDID +0 -6
  324. package/dist/scripts/bootstrap/3-populateTimestamp +0 -9
  325. package/dist/scripts/bootstrap/4-populateTIR +0 -8
  326. package/dist/scripts/bootstrap/5-populateTSR +0 -85
  327. package/dist/scripts/bootstrap/6-setupConformanceIssuer +0 -35
  328. package/dist/scripts/bootstrap/README.md +0 -218
  329. package/dist/scripts/issueVcInvoke +0 -10
  330. package/dist/scripts/issueVcOnboard +0 -9
  331. package/dist/scripts/issueVcRootTAO +0 -11
  332. package/dist/scripts/issueVcTAO +0 -12
  333. package/dist/scripts/issueVcTI +0 -12
  334. package/dist/scripts/issueVcTnl +0 -32
  335. package/dist/scripts/issue_CTRevocableCredential +0 -12
  336. package/dist/scripts/issue_SelfAttestationSupportOffice +0 -10
  337. package/dist/scripts/issue_VerifiableAccreditationToAccredit +0 -11
  338. package/dist/scripts/issue_VerifiableAccreditationToAttest +0 -11
  339. package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +0 -10
  340. package/dist/scripts/issue_VerifiableAuthorisationToOnboard +0 -9
  341. package/dist/scripts/preregisterIssuer +0 -6
  342. package/dist/scripts/registerDidDocument +0 -15
  343. package/dist/scripts/registerIssuer +0 -6
  344. package/dist/scripts/updateVcRootTAO +0 -10
  345. package/dist/scripts/updateVcTAO +0 -11
  346. package/dist/scripts/updateVcTI +0 -11
  347. package/dist/scripts/vcdm2.0/issueSelfAttestationSupportOffice +0 -10
  348. package/dist/scripts/vcdm2.0/issueVcInvoke +0 -12
  349. package/dist/scripts/vcdm2.0/issueVcOnboard +0 -11
  350. package/dist/scripts/vcdm2.0/issueVcRootTAO +0 -14
  351. package/dist/scripts/vcdm2.0/issueVcTAO +0 -15
  352. package/dist/scripts/vcdm2.0/issueVcTI +0 -15
  353. package/dist/scripts/vcdm2.0/issueVcTnl +0 -34
  354. package/dist/scripts/vcdm2.0/registerDidDocument +0 -15
  355. package/dist/scripts/vcdm2.0/updateVcRootTAO +0 -13
  356. package/dist/scripts/vcdm2.0/updateVcTAO +0 -14
  357. package/dist/scripts/vcdm2.0/updateVcTI +0 -14
  358. package/dist/scripts/vcdm2.0/verifyVcTnl +0 -10
  359. package/dist/scripts/verifyVcTnl +0 -10
  360. package/dist/scripts/wct/accreditAndAuthorize +0 -133
  361. package/dist/scripts/wct/accreditAndAuthorize2 +0 -89
  362. package/dist/scripts/wct/holderWallet +0 -39
  363. package/dist/scripts/wct/holderWallet2 +0 -39
  364. package/dist/scripts/wct/issueToHolder +0 -38
  365. package/dist/scripts/wct/issueToHolder2 +0 -38
  366. package/dist/scripts/wct/pda1 +0 -3
  367. package/dist/scripts/wct/verifier +0 -8
  368. package/dist/scripts/wct/verifier2 +0 -7
  369. package/dist/utils/Client.js +0 -155
  370. package/dist/utils/Client.js.map +0 -1
  371. package/dist/utils/HardwareWallet.js +0 -326
  372. package/dist/utils/HardwareWallet.js.map +0 -1
  373. package/dist/utils/http.js +0 -132
  374. package/dist/utils/http.js.map +0 -1
  375. package/dist/utils/index.js +0 -8
  376. package/dist/utils/index.js.map +0 -1
  377. package/dist/utils/jsonrpc.js +0 -38
  378. package/dist/utils/jsonrpc.js.map +0 -1
  379. package/dist/utils/print.js +0 -56
  380. package/dist/utils/print.js.map +0 -1
  381. package/dist/utils/utils.js +0 -427
  382. package/dist/utils/utils.js.map +0 -1
  383. package/dist/utils/vcdm.js +0 -47
  384. package/dist/utils/vcdm.js.map +0 -1
@@ -1,18 +0,0 @@
1
- # create a proxy
2
- conformance clientMockUpdateList 1 0 0
3
- t: authorisation auth tir_write_presentation ES256
4
- using token t.access_token
5
- set proxyData {"prefix":"","headers":{},"testSuffix":"/credentials/status/1"}
6
- set proxyData.prefix myIssuer.clientId
7
- tir addIssuerProxy myIssuer.did proxyData
8
- proxies: tir get /issuers/ myIssuer.did /proxies
9
- set user.proxyId proxies.items.0.proxyId
10
- set user.accreditationUrl vcTI.url
11
- conformance clientMockInitiate
12
-
13
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
14
- # and validate the following tests:
15
- #
16
- # - Issue & Revoke
17
- # - Issue CTRevocable Credential with credentialStatus StatusList2021
18
- # - Validate the issued credential details
@@ -1,9 +0,0 @@
1
- # revoke credential
2
- statusListIndex: compute statusListIndex did:ebsi:zjHZjJ4Sy7r92BxXzFGs7qD
3
- conformance clientMockUpdateList 1 statusListIndex 1
4
-
5
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
6
- # and validate the following tests:
7
- #
8
- # - Issue & Revoke
9
- # - Revoke the credential and confirm
@@ -1,27 +0,0 @@
1
- # request VerifiableAccreditationToAccredit (TAO)
2
- vcTAO: conformance getCredential tao
3
-
4
- # register the credential for TAO
5
- t: authorisation auth tir_write_presentation ES256
6
- using token t.access_token
7
- tir setAttributeData myIssuer.did vcTAO.reservedAttributeId vcTAO.vc
8
- set vcTAO.url tirUrl /issuers/ myIssuer.did /attributes/ vcTAO.reservedAttributeId
9
- set user.accreditationUrl vcTAO.url
10
- conformance clientMockInitiate
11
-
12
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
13
- # and validate the following tests:
14
- #
15
- # - Request VerifiableAccreditationToAccredit
16
- # - Request VerifiableAccreditationToAccredit
17
- # - Register VerifiableAccreditationToAccredit into the Trusted Issuers Registry
18
- # - Register VerifiableAccreditationToAccredit into the Trusted Issuers Registry
19
- # - Issue VerifiableAuthorisationToOnboard for Conformance Issuer's sub-account DID
20
- # - Issue VerifiableAuthorisationToOnboard for Conformance Issuer's sub-account DID
21
- # - Validate the issuance was correct
22
- # - Issue VerifiableAccreditationToAttest for sub-account DID
23
- # - Issue VerifiableAccreditationToAttest for sub-account DID
24
- # - Validate the issuance was correct
25
- # - Issue VerifiableAccreditationToAccredit for sub-account DID
26
- # - Issue VerifiableAccreditationToAccredit for sub-account DID
27
- # - Validate the issuance was correct
@@ -1,13 +0,0 @@
1
- # revoke credential issued to subaccount
2
- subaccount: compute subaccountDid myIssuer.did
3
- attributes: tir get /issuers/ subaccount /attributes
4
- t: authorisation auth tir_write_presentation ES256
5
- using token t.access_token
6
- tir setAttributeMetadata subaccount attributes.items.0.id revoked myIssuer.did vcTAO.reservedAttributeId
7
- tir setAttributeMetadata subaccount attributes.items.1.id revoked myIssuer.did vcTAO.reservedAttributeId
8
-
9
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Revoke accreditations from sub-account DID
13
- # - Revoke accreditations from sub-account DID
@@ -1,14 +0,0 @@
1
- # request VerifiableAuthorisationForTrustChain (Root TAO)
2
- vcRootTAO: conformance getCredential roottao ES256 1.1 vcOnboard.vc
3
-
4
- # register the credential for RootTAO
5
- t: authorisation auth tir_write_presentation ES256
6
- using token t.access_token
7
- tir setAttributeData myIssuer.did vcRootTAO.reservedAttributeId vcRootTAO.vc
8
-
9
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Request VerifiableAuthorisationForTrustChain
13
- # - Request VerifiableAuthorisationForTrustChain
14
- # - Register VerifiableAuthorisationForTrustChain into the Trusted Issuers Registry
@@ -1,7 +0,0 @@
1
- # request CTAAQualificationCredential
2
- ctaaQualification: conformance getCredential qualification
3
-
4
- # Go to https://hub.ebsi.eu/wallet-conformance/accredit-authorise/flow
5
- # and validate the following tests:
6
- #
7
- # - Request CTAAQualificationCredential from Conformance Issuer
@@ -1,34 +0,0 @@
1
- env test
2
-
3
- # create new issuer
4
- using user null
5
- using user
6
- using user ES256 did1 user.keys.ES256K.privateKeyHex
7
-
8
- # request credential to onboard
9
- vcOnboard: conformance getCredential onboard
10
- set myIssuer user
11
-
12
- # register did document
13
- run registerDidDocument vcOnboard.vc
14
-
15
- # request VerifiableAccreditationToAttest (TI)
16
- vcTI: conformance getCredential ti
17
-
18
- # register the credential for TI
19
- t: authorisation auth tir_invite_presentation ES256 vcTI.vc
20
- using token t.access_token
21
- tir setAttributeData myIssuer.did vcTI.reservedAttributeId vcTI.vc
22
- set vcTI.url tirUrl /issuers/ myIssuer.did /attributes/ vcTI.reservedAttributeId
23
-
24
- view myIssuer
25
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
26
- # and validate the following tests:
27
- #
28
- # - Onboarding
29
- # - Request VerifiableAuthorisationToOnboard
30
- # - Register your DID Document into the DID Registry
31
- #
32
- # - Get accredited as a Trusted Issuer
33
- # - Request VerifiableAccreditationToAttest
34
- # - Register VerifiableAccreditationToAttest into the Trusted Issuers Registry
@@ -1,18 +0,0 @@
1
- # create a proxy
2
- conformance clientMockUpdateList 1 0 0
3
- t: authorisation auth tir_write_presentation ES256
4
- using token t.access_token
5
- set proxyData {"prefix":"","headers":{},"testSuffix":"/credentials/status/1"}
6
- set proxyData.prefix myIssuer.clientId
7
- tir addIssuerProxy myIssuer.did proxyData
8
- proxies: tir get /issuers/ myIssuer.did /proxies
9
- set user.proxyId proxies.items.0.proxyId
10
- set user.accreditationUrl vcTI.url
11
- conformance clientMockInitiate
12
-
13
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
14
- # and validate the following tests:
15
- #
16
- # - Issue & Revoke
17
- # - Issue CTRevocable Credential with credentialStatus StatusList2021
18
- # - Validate the issued credential details
@@ -1,9 +0,0 @@
1
- # revoke credential
2
- statusListIndex: compute statusListIndex did:ebsi:ztTYEydcPQ2SrKoghHqxBfK
3
- conformance clientMockUpdateList 1 statusListIndex 1
4
-
5
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
6
- # and validate the following tests:
7
- #
8
- # - Issue & Revoke
9
- # - Revoke the credential and confirm
@@ -1,27 +0,0 @@
1
- # request VerifiableAccreditationToAccredit (TAO)
2
- vcTAO: conformance getCredential tao
3
-
4
- # register the credential for TAO
5
- t: authorisation auth tir_write_presentation ES256
6
- using token t.access_token
7
- tir setAttributeData myIssuer.did vcTAO.reservedAttributeId vcTAO.vc
8
- set vcTAO.url tirUrl /issuers/ myIssuer.did /attributes/ vcTAO.reservedAttributeId
9
- set user.accreditationUrl vcTAO.url
10
- conformance clientMockInitiate
11
-
12
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
13
- # and validate the following tests:
14
- #
15
- # - Request VerifiableAccreditationToAccredit
16
- # - Request VerifiableAccreditationToAccredit
17
- # - Register VerifiableAccreditationToAccredit into the Trusted Issuers Registry
18
- # - Register VerifiableAccreditationToAccredit into the Trusted Issuers Registry
19
- # - Issue VerifiableAuthorisationToOnboard for Conformance Issuer's sub-account DID
20
- # - Issue VerifiableAuthorisationToOnboard for Conformance Issuer's sub-account DID
21
- # - Validate the issuance was correct
22
- # - Issue VerifiableAccreditationToAttest for sub-account DID
23
- # - Issue VerifiableAccreditationToAttest for sub-account DID
24
- # - Validate the issuance was correct
25
- # - Issue VerifiableAccreditationToAccredit for sub-account DID
26
- # - Issue VerifiableAccreditationToAccredit for sub-account DID
27
- # - Validate the issuance was correct
@@ -1,13 +0,0 @@
1
- # revoke credential issued to subaccount
2
- subaccount: compute subaccountDid myIssuer.did
3
- attributes: tir get /issuers/ subaccount /attributes
4
- t: authorisation auth tir_write_presentation ES256
5
- using token t.access_token
6
- tir setAttributeMetadata subaccount attributes.items.0.id revoked myIssuer.did vcTAO.reservedAttributeId
7
- tir setAttributeMetadata subaccount attributes.items.1.id revoked myIssuer.did vcTAO.reservedAttributeId
8
-
9
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Revoke accreditations from sub-account DID
13
- # - Revoke accreditations from sub-account DID
@@ -1,14 +0,0 @@
1
- # request VerifiableAuthorisationForTrustChain (Root TAO)
2
- vcRootTAO: conformance getCredential roottao ES256 1.1 vcOnboard.vc
3
-
4
- # register the credential for RootTAO
5
- t: authorisation auth tir_write_presentation ES256
6
- using token t.access_token
7
- tir setAttributeData myIssuer.did vcRootTAO.reservedAttributeId vcRootTAO.vc
8
-
9
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
10
- # and validate the following tests:
11
- #
12
- # - Request VerifiableAuthorisationForTrustChain
13
- # - Request VerifiableAuthorisationForTrustChain
14
- # - Register VerifiableAuthorisationForTrustChain into the Trusted Issuers Registry
@@ -1,7 +0,0 @@
1
- # request CTAAQualificationCredential
2
- ctaaQualification: conformance getCredential qualification
3
-
4
- # Go to https://hub-test.ebsi.eu/wallet-conformance/accredit-authorise/flow
5
- # and validate the following tests:
6
- #
7
- # - Request CTAAQualificationCredential from Conformance Issuer
@@ -1,21 +0,0 @@
1
- # load tao
2
- using user null
3
- using user ES256K did1 PRIVATE_KEY_ES256K_TAO DID_TAO
4
- using user ES256 did1 PRIVATE_KEY_ES256_TAO DID_TAO
5
- set taoPrivateKeyES256K user.keys.ES256K.privateKeyHex
6
- set taoPrivateKeyES256 user.keys.ES256.privateKeyJwk
7
- set taoDid user.did
8
-
9
- # create accreditation to attest
10
- payloadVcTI: load assets/vcdm1.1/VerifiableAccreditationToAttest.json
11
- set payloadVcTI.issuer taoDid
12
- set payloadVcTI.credentialSubject.id NEW_ISSUER_DID
13
- set payloadVcTI.credentialSchema.id CREDENTIAL_SCHEMA_ID
14
- set payloadVcTI.termsOfUse.id ACCREDITATION_TAO
15
- vcTI: compute createVcJwt payloadVcTI {} ES256 1.1
16
-
17
- # preregister the new issuer
18
- tTao: authorisation auth tir_write_presentation ES256K [] 1.1
19
- using token tTao.access_token
20
- attributeIdTI: compute randomID
21
- tir setAttributeMetadata NEW_ISSUER_DID attributeIdTI ti taoDid ACCREDITATION_ID_TAO
@@ -1,27 +0,0 @@
1
- [
2
- {
3
- "apis": "https://api-pilot.ebsi.eu",
4
- "explorer": "https://blockexplorer-pilot.ebsi.eu",
5
- "country": "eu"
6
- },
7
- {
8
- "apis": "https://api-pilot.ebsi.belnet.be",
9
- "explorer": "https://blockexplorer-pilot.ebsi.belnet.be",
10
- "country": "bel"
11
- },
12
- {
13
- "apis": "https://api-pilot.ebsi.grnet.gr",
14
- "explorer": "https://blockexplorer-pilot.ebsi.grnet.gr",
15
- "country": "grc"
16
- },
17
- {
18
- "apis": "https://api-pilot.ebsi.dmrid.gov.cy",
19
- "explorer": "https://blockexplorer-pilot.ebsi.dmrid.gov.cy",
20
- "country": "cyp"
21
- },
22
- {
23
- "apis": "https://api-pilot.ebsi.rediris.es",
24
- "explorer": "https://blockexplorer-pilot.ebsi.rediris.es",
25
- "country": "esp"
26
- }
27
- ]
@@ -1,30 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "CTRevocable"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": ""
13
- },
14
- "credentialStatus": {
15
- "id": "",
16
- "type": "StatusList2021Entry",
17
- "statusPurpose": "revocation",
18
- "statusListIndex": "",
19
- "statusListCredential": ""
20
- },
21
- "termsOfUse": {
22
- "id": "",
23
- "type": "IssuanceCertificate"
24
-
25
- },
26
- "credentialSchema": {
27
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
28
- "type": "FullJsonSchemaValidator2021"
29
- }
30
- }
@@ -1,29 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAccreditation",
9
- "VerifiableAccreditationToAttest"
10
- ],
11
- "issuer": "",
12
- "credentialSubject": {
13
- "id": "",
14
- "accreditedFor": [
15
- {
16
- "schemaId": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
17
- "types": [
18
- "VerifiableCredential",
19
- "VerifiableAttestation",
20
- "VerifiableAuthorisationForTrustChain"
21
- ]
22
- }
23
- ]
24
- },
25
- "credentialSchema": {
26
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zHXHLkJpZg4w9nt2GbEBbyE8uhkfirbmT3nF7mJ9kFnjv",
27
- "type": "FullJsonSchemaValidator2021"
28
- }
29
- }
@@ -1,27 +0,0 @@
1
- [
2
- {
3
- "apis": "https://api-pilot.ebsi.eu",
4
- "explorer": "https://blockexplorer-pilot.ebsi.eu",
5
- "country": "eu"
6
- },
7
- {
8
- "apis": "https://api-pilot.ebsi.belnet.be",
9
- "explorer": "https://blockexplorer-pilot.ebsi.belnet.be",
10
- "country": "bel"
11
- },
12
- {
13
- "apis": "https://api-pilot.ebsi.grnet.gr",
14
- "explorer": "https://blockexplorer-pilot.ebsi.grnet.gr",
15
- "country": "grc"
16
- },
17
- {
18
- "apis": "https://api-pilot.ebsi.dmrid.gov.cy",
19
- "explorer": "https://blockexplorer-pilot.ebsi.dmrid.gov.cy",
20
- "country": "cyp"
21
- },
22
- {
23
- "apis": "https://api-pilot.ebsi.rediris.es",
24
- "explorer": "https://blockexplorer-pilot.ebsi.rediris.es",
25
- "country": "esp"
26
- }
27
- ]
@@ -1,35 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "TrustedNodesList"
9
- ],
10
- "credentialSubject": {
11
- "environment": "pilot",
12
- "chainId": 6179,
13
- "version": 1,
14
- "nodesTotal": 36,
15
- "nodes": [
16
- {
17
- "apis": "https://api-pilot.ebsi.stsisp.ro",
18
- "explorer": "https://blockexplorer-pilot.ebsi.stsisp.ro",
19
- "country": "rou"
20
- },
21
- {
22
- "apis": "https://api-pilot.ebsi.fnmt.es",
23
- "country": "esp"
24
- }
25
- ]
26
- },
27
- "termsOfUse": {
28
- "id": "",
29
- "type": "IssuanceCertificate"
30
- },
31
- "credentialSchema": {
32
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
33
- "type": "FullJsonSchemaValidator2021"
34
- }
35
- }
@@ -1,35 +0,0 @@
1
- {
2
- "@context": ["https://www.w3.org/2018/credentials/v1"],
3
- "id": "urn:uuid:8568b525-a24e-4bc0-9d97-6a8459ec0130",
4
- "type": [
5
- "VerifiableCredential",
6
- "VerifiableAttestation",
7
- "VerifiableAccreditation",
8
- "VerifiableAccreditationToAccredit"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": "",
13
- "accreditedFor": [
14
- {
15
- "schemaId": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
16
- "types": [
17
- "VerifiableCredential",
18
- "VerifiableAttestation",
19
- "CTRevocable"
20
- ],
21
- "limitJurisdiction": "https://publications.europa.eu/resource/authority/atu/FIN"
22
- }
23
- ]
24
- },
25
- "termsOfUse": [
26
- {
27
- "id": "",
28
- "type": "IssuanceCertificate"
29
- }
30
- ],
31
- "credentialSchema": {
32
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zHXHLkJpZg4w9nt2GbEBbyE8uhkfirbmT3nF7mJ9kFnjv",
33
- "type": "FullJsonSchemaValidator2021"
34
- }
35
- }
@@ -1,33 +0,0 @@
1
- {
2
- "@context": ["https://www.w3.org/2018/credentials/v1"],
3
- "type": [
4
- "VerifiableCredential",
5
- "VerifiableAttestation",
6
- "VerifiableAccreditation",
7
- "VerifiableAccreditationToAttest"
8
- ],
9
- "issuer": "",
10
- "credentialSubject": {
11
- "id": "",
12
- "accreditedFor": [
13
- {
14
- "schemaId": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
15
- "types": [
16
- "VerifiableCredential",
17
- "VerifiableAttestation",
18
- "CTRevocable"
19
- ],
20
- "limitJurisdiction":
21
- "https://publications.europa.eu/resource/authority/atu/EUR"
22
- }
23
- ]
24
- },
25
- "termsOfUse": {
26
- "id": "",
27
- "type": "IssuanceCertificate"
28
- },
29
- "credentialSchema": {
30
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zHXHLkJpZg4w9nt2GbEBbyE8uhkfirbmT3nF7mJ9kFnjv",
31
- "type": "FullJsonSchemaValidator2021"
32
- }
33
- }
@@ -1,22 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAuthorisationForTrustChain"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": ""
13
- },
14
- "termsOfUse": {
15
- "id": "",
16
- "type": "IssuanceCertificate"
17
- },
18
- "credentialSchema": {
19
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
20
- "type": "FullJsonSchemaValidator2021"
21
- }
22
- }
@@ -1,24 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAuthorisationToInvoke"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": "",
13
- "contractAddress": ""
14
- },
15
- "termsOfUse": {
16
- "id": "",
17
- "type": "IssuanceCertificate"
18
-
19
- },
20
- "credentialSchema": {
21
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
22
- "type": "FullJsonSchemaValidator2021"
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/2018/credentials/v1"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAuthorisationToOnboard"
9
- ],
10
- "issuer": "",
11
- "credentialSubject": {
12
- "id": "",
13
- "accreditedFor": []
14
- },
15
- "termsOfUse": {
16
- "id": "",
17
- "type": "IssuanceCertificate"
18
-
19
- },
20
- "credentialSchema": {
21
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zH74MKkYTbQ6ZfTxufi6A3Aw8giS4piGm8dpgxFmkJjmu",
22
- "type": "FullJsonSchemaValidator2021"
23
- }
24
- }
@@ -1,29 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/ns/credentials/v2"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "VerifiableAccreditation",
9
- "VerifiableAccreditationToAttest"
10
- ],
11
- "issuer": "",
12
- "credentialSubject": {
13
- "id": "",
14
- "permissionFor": [
15
- {
16
- "schemaId": "ebsi:pilot:trusted-schemas-registry:/schemas/zB5yLy7GXdZs1iaJ7wN2K5mhwZDTxjECM2fELYE73mu3E",
17
- "types": [
18
- "VerifiableCredential",
19
- "VerifiableAttestation",
20
- "VerifiableAuthorisationForTrustChain"
21
- ]
22
- }
23
- ]
24
- },
25
- "credentialSchema": {
26
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zB5yLy7GXdZs1iaJ7wN2K5mhwZDTxjECM2fELYE73mu3E",
27
- "type": "FullJsonSchemaValidator2021"
28
- }
29
- }
@@ -1,36 +0,0 @@
1
- {
2
- "@context": [
3
- "https://www.w3.org/ns/credentials/v2"
4
- ],
5
- "type": [
6
- "VerifiableCredential",
7
- "VerifiableAttestation",
8
- "TrustedNodesList"
9
- ],
10
- "credentialSubject": {
11
- "environment": "pilot",
12
- "chainId": 6179,
13
- "version": 1,
14
- "nodesTotal": 36,
15
- "nodes": [
16
- {
17
- "apis": "https://api-pilot.ebsi.stsisp.ro",
18
- "explorer": "https://blockexplorer-pilot.ebsi.stsisp.ro",
19
- "country": "rou"
20
- },
21
- {
22
- "apis": "https://api-pilot.ebsi.fnmt.es",
23
- "country": "esp"
24
- }
25
- ]
26
- },
27
- "termsOfUse": {
28
- "parentAccreditation": "",
29
- "rootAuthorisation": "",
30
- "type": "AttestationPolicy"
31
- },
32
- "credentialSchema": {
33
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/zB5yLy7GXdZs1iaJ7wN2K5mhwZDTxjECM2fELYE73mu3E",
34
- "type": "FullJsonSchemaValidator2021"
35
- }
36
- }
@@ -1,40 +0,0 @@
1
- {
2
- "@context": ["https://www.w3.org/ns/credentials/v2"],
3
- "id": "urn:uuid:8568b525-a24e-4bc0-9d97-6a8459ec0130",
4
- "type": [
5
- "VerifiableCredential",
6
- "VerifiableAttestation",
7
- "VerifiableTrustModel",
8
- "VerifiableAccreditationToAccredit"
9
- ],
10
- "issuer": "",
11
- "credentialSchema": {
12
- "id": "ebsi:pilot:trusted-schemas-registry:/schemas/z2DzoeZrgduRwk3y4RAetwSHRZAHAqNF6fWWMaEcZUdAY",
13
- "type": "FullJsonSchemaValidator2021"
14
- },
15
- "credentialStatus": {
16
- "id": "",
17
- "type": "EbsiAccreditationEntry"
18
- },
19
- "credentialSubject": {
20
- "id": "",
21
- "permissionFor": [
22
- {
23
- "schemaId": "ebsi:pilot:trusted-schemas-registry:/schemas/zB5yLy7GXdZs1iaJ7wN2K5mhwZDTxjECM2fELYE73mu3E",
24
- "types": [
25
- "VerifiableCredential",
26
- "VerifiableAttestation",
27
- "CTRevocable"
28
- ],
29
- "jurisdiction": "https://publications.europa.eu/resource/authority/atu/FIN"
30
- }
31
- ]
32
- },
33
- "termsOfUse": [
34
- {
35
- "parentAccreditation": "",
36
- "rootAuthorisation": "",
37
- "type": "AccreditationPolicy"
38
- }
39
- ]
40
- }