Skip to content

Class: TextValue

A basic string value

URI: nmdc:TextValue

classDiagram class TextValue click TextValue href "../TextValue" AttributeValue <|-- TextValue click AttributeValue href "../AttributeValue" TextValue : language TextValue : raw_value TextValue : type

Inheritance

Slots

Name Cardinality and Range Description Inheritance
language 0..1
String
the human language in which the value is encoded, e direct
raw_value 0..1
String
AttributeValue
type 0..1
String
AttributeValue

Identifier and Mapping Information

Schema Source

  • from schema: https://github.com/kbase/cdm-schema

Mappings

Mapping Type Mapped Value
self nmdc:TextValue
native cdm:TextValue

LinkML Source

Direct

name: TextValue
description: A basic string value
from_schema: https://github.com/kbase/cdm-schema
is_a: AttributeValue
slots:
- language
class_uri: nmdc:TextValue

Induced

name: TextValue
description: A basic string value
from_schema: https://github.com/kbase/cdm-schema
is_a: AttributeValue
attributes:
  language:
    name: language
    description: the human language in which the value is encoded, e.g. 'en'
    todos:
    - use an enum (rather than a string)
    comments:
    - only used when value is populated
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: language
    owner: TextValue
    domain_of:
    - Statements
    - TextValue
    range: string
  raw_value:
    name: raw_value
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: raw_value
    owner: TextValue
    domain_of:
    - AttributeValue
    range: string
  type:
    name: type
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: type
    owner: TextValue
    domain_of:
    - EncodedFeature
    - Feature
    - Measurement
    - Sample
    - AttributeValue
    range: string
class_uri: nmdc:TextValue