Closed turbomam closed 1 year ago
“{float} {unit}”
string serialization is interpolation where the things in curly brackets are slots
full_name: string_serialization: “{given} {family}”
intent is to assemble/serialize a string from smaller value components
means that things with a full_name
must also have a given
value and a family
value
But we have erroneously put what should be MIxS structured patterns into string_serialization slots
structured pattern: intent is to validate (reuse of smaller validation components)
On course to make a PR which adds pattern
property to the slots in the NMDC schema generated from sheets_and_friends.
@sujaypatil96 @ssarrafan I see some good developments for this issue in #115, but I don't think I understand how to use it. I have added some discussion about this to the dh_testing README
Validation rules currently come from the validation_converter sheet and are processed by
sheets_and_friends/converters/linkml2dataharmonizer.py
That gets bypassed when we use DataHarmonizer's linkml-datastructure branch, which takes our
nmdc_dh.yaml
as inputsee also https://github.com/cidgoh/DataHarmonizer/issues/290