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
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
I am totally in for a representation, we all agree on.
Having the String-typed "value" is just the result of the implementation process. The code itself was prepared to accept more than just the single field but in the end everything was expressible by this one field.
In JSON-schema land, the only type that is followed by a mandatory properties tree is the "type": "object".
I don't really follow what the example in the original post is meant to be, but in a larger example you gave me yesterday @michael-simons, I'd see the JSON-schema approach something like
Maybe rethink it again and go with something like here https://json-schema.org/understanding-json-schema/structuring.html#id
Might leave a better wiggle room for everything not representable as a single string.
cc @meistermeier
Thanks @oskarhane for the link
The text was updated successfully, but these errors were encountered: