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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-25 07:52:53 +02:00
committed by Vladimír Gorej
parent 64ee5fa639
commit 7f9ac83f16
7 changed files with 45 additions and 1 deletions

View File

@@ -156,6 +156,7 @@ export const isExpandable = (schema) => {
schema?.properties ||
schema?.patternProperties ||
fn.hasKeyword(schema, "additionalProperties") ||
fn.hasKeyword(schema, "propertyNames") ||
schema?.description
)
}