We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcfdb46 commit 393c3a7Copy full SHA for 393c3a7
1 file changed
src/Draft/Draft202012.php
@@ -93,7 +93,7 @@ public function __construct(
93
94
if ($assertFormat) {
95
/** @noinspection PhpUnhandledExceptionInspection */
96
- $this->enableVocabulary('https://json-schema.org/draft/2020-12/vocab/format-annotation');
+ $this->enableVocabulary('https://json-schema.org/draft/2020-12/vocab/format-assertion');
97
}
98
99
// Core
@@ -174,6 +174,6 @@ public function __construct(
174
public function assertFormat(): bool
175
{
176
177
- return $this->vocabularyEnabled('https://json-schema.org/draft/2020-12/vocab/format-annotation');
+ return $this->vocabularyEnabled('https://json-schema.org/draft/2020-12/vocab/format-assertion');
178
179
0 commit comments