Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nft-holder): move index to 26 #23

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/25-nft-holder/1-0-0.json",
"$id": "https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/26-nft-holder/1-0-0.json",
"title": "Generic NFT Holder",
"description": "You are a holder of a certain kind of NFT",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-nft-holder/*.json');
const jsonFiles = glob('examples/26-nft-holder/*.json');

describe('25-nft-holder/1-0-0', () => {
describe('26-nft-holder/1-0-0', () => {
it.each(jsonFiles)('should work for %s', (example) => {
const validate = ajv.compile(schema);

Expand All @@ -20,3 +20,4 @@ describe('25-nft-holder/1-0-0', () => {
expect(valid).toBeTruthy();
});
});
('');
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { credentialSubject, assertion } from '../schema-helpers';
export const schema: JSONSchema7 = {
...base,

$id: resolveGitHubPath('25-nft-holder/1-0-0.json'),
$id: resolveGitHubPath('26-nft-holder/1-0-0.json'),

title: 'Generic NFT Holder',
description: 'You are a holder of a certain kind of NFT',
Expand Down
Loading