Skip to content

Commit

Permalink
Add 'anchor' and 'deprecated' as NonValidationKeywords for v2019-09 d…
Browse files Browse the repository at this point in the history
…raft
  • Loading branch information
anicolasgar committed Nov 23, 2020
1 parent 068a3e5 commit 967844f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/networknt/schema/JsonMetaSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ public static JsonMetaSchema getInstance() {
new NonValidationKeyword("default"),
new NonValidationKeyword("definitions"),
new NonValidationKeyword("$comment"),
new NonValidationKeyword("$defs"), // newly added in 2018-09 release.
new NonValidationKeyword("$defs"), // newly added in 2019-09 release.
new NonValidationKeyword("$anchor"),
new NonValidationKeyword("deprecated"),
new NonValidationKeyword("contentMediaType"),
new NonValidationKeyword("contentEncoding"),
new NonValidationKeyword("examples")
Expand Down

0 comments on commit 967844f

Please sign in to comment.