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
JADN 1.0 type options include minv and maxv, which are "Minimum(/Maximum) integer value, octet or character count, or element count."
This means that Integer/Number have a minimum/maximum value, but Binary/String have a min/max length specified by the same option. Fixing this so that a string can have both value range and/or length range is necessary both conceptually and for compatibility with XSD, but will require changes to existing schemas similar to changing unlimited-size arrays from [0 to [-1.
Heads up JADN 2.0 will have a new option to replace minv/maxv, with new names minInclusive/maxInclusive, with IDs "(" and ")" that are unused in 1.0, and any schema with a value range on Integer or Number will need to be updated.
The text was updated successfully, but these errors were encountered:
JADN 1.0 type options include
minv
andmaxv
, which are "Minimum(/Maximum) integer value, octet or character count, or element count."This means that Integer/Number have a minimum/maximum value, but Binary/String have a min/max length specified by the same option. Fixing this so that a string can have both value range and/or length range is necessary both conceptually and for compatibility with XSD, but will require changes to existing schemas similar to changing unlimited-size arrays from [0 to [-1.
Heads up JADN 2.0 will have a new option to replace minv/maxv, with new names minInclusive/maxInclusive, with IDs "(" and ")" that are unused in 1.0, and any schema with a value range on Integer or Number will need to be updated.
The text was updated successfully, but these errors were encountered: