Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 50efd51

Browse files
gregsdennisRelequestual
authored andcommitted
add note about compatibility violation
1 parent 9a170b4 commit 50efd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/posts/custom-annotations-will-continue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We also noted that we couldn't figure out what the scope of this keyword would b
4949

5050
This option defines a new Core keyword such as `$ignored` that would hold an array of the names of keywords to ignore. This would allow schema authors to explicitly define the keywords they wanted to use.
5151

52-
Like alternative #1, this has the problem that JSON Schema doesn't currently have the mechanisms to perform the kind of meta-schema validation that would be required, as well as the same scoping issues. It's also possible that a schema author could ignore a keyword that would later be added to the spec or some vocabulary, meaning that it _shouldn't_ be ignored, resulting in surprisingly wrong validations.
52+
Like alternative #1, this has the problem that JSON Schema doesn't currently have the mechanisms to perform the kind of meta-schema validation that would be required, as well as the same scoping issues. It's also possible that a schema author could ignore a keyword that would later be added to the spec or some vocabulary, meaning that it _shouldn't_ be ignored, resulting in surprisingly wrong validations and violates our compatibility requirements.
5353

5454
### Alternative #3 - Inlined vocabularies that define keywords
5555

0 commit comments

Comments
 (0)