pydantic2link has the complains about not able to generate some slot usage entries in generation of some class definitions
such as in the translation of the Dandiset class
Stats of such complains
Total: 54 count
Ones about the schemaKey usage slots at different class defintions: 41 counts
Cause
pydantic2link unable to generate the usage slot cause by the fact that LinkML schema are monotonic. Restrictions from a slot usage definition are only additive and can not override the restrictions in the corresponding slot definition.
TODOs:
pydantic2link has the complains about not able to generate some slot usage entries in generation of some class definitions
such as in the translation of the
DandisetclassStats of such complains
Total: 54 count
Ones about the
schemaKeyusage slots at different class defintions: 41 countsCause
pydantic2link unable to generate the usage slot cause by the fact that LinkML schema are monotonic. Restrictions from a slot usage definition are only additive and can not override the restrictions in the corresponding slot definition.
TODOs:
schemaKeyshould be able to be handled the same way (do these first)schemaKeyslot be a type designator (using the _merge.yaml)ifabsentvalue in theschemaKeyslot (this value is not relevant in a type designator; using the he _merge.yaml))Impossible to generate slot usage entry for the SchemaKeyappended by pydantic2linkmlschemaKeyrequired (using the_merge.yaml). Doing this ensure new data coming in have theschemaKeyfield._merge.yamlwas merged "first" while processing subclasses, and if default value differs from the class name - we wanted to addnotes:about that divergence_merge.yamlfile those notes for all those classes where we overloadschemaKeywith the value that is not the same as class namePublishedDandisetand so onPublishedDandiset)