Skip to content

Class: AttributeMixin

The attribute in an attribute-value pair. One of attribute_cv_id, attribute_cv_label, and attribute_string is required.

URI: kb_cdm:AttributeMixin

classDiagram class AttributeMixin click AttributeMixin href "../AttributeMixin/" AttributeMixin <|-- AttributeValue click AttributeValue href "../AttributeValue/" AttributeMixin <|-- EntityAttributeValue click EntityAttributeValue href "../EntityAttributeValue/" AttributeMixin : attribute_cv_id AttributeMixin : attribute_cv_label AttributeMixin : attribute_string

Slots

Name Cardinality and Range Description Inheritance
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. direct
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. direct
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. direct

Mixin Usage

mixed into description
AttributeValue The value for any value of attribute for an entity. This object can hold both the un-normalized atomic value and the structured value.
EntityAttributeValue Class comprising all possible entity-attribute-value slots.

Identifier and Mapping Information

Schema Source

  • from schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema

Mappings

Mapping Type Mapped Value
self kb_cdm:AttributeMixin
native kb_cdm:AttributeMixin

LinkML Source

Direct

name: AttributeMixin
description: The attribute in an attribute-value pair. One of `attribute_cv_id`, `attribute_cv_label`,
  and `attribute_string` is required.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mixin: true
slots:
- attribute_cv_id
- attribute_cv_label
- attribute_string
any_of:
- slot_conditions:
    attribute_cv_id:
      name: attribute_cv_id
      required: true
- slot_conditions:
    attribute_cv_label:
      name: attribute_cv_label
      required: true
- slot_conditions:
    attribute_string:
      name: attribute_string
      required: true

Induced

name: AttributeMixin
description: The attribute in an attribute-value pair. One of `attribute_cv_id`, `attribute_cv_label`,
  and `attribute_string` is required.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
mixin: true
attributes:
  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: AttributeMixin
    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: AttributeMixin
    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: AttributeMixin
    domain_of:
    - AttributeMixin
    range: string
any_of:
- slot_conditions:
    attribute_cv_id:
      name: attribute_cv_id
      required: true
- slot_conditions:
    attribute_cv_label:
      name: attribute_cv_label
      required: true
- slot_conditions:
    attribute_string:
      name: attribute_string
      required: true