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
In this shape it doesn't clearly tell me which branch (with which condition) I am looking at. All it tells me is that this is a property in a branch when the (unknown) condition evaluates to true (because the keyword then is shown and not else).
In order to understand the full picture, I probably need to click on item 0, locate the If (condition) block, memorize the condition and then go back here.
It would be much more informative to reflect the condition directly in the breadcrumb. For example, either as:
Property root > allOf > If (condition) > then > myproperty_a
Breadcrumbs is a fantastic feature and a life-saver in big schemas. However, they badly fulfil their purpose with conditional schema composition.
For example, consider the following breadcrumb:
Property
root > allOf > item 0 > then > myproperty_a
In this shape it doesn't clearly tell me which branch (with which condition) I am looking at. All it tells me is that this is a property in a branch when the (unknown) condition evaluates to
true
(because the keywordthen
is shown and notelse
).In order to understand the full picture, I probably need to click on
item 0
, locate theIf (condition)
block, memorize the condition and then go back here.It would be much more informative to reflect the condition directly in the breadcrumb. For example, either as:
Property
root > allOf > If (condition) > then > myproperty_a
Property
root > allOf > If (condition) > else > myproperty_b
or
Property
root > allOf > (condition) > myproperty_a
Property
root > allOf > Not (condition) > myproperty_b
The text was updated successfully, but these errors were encountered: