From a42b1d78616191bd5938a8416ded435c9883b4be Mon Sep 17 00:00:00 2001 From: Jonathan Alvarez Date: Wed, 7 Feb 2024 10:14:35 -0500 Subject: [PATCH 1/3] merge achainable:amount assertions in one schema Signed-off-by: Jonathan Alvarez --- .../contract-creator.json | 0 .../schemas/src/lib/11-token-holder/1-0-0.ts | 1 + .../src/lib/12-contract-creator/1-0-0.test.ts | 22 ------------- .../src/lib/12-contract-creator/1-0-0.ts | 31 ------------------- 4 files changed, 1 insertion(+), 53 deletions(-) rename examples/{12-contract-creator => 11-token-holder}/contract-creator.json (100%) delete mode 100644 packages/schemas/src/lib/12-contract-creator/1-0-0.test.ts delete mode 100644 packages/schemas/src/lib/12-contract-creator/1-0-0.ts diff --git a/examples/12-contract-creator/contract-creator.json b/examples/11-token-holder/contract-creator.json similarity index 100% rename from examples/12-contract-creator/contract-creator.json rename to examples/11-token-holder/contract-creator.json diff --git a/packages/schemas/src/lib/11-token-holder/1-0-0.ts b/packages/schemas/src/lib/11-token-holder/1-0-0.ts index d551d52..a5b7f17 100644 --- a/packages/schemas/src/lib/11-token-holder/1-0-0.ts +++ b/packages/schemas/src/lib/11-token-holder/1-0-0.ts @@ -22,6 +22,7 @@ export const schema: JSONSchema7 = { assertion.clause({ src: [ // https://github.com/litentry/litentry-parachain/blob/dev/tee-worker/litentry/core/assertion-build/src/achainable/amount.rs + '$is_contract_creator', '$is_eth_holder', '$is_lit_holder', '$is_dot_holder', diff --git a/packages/schemas/src/lib/12-contract-creator/1-0-0.test.ts b/packages/schemas/src/lib/12-contract-creator/1-0-0.test.ts deleted file mode 100644 index 4a5b25d..0000000 --- a/packages/schemas/src/lib/12-contract-creator/1-0-0.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import * as fs from 'fs'; -import { globSync as glob } from 'fast-glob'; - -import { ajv } from '../ajv'; -import { schema } from './1-0-0'; - -const jsonFiles = glob('examples/12-contract-creator/*.json'); - -const validate = ajv.compile(schema); - -describe('12-contract-creator/1-0-0', () => { - it.each(jsonFiles)('should work for %s', (example) => { - expect(validate.errors).toBeNull(); - - const json = JSON.parse(fs.readFileSync(example, 'utf8')); - const valid = validate(json); - - if (!valid) console.log(validate.errors); - - expect(valid).toBeTruthy(); - }); -}); diff --git a/packages/schemas/src/lib/12-contract-creator/1-0-0.ts b/packages/schemas/src/lib/12-contract-creator/1-0-0.ts deleted file mode 100644 index 02909d9..0000000 --- a/packages/schemas/src/lib/12-contract-creator/1-0-0.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { JSONSchema7 } from 'json-schema'; - -import { schema as base } from '../0-base/1-0-0'; -import { resolveGitHubPath } from '../helpers'; -import { credentialSubject, assertion } from '../schema-helpers'; - -export const schema: JSONSchema7 = { - ...base, - - $id: resolveGitHubPath('12-contract-creator/1-0-0.json'), - - title: 'Contract Creator', - description: 'You are a deployer of a smart contract', - - properties: { - ...base.properties, - - credentialSubject: credentialSubject({ - title: 'Credential Subject of Achainable assertion/ Contract Creator', - assertions: assertion.and({ - items: [ - assertion.clause({ - src: ['$is_contract_creator'], - op: ['=='], - dst: ['true'], - }), - ], - }), - }), - }, -}; From 2edd5dfa19251f98dd8abd2e4ec8eaaf47993ef6 Mon Sep 17 00:00:00 2001 From: Jonathan Alvarez Date: Wed, 7 Feb 2024 10:39:42 -0500 Subject: [PATCH 2/3] re-order after removing schema 12 Signed-off-by: Jonathan Alvarez --- .../idhub-evm-version-early-bird.json | 0 .../course_completed.json | 0 .../course_participated.json | 0 .../outstanding_student.json | 0 .../uniswap-v2-v3-user.json | 0 .../generic-discord-role-contest-legend.json | 0 .../generic-discord-role-contest-popularity-participant.json | 0 .../generic-discord-role-contest-popularity.json | 0 .../generic-discord-role-soraquiz-attendee.json | 0 .../generic-discord-role-soraquiz-master.json | 0 .../token-holding-amount-amp.vc.json | 0 .../token-holding-amount-comp.vc.json | 0 .../token-holding-amount-crv.vc.json | 0 .../token-holding-amount-cvx.vc.json | 0 .../token-holding-amount-dydx.vc.json | 0 .../token-holding-amount-grt.vc.json | 0 .../token-holding-amount-gtc.vc.json | 0 .../token-holding-amount-gusd.vc.json | 0 .../token-holding-amount-link.vc.json | 0 .../token-holding-amount-lit.vc.json | 0 .../token-holding-amount-matic.vc.json | 0 .../token-holding-amount-people.vc.json | 0 .../token-holding-amount-usdd.vc.json | 0 .../token-holding-amount-usdt.vc.json | 0 .../token-staking-amount-lit.vc.json | 0 .../weirdoghostgang-holder.json | 0 .../vip3-card-holder-gold.json | 0 .../vip3-card-holder-silver.json | 0 .../token-holding-amount-ton.vc.json | 0 .../token-holding-amount-trx.vc.json | 0 .../crypto-summary-no-entries.vc.json | 0 .../crypto-summary.vc.json | 0 .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../{15-uniswap-v2-v3-user => 14-uniswap-v2-v3-user}/1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../lib/{21-vip3-card-holder => 20-vip3-card-holder}/1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../{23-evm-holding-amount => 22-evm-holding-amount}/1-0-0.ts | 2 +- .../1-0-0.test.ts | 4 ++-- .../{24-mirror-contributor => 23-mirror-contributor}/1-0-0.ts | 2 +- .../{25-crypto-summary => 24-crypto-summary}/1-0-0.test.ts | 4 ++-- .../src/lib/{25-crypto-summary => 24-crypto-summary}/1-0-0.ts | 2 +- 58 files changed, 39 insertions(+), 39 deletions(-) rename examples/{13-idhub-evm-version-early-bird => 12-idhub-evm-version-early-bird}/idhub-evm-version-early-bird.json (100%) rename examples/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/course_completed.json (100%) rename examples/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/course_participated.json (100%) rename examples/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/outstanding_student.json (100%) rename examples/{15-uniswap-v2-v3-user => 14-uniswap-v2-v3-user}/uniswap-v2-v3-user.json (100%) rename examples/{16-generic-discord-role => 15-generic-discord-role}/generic-discord-role-contest-legend.json (100%) rename examples/{16-generic-discord-role => 15-generic-discord-role}/generic-discord-role-contest-popularity-participant.json (100%) rename examples/{16-generic-discord-role => 15-generic-discord-role}/generic-discord-role-contest-popularity.json (100%) rename examples/{16-generic-discord-role => 15-generic-discord-role}/generic-discord-role-soraquiz-attendee.json (100%) rename examples/{16-generic-discord-role => 15-generic-discord-role}/generic-discord-role-soraquiz-master.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-amp.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-comp.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-crv.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-cvx.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-dydx.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-grt.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-gtc.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-gusd.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-link.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-lit.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-matic.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-people.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-usdd.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-holding-amount-usdt.vc.json (100%) rename examples/{19-token-holding-amount => 18-token-holding-amount}/token-staking-amount-lit.vc.json (100%) rename examples/{20-weirdoghostgang-holder => 19-weirdoghostgang-holder}/weirdoghostgang-holder.json (100%) rename examples/{21-vip3-card-holder => 20-vip3-card-holder}/vip3-card-holder-gold.json (100%) rename examples/{21-vip3-card-holder => 20-vip3-card-holder}/vip3-card-holder-silver.json (100%) rename examples/{23-evm-holding-amount => 22-evm-holding-amount}/token-holding-amount-ton.vc.json (100%) rename examples/{23-evm-holding-amount => 22-evm-holding-amount}/token-holding-amount-trx.vc.json (100%) rename examples/{25-crypto-summary => 24-crypto-summary}/crypto-summary-no-entries.vc.json (100%) rename examples/{25-crypto-summary => 24-crypto-summary}/crypto-summary.vc.json (100%) rename packages/schemas/src/lib/{13-idhub-evm-version-early-bird => 12-idhub-evm-version-early-bird}/1-0-0.test.ts (77%) rename packages/schemas/src/lib/{13-idhub-evm-version-early-bird => 12-idhub-evm-version-early-bird}/1-0-0.ts (92%) rename packages/schemas/src/lib/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/1-0-0.test.ts (79%) rename packages/schemas/src/lib/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/1-0-0.ts (93%) rename packages/schemas/src/lib/{15-uniswap-v2-v3-user => 14-uniswap-v2-v3-user}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{15-uniswap-v2-v3-user => 14-uniswap-v2-v3-user}/1-0-0.ts (94%) rename packages/schemas/src/lib/{16-generic-discord-role => 15-generic-discord-role}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{16-generic-discord-role => 15-generic-discord-role}/1-0-0.ts (94%) rename packages/schemas/src/lib/{17-bnb-domain-holding-amount => 16-bnb-domain-holding-amount}/1-0-0.test.ts (78%) rename packages/schemas/src/lib/{17-bnb-domain-holding-amount => 16-bnb-domain-holding-amount}/1-0-0.ts (94%) rename packages/schemas/src/lib/{18-bnb-3d-4d-club-domain-holding-amount => 17-bnb-3d-4d-club-domain-holding-amount}/1-0-0.test.ts (78%) rename packages/schemas/src/lib/{18-bnb-3d-4d-club-domain-holding-amount => 17-bnb-3d-4d-club-domain-holding-amount}/1-0-0.ts (94%) rename packages/schemas/src/lib/{19-token-holding-amount => 18-token-holding-amount}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{19-token-holding-amount => 18-token-holding-amount}/1-0-0.ts (96%) rename packages/schemas/src/lib/{20-weirdoghostgang-holder => 19-weirdoghostgang-holder}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{20-weirdoghostgang-holder => 19-weirdoghostgang-holder}/1-0-0.ts (91%) rename packages/schemas/src/lib/{21-vip3-card-holder => 20-vip3-card-holder}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{21-vip3-card-holder => 20-vip3-card-holder}/1-0-0.ts (91%) rename packages/schemas/src/lib/{22-token-holding-amount-list => 21-token-holding-amount-list}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{22-token-holding-amount-list => 21-token-holding-amount-list}/1-0-0.ts (95%) rename packages/schemas/src/lib/{23-evm-holding-amount => 22-evm-holding-amount}/1-0-0.test.ts (80%) rename packages/schemas/src/lib/{23-evm-holding-amount => 22-evm-holding-amount}/1-0-0.ts (97%) rename packages/schemas/src/lib/{24-mirror-contributor => 23-mirror-contributor}/1-0-0.test.ts (79%) rename packages/schemas/src/lib/{24-mirror-contributor => 23-mirror-contributor}/1-0-0.ts (92%) rename packages/schemas/src/lib/{25-crypto-summary => 24-crypto-summary}/1-0-0.test.ts (81%) rename packages/schemas/src/lib/{25-crypto-summary => 24-crypto-summary}/1-0-0.ts (99%) diff --git a/examples/13-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json b/examples/12-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json similarity index 100% rename from examples/13-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json rename to examples/12-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json diff --git a/examples/14-oneblock-student-phase-12/course_completed.json b/examples/13-oneblock-student-phase-12/course_completed.json similarity index 100% rename from examples/14-oneblock-student-phase-12/course_completed.json rename to examples/13-oneblock-student-phase-12/course_completed.json diff --git a/examples/14-oneblock-student-phase-12/course_participated.json b/examples/13-oneblock-student-phase-12/course_participated.json similarity index 100% rename from examples/14-oneblock-student-phase-12/course_participated.json rename to examples/13-oneblock-student-phase-12/course_participated.json diff --git a/examples/14-oneblock-student-phase-12/outstanding_student.json b/examples/13-oneblock-student-phase-12/outstanding_student.json similarity index 100% rename from examples/14-oneblock-student-phase-12/outstanding_student.json rename to examples/13-oneblock-student-phase-12/outstanding_student.json diff --git a/examples/15-uniswap-v2-v3-user/uniswap-v2-v3-user.json b/examples/14-uniswap-v2-v3-user/uniswap-v2-v3-user.json similarity index 100% rename from examples/15-uniswap-v2-v3-user/uniswap-v2-v3-user.json rename to examples/14-uniswap-v2-v3-user/uniswap-v2-v3-user.json diff --git a/examples/16-generic-discord-role/generic-discord-role-contest-legend.json b/examples/15-generic-discord-role/generic-discord-role-contest-legend.json similarity index 100% rename from examples/16-generic-discord-role/generic-discord-role-contest-legend.json rename to examples/15-generic-discord-role/generic-discord-role-contest-legend.json diff --git a/examples/16-generic-discord-role/generic-discord-role-contest-popularity-participant.json b/examples/15-generic-discord-role/generic-discord-role-contest-popularity-participant.json similarity index 100% rename from examples/16-generic-discord-role/generic-discord-role-contest-popularity-participant.json rename to examples/15-generic-discord-role/generic-discord-role-contest-popularity-participant.json diff --git a/examples/16-generic-discord-role/generic-discord-role-contest-popularity.json b/examples/15-generic-discord-role/generic-discord-role-contest-popularity.json similarity index 100% rename from examples/16-generic-discord-role/generic-discord-role-contest-popularity.json rename to examples/15-generic-discord-role/generic-discord-role-contest-popularity.json diff --git a/examples/16-generic-discord-role/generic-discord-role-soraquiz-attendee.json b/examples/15-generic-discord-role/generic-discord-role-soraquiz-attendee.json similarity index 100% rename from examples/16-generic-discord-role/generic-discord-role-soraquiz-attendee.json rename to examples/15-generic-discord-role/generic-discord-role-soraquiz-attendee.json diff --git a/examples/16-generic-discord-role/generic-discord-role-soraquiz-master.json b/examples/15-generic-discord-role/generic-discord-role-soraquiz-master.json similarity index 100% rename from examples/16-generic-discord-role/generic-discord-role-soraquiz-master.json rename to examples/15-generic-discord-role/generic-discord-role-soraquiz-master.json diff --git a/examples/19-token-holding-amount/token-holding-amount-amp.vc.json b/examples/18-token-holding-amount/token-holding-amount-amp.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-amp.vc.json rename to examples/18-token-holding-amount/token-holding-amount-amp.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-comp.vc.json b/examples/18-token-holding-amount/token-holding-amount-comp.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-comp.vc.json rename to examples/18-token-holding-amount/token-holding-amount-comp.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-crv.vc.json b/examples/18-token-holding-amount/token-holding-amount-crv.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-crv.vc.json rename to examples/18-token-holding-amount/token-holding-amount-crv.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-cvx.vc.json b/examples/18-token-holding-amount/token-holding-amount-cvx.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-cvx.vc.json rename to examples/18-token-holding-amount/token-holding-amount-cvx.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-dydx.vc.json b/examples/18-token-holding-amount/token-holding-amount-dydx.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-dydx.vc.json rename to examples/18-token-holding-amount/token-holding-amount-dydx.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-grt.vc.json b/examples/18-token-holding-amount/token-holding-amount-grt.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-grt.vc.json rename to examples/18-token-holding-amount/token-holding-amount-grt.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-gtc.vc.json b/examples/18-token-holding-amount/token-holding-amount-gtc.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-gtc.vc.json rename to examples/18-token-holding-amount/token-holding-amount-gtc.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-gusd.vc.json b/examples/18-token-holding-amount/token-holding-amount-gusd.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-gusd.vc.json rename to examples/18-token-holding-amount/token-holding-amount-gusd.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-link.vc.json b/examples/18-token-holding-amount/token-holding-amount-link.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-link.vc.json rename to examples/18-token-holding-amount/token-holding-amount-link.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-lit.vc.json b/examples/18-token-holding-amount/token-holding-amount-lit.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-lit.vc.json rename to examples/18-token-holding-amount/token-holding-amount-lit.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-matic.vc.json b/examples/18-token-holding-amount/token-holding-amount-matic.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-matic.vc.json rename to examples/18-token-holding-amount/token-holding-amount-matic.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-people.vc.json b/examples/18-token-holding-amount/token-holding-amount-people.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-people.vc.json rename to examples/18-token-holding-amount/token-holding-amount-people.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-usdd.vc.json b/examples/18-token-holding-amount/token-holding-amount-usdd.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-usdd.vc.json rename to examples/18-token-holding-amount/token-holding-amount-usdd.vc.json diff --git a/examples/19-token-holding-amount/token-holding-amount-usdt.vc.json b/examples/18-token-holding-amount/token-holding-amount-usdt.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-holding-amount-usdt.vc.json rename to examples/18-token-holding-amount/token-holding-amount-usdt.vc.json diff --git a/examples/19-token-holding-amount/token-staking-amount-lit.vc.json b/examples/18-token-holding-amount/token-staking-amount-lit.vc.json similarity index 100% rename from examples/19-token-holding-amount/token-staking-amount-lit.vc.json rename to examples/18-token-holding-amount/token-staking-amount-lit.vc.json diff --git a/examples/20-weirdoghostgang-holder/weirdoghostgang-holder.json b/examples/19-weirdoghostgang-holder/weirdoghostgang-holder.json similarity index 100% rename from examples/20-weirdoghostgang-holder/weirdoghostgang-holder.json rename to examples/19-weirdoghostgang-holder/weirdoghostgang-holder.json diff --git a/examples/21-vip3-card-holder/vip3-card-holder-gold.json b/examples/20-vip3-card-holder/vip3-card-holder-gold.json similarity index 100% rename from examples/21-vip3-card-holder/vip3-card-holder-gold.json rename to examples/20-vip3-card-holder/vip3-card-holder-gold.json diff --git a/examples/21-vip3-card-holder/vip3-card-holder-silver.json b/examples/20-vip3-card-holder/vip3-card-holder-silver.json similarity index 100% rename from examples/21-vip3-card-holder/vip3-card-holder-silver.json rename to examples/20-vip3-card-holder/vip3-card-holder-silver.json diff --git a/examples/23-evm-holding-amount/token-holding-amount-ton.vc.json b/examples/22-evm-holding-amount/token-holding-amount-ton.vc.json similarity index 100% rename from examples/23-evm-holding-amount/token-holding-amount-ton.vc.json rename to examples/22-evm-holding-amount/token-holding-amount-ton.vc.json diff --git a/examples/23-evm-holding-amount/token-holding-amount-trx.vc.json b/examples/22-evm-holding-amount/token-holding-amount-trx.vc.json similarity index 100% rename from examples/23-evm-holding-amount/token-holding-amount-trx.vc.json rename to examples/22-evm-holding-amount/token-holding-amount-trx.vc.json diff --git a/examples/25-crypto-summary/crypto-summary-no-entries.vc.json b/examples/24-crypto-summary/crypto-summary-no-entries.vc.json similarity index 100% rename from examples/25-crypto-summary/crypto-summary-no-entries.vc.json rename to examples/24-crypto-summary/crypto-summary-no-entries.vc.json diff --git a/examples/25-crypto-summary/crypto-summary.vc.json b/examples/24-crypto-summary/crypto-summary.vc.json similarity index 100% rename from examples/25-crypto-summary/crypto-summary.vc.json rename to examples/24-crypto-summary/crypto-summary.vc.json diff --git a/packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.test.ts b/packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.test.ts similarity index 77% rename from packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.test.ts rename to packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.test.ts index 169b8b9..23b13d3 100644 --- a/packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.test.ts +++ b/packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.test.ts @@ -3,14 +3,14 @@ import * as fs from 'fs'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -describe('13-idhub-evm-version-early-bird/1-0-0', () => { +describe('12-idhub-evm-version-early-bird/1-0-0', () => { it('should work', () => { const validate = ajv.compile(schema); expect(validate.errors).toBeNull(); const json = JSON.parse( fs.readFileSync( - 'examples/13-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json', + 'examples/12-idhub-evm-version-early-bird/idhub-evm-version-early-bird.json', 'utf8' ) ); diff --git a/packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.ts b/packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.ts similarity index 92% rename from packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.ts rename to packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.ts index 78c1617..342561d 100644 --- a/packages/schemas/src/lib/13-idhub-evm-version-early-bird/1-0-0.ts +++ b/packages/schemas/src/lib/12-idhub-evm-version-early-bird/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('13-idhub-evm-version-early-bird/1-0-0.json'), + $id: resolveGitHubPath('12-idhub-evm-version-early-bird/1-0-0.json'), title: 'IDHub EVM Version Early Bird', description: diff --git a/packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.test.ts b/packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.test.ts similarity index 79% rename from packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.test.ts rename to packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.test.ts index 67edf31..1ca26d1 100644 --- a/packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.test.ts +++ b/packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/14-oneblock-student-phase-12/*.json'); +const jsonFiles = glob('examples/13-oneblock-student-phase-12/*.json'); const validate = ajv.compile(schema); -describe('14-oneblock-student-phase-12/1-0-0', () => { +describe('13-oneblock-student-phase-12/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.ts b/packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.ts similarity index 93% rename from packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.ts rename to packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.ts index 716d345..b7acb42 100644 --- a/packages/schemas/src/lib/14-oneblock-student-phase-12/1-0-0.ts +++ b/packages/schemas/src/lib/13-oneblock-student-phase-12/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('14-oneblock-student-phase-12/1-0-0.json'), + $id: resolveGitHubPath('13-oneblock-student-phase-12/1-0-0.json'), title: 'OneBlock+ Student Phase 12', description: diff --git a/packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.test.ts b/packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.test.ts rename to packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.test.ts index abbff3c..6f88c6d 100644 --- a/packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.test.ts +++ b/packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/15-uniswap-v2-v3-user/*.json'); +const jsonFiles = glob('examples/14-uniswap-v2-v3-user/*.json'); const validate = ajv.compile(schema); -describe('15-uniswap-v2-v3-user/1-0-0', () => { +describe('14-uniswap-v2-v3-user/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.ts b/packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.ts similarity index 94% rename from packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.ts rename to packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.ts index 4cd0159..2878454 100644 --- a/packages/schemas/src/lib/15-uniswap-v2-v3-user/1-0-0.ts +++ b/packages/schemas/src/lib/14-uniswap-v2-v3-user/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('15-uniswap-v2-v3-user/1-0-0.json'), + $id: resolveGitHubPath('14-uniswap-v2-v3-user/1-0-0.json'), title: 'You are a trader or liquidity provider of Uniswap V2 or V3.', description: diff --git a/packages/schemas/src/lib/16-generic-discord-role/1-0-0.test.ts b/packages/schemas/src/lib/15-generic-discord-role/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/16-generic-discord-role/1-0-0.test.ts rename to packages/schemas/src/lib/15-generic-discord-role/1-0-0.test.ts index b651f51..e3906b9 100644 --- a/packages/schemas/src/lib/16-generic-discord-role/1-0-0.test.ts +++ b/packages/schemas/src/lib/15-generic-discord-role/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/16-generic-discord-role/*.json'); +const jsonFiles = glob('examples/15-generic-discord-role/*.json'); const validate = ajv.compile(schema); -describe('16-generic-discord-role/1-0-0', () => { +describe('15-generic-discord-role/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/16-generic-discord-role/1-0-0.ts b/packages/schemas/src/lib/15-generic-discord-role/1-0-0.ts similarity index 94% rename from packages/schemas/src/lib/16-generic-discord-role/1-0-0.ts rename to packages/schemas/src/lib/15-generic-discord-role/1-0-0.ts index 957bf1a..cfd27a1 100644 --- a/packages/schemas/src/lib/16-generic-discord-role/1-0-0.ts +++ b/packages/schemas/src/lib/15-generic-discord-role/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('16-generic-discord-role/1-0-0.json'), + $id: resolveGitHubPath('15-generic-discord-role/1-0-0.json'), title: 'You have certain role on Litentry Official Discord Server.', description: diff --git a/packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.test.ts b/packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.test.ts similarity index 78% rename from packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.test.ts rename to packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.test.ts index 3b7a026..e84c684 100644 --- a/packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.test.ts +++ b/packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.test.ts @@ -3,14 +3,14 @@ import * as fs from 'fs'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -describe('17-bnb-domain-holding-amount/1-0-0', () => { +describe('16-bnb-domain-holding-amount/1-0-0', () => { it.skip('should work', () => { const validate = ajv.compile(schema); expect(validate.errors).toBeNull(); const json = JSON.parse( fs.readFileSync( - 'examples/bnb-domain-holding-amount/17-bnb-domain-holding-amount.json', + 'examples/bnb-domain-holding-amount/16-bnb-domain-holding-amount.json', 'utf8' ) ); diff --git a/packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.ts b/packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.ts similarity index 94% rename from packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.ts rename to packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.ts index 0c2b755..3aa3ea1 100644 --- a/packages/schemas/src/lib/17-bnb-domain-holding-amount/1-0-0.ts +++ b/packages/schemas/src/lib/16-bnb-domain-holding-amount/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('17-bnb-domain-holding-amount/1-0-0.json'), + $id: resolveGitHubPath('16-bnb-domain-holding-amount/1-0-0.json'), title: 'BNB domain holding amount.', description: 'The amount of .bnb domain you are holding', diff --git a/packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts b/packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts similarity index 78% rename from packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts rename to packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts index 79fc447..13f1a30 100644 --- a/packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts +++ b/packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.test.ts @@ -3,14 +3,14 @@ import * as fs from 'fs'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -describe('18-bnb-3d-4d-club-domain-holding-amount/1-0-0', () => { +describe('17-bnb-3d-4d-club-domain-holding-amount/1-0-0', () => { it.skip('should work', () => { const validate = ajv.compile(schema); expect(validate.errors).toBeNull(); const json = JSON.parse( fs.readFileSync( - 'examples/bnb-3d-4d-club-domain-holding-amount/18-bnb-3d-4d-club-domain-holding-amount.json', + 'examples/bnb-3d-4d-club-domain-holding-amount/17-bnb-3d-4d-club-domain-holding-amount.json', 'utf8' ) ); diff --git a/packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts b/packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts similarity index 94% rename from packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts rename to packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts index 997e0d4..f256ad7 100644 --- a/packages/schemas/src/lib/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts +++ b/packages/schemas/src/lib/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('18-bnb-3d-4d-club-domain-holding-amount/1-0-0.json'), + $id: resolveGitHubPath('17-bnb-3d-4d-club-domain-holding-amount/1-0-0.json'), title: 'BNB 3D/4D club domain holding amount.', description: 'The amount of .BNB 999/10k club domains you are holding', diff --git a/packages/schemas/src/lib/19-token-holding-amount/1-0-0.test.ts b/packages/schemas/src/lib/18-token-holding-amount/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/19-token-holding-amount/1-0-0.test.ts rename to packages/schemas/src/lib/18-token-holding-amount/1-0-0.test.ts index c16917d..70ceeeb 100644 --- a/packages/schemas/src/lib/19-token-holding-amount/1-0-0.test.ts +++ b/packages/schemas/src/lib/18-token-holding-amount/1-0-0.test.ts @@ -4,9 +4,9 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/19-token-holding-amount/*.json'); +const jsonFiles = glob('examples/18-token-holding-amount/*.json'); -describe('19-token-holding-amount/1-0-0', () => { +describe('18-token-holding-amount/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { const validate = ajv.compile(schema); diff --git a/packages/schemas/src/lib/19-token-holding-amount/1-0-0.ts b/packages/schemas/src/lib/18-token-holding-amount/1-0-0.ts similarity index 96% rename from packages/schemas/src/lib/19-token-holding-amount/1-0-0.ts rename to packages/schemas/src/lib/18-token-holding-amount/1-0-0.ts index 1f50037..6ac95ea 100644 --- a/packages/schemas/src/lib/19-token-holding-amount/1-0-0.ts +++ b/packages/schemas/src/lib/18-token-holding-amount/1-0-0.ts @@ -34,7 +34,7 @@ const supportedTokens = [ export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('19-token-holding-amount/1-0-0.json'), + $id: resolveGitHubPath('18-token-holding-amount/1-0-0.json'), title: 'Token holding amount', description: 'The amount of a particular token you are holding', diff --git a/packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.test.ts b/packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.test.ts rename to packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.test.ts index 5f2cf7e..426e02e 100644 --- a/packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.test.ts +++ b/packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/20-weirdoghostgang-holder/*.json'); +const jsonFiles = glob('examples/19-weirdoghostgang-holder/*.json'); const validate = ajv.compile(schema); -describe('20-weirdoghostgang-holder/1-0-0', () => { +describe('19-weirdoghostgang-holder/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.ts b/packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.ts similarity index 91% rename from packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.ts rename to packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.ts index 5ff9abc..9be6185 100644 --- a/packages/schemas/src/lib/20-weirdoghostgang-holder/1-0-0.ts +++ b/packages/schemas/src/lib/19-weirdoghostgang-holder/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('20-weirdoghostgang-holder/1-0-0.json'), + $id: resolveGitHubPath('19-weirdoghostgang-holder/1-0-0.json'), title: 'WeirdoGhostGang Holder', description: 'You are WeirdoGhostGang NFT holder', diff --git a/packages/schemas/src/lib/21-vip3-card-holder/1-0-0.test.ts b/packages/schemas/src/lib/20-vip3-card-holder/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/21-vip3-card-holder/1-0-0.test.ts rename to packages/schemas/src/lib/20-vip3-card-holder/1-0-0.test.ts index 148e3c5..50ba2d9 100644 --- a/packages/schemas/src/lib/21-vip3-card-holder/1-0-0.test.ts +++ b/packages/schemas/src/lib/20-vip3-card-holder/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/21-vip3-card-holder/*.json'); +const jsonFiles = glob('examples/20-vip3-card-holder/*.json'); const validate = ajv.compile(schema); -describe('21-vip3-card-holder/1-0-0', () => { +describe('20-vip3-card-holder/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/21-vip3-card-holder/1-0-0.ts b/packages/schemas/src/lib/20-vip3-card-holder/1-0-0.ts similarity index 91% rename from packages/schemas/src/lib/21-vip3-card-holder/1-0-0.ts rename to packages/schemas/src/lib/20-vip3-card-holder/1-0-0.ts index 9758361..4473bbc 100644 --- a/packages/schemas/src/lib/21-vip3-card-holder/1-0-0.ts +++ b/packages/schemas/src/lib/20-vip3-card-holder/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('21-vip3-card-holder/1-0-0.json'), + $id: resolveGitHubPath('20-vip3-card-holder/1-0-0.json'), title: 'VIP3 Gold/ Silver Card Holder', description: 'You are VIP3 Gold/ Silver Card Holder', diff --git a/packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.test.ts b/packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.test.ts rename to packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.test.ts index e7fdc70..1505e20 100644 --- a/packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.test.ts +++ b/packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.test.ts @@ -4,9 +4,9 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/22-token-holding-amount-list/*.json'); +const jsonFiles = glob('examples/21-token-holding-amount-list/*.json'); -describe('22-token-holding-amount-list/1-0-0', () => { +describe('21-token-holding-amount-list/1-0-0', () => { it.skip.each(jsonFiles)('should work for %s', (example) => { const validate = ajv.compile(schema); diff --git a/packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.ts b/packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.ts similarity index 95% rename from packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.ts rename to packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.ts index c9d9b07..5e7b611 100644 --- a/packages/schemas/src/lib/22-token-holding-amount-list/1-0-0.ts +++ b/packages/schemas/src/lib/21-token-holding-amount-list/1-0-0.ts @@ -18,7 +18,7 @@ const supportedTokens = [ export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('22-token-holding-amount-list/1-0-0.json'), + $id: resolveGitHubPath('21-token-holding-amount-list/1-0-0.json'), title: 'Token holding amount list', description: 'The amount of a particular token you are holding', diff --git a/packages/schemas/src/lib/23-evm-holding-amount/1-0-0.test.ts b/packages/schemas/src/lib/22-evm-holding-amount/1-0-0.test.ts similarity index 80% rename from packages/schemas/src/lib/23-evm-holding-amount/1-0-0.test.ts rename to packages/schemas/src/lib/22-evm-holding-amount/1-0-0.test.ts index 89286f2..f255a0e 100644 --- a/packages/schemas/src/lib/23-evm-holding-amount/1-0-0.test.ts +++ b/packages/schemas/src/lib/22-evm-holding-amount/1-0-0.test.ts @@ -4,9 +4,9 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/23-evm-holding-amount/*.json'); +const jsonFiles = glob('examples/22-evm-holding-amount/*.json'); -describe('23-evm-holding-amount/1-0-0', () => { +describe('22-evm-holding-amount/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { const validate = ajv.compile(schema); diff --git a/packages/schemas/src/lib/23-evm-holding-amount/1-0-0.ts b/packages/schemas/src/lib/22-evm-holding-amount/1-0-0.ts similarity index 97% rename from packages/schemas/src/lib/23-evm-holding-amount/1-0-0.ts rename to packages/schemas/src/lib/22-evm-holding-amount/1-0-0.ts index dc89db8..50b46e5 100644 --- a/packages/schemas/src/lib/23-evm-holding-amount/1-0-0.ts +++ b/packages/schemas/src/lib/22-evm-holding-amount/1-0-0.ts @@ -10,7 +10,7 @@ const supportedTokens = ['TRX', 'TON']; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('23-evm-holding-amount/1-0-0.json'), + $id: resolveGitHubPath('22-evm-holding-amount/1-0-0.json'), title: 'Token holding amount', description: 'The amount of a particular token you are holding', diff --git a/packages/schemas/src/lib/24-mirror-contributor/1-0-0.test.ts b/packages/schemas/src/lib/23-mirror-contributor/1-0-0.test.ts similarity index 79% rename from packages/schemas/src/lib/24-mirror-contributor/1-0-0.test.ts rename to packages/schemas/src/lib/23-mirror-contributor/1-0-0.test.ts index c535297..6a89b43 100644 --- a/packages/schemas/src/lib/24-mirror-contributor/1-0-0.test.ts +++ b/packages/schemas/src/lib/23-mirror-contributor/1-0-0.test.ts @@ -4,11 +4,11 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/24-mirror-contributor/*.json'); +const jsonFiles = glob('examples/23-mirror-contributor/*.json'); const validate = ajv.compile(schema); -describe.skip('24-mirror-contributor/1-0-0', () => { +describe.skip('23-mirror-contributor/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { expect(validate.errors).toBeNull(); diff --git a/packages/schemas/src/lib/24-mirror-contributor/1-0-0.ts b/packages/schemas/src/lib/23-mirror-contributor/1-0-0.ts similarity index 92% rename from packages/schemas/src/lib/24-mirror-contributor/1-0-0.ts rename to packages/schemas/src/lib/23-mirror-contributor/1-0-0.ts index 33474e1..fcb870e 100644 --- a/packages/schemas/src/lib/24-mirror-contributor/1-0-0.ts +++ b/packages/schemas/src/lib/23-mirror-contributor/1-0-0.ts @@ -7,7 +7,7 @@ import { credentialSubject, assertion } from '../schema-helpers'; export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('24-mirror-contributor/1-0-0.json'), + $id: resolveGitHubPath('23-mirror-contributor/1-0-0.json'), title: 'Mirror Contributor', description: diff --git a/packages/schemas/src/lib/25-crypto-summary/1-0-0.test.ts b/packages/schemas/src/lib/24-crypto-summary/1-0-0.test.ts similarity index 81% rename from packages/schemas/src/lib/25-crypto-summary/1-0-0.test.ts rename to packages/schemas/src/lib/24-crypto-summary/1-0-0.test.ts index 0cff68d..96a5481 100644 --- a/packages/schemas/src/lib/25-crypto-summary/1-0-0.test.ts +++ b/packages/schemas/src/lib/24-crypto-summary/1-0-0.test.ts @@ -4,9 +4,9 @@ import { globSync as glob } from 'fast-glob'; import { ajv } from '../ajv'; import { schema } from './1-0-0'; -const jsonFiles = glob('examples/25-crypto-summary/*.json'); +const jsonFiles = glob('examples/24-crypto-summary/*.json'); -describe('25-crypto-summary/1-0-0', () => { +describe('24-crypto-summary/1-0-0', () => { it.each(jsonFiles)('should work for %s', (example) => { const validate = ajv.compile(schema); diff --git a/packages/schemas/src/lib/25-crypto-summary/1-0-0.ts b/packages/schemas/src/lib/24-crypto-summary/1-0-0.ts similarity index 99% rename from packages/schemas/src/lib/25-crypto-summary/1-0-0.ts rename to packages/schemas/src/lib/24-crypto-summary/1-0-0.ts index fee6a63..7bb5da7 100644 --- a/packages/schemas/src/lib/25-crypto-summary/1-0-0.ts +++ b/packages/schemas/src/lib/24-crypto-summary/1-0-0.ts @@ -67,7 +67,7 @@ const supportedTokenNames = uniqueValues( export const schema: JSONSchema7 = { ...base, - $id: resolveGitHubPath('25-crypto-summary/1-0-0.json'), + $id: resolveGitHubPath('24-crypto-summary/1-0-0.json'), title: 'IDHub Crypto Summary', description: 'Generate a summary of your on-chain identity', From 7f3abd5d6f3adba04b5955e7df52f2fe24acaaac Mon Sep 17 00:00:00 2001 From: Jonathan Alvarez Date: Wed, 7 Feb 2024 10:39:53 -0500 Subject: [PATCH 3/3] generate Signed-off-by: Jonathan Alvarez --- dist/schemas/11-token-holder/1-0-0.json | 1 + dist/schemas/12-contract-creator/1-0-0.json | 164 ------------------ .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 .../1-0-0.json | 2 +- .../latest.json | 0 dist/schemas/25-crypto-summary/latest.json | 1 - 29 files changed, 14 insertions(+), 178 deletions(-) delete mode 100644 dist/schemas/12-contract-creator/1-0-0.json rename dist/schemas/{13-idhub-evm-version-early-bird => 12-idhub-evm-version-early-bird}/1-0-0.json (97%) rename dist/schemas/{12-contract-creator => 12-idhub-evm-version-early-bird}/latest.json (100%) rename dist/schemas/{14-oneblock-student-phase-12 => 13-oneblock-student-phase-12}/1-0-0.json (98%) rename dist/schemas/{13-idhub-evm-version-early-bird => 13-oneblock-student-phase-12}/latest.json (100%) rename dist/schemas/{15-uniswap-v2-v3-user => 14-uniswap-v2-v3-user}/1-0-0.json (98%) rename dist/schemas/{14-oneblock-student-phase-12 => 14-uniswap-v2-v3-user}/latest.json (100%) rename dist/schemas/{16-generic-discord-role => 15-generic-discord-role}/1-0-0.json (98%) rename dist/schemas/{15-uniswap-v2-v3-user => 15-generic-discord-role}/latest.json (100%) rename dist/schemas/{17-bnb-domain-holding-amount => 16-bnb-domain-holding-amount}/1-0-0.json (98%) rename dist/schemas/{16-generic-discord-role => 16-bnb-domain-holding-amount}/latest.json (100%) rename dist/schemas/{18-bnb-3d-4d-club-domain-holding-amount => 17-bnb-3d-4d-club-domain-holding-amount}/1-0-0.json (98%) rename dist/schemas/{17-bnb-domain-holding-amount => 17-bnb-3d-4d-club-domain-holding-amount}/latest.json (100%) rename dist/schemas/{19-token-holding-amount => 18-token-holding-amount}/1-0-0.json (99%) rename dist/schemas/{18-bnb-3d-4d-club-domain-holding-amount => 18-token-holding-amount}/latest.json (100%) rename dist/schemas/{20-weirdoghostgang-holder => 19-weirdoghostgang-holder}/1-0-0.json (98%) rename dist/schemas/{19-token-holding-amount => 19-weirdoghostgang-holder}/latest.json (100%) rename dist/schemas/{21-vip3-card-holder => 20-vip3-card-holder}/1-0-0.json (98%) rename dist/schemas/{20-weirdoghostgang-holder => 20-vip3-card-holder}/latest.json (100%) rename dist/schemas/{22-token-holding-amount-list => 21-token-holding-amount-list}/1-0-0.json (98%) rename dist/schemas/{21-vip3-card-holder => 21-token-holding-amount-list}/latest.json (100%) rename dist/schemas/{23-evm-holding-amount => 22-evm-holding-amount}/1-0-0.json (99%) rename dist/schemas/{22-token-holding-amount-list => 22-evm-holding-amount}/latest.json (100%) rename dist/schemas/{24-mirror-contributor => 23-mirror-contributor}/1-0-0.json (98%) rename dist/schemas/{23-evm-holding-amount => 23-mirror-contributor}/latest.json (100%) rename dist/schemas/{25-crypto-summary => 24-crypto-summary}/1-0-0.json (99%) rename dist/schemas/{24-mirror-contributor => 24-crypto-summary}/latest.json (100%) delete mode 120000 dist/schemas/25-crypto-summary/latest.json diff --git a/dist/schemas/11-token-holder/1-0-0.json b/dist/schemas/11-token-holder/1-0-0.json index f32cc11..ac9f49e 100644 --- a/dist/schemas/11-token-holder/1-0-0.json +++ b/dist/schemas/11-token-holder/1-0-0.json @@ -136,6 +136,7 @@ "src": { "type": "string", "enum": [ + "$is_contract_creator", "$is_eth_holder", "$is_lit_holder", "$is_dot_holder", diff --git a/dist/schemas/12-contract-creator/1-0-0.json b/dist/schemas/12-contract-creator/1-0-0.json deleted file mode 100644 index e3b3aac..0000000 --- a/dist/schemas/12-contract-creator/1-0-0.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/12-contract-creator/1-0-0.json", - "title": "Contract Creator", - "description": "You are a deployer of a smart contract", - "type": "object", - "required": [ - "@context", - "issuer", - "issuanceDate", - "credentialSubject", - "proof" - ], - "properties": { - "@context": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - } - }, - "id": { - "type": "string" - }, - "type": { - "type": "array", - "items": { - "type": "string" - } - }, - "issuer": { - "type": "object", - "required": [ - "id", - "name", - "mrenclave" - ], - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "mrenclave": { - "type": "string" - } - } - }, - "issuanceDate": { - "type": "string", - "format": "date-time" - }, - "proof": { - "type": "object", - "required": [ - "created", - "type", - "proofPurpose", - "proofValue", - "verificationMethod" - ], - "properties": { - "created": { - "type": "string", - "format": "date-time" - }, - "type": { - "type": "string" - }, - "proofPurpose": { - "type": "string" - }, - "proofValue": { - "type": "string" - }, - "verificationMethod": { - "type": "string" - } - } - }, - "credentialSubject": { - "title": "Credential Subject of Achainable assertion/ Contract Creator", - "type": "object", - "required": [ - "id", - "type", - "values", - "endpoint", - "assertions" - ], - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "description": { - "type": "string" - }, - "values": { - "type": "array", - "minItems": 1, - "items": { - "type": "boolean" - } - }, - "endpoint": { - "type": "string", - "format": "uri" - }, - "assertions": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "required": [ - "and" - ], - "properties": { - "and": { - "type": "array", - "minItems": 1, - "maxItems": 1, - "additionalItems": false, - "items": [ - { - "type": "object", - "required": [ - "src", - "op", - "dst" - ], - "properties": { - "src": { - "type": "string", - "enum": [ - "$is_contract_creator" - ] - }, - "op": { - "type": "string", - "enum": [ - "==" - ] - }, - "dst": { - "type": "string", - "enum": [ - "true" - ] - } - } - } - ] - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/dist/schemas/13-idhub-evm-version-early-bird/1-0-0.json b/dist/schemas/12-idhub-evm-version-early-bird/1-0-0.json similarity index 97% rename from dist/schemas/13-idhub-evm-version-early-bird/1-0-0.json rename to dist/schemas/12-idhub-evm-version-early-bird/1-0-0.json index 2badc5d..b2201ca 100644 --- a/dist/schemas/13-idhub-evm-version-early-bird/1-0-0.json +++ b/dist/schemas/12-idhub-evm-version-early-bird/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/13-idhub-evm-version-early-bird/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/12-idhub-evm-version-early-bird/1-0-0.json", "title": "IDHub EVM Version Early Bird", "description": "The user is an early bird user of the IdentityHub EVM version and has generated at least 1 credential during 2023 Aug 14th ~ Aug 21st.", "type": "object", diff --git a/dist/schemas/12-contract-creator/latest.json b/dist/schemas/12-idhub-evm-version-early-bird/latest.json similarity index 100% rename from dist/schemas/12-contract-creator/latest.json rename to dist/schemas/12-idhub-evm-version-early-bird/latest.json diff --git a/dist/schemas/14-oneblock-student-phase-12/1-0-0.json b/dist/schemas/13-oneblock-student-phase-12/1-0-0.json similarity index 98% rename from dist/schemas/14-oneblock-student-phase-12/1-0-0.json rename to dist/schemas/13-oneblock-student-phase-12/1-0-0.json index 3fc6ca0..9ee219c 100644 --- a/dist/schemas/14-oneblock-student-phase-12/1-0-0.json +++ b/dist/schemas/13-oneblock-student-phase-12/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/14-oneblock-student-phase-12/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/13-oneblock-student-phase-12/1-0-0.json", "title": "OneBlock+ Student Phase 12", "description": "You participated/ completed/ were an \"outstanding student\" in the course co-created by OneBlock+ and Parity: \"Introduction to Substrate Blockchain Development, Phase 12\"", "type": "object", diff --git a/dist/schemas/13-idhub-evm-version-early-bird/latest.json b/dist/schemas/13-oneblock-student-phase-12/latest.json similarity index 100% rename from dist/schemas/13-idhub-evm-version-early-bird/latest.json rename to dist/schemas/13-oneblock-student-phase-12/latest.json diff --git a/dist/schemas/15-uniswap-v2-v3-user/1-0-0.json b/dist/schemas/14-uniswap-v2-v3-user/1-0-0.json similarity index 98% rename from dist/schemas/15-uniswap-v2-v3-user/1-0-0.json rename to dist/schemas/14-uniswap-v2-v3-user/1-0-0.json index 763e538..29d9a19 100644 --- a/dist/schemas/15-uniswap-v2-v3-user/1-0-0.json +++ b/dist/schemas/14-uniswap-v2-v3-user/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/15-uniswap-v2-v3-user/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/14-uniswap-v2-v3-user/1-0-0.json", "title": "You are a trader or liquidity provider of Uniswap V2 or V3.", "description": "You are a trader or liquidity provider of Uniswap V2 or V3. Uniswap V2 Factory Contract: 0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f. Uniswap V3 Factory Contract: 0x1f98431c8ad98523631ae4a59f267346ea31f984.\", \"Uniswap V2/V3 User\"", "type": "object", diff --git a/dist/schemas/14-oneblock-student-phase-12/latest.json b/dist/schemas/14-uniswap-v2-v3-user/latest.json similarity index 100% rename from dist/schemas/14-oneblock-student-phase-12/latest.json rename to dist/schemas/14-uniswap-v2-v3-user/latest.json diff --git a/dist/schemas/16-generic-discord-role/1-0-0.json b/dist/schemas/15-generic-discord-role/1-0-0.json similarity index 98% rename from dist/schemas/16-generic-discord-role/1-0-0.json rename to dist/schemas/15-generic-discord-role/1-0-0.json index a3093a7..8cb25fc 100644 --- a/dist/schemas/16-generic-discord-role/1-0-0.json +++ b/dist/schemas/15-generic-discord-role/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/16-generic-discord-role/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/15-generic-discord-role/1-0-0.json", "title": "You have certain role on Litentry Official Discord Server.", "description": "You have a role that entitles you as \"Litentry & Contest Legend\", \"Litentry & Popularity Award of Score Contest\", \"Litentry & Contest Participant\", \"Litentry & SORA Quiz Attendee\", or \"Litentry & SORA Quiz Master\"", "type": "object", diff --git a/dist/schemas/15-uniswap-v2-v3-user/latest.json b/dist/schemas/15-generic-discord-role/latest.json similarity index 100% rename from dist/schemas/15-uniswap-v2-v3-user/latest.json rename to dist/schemas/15-generic-discord-role/latest.json diff --git a/dist/schemas/17-bnb-domain-holding-amount/1-0-0.json b/dist/schemas/16-bnb-domain-holding-amount/1-0-0.json similarity index 98% rename from dist/schemas/17-bnb-domain-holding-amount/1-0-0.json rename to dist/schemas/16-bnb-domain-holding-amount/1-0-0.json index 33370bb..cb9df9c 100644 --- a/dist/schemas/17-bnb-domain-holding-amount/1-0-0.json +++ b/dist/schemas/16-bnb-domain-holding-amount/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/17-bnb-domain-holding-amount/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/16-bnb-domain-holding-amount/1-0-0.json", "title": "BNB domain holding amount.", "description": "The amount of .bnb domain you are holding", "type": "object", diff --git a/dist/schemas/16-generic-discord-role/latest.json b/dist/schemas/16-bnb-domain-holding-amount/latest.json similarity index 100% rename from dist/schemas/16-generic-discord-role/latest.json rename to dist/schemas/16-bnb-domain-holding-amount/latest.json diff --git a/dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.json b/dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.json similarity index 98% rename from dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.json rename to dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.json index ffe60d7..f7f6572 100644 --- a/dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.json +++ b/dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/1-0-0.json", "title": "BNB 3D/4D club domain holding amount.", "description": "The amount of .BNB 999/10k club domains you are holding", "type": "object", diff --git a/dist/schemas/17-bnb-domain-holding-amount/latest.json b/dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/latest.json similarity index 100% rename from dist/schemas/17-bnb-domain-holding-amount/latest.json rename to dist/schemas/17-bnb-3d-4d-club-domain-holding-amount/latest.json diff --git a/dist/schemas/19-token-holding-amount/1-0-0.json b/dist/schemas/18-token-holding-amount/1-0-0.json similarity index 99% rename from dist/schemas/19-token-holding-amount/1-0-0.json rename to dist/schemas/18-token-holding-amount/1-0-0.json index 5a44228..79ec549 100644 --- a/dist/schemas/19-token-holding-amount/1-0-0.json +++ b/dist/schemas/18-token-holding-amount/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/19-token-holding-amount/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/18-token-holding-amount/1-0-0.json", "title": "Token holding amount", "description": "The amount of a particular token you are holding", "type": "object", diff --git a/dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/latest.json b/dist/schemas/18-token-holding-amount/latest.json similarity index 100% rename from dist/schemas/18-bnb-3d-4d-club-domain-holding-amount/latest.json rename to dist/schemas/18-token-holding-amount/latest.json diff --git a/dist/schemas/20-weirdoghostgang-holder/1-0-0.json b/dist/schemas/19-weirdoghostgang-holder/1-0-0.json similarity index 98% rename from dist/schemas/20-weirdoghostgang-holder/1-0-0.json rename to dist/schemas/19-weirdoghostgang-holder/1-0-0.json index 2bf2806..1eac756 100644 --- a/dist/schemas/20-weirdoghostgang-holder/1-0-0.json +++ b/dist/schemas/19-weirdoghostgang-holder/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/20-weirdoghostgang-holder/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/19-weirdoghostgang-holder/1-0-0.json", "title": "WeirdoGhostGang Holder", "description": "You are WeirdoGhostGang NFT holder", "type": "object", diff --git a/dist/schemas/19-token-holding-amount/latest.json b/dist/schemas/19-weirdoghostgang-holder/latest.json similarity index 100% rename from dist/schemas/19-token-holding-amount/latest.json rename to dist/schemas/19-weirdoghostgang-holder/latest.json diff --git a/dist/schemas/21-vip3-card-holder/1-0-0.json b/dist/schemas/20-vip3-card-holder/1-0-0.json similarity index 98% rename from dist/schemas/21-vip3-card-holder/1-0-0.json rename to dist/schemas/20-vip3-card-holder/1-0-0.json index 7af8058..5e679a1 100644 --- a/dist/schemas/21-vip3-card-holder/1-0-0.json +++ b/dist/schemas/20-vip3-card-holder/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/21-vip3-card-holder/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/20-vip3-card-holder/1-0-0.json", "title": "VIP3 Gold/ Silver Card Holder", "description": "You are VIP3 Gold/ Silver Card Holder", "type": "object", diff --git a/dist/schemas/20-weirdoghostgang-holder/latest.json b/dist/schemas/20-vip3-card-holder/latest.json similarity index 100% rename from dist/schemas/20-weirdoghostgang-holder/latest.json rename to dist/schemas/20-vip3-card-holder/latest.json diff --git a/dist/schemas/22-token-holding-amount-list/1-0-0.json b/dist/schemas/21-token-holding-amount-list/1-0-0.json similarity index 98% rename from dist/schemas/22-token-holding-amount-list/1-0-0.json rename to dist/schemas/21-token-holding-amount-list/1-0-0.json index fc803f1..5945e28 100644 --- a/dist/schemas/22-token-holding-amount-list/1-0-0.json +++ b/dist/schemas/21-token-holding-amount-list/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/22-token-holding-amount-list/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/21-token-holding-amount-list/1-0-0.json", "title": "Token holding amount list", "description": "The amount of a particular token you are holding", "type": "object", diff --git a/dist/schemas/21-vip3-card-holder/latest.json b/dist/schemas/21-token-holding-amount-list/latest.json similarity index 100% rename from dist/schemas/21-vip3-card-holder/latest.json rename to dist/schemas/21-token-holding-amount-list/latest.json diff --git a/dist/schemas/23-evm-holding-amount/1-0-0.json b/dist/schemas/22-evm-holding-amount/1-0-0.json similarity index 99% rename from dist/schemas/23-evm-holding-amount/1-0-0.json rename to dist/schemas/22-evm-holding-amount/1-0-0.json index 4ec364f..62ecc1f 100644 --- a/dist/schemas/23-evm-holding-amount/1-0-0.json +++ b/dist/schemas/22-evm-holding-amount/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/23-evm-holding-amount/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/22-evm-holding-amount/1-0-0.json", "title": "Token holding amount", "description": "The amount of a particular token you are holding", "type": "object", diff --git a/dist/schemas/22-token-holding-amount-list/latest.json b/dist/schemas/22-evm-holding-amount/latest.json similarity index 100% rename from dist/schemas/22-token-holding-amount-list/latest.json rename to dist/schemas/22-evm-holding-amount/latest.json diff --git a/dist/schemas/24-mirror-contributor/1-0-0.json b/dist/schemas/23-mirror-contributor/1-0-0.json similarity index 98% rename from dist/schemas/24-mirror-contributor/1-0-0.json rename to dist/schemas/23-mirror-contributor/1-0-0.json index 6f9d563..2b9db9a 100644 --- a/dist/schemas/24-mirror-contributor/1-0-0.json +++ b/dist/schemas/23-mirror-contributor/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/24-mirror-contributor/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/23-mirror-contributor/1-0-0.json", "title": "Mirror Contributor", "description": "You are a publisher on Mirror / You have published a certain amount of posts on Mirror", "type": "object", diff --git a/dist/schemas/23-evm-holding-amount/latest.json b/dist/schemas/23-mirror-contributor/latest.json similarity index 100% rename from dist/schemas/23-evm-holding-amount/latest.json rename to dist/schemas/23-mirror-contributor/latest.json diff --git a/dist/schemas/25-crypto-summary/1-0-0.json b/dist/schemas/24-crypto-summary/1-0-0.json similarity index 99% rename from dist/schemas/25-crypto-summary/1-0-0.json rename to dist/schemas/24-crypto-summary/1-0-0.json index e3e026e..6f65551 100644 --- a/dist/schemas/25-crypto-summary/1-0-0.json +++ b/dist/schemas/24-crypto-summary/1-0-0.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/25-crypto-summary/1-0-0.json", + "$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/24-crypto-summary/1-0-0.json", "title": "IDHub Crypto Summary", "description": "Generate a summary of your on-chain identity", "type": "object", diff --git a/dist/schemas/24-mirror-contributor/latest.json b/dist/schemas/24-crypto-summary/latest.json similarity index 100% rename from dist/schemas/24-mirror-contributor/latest.json rename to dist/schemas/24-crypto-summary/latest.json diff --git a/dist/schemas/25-crypto-summary/latest.json b/dist/schemas/25-crypto-summary/latest.json deleted file mode 120000 index 766daa7..0000000 --- a/dist/schemas/25-crypto-summary/latest.json +++ /dev/null @@ -1 +0,0 @@ -1-0-0.json \ No newline at end of file