feat(json-schema-2020-12): add support for if keyword

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-21 13:10:09 +02:00
committed by Vladimír Gorej
parent bf21a4ce3e
commit dea5dbb10e
8 changed files with 50 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import KeywordAllOf from "./components/keywords/AllOf/AllOf"
import KeywordAnyOf from "./components/keywords/AnyOf/AnyOf"
import KeywordOneOf from "./components/keywords/OneOf/OneOf"
import KeywordNot from "./components/keywords/Not/Not"
import KeywordIf from "./components/keywords/If/If"
import KeywordType from "./components/keywords/Type/Type"
import KeywordFormat from "./components/keywords/Format/Format"
import KeywordTitle from "./components/keywords/Title/Title"
@@ -42,6 +43,7 @@ const JSONSchema202012Plugin = () => ({
JSONSchema202012KeywordAnyOf: KeywordAnyOf,
JSONSchema202012KeywordOneOf: KeywordOneOf,
JSONSchema202012KeywordNot: KeywordNot,
JSONSchema202012KeywordIf: KeywordIf,
JSONSchema202012KeywordProperties: KeywordProperties,
JSONSchema202012KeywordType: KeywordType,
JSONSchema202012KeywordFormat: KeywordFormat,