Skip to content

Commit

Permalink
feat: export dialectIdentifier constant
Browse files Browse the repository at this point in the history
  • Loading branch information
flaksp committed Jan 13, 2022
1 parent 88f77b3 commit 54d366e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/2020-12.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dialectIdentifier = 'https://json-schema.org/draft/2020-12/schema';

type CoreKeywords = {
$anchor?: string;
$comment?: string;
Expand All @@ -6,7 +8,7 @@ type CoreKeywords = {
$dynamicRef?: string;
$id?: string;
$ref?: string;
$schema?: 'https://json-schema.org/draft/2020-12/schema';
$schema?: typeof dialectIdentifier;
$vocabulary?: { [uri: string]: boolean };
};

Expand Down

0 comments on commit 54d366e

Please sign in to comment.