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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-24 13:49:36 +02:00
committed by Vladimír Gorej
parent 6bc26b9666
commit e27107a285
6 changed files with 89 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ import KeywordIf from "./components/keywords/If"
import KeywordThen from "./components/keywords/Then"
import KeywordElse from "./components/keywords/Else"
import KeywordDependentSchemas from "./components/keywords/DependentSchemas"
import KeywordPrefixItems from "./components/keywords/PrefixItems"
import KeywordType from "./components/keywords/Type/Type"
import KeywordFormat from "./components/keywords/Format/Format"
import KeywordTitle from "./components/keywords/Title/Title"
@@ -50,6 +51,7 @@ const JSONSchema202012Plugin = () => ({
JSONSchema202012KeywordThen: KeywordThen,
JSONSchema202012KeywordElse: KeywordElse,
JSONSchema202012KeywordDependentSchemas: KeywordDependentSchemas,
JSONSchema202012KeywordPrefixItems: KeywordPrefixItems,
JSONSchema202012KeywordProperties: KeywordProperties,
JSONSchema202012KeywordType: KeywordType,
JSONSchema202012KeywordFormat: KeywordFormat,