Skip to content

Class: CreditMetadata

Represents the credit metadata associated with an object.

__

In the following documentation, 'resource' is used to refer to the object

that the CM pertains to, for example, a KBase Workspace object; a

sample from NMDC or ESS-DIVE; sequence data from IMG.

__

The 'resource_type' field should be filled using values from the [DataCite

resourceTypeGeneral field](https://support.datacite.org/docs/datacite-metadata-schema-v44-mandatory-properties#10a-resourcetypegeneral).

__

Currently this schema only supports credit metadata for objects of type

'dataset'; anything else will return an error.

__

The license may be supplied either as an URL pointing to licensing information for

the resource, or using an SPDX license identifier from the list maintained at https://spdx.org/licenses/.

__

Required fields are:

- identifier

- resource_type

- versioning information: if the resource does not have an explicit version number,

one or more dates should be supplied: ideally the date of resource publication and

the last update (if applicable).

- contributors (one or more required)

- titles (one or more required)

- meta

__

The resource_type field is required, but as there is currently only a single valid

value, 'dataset', it is automatically populated if no value is supplied.

__

URI: dcm:CreditMetadata

Slots

Name Cardinality and Range Description Inheritance
comment *
String
List of strings of freeform text providing extra information about this credi... direct
content_url *
Uri
The URL of the content of the resource direct
contributors 1..*
Contributor
A list of people and/or organizations who contributed to the resource direct
dates *
EventDate
A list of relevant lifecycle events for the resource direct
descriptions *
Description
A brief description or abstract for the resource being represented direct
funding *
FundingReference
Funding sources for the resource direct
identifier 1
Uriorcurie
Resolvable persistent unique identifier for the resource direct
license 0..1
License
Usage license for the resource direct
meta 1
Metadata
Metadata for this credit information, including submitter, schema version, an... direct
publisher 0..1
Organization
The publisher of the resource direct
related_identifiers *
PermanentID
Other resolvable persistent unique IDs related to the resource direct
resource_type 1
ResourceType
The broad type of the source data for this object direct
titles 1..*
Title
One or more titles for the resource direct
url 0..1
Uri
The URL of the resource direct
version 0..1
String
The version of the resource direct

Identifier and Mapping Information

Schema Source

  • from schema: https://kbase.github.io/credit_engine/linkml/credit_metadata

Mappings

Mapping Type Mapped Value
self dcm:CreditMetadata
native dcm:CreditMetadata

LinkML Source

Direct

name: CreditMetadata
description: 'Represents the credit metadata associated with an object.


  In the following documentation, ''resource'' is used to refer to the object

  that the CM pertains to, for example, a KBase Workspace object; a

  sample from NMDC or ESS-DIVE; sequence data from IMG.


  The ''resource_type'' field should be filled using values from the [DataCite

  resourceTypeGeneral field](https://support.datacite.org/docs/datacite-metadata-schema-v44-mandatory-properties#10a-resourcetypegeneral).


  Currently this schema only supports credit metadata for objects of type

  ''dataset''; anything else will return an error.


  The license may be supplied either as an URL pointing to licensing information for

  the resource, or using an SPDX license identifier from the list maintained at https://spdx.org/licenses/.


  Required fields are:

  - identifier

  - resource_type

  - versioning information: if the resource does not have an explicit version number,

  one or more dates should be supplied: ideally the date of resource publication and

  the last update (if applicable).

  - contributors (one or more required)

  - titles (one or more required)

  - meta


  The resource_type field is required, but as there is currently only a single valid

  value, ''dataset'', it is automatically populated if no value is supplied.

  '
from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
attributes:
  comment:
    name: comment
    description: List of strings of freeform text providing extra information about
      this credit metadata.
    examples:
    - value: This comment adds a lot of extra value!
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:comment
    domain_of:
    - CreditMetadata
    multivalued: true
  content_url:
    name: content_url
    description: The URL of the content of the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    range: uri
    multivalued: true
  contributors:
    name: contributors
    description: A list of people and/or organizations who contributed to the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:creator
    domain_of:
    - CreditMetadata
    range: Contributor
    required: true
    multivalued: true
  dates:
    name: dates
    description: A list of relevant lifecycle events for the resource. Note that these
      dates apply only to the resource itself, and not to the creation or update of
      the credit metadata record for the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    range: EventDate
    multivalued: true
    inlined: true
    inlined_as_list: true
  descriptions:
    name: descriptions
    description: A brief description or abstract for the resource being represented.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:description
    domain_of:
    - CreditMetadata
    range: Description
    multivalued: true
    inlined: true
    inlined_as_list: true
  funding:
    name: funding
    description: Funding sources for the resource.
    todos:
    - Should funding info be duplicated in the related_identifiers field?
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:funding
    domain_of:
    - CreditMetadata
    range: FundingReference
    multivalued: true
    inlined: true
    inlined_as_list: true
  identifier:
    name: identifier
    description: Resolvable persistent unique identifier for the resource. Should
      be in the format <database name>:<identifier within database>.
    comments:
    - can generate schema:url from the identifier
    examples:
    - value: RefSeq:GCF_004214875.1
    - value: GenBank:CP035949.1
    - value: img.taxon:648028003
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    domain_of:
    - CreditMetadata
    range: uriorcurie
    required: true
    pattern: ^[a-zA-Z0-9.-_]+:\S
  license:
    name: license
    description: 'Usage license for the resource. Use one of the SPDX license identifiers
      or provide a link to the license text if no SPDX ID is available.

      '
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    exact_mappings:
    - biolink:license
    rank: 1000
    slot_uri: schema:license
    domain_of:
    - CreditMetadata
    range: License
  meta:
    name: meta
    description: Metadata for this credit information, including submitter, schema
      version, and timestamp.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    range: Metadata
    required: true
  publisher:
    name: publisher
    description: The publisher of the resource. For a dataset, this is the repository
      where it is stored.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:provider
    domain_of:
    - CreditMetadata
    range: Organization
  related_identifiers:
    name: related_identifiers
    description: Other resolvable persistent unique IDs related to the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    range: PermanentID
    multivalued: true
    inlined: true
    inlined_as_list: true
  resource_type:
    name: resource_type
    description: The broad type of the source data for this object. 'dataset' is currently
      the only valid value supported by this schema.
    examples:
    - value: dataset
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:@type
    domain_of:
    - CreditMetadata
    range: ResourceType
    required: true
  titles:
    name: titles
    description: One or more titles for the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    range: Title
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
  url:
    name: url
    description: The URL of the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    domain_of:
    - CreditMetadata
    - License
    range: uri
  version:
    name: version
    description: The version of the resource. This must be an absolute version, not
      a relative version like 'latest'.
    examples:
    - value: '5'
    - value: 1.2.1
    - value: '20220405'
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    exact_mappings:
    - DataCite:attributes.version
    rank: 1000
    slot_uri: schema:version
    domain_of:
    - CreditMetadata
tree_root: true
any_of:
- slot_conditions:
    dates:
      name: dates
      required: true
- slot_conditions:
    version:
      name: version
      required: true

Induced

name: CreditMetadata
description: 'Represents the credit metadata associated with an object.


  In the following documentation, ''resource'' is used to refer to the object

  that the CM pertains to, for example, a KBase Workspace object; a

  sample from NMDC or ESS-DIVE; sequence data from IMG.


  The ''resource_type'' field should be filled using values from the [DataCite

  resourceTypeGeneral field](https://support.datacite.org/docs/datacite-metadata-schema-v44-mandatory-properties#10a-resourcetypegeneral).


  Currently this schema only supports credit metadata for objects of type

  ''dataset''; anything else will return an error.


  The license may be supplied either as an URL pointing to licensing information for

  the resource, or using an SPDX license identifier from the list maintained at https://spdx.org/licenses/.


  Required fields are:

  - identifier

  - resource_type

  - versioning information: if the resource does not have an explicit version number,

  one or more dates should be supplied: ideally the date of resource publication and

  the last update (if applicable).

  - contributors (one or more required)

  - titles (one or more required)

  - meta


  The resource_type field is required, but as there is currently only a single valid

  value, ''dataset'', it is automatically populated if no value is supplied.

  '
from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
attributes:
  comment:
    name: comment
    description: List of strings of freeform text providing extra information about
      this credit metadata.
    examples:
    - value: This comment adds a lot of extra value!
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:comment
    alias: comment
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: string
    multivalued: true
  content_url:
    name: content_url
    description: The URL of the content of the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: content_url
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: uri
    multivalued: true
  contributors:
    name: contributors
    description: A list of people and/or organizations who contributed to the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:creator
    alias: contributors
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: Contributor
    required: true
    multivalued: true
  dates:
    name: dates
    description: A list of relevant lifecycle events for the resource. Note that these
      dates apply only to the resource itself, and not to the creation or update of
      the credit metadata record for the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: dates
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: EventDate
    multivalued: true
    inlined_as_list: true
  descriptions:
    name: descriptions
    description: A brief description or abstract for the resource being represented.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:description
    alias: descriptions
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: Description
    multivalued: true
    inlined_as_list: true
  funding:
    name: funding
    description: Funding sources for the resource.
    todos:
    - Should funding info be duplicated in the related_identifiers field?
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:funding
    alias: funding
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: FundingReference
    multivalued: true
    inlined_as_list: true
  identifier:
    name: identifier
    description: Resolvable persistent unique identifier for the resource. Should
      be in the format <database name>:<identifier within database>.
    comments:
    - can generate schema:url from the identifier
    examples:
    - value: RefSeq:GCF_004214875.1
    - value: GenBank:CP035949.1
    - value: img.taxon:648028003
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: identifier
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: uriorcurie
    required: true
    pattern: ^[a-zA-Z0-9.-_]+:\S
  license:
    name: license
    description: 'Usage license for the resource. Use one of the SPDX license identifiers
      or provide a link to the license text if no SPDX ID is available.

      '
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    exact_mappings:
    - biolink:license
    rank: 1000
    slot_uri: schema:license
    alias: license
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: License
  meta:
    name: meta
    description: Metadata for this credit information, including submitter, schema
      version, and timestamp.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: meta
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: Metadata
    required: true
  publisher:
    name: publisher
    description: The publisher of the resource. For a dataset, this is the repository
      where it is stored.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:provider
    alias: publisher
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: Organization
  related_identifiers:
    name: related_identifiers
    description: Other resolvable persistent unique IDs related to the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: related_identifiers
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: PermanentID
    multivalued: true
    inlined_as_list: true
  resource_type:
    name: resource_type
    description: The broad type of the source data for this object. 'dataset' is currently
      the only valid value supported by this schema.
    examples:
    - value: dataset
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    slot_uri: schema:@type
    alias: resource_type
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: ResourceType
    required: true
  titles:
    name: titles
    description: One or more titles for the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: titles
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: Title
    required: true
    multivalued: true
    inlined_as_list: true
  url:
    name: url
    description: The URL of the resource.
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    rank: 1000
    alias: url
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    - License
    range: uri
  version:
    name: version
    description: The version of the resource. This must be an absolute version, not
      a relative version like 'latest'.
    examples:
    - value: '5'
    - value: 1.2.1
    - value: '20220405'
    from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
    exact_mappings:
    - DataCite:attributes.version
    rank: 1000
    slot_uri: schema:version
    alias: version
    owner: CreditMetadata
    domain_of:
    - CreditMetadata
    range: string
tree_root: true
any_of:
- slot_conditions:
    dates:
      name: dates
      required: true
- slot_conditions:
    version:
      name: version
      required: true