You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON Schema provides functionality to mimic composition and inheritance - read here & here.
Currently we have relatively simplistic support for this by merging the properties values when the object has bothproperties and either oneOf or allOf.
I want to create this issue to track implementations of the various method described in the link above. I implemented a handling a part of this in #14, but I don't think this provides the exact semantics, as it uses an intersection type, but I think it should be using object type spread.
Things we need to test:
allOf with $ref and properties
oneOf with $ref and properties
anyOf with $ref and properties
oneOf with nested properties
anyOf with nested properties
The text was updated successfully, but these errors were encountered:
JSON Schema provides functionality to mimic composition and inheritance - read here & here.
Currently we have relatively simplistic support for this by merging the
properties
values when the object has bothproperties
and eitheroneOf
orallOf
.I want to create this issue to track implementations of the various method described in the link above. I implemented a handling a part of this in #14, but I don't think this provides the exact semantics, as it uses an intersection type, but I think it should be using object type spread.
Things we need to test:
allOf
with$ref
andproperties
oneOf
with$ref
andproperties
anyOf
with$ref
andproperties
oneOf
with nestedproperties
anyOf
with nestedproperties
The text was updated successfully, but these errors were encountered: