feat(json-schema-2020-12): add support for contentSchema keyword (#8645)

Refs #8513
This commit is contained in:
Vladimír Gorej
2023-05-10 14:37:20 +02:00
committed by GitHub
parent 92088183c3
commit f549a1d610
6 changed files with 47 additions and 1 deletions

View File

@@ -161,7 +161,8 @@ export const isExpandable = (schema) => {
fn.hasKeyword(schema, "unevaluatedProperties") ||
schema?.description ||
schema?.enum ||
fn.hasKeyword(schema, "const")
fn.hasKeyword(schema, "const") ||
fn.hasKeyword(schema, "contentSchema")
)
}