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
It's likely that this issue happens in other places of the beacon v2 models as well, as I recall having validation problems with quantity object when I was transforming CINECA's synthetic data for the RI.
If this is actually an error/problem (is it???) one possible (ad hoc) solution could be changing oneOf for anyOf, but it sounds very drastic to me.
The text was updated successfully, but these errors were encountered:
This is part of an ongoing discussion that I've been having with @mbaudis.
When we validate this example data for
individuals
we get these errors:Meaning that we have a match in two of the options, when we should have a match in exactly one.
The error has been reproduced with other JSON schema validators (e.g., Python's
jsonchema
).Here I am showing a simplified version of what is happening:
Example schema:
Input:
{ bar : 'beacon' }
The example can be validated at https://www.jsonschemavalidator.net
It's likely that this issue happens in other places of the beacon v2 models as well, as I recall having validation problems with
quantity
object when I was transforming CINECA's synthetic data for the RI.If this is actually an error/problem (is it???) one possible (ad hoc) solution could be changing
oneOf
foranyOf
, but it sounds very drastic to me.The text was updated successfully, but these errors were encountered: