Repository navigation
Release v4.29.0
Added
Property.schemaKeywordsandProperty.itemSchemaKeywordscarry the standard JSON Schema keywords the schema editor does not model, for the property and for its arrayitems. Hosts that own the properties in the tree layout carry them through likevendorKeywords. (#426)
Fixed
-
The tree layout of
SchemaEditorno longer loses schema details when a schema is edited. A property the user did not change is written back exactly as it was read, including:- annotations such as
title,descriptionanddeprecated default,enum,constandexamples- string, number, array and object constraints
integerand nullable type arraysformatvalues other thandateandtime$refand composition keywords- array
itemsin every form - the order of keys and of
required
(#426)
- annotations such as
-
Changing a property's type in either layout now drops only the keywords that no longer apply to the new type: annotations stay, and constraints stay when the new type belongs to the same family. Before, the tree layout dropped everything and the table layout left constraints from the old type behind. (#426)