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
Currently, if an attribute does not define collection: true, lutaml-model accepts all 3 cases:
0 occurrences
1 occurrence
N occurrences
However, collection: true means 0..*, and collection: false (default) means 0..1. Right now, the default of 0..1 does not raise any error if there are more than 1 occurrence.
When the XML/JSON does not fit this model definition, it should raise an error.
The text was updated successfully, but these errors were encountered:
From:
Currently, if an attribute does not define
collection: true
, lutaml-model accepts all 3 cases:However,
collection: true
means0..*
, andcollection: false
(default) means0..1
. Right now, the default of0..1
does not raise any error if there are more than 1 occurrence.When the XML/JSON does not fit this model definition, it should raise an error.
The text was updated successfully, but these errors were encountered: