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
According to JSONSchema spec enum may be a list of any allowed type, so it may even be a list of objects/arrays. Currently enum check is performed just with value.include?(instance), so this will never validate successfully for a list of objects. Does the spec describe any way of validating this or may be there are any practical community discussions and approaches around it? I think it should be implemented some (may be custom if there's no approach to borrow) way.