Class: DateTimeValue
A date or date and time value.
URI: nmdc:DateTimeValue
classDiagram
class DateTimeValue
click DateTimeValue href "../DateTimeValue/"
AttributeValue <|-- DateTimeValue
click AttributeValue href "../AttributeValue/"
DateTimeValue : attribute_cv_id
DateTimeValue : attribute_cv_label
DateTimeValue : attribute_string
DateTimeValue : date_time
DateTimeValue : entity_id
DateTimeValue : raw_value
DateTimeValue : type
DateTimeValue --> "0..1" AttributeValueType : type
click AttributeValueType href "../AttributeValueType/"
Inheritance
- AttributeValue [ AttributeMixin EntityMixin]
- DateTimeValue
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
date_time | 1 Iso8601 |
A date or date and time, expressed in ISO 8601 format with timezone indicators where appropriate. The date or date/time value, expressed in ISO 8601-compatible form. Dates should be expressed as YYYY-MM-DD; times should be expressed as HH:MM:SS with optional milliseconds and an indication of the timezone. | direct |
raw_value | 0..1 String |
The value that was specified for an annotation in its raw form; e.g. "2 cm" or "2-4 cm" | AttributeValue |
type | 0..1 AttributeValueType |
The type of value being represented - e.g. QuantityValue, TextValue, DateTimeValue, ControlledVocabularyTermValue, etc. | AttributeValue |
attribute_cv_id | 0..1 LocalCurie |
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term ID from the controlled vocabulary. | AttributeMixin |
attribute_cv_label | 0..1 LocalCurieName |
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term from the controlled vocabulary. | AttributeMixin |
attribute_string | 0..1 String |
The attribute being represented, as a text string. This field should only be used if the attribute is not represented in a controlled vocabulary, ontology, or enumeration. | AttributeMixin |
entity_id | 1 CdmId |
The database entity (sample, feature, protein, etc.) to which the attribute-value annotation refers. | EntityMixin |
Identifier and Mapping Information
Schema Source
- from schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
Mappings
Mapping Type | Mapped Value |
---|---|
self | nmdc:DateTimeValue |
native | kb_cdm:DateTimeValue |
LinkML Source
Direct
name: DateTimeValue
description: A date or date and time value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: AttributeValue
slots:
- date_time
slot_usage:
date_time:
name: date_time
required: true
type:
name: type
ifabsent: kb_cdm:DateTimeValue
class_uri: nmdc:DateTimeValue
Induced
name: DateTimeValue
description: A date or date and time value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: AttributeValue
slot_usage:
date_time:
name: date_time
required: true
type:
name: type
ifabsent: kb_cdm:DateTimeValue
attributes:
date_time:
name: date_time
description: A date or date and time, expressed in ISO 8601 format with timezone
indicators where appropriate. The date or date/time value, expressed in ISO
8601-compatible form. Dates should be expressed as YYYY-MM-DD; times should
be expressed as HH:MM:SS with optional milliseconds and an indication of the
timezone.
examples:
- value: '2025-11-09'
- value: '2025-09-16T22:48:54Z'
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- date
- time
- timestamp
rank: 1000
alias: date_time
owner: DateTimeValue
domain_of:
- EntityAttributeValue
- DateTimeValue
range: iso8601
required: true
raw_value:
name: raw_value
description: The value that was specified for an annotation in its raw form; e.g.
"2 cm" or "2-4 cm"
examples:
- value: 2 cm
- value: 2 to 5m
- value: 37-39 degrees celcius
- value: Regulation of glucose biosynthesis.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mappings:
- nmdc:raw_value
rank: 1000
alias: raw_value
owner: DateTimeValue
domain_of:
- AttributeValue
range: string
type:
name: type
description: The type of value being represented - e.g. QuantityValue, TextValue,
DateTimeValue, ControlledVocabularyTermValue, etc.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
rank: 1000
ifabsent: kb_cdm:DateTimeValue
alias: type
owner: DateTimeValue
domain_of:
- AttributeValue
- EncodedFeature
- Feature
- Sample
- Sequence
range: AttributeValueType
attribute_cv_id:
name: attribute_cv_id
description: The attribute being represented. For attributes that are in a controlled
vocabulary, ontology, or enumeration, this attribute should capture the term
ID from the controlled vocabulary.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- attribute term ID
- attribute PID
rank: 1000
alias: attribute_cv_id
owner: DateTimeValue
domain_of:
- AttributeMixin
range: local_curie
attribute_cv_label:
name: attribute_cv_label
description: The attribute being represented. For attributes that are in a controlled
vocabulary, ontology, or enumeration, this attribute should capture the term
from the controlled vocabulary.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- attribute term name
rank: 1000
alias: attribute_cv_label
owner: DateTimeValue
domain_of:
- AttributeMixin
range: local_curie_name
attribute_string:
name: attribute_string
description: The attribute being represented, as a text string. This field should
only be used if the attribute is not represented in a controlled vocabulary,
ontology, or enumeration.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
aliases:
- attribute
- tag
rank: 1000
alias: attribute_string
owner: DateTimeValue
domain_of:
- AttributeMixin
range: string
entity_id:
name: entity_id
description: The database entity (sample, feature, protein, etc.) to which the
attribute-value annotation refers.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_attr_value
alias: entity_id
owner: DateTimeValue
domain_of:
- ClusterMember
- EntityMixin
- Entity
- Identifier
- Name
- Sequence
- Association_x_SupportingObject
range: cdm_id
required: true
class_uri: nmdc:DateTimeValue