Python package for the openMINDS metadata models. The package contains all openMINDS schemas as Python classes in addition to schema base classes and utility methods.
MIT License
1
stars
2
forks
source link
@type should not be given as a list [renamed from: to_jsonld()] #2
I'm testing the Python package and noticed the following for "to_jsonld()":
If @context with @vocab is set the properties do not have to (should not ?) identify the vocab.
Also @type should not be given as a list but as a string (turning it into a list is EBRAINS KG specific and not a requirement by JSONLD).
I'm testing the Python package and noticed the following for "to_jsonld()":
If
@context
with@vocab
is set the properties do not have to (should not ?) identify the vocab. Also@type
should not be given as a list but as a string (turning it into a list is EBRAINS KG specific and not a requirement by JSONLD).Example for a correct openMINDS JSONLD: