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
I think JSONSchema oneOf means "if the data matches any one of these independent schemas, then allow it, else fail" in terms of validation. The LinkML definition of union_of implies that the data must match all of the members in the array. Am I reading this correctly?
The text was updated successfully, but these errors were encountered:
sierra-moxon
changed the title
jsonschema oneOf -> linkml:union_of (slightly different definitions)
jsonschema oneOf -> linkml:union_of (slightly different definitions?)
Oct 10, 2022
Running schema-automator import-json-schema.
JSONSchema has a "oneOf" definition:
schemauto -import-json-schema vrs.json
results in:https://linkml.io/linkml-model/docs/union_of/
indicates that the domain element consists exactly of the members of the element in the range.
I think JSONSchema oneOf means "if the data matches any one of these independent schemas, then allow it, else fail" in terms of validation. The LinkML definition of
union_of
implies that the data must match all of the members in the array. Am I reading this correctly?The text was updated successfully, but these errors were encountered: