specifications icon indicating copy to clipboard operation
specifications copied to clipboard

MolecularEntity profile missing subjectOf inherited from Thing

Open sneumann opened this issue 1 year ago • 3 comments

Hi, validating a MolecularEntity I created I get an error in the validation with ElixirTeSS/bioschemas-validator:

Validating against profile MolecularEntity 0.5-RELEASE.json
...
These properties names are in the metadata but not in the Bioschemas profile:['subjectOf']

Indeed, subjectOf is in the type https://bioschemas.org/types/MolecularEntity/0.3-RELEASE-2019_09_02 but not in the profile https://bioschemas.org/profiles/MolecularEntity/0.5-RELEASE

=> Should it be there ? Or is the validation output correct and we don't want subjectOf in the profile ? Should we automagically slurp in everything from the parent type(s) and mark it optional in the profile ?

Yours, Steffen

sneumann avatar Sep 27 '22 10:09 sneumann