Class: CreditMetadataEntry
Container for an instance of credit metadata; includes the credit metadata itself and metadata for the credit metadata, including the schema version used, who submitted it, and the date of submission. When the credit metadata for a resource is added or updated, a new CreditMetadataEntry is created to store the information.
URI: kbcms:CreditMetadataEntry
classDiagram
class CreditMetadataEntry
CreditMetadataEntry : credit_metadata
CreditMetadataEntry --|> CreditMetadata : credit_metadata
CreditMetadataEntry : credit_metadata_schema_version
CreditMetadataEntry : saved_by
CreditMetadataEntry : timestamp
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
credit_metadata | 1..1 CreditMetadata |
The credit metadata itself | direct |
credit_metadata_schema_version | 1..1 String |
The version of the credit metadata schema used | direct |
saved_by | 1..1 String |
KBase workspace ID of the user who added this entry | direct |
timestamp | 1..1 Integer |
Unix timestamp for the addition of this set of credit metadata | direct |
Identifier and Mapping Information
Schema Source
- from schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
Mappings
Mapping Type | Mapped Value |
---|---|
self | kbcms:CreditMetadataEntry |
native | kbcms:CreditMetadataEntry |
LinkML Source
Direct
name: CreditMetadataEntry
description: Container for an instance of credit metadata; includes the credit metadata
itself and metadata for the credit metadata, including the schema version used,
who submitted it, and the date of submission. When the credit metadata for a resource
is added or updated, a new CreditMetadataEntry is created to store the information.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
attributes:
credit_metadata:
name: credit_metadata
description: The credit metadata itself.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:dataset
range: CreditMetadata
required: true
credit_metadata_schema_version:
name: credit_metadata_schema_version
description: The version of the credit metadata schema used.
examples:
- value: 1.1.0
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:schemaVersion
required: true
saved_by:
name: saved_by
description: KBase workspace ID of the user who added this entry.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:sdPublisher
required: true
timestamp:
name: timestamp
description: Unix timestamp for the addition of this set of credit metadata.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:sdDatePublished
range: integer
required: true
tree_root: true
Induced
name: CreditMetadataEntry
description: Container for an instance of credit metadata; includes the credit metadata
itself and metadata for the credit metadata, including the schema version used,
who submitted it, and the date of submission. When the credit metadata for a resource
is added or updated, a new CreditMetadataEntry is created to store the information.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
attributes:
credit_metadata:
name: credit_metadata
description: The credit metadata itself.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:dataset
alias: credit_metadata
owner: CreditMetadataEntry
domain_of:
- CreditMetadataEntry
range: CreditMetadata
required: true
credit_metadata_schema_version:
name: credit_metadata_schema_version
description: The version of the credit metadata schema used.
examples:
- value: 1.1.0
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:schemaVersion
alias: credit_metadata_schema_version
owner: CreditMetadataEntry
domain_of:
- CreditMetadataEntry
range: string
required: true
saved_by:
name: saved_by
description: KBase workspace ID of the user who added this entry.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:sdPublisher
alias: saved_by
owner: CreditMetadataEntry
domain_of:
- CreditMetadataEntry
range: string
required: true
timestamp:
name: timestamp
description: Unix timestamp for the addition of this set of credit metadata.
from_schema: https://github.com/kbase/credit_engine/schema/kbase/linkml
rank: 1000
slot_uri: schema:sdDatePublished
alias: timestamp
owner: CreditMetadataEntry
domain_of:
- CreditMetadataEntry
range: integer
required: true
tree_root: true