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
I'm not sure this is correct. Why should the top level object be classified as an object? Its relation to the ParentObject is that the value of key "parent" is ParentObject, but that doesn't indicate that the top level object in this case is an object in itself. Is there something in the JSON schema spec that says otherwise?
Indeed, adding "type": "object" to the top level object fixes it, and from my (maybe incomplete) understanding, I think that is expected behavior.
Take the following JSON Schema
We would expect this to inherit the
object
type fromParentObject
but instead on inputwe get
Exception: Unsupported type None
. To fix we have to declare an an object type directly.The text was updated successfully, but these errors were encountered: