We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dialectIdentifier
1 parent 88f77b3 commit 54d366eCopy full SHA for 54d366e
src/2020-12.ts
@@ -1,3 +1,5 @@
1
+export const dialectIdentifier = 'https://json-schema.org/draft/2020-12/schema';
2
+
3
type CoreKeywords = {
4
$anchor?: string;
5
$comment?: string;
@@ -6,7 +8,7 @@ type CoreKeywords = {
6
8
$dynamicRef?: string;
7
9
$id?: string;
10
$ref?: string;
- $schema?: 'https://json-schema.org/draft/2020-12/schema';
11
+ $schema?: typeof dialectIdentifier;
12
$vocabulary?: { [uri: string]: boolean };
13
};
14
0 commit comments