Skip to content

Commit

Permalink
Add NonValidationKeyword "else" on 201909 and 202012 (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutalex88 committed Jul 18, 2022
1 parent f83e386 commit 61ed6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/networknt/schema/Version201909.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ JsonMetaSchema getInstance() {
new NonValidationKeyword("contentMediaType"),
new NonValidationKeyword("contentEncoding"),
new NonValidationKeyword("examples"),
new NonValidationKeyword("then")
new NonValidationKeyword("then"),
new NonValidationKeyword("else")
))
.build();
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/networknt/schema/Version202012.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ JsonMetaSchema getInstance() {
new NonValidationKeyword("contentEncoding"),
new NonValidationKeyword("examples"),
new NonValidationKeyword("then"),
new NonValidationKeyword("else"),
new NonValidationKeyword("unevaluatedItems")
))
.build();
Expand Down

0 comments on commit 61ed6df

Please sign in to comment.