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
This would be a great feature to have for cases where, e.g., a data set will have a type, and this type only allows for a certain subset of keys to be used.
In this (arguably not very clever) example, cars can have doors, so can vanettes. motorcycles cannot have doors, but can have handles made from a specific material. Both the other vehicle types cannot have handles, but all vehicles can have wheels, etc.
This feature would allow for much stricter schemas to be implemented and validated, and I think would be of great use to many users.
The text was updated successfully, but these errors were encountered:
@sdruskat I do see the potential of this but i am afraid it will be a major feature and not sure when i can put the time in to finish developing it tho. I probably want it in, but can't make any promises on when.
Rx knows
any.of
for subschemas, and feature request #10 on the Kwalify sourceforge suggests an implementation.This would be a great feature to have for cases where, e.g., a data set will have a type, and this type only allows for a certain subset of keys to be used.
In this (arguably not very clever) example,
car
s can havedoors
, so canvanette
s.motorcycles
cannot havedoors
, but can havehandle
s made from a specific material. Both the other vehicle types cannot havehandle
s, but all vehicles can havewheels
, etc.This feature would allow for much stricter schemas to be implemented and validated, and I think would be of great use to many users.
The text was updated successfully, but these errors were encountered: