Closed rosibaj closed 3 years ago
Tested updates using dictionary version 102.3
on QA. Was able to successfully migrate dictionary where the pack_years_smoked
field is associated with a script. Details regarding validation in PR https://github.com/icgc-argo/argo-dictionary/pull/294
@Buwujiu can i please get a version on this ticket?
confirmed on migration to dictionary 1.10
Looking at the metaschema, lectern currently
will not
accept a schema/dictionary that hasrestriction.script
forvalueType
number
orinteger
because its metaschema doesn't allow it:However, because
integerRestrictions
doesn't haveadditionalProperties: false
, default must be true which allowed submitting integer with script restriction which in itself is a bug. @hknahal and @rosibaj have been able to submit integer scripts based on this bug.Expected Behaviour
integer
,number
, andboolean
field types.