Source code for fairgraph.openminds.core.actors.contribution

"""
Structured information on the contribution made to a research product.
"""

# this file was auto-generated

from datetime import date, datetime
from fairgraph.base_v3 import EmbeddedMetadata, IRI
from fairgraph.fields import Field




[docs]class Contribution(EmbeddedMetadata): """ Structured information on the contribution made to a research product. """ type = ["https://openminds.ebrains.eu/core/Contribution"] context = { "schema": "http://schema.org/", "kg": "https://kg.ebrains.eu/api/instances/", "vocab": "https://openminds.ebrains.eu/vocab/", "terms": "https://openminds.ebrains.eu/controlledTerms/", "core": "https://openminds.ebrains.eu/core/" } fields = [ Field("contribution_types", "openminds.controlledterms.ContributionType", "vocab:contributionType", multiple=True, required=True, doc="Distinct class of what was given or supplied as a part or share."), Field("contributor", ["openminds.core.Organization", "openminds.core.Person"], "vocab:contributor", multiple=False, required=True, doc="Legal person that gave or supplied something as a part or share."), ]